Skip to content

Commit

Permalink
whittle down packages, yarn workspaces, simplify simplify simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedotexe committed Oct 11, 2024
1 parent 1340183 commit a452fb6
Show file tree
Hide file tree
Showing 3,079 changed files with 104,361 additions and 39,748 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ package-lock.json

# Next.js
.next

# Yarn ~4.5.0 related
.yarn
.pnp.cjs
.pnp.loader.mjs
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

0 comments on commit a452fb6

Please sign in to comment.