Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn workspaces, keep select packages for now #1216

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 1 addition & 22 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,14 @@
"jest": true
},
"ignorePatterns": ["**/*"],
"plugins": ["@nx", "@typescript-eslint", "prettier", "react-hooks"],
"plugins": ["@typescript-eslint", "prettier", "react-hooks"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"parserOptions": {
"project": ["tsconfig.*?.json"]
},
"extends": [
"plugin:@nx/typescript",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
Expand Down Expand Up @@ -94,7 +75,6 @@
"default-case": "off",
"no-caller": "error",
"no-case-declarations": "off",
"no-console": "error",
"no-debugger": "error",
"no-eval": "error",
"no-fallthrough": "error",
Expand Down Expand Up @@ -122,7 +102,6 @@
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
}
]
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ package-lock.json

# Next.js
.next

# Yarn ~4.5.0 related
.yarn
.pnp.cjs
.pnp.loader.mjs

# Moar
dist/
1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
yarn tsc -b packages/my-near-wallet

rm -rf ~/.yarn/berry/cache


# NEAR Wallet Selector

NEAR Wallet Selector makes it easy for users to interact with your dApp by providing an abstraction over various wallets within the NEAR ecosystem:
Expand Down
41 changes: 0 additions & 41 deletions examples/angular/.eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion examples/angular/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = {
"^.+\\.(ts|mjs|js|html)$": [
"jest-preset-angular",
{
tsconfig: "<rootDir>/tsconfig.spec.json",
tsconfig: "<rootDir>/delme-tsconfig.spec.json",
stringifyContentPathRegex: "\\.(html|svg)$",
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { providers, utils } from "near-api-js";
import type {
AccountView,
CodeResult,
} from "near-api-js/lib/providers/provider";
} from "near-api-js/dist/esm/providers/provider";
import type {
AccountState,
SignMessageParams,
Expand Down
2 changes: 1 addition & 1 deletion examples/angular/src/app/interfaces/account.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AccountView } from "near-api-js/lib/providers/provider";
import type { AccountView } from "near-api-js/dist/esm/providers/provider";

export type Account = AccountView & {
account_id: string | null;
Expand Down
2 changes: 1 addition & 1 deletion examples/react/components/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { providers, utils } from "near-api-js";
import type {
AccountView,
CodeResult,
} from "near-api-js/lib/providers/provider";
} from "near-api-js/dist/esm/providers/provider";
import type {
SignedMessage,
SignMessageParams,
Expand Down
2 changes: 1 addition & 1 deletion examples/react/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { AccountView } from "near-api-js/lib/providers/provider";
import type { AccountView } from "near-api-js/dist/esm/providers/provider";

export interface Message {
premium: boolean;
Expand Down
79 changes: 0 additions & 79 deletions nx.json

This file was deleted.

Loading