generated from MetaMask/metamask-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into allow-returning-tx-ha…
…sh-asap # Conflicts: # package.json # yarn.lock
- Loading branch information
Showing
11 changed files
with
627 additions
and
491 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
"dist/" | ||
], | ||
"scripts": { | ||
"build": "tsc --project .", | ||
"build": "tsc --project tsconfig.build.json", | ||
"build:clean": "rm -rf dist && yarn build", | ||
"build:link": "yarn build && cd dist && yarn link && rm -rf node_modules && cd ..", | ||
"lint": "yarn lint:eslint && yarn lint:misc --check", | ||
|
@@ -31,25 +31,26 @@ | |
"@ethersproject/bytes": "^5.7.0", | ||
"@metamask/base-controller": "^7.0.1", | ||
"@metamask/controller-utils": "^11.0.0", | ||
"@metamask/eth-json-rpc-provider": "^4.1.0", | ||
"@metamask/eth-json-rpc-provider": "^4.1.6", | ||
"@metamask/eth-query": "^4.0.0", | ||
"@metamask/network-controller": "^22.0.0", | ||
"@metamask/polling-controller": "^11.0.0", | ||
"@metamask/transaction-controller": "^37.3.0", | ||
"@metamask/polling-controller": "^12.0.0", | ||
"bignumber.js": "^9.0.1", | ||
"events": "^3.3.0", | ||
"fast-json-patch": "^3.1.0", | ||
"lodash": "^4.17.21" | ||
}, | ||
"devDependencies": { | ||
"@lavamoat/allow-scripts": "^3.2.1", | ||
"@lavamoat/preinstall-always-fail": "^2.1.0", | ||
"@metamask/auto-changelog": "^3.1.0", | ||
"@metamask/eslint-config": "^12.2.0", | ||
"@metamask/eslint-config-jest": "^12.1.0", | ||
"@metamask/eslint-config-nodejs": "^12.1.0", | ||
"@metamask/eslint-config-typescript": "^12.1.0", | ||
"@metamask/gas-fee-controller": "^21.0.0", | ||
"@metamask/json-rpc-engine": "^9.0.0", | ||
"@metamask/gas-fee-controller": "^22.0.0", | ||
"@metamask/json-rpc-engine": "^10.0.1", | ||
"@metamask/network-controller": "^22.0.0", | ||
"@metamask/transaction-controller": "^38.0.0", | ||
"@types/jest": "^26.0.24", | ||
"@types/lodash": "^4.14.194", | ||
"@types/node": "^18.19.17", | ||
|
@@ -58,7 +59,7 @@ | |
"@typescript-eslint/parser": "^5.33.0", | ||
"eslint": "^8.48.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-import": "~2.26.0", | ||
"eslint-plugin-jest": "^27.1.5", | ||
"eslint-plugin-jsdoc": "^39.2.9", | ||
"eslint-plugin-n": "^15.7.0", | ||
|
@@ -73,6 +74,18 @@ | |
"ts-jest": "^29.1.4", | ||
"typescript": "~4.8.4" | ||
}, | ||
"peerDependencies": { | ||
"@metamask/network-controller": "^22.0.0", | ||
"@metamask/transaction-controller": "^38.0.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"@metamask/accounts-controller": { | ||
"optional": true | ||
}, | ||
"@metamask/approval-controller": { | ||
"optional": true | ||
} | ||
}, | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": "^18.18 || >=20" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"declaration": true, | ||
"inlineSources": true, | ||
"noEmit": false, | ||
"outDir": "dist", | ||
"rootDir": "src", | ||
"sourceMap": true | ||
}, | ||
"include": ["./src/**/*.ts"], | ||
"exclude": [ | ||
"./src/**/__fixtures__/**/*", | ||
"./src/**/__mocks__/**/*", | ||
"./src/**/__test__/**/*", | ||
"./src/**/__tests__/**/*", | ||
"./src/**/__snapshots__/**/*", | ||
"./src/**/*.test.ts", | ||
"./src/**/*.test-d.ts", | ||
"./src/**/*.test.*.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
{ | ||
"compilerOptions": { | ||
"declaration": true, | ||
"esModuleInterop": true, | ||
"inlineSources": true, | ||
"lib": ["DOM", "ES2020"], | ||
"module": "CommonJS", | ||
"moduleResolution": "Node", | ||
"outDir": "dist", | ||
"rootDir": "src", | ||
"sourceMap": true, | ||
"strict": true, | ||
"target": "ES2017", | ||
"moduleResolution": "node", | ||
"noEmit": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"resolveJsonModule": true | ||
"strict": true, | ||
"target": "es2017" | ||
}, | ||
"exclude": ["./src/**/*.test.ts"], | ||
"include": ["./src/**/*.ts"] | ||
"exclude": ["./dist", "**/node_modules"] | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.