From 9d0ebf5b282d72cd7ab3cd025325dd988c5c8005 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 16:13:43 +0000 Subject: [PATCH 1/7] chore(deps-dev): bump @metamask/auto-changelog from 3.4.4 to 4.0.0 Bumps [@metamask/auto-changelog](https://github.com/MetaMask/auto-changelog) from 3.4.4 to 4.0.0. - [Release notes](https://github.com/MetaMask/auto-changelog/releases) - [Changelog](https://github.com/MetaMask/auto-changelog/blob/main/CHANGELOG.md) - [Commits](https://github.com/MetaMask/auto-changelog/compare/v3.4.4...v4.0.0) --- updated-dependencies: - dependency-name: "@metamask/auto-changelog" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package.json | 2 +- packages/create-snap/package.json | 2 +- packages/examples/package.json | 2 +- packages/snaps-browserify-plugin/package.json | 2 +- packages/snaps-cli/package.json | 2 +- packages/snaps-controllers/package.json | 2 +- .../snaps-execution-environments/package.json | 2 +- packages/snaps-jest/package.json | 2 +- packages/snaps-rollup-plugin/package.json | 2 +- packages/snaps-rpc-methods/package.json | 2 +- packages/snaps-sdk/package.json | 2 +- packages/snaps-simulation/package.json | 2 +- packages/snaps-simulator/package.json | 2 +- packages/snaps-utils/package.json | 2 +- packages/snaps-webpack-plugin/package.json | 2 +- packages/test-snaps/package.json | 2 +- yarn.lock | 48 ++++++++++++------- 17 files changed, 48 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index fd9160a23a..576fed26bd 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/create-release-branch": "^3.0.1", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", diff --git a/packages/create-snap/package.json b/packages/create-snap/package.json index 0e9dfb7ed2..481fb5042c 100644 --- a/packages/create-snap/package.json +++ b/packages/create-snap/package.json @@ -66,7 +66,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/package.json b/packages/examples/package.json index 5ec686c105..a316fc03b5 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -45,7 +45,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-browserify-plugin/package.json b/packages/snaps-browserify-plugin/package.json index 1e1b3fc5c9..a95c20e7d1 100644 --- a/packages/snaps-browserify-plugin/package.json +++ b/packages/snaps-browserify-plugin/package.json @@ -63,7 +63,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-cli/package.json b/packages/snaps-cli/package.json index 6a78209ff8..410169d1c8 100644 --- a/packages/snaps-cli/package.json +++ b/packages/snaps-cli/package.json @@ -117,7 +117,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index e120b94c75..038d896310 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -112,7 +112,7 @@ "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/browser-passworder": "^6.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 58da1e87d1..00617d0f07 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -85,7 +85,7 @@ "@lavamoat/allow-scripts": "^3.0.4", "@lavamoat/lavapack": "^6.1.1", "@lavamoat/lavatube": "^1.0.0", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index 9cc29e5be2..1ab767ff64 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -73,7 +73,7 @@ "devDependencies": { "@jest/types": "^29.6.3", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-rollup-plugin/package.json b/packages/snaps-rollup-plugin/package.json index 4622d129da..665460a6ed 100644 --- a/packages/snaps-rollup-plugin/package.json +++ b/packages/snaps-rollup-plugin/package.json @@ -61,7 +61,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-rpc-methods/package.json b/packages/snaps-rpc-methods/package.json index a645782a72..1e930ac09c 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -67,7 +67,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-sdk/package.json b/packages/snaps-sdk/package.json index 7af9992e2c..d416f6257e 100644 --- a/packages/snaps-sdk/package.json +++ b/packages/snaps-sdk/package.json @@ -99,7 +99,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-simulation/package.json b/packages/snaps-simulation/package.json index ea83df9a44..42875748e3 100644 --- a/packages/snaps-simulation/package.json +++ b/packages/snaps-simulation/package.json @@ -77,7 +77,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index b949d49203..2f6fc42759 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -81,7 +81,7 @@ "redux-saga": "^1.2.3" }, "devDependencies": { - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-browser": "^11.1.0", "@metamask/eslint-config-jest": "^12.1.0", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index 57716fc698..b4e7eb1ebc 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -105,7 +105,7 @@ "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/snaps-webpack-plugin/package.json b/packages/snaps-webpack-plugin/package.json index e53223e20c..f88a5d0857 100644 --- a/packages/snaps-webpack-plugin/package.json +++ b/packages/snaps-webpack-plugin/package.json @@ -65,7 +65,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/test-snaps/package.json b/packages/test-snaps/package.json index bdc74e8e3e..79e857c0cd 100644 --- a/packages/test-snaps/package.json +++ b/packages/test-snaps/package.json @@ -79,7 +79,7 @@ "react-redux": "^8.0.5" }, "devDependencies": { - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/yarn.lock b/yarn.lock index 9207cf36cb..3a9f667fc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3891,6 +3891,22 @@ __metadata: languageName: node linkType: hard +"@metamask/auto-changelog@npm:^4.0.0": + version: 4.0.0 + resolution: "@metamask/auto-changelog@npm:4.0.0" + dependencies: + diff: "npm:^5.0.0" + execa: "npm:^5.1.1" + semver: "npm:^7.3.5" + yargs: "npm:^17.0.1" + peerDependencies: + prettier: ">=3.0.0" + bin: + auto-changelog: dist/cli.js + checksum: 10/4968d316411e5f4820092391f79078839f49e0e26ecd0c48266b5a1e0e32614b75dad5f36b76e632a7a22a2f2eeeb762a693ae390b0373bff29081ff2a7eefda + languageName: node + linkType: hard + "@metamask/auto-changelog@npm:~3.3.0": version: 3.3.0 resolution: "@metamask/auto-changelog@npm:3.3.0" @@ -4251,7 +4267,7 @@ __metadata: resolution: "@metamask/create-snap@workspace:packages/create-snap" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4626,7 +4642,7 @@ __metadata: resolution: "@metamask/example-snaps@workspace:packages/examples" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5568,7 +5584,7 @@ __metadata: resolution: "@metamask/snaps-browserify-plugin@workspace:packages/snaps-browserify-plugin" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5619,7 +5635,7 @@ __metadata: "@babel/preset-env": "npm:^7.23.2" "@babel/preset-typescript": "npm:^7.23.2" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5709,7 +5725,7 @@ __metadata: "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" "@lavamoat/allow-scripts": "npm:^3.0.4" "@metamask/approval-controller": "npm:^7.1.2" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/browser-passworder": "npm:^6.0.0" "@metamask/eslint-config": "npm:^12.1.0" @@ -5813,7 +5829,7 @@ __metadata: "@lavamoat/allow-scripts": "npm:^3.0.4" "@lavamoat/lavapack": "npm:^6.1.1" "@lavamoat/lavatube": "npm:^1.0.0" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5893,7 +5909,7 @@ __metadata: "@jest/globals": "npm:^29.5.0" "@jest/types": "npm:^29.6.3" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5951,7 +5967,7 @@ __metadata: resolution: "@metamask/snaps-rollup-plugin@workspace:packages/snaps-rollup-plugin" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5990,7 +6006,7 @@ __metadata: resolution: "@metamask/snaps-rpc-methods@workspace:packages/snaps-rpc-methods" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6036,7 +6052,7 @@ __metadata: resolution: "@metamask/snaps-sdk@workspace:packages/snaps-sdk" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6077,7 +6093,7 @@ __metadata: resolution: "@metamask/snaps-simulation@workspace:packages/snaps-simulation" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" @@ -6138,7 +6154,7 @@ __metadata: "@emotion/react": "npm:^11.10.8" "@emotion/styled": "npm:^11.10.8" "@ethersproject/units": "npm:^5.7.0" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-browser": "npm:^11.1.0" @@ -6248,7 +6264,7 @@ __metadata: "@esbuild-plugins/node-globals-polyfill": "npm:^0.2.3" "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" @@ -6328,7 +6344,7 @@ __metadata: resolution: "@metamask/snaps-webpack-plugin@workspace:packages/snaps-webpack-plugin" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6383,7 +6399,7 @@ __metadata: version: 0.0.0-use.local resolution: "@metamask/test-snaps@workspace:packages/test-snaps" dependencies: - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/bip32-example-snap": "workspace:^" "@metamask/bip44-example-snap": "workspace:^" "@metamask/client-status-example-snap": "workspace:^" @@ -20476,7 +20492,7 @@ __metadata: resolution: "root@workspace:." dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/create-release-branch": "npm:^3.0.1" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" From 46b68e93bd0e917a1a3e5fdf38a22150a6b1f813 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 10:13:26 +0100 Subject: [PATCH 2/7] Bump auto-changelog in examples --- packages/examples/packages/bip32/package.json | 2 +- packages/examples/packages/bip44/package.json | 2 +- .../packages/browserify-plugin/package.json | 2 +- .../examples/packages/browserify/package.json | 2 +- .../packages/client-status/package.json | 2 +- .../examples/packages/cronjobs/package.json | 2 +- .../examples/packages/dialogs/package.json | 2 +- .../examples/packages/errors/package.json | 2 +- .../packages/ethereum-provider/package.json | 2 +- .../examples/packages/ethers-js/package.json | 2 +- .../packages/file-upload/package.json | 2 +- .../packages/get-entropy/package.json | 2 +- .../examples/packages/get-file/package.json | 2 +- .../examples/packages/home-page/package.json | 2 +- .../examples/packages/images/package.json | 2 +- .../packages/interactive-ui/package.json | 2 +- .../packages/invoke-snap/package.json | 2 +- .../packages/consumer-signer/package.json | 2 +- .../packages/core-signer/package.json | 2 +- .../examples/packages/json-rpc/package.json | 2 +- packages/examples/packages/jsx/package.json | 2 +- .../packages/lifecycle-hooks/package.json | 2 +- .../packages/localization/package.json | 2 +- .../packages/manage-state/package.json | 2 +- .../packages/name-lookup/package.json | 2 +- .../packages/network-access/package.json | 2 +- .../packages/notifications/package.json | 2 +- .../packages/preinstalled/package.json | 2 +- .../packages/rollup-plugin/package.json | 2 +- .../examples/packages/send-flow/package.json | 2 +- .../packages/signature-insights/package.json | 2 +- .../transaction-insights/package.json | 2 +- packages/examples/packages/wasm/package.json | 2 +- .../packages/webpack-plugin/package.json | 2 +- yarn.lock | 83 ++++++++----------- 35 files changed, 68 insertions(+), 83 deletions(-) diff --git a/packages/examples/packages/bip32/package.json b/packages/examples/packages/bip32/package.json index b76ec0ad19..7fd51cc9fe 100644 --- a/packages/examples/packages/bip32/package.json +++ b/packages/examples/packages/bip32/package.json @@ -52,7 +52,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/bip44/package.json b/packages/examples/packages/bip44/package.json index 61f0fbb8fe..d3bf342934 100644 --- a/packages/examples/packages/bip44/package.json +++ b/packages/examples/packages/bip44/package.json @@ -51,7 +51,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/browserify-plugin/package.json b/packages/examples/packages/browserify-plugin/package.json index 7b58c47dd0..733b5712c5 100644 --- a/packages/examples/packages/browserify-plugin/package.json +++ b/packages/examples/packages/browserify-plugin/package.json @@ -47,7 +47,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/browserify/package.json b/packages/examples/packages/browserify/package.json index 0ba3299f9c..ca23f8f987 100644 --- a/packages/examples/packages/browserify/package.json +++ b/packages/examples/packages/browserify/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/client-status/package.json b/packages/examples/packages/client-status/package.json index a5425b6105..c26fcaa0f4 100644 --- a/packages/examples/packages/client-status/package.json +++ b/packages/examples/packages/client-status/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/cronjobs/package.json b/packages/examples/packages/cronjobs/package.json index 6813f24ab4..f15a44f858 100644 --- a/packages/examples/packages/cronjobs/package.json +++ b/packages/examples/packages/cronjobs/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/dialogs/package.json b/packages/examples/packages/dialogs/package.json index f95b55dea1..41380c29a0 100644 --- a/packages/examples/packages/dialogs/package.json +++ b/packages/examples/packages/dialogs/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/errors/package.json b/packages/examples/packages/errors/package.json index d1ca433a7f..c8c98b1745 100644 --- a/packages/examples/packages/errors/package.json +++ b/packages/examples/packages/errors/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/ethereum-provider/package.json b/packages/examples/packages/ethereum-provider/package.json index ecd2fcbc2d..b9f0ccb346 100644 --- a/packages/examples/packages/ethereum-provider/package.json +++ b/packages/examples/packages/ethereum-provider/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/ethers-js/package.json b/packages/examples/packages/ethers-js/package.json index 6d8b527a8c..28a8bfb0b7 100644 --- a/packages/examples/packages/ethers-js/package.json +++ b/packages/examples/packages/ethers-js/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/file-upload/package.json b/packages/examples/packages/file-upload/package.json index 3e3b321a9f..b24cd606ee 100644 --- a/packages/examples/packages/file-upload/package.json +++ b/packages/examples/packages/file-upload/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/get-entropy/package.json b/packages/examples/packages/get-entropy/package.json index d1119e2be8..0094ce00ef 100644 --- a/packages/examples/packages/get-entropy/package.json +++ b/packages/examples/packages/get-entropy/package.json @@ -50,7 +50,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/get-file/package.json b/packages/examples/packages/get-file/package.json index d7851edce8..35368c4af2 100644 --- a/packages/examples/packages/get-file/package.json +++ b/packages/examples/packages/get-file/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/home-page/package.json b/packages/examples/packages/home-page/package.json index 7cadb85f4c..c81bc823cb 100644 --- a/packages/examples/packages/home-page/package.json +++ b/packages/examples/packages/home-page/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/images/package.json b/packages/examples/packages/images/package.json index a650a1a427..0dfe8964d9 100644 --- a/packages/examples/packages/images/package.json +++ b/packages/examples/packages/images/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/interactive-ui/package.json b/packages/examples/packages/interactive-ui/package.json index 966dd59155..946c1bb46a 100644 --- a/packages/examples/packages/interactive-ui/package.json +++ b/packages/examples/packages/interactive-ui/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/invoke-snap/package.json b/packages/examples/packages/invoke-snap/package.json index 71be50aae7..86257f49b0 100644 --- a/packages/examples/packages/invoke-snap/package.json +++ b/packages/examples/packages/invoke-snap/package.json @@ -43,7 +43,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json index fadb7785c5..56246487a1 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json @@ -51,7 +51,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/package.json b/packages/examples/packages/invoke-snap/packages/core-signer/package.json index 6b9a9a0e38..3bcd6c33e1 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/package.json @@ -52,7 +52,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/json-rpc/package.json b/packages/examples/packages/json-rpc/package.json index 77155de7a5..f1baa874a5 100644 --- a/packages/examples/packages/json-rpc/package.json +++ b/packages/examples/packages/json-rpc/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/jsx/package.json b/packages/examples/packages/jsx/package.json index bc52b260e5..515148b7b9 100644 --- a/packages/examples/packages/jsx/package.json +++ b/packages/examples/packages/jsx/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/lifecycle-hooks/package.json b/packages/examples/packages/lifecycle-hooks/package.json index a8e5a80902..163abbc018 100644 --- a/packages/examples/packages/lifecycle-hooks/package.json +++ b/packages/examples/packages/lifecycle-hooks/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/localization/package.json b/packages/examples/packages/localization/package.json index 933e82a004..800411f362 100644 --- a/packages/examples/packages/localization/package.json +++ b/packages/examples/packages/localization/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/manage-state/package.json b/packages/examples/packages/manage-state/package.json index d208aa38ec..ebf671bf9d 100644 --- a/packages/examples/packages/manage-state/package.json +++ b/packages/examples/packages/manage-state/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/name-lookup/package.json b/packages/examples/packages/name-lookup/package.json index 521203033c..084a90e508 100644 --- a/packages/examples/packages/name-lookup/package.json +++ b/packages/examples/packages/name-lookup/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/network-access/package.json b/packages/examples/packages/network-access/package.json index 2b029a926c..feebc6767d 100644 --- a/packages/examples/packages/network-access/package.json +++ b/packages/examples/packages/network-access/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/notifications/package.json b/packages/examples/packages/notifications/package.json index e35e00a0db..a5b4699cd1 100644 --- a/packages/examples/packages/notifications/package.json +++ b/packages/examples/packages/notifications/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/preinstalled/package.json b/packages/examples/packages/preinstalled/package.json index f25da5d9dd..7aaa564d47 100644 --- a/packages/examples/packages/preinstalled/package.json +++ b/packages/examples/packages/preinstalled/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/rollup-plugin/package.json b/packages/examples/packages/rollup-plugin/package.json index ed24de7aac..8923d9b603 100644 --- a/packages/examples/packages/rollup-plugin/package.json +++ b/packages/examples/packages/rollup-plugin/package.json @@ -51,7 +51,7 @@ "@babel/preset-typescript": "^7.23.2", "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/send-flow/package.json b/packages/examples/packages/send-flow/package.json index 2220b228f4..b35c791850 100644 --- a/packages/examples/packages/send-flow/package.json +++ b/packages/examples/packages/send-flow/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/signature-insights/package.json b/packages/examples/packages/signature-insights/package.json index d26f6d89ae..846485df9c 100644 --- a/packages/examples/packages/signature-insights/package.json +++ b/packages/examples/packages/signature-insights/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/transaction-insights/package.json b/packages/examples/packages/transaction-insights/package.json index 0a11808ba5..06e23a5a02 100644 --- a/packages/examples/packages/transaction-insights/package.json +++ b/packages/examples/packages/transaction-insights/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/wasm/package.json b/packages/examples/packages/wasm/package.json index e1c435d415..292ccb4a2c 100644 --- a/packages/examples/packages/wasm/package.json +++ b/packages/examples/packages/wasm/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/packages/examples/packages/webpack-plugin/package.json b/packages/examples/packages/webpack-plugin/package.json index 9a98b4d02f..e595759dd2 100644 --- a/packages/examples/packages/webpack-plugin/package.json +++ b/packages/examples/packages/webpack-plugin/package.json @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", diff --git a/yarn.lock b/yarn.lock index 3a9f667fc7..4857fcb759 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3876,21 +3876,6 @@ __metadata: languageName: node linkType: hard -"@metamask/auto-changelog@npm:^3.4.4": - version: 3.4.4 - resolution: "@metamask/auto-changelog@npm:3.4.4" - dependencies: - diff: "npm:^5.0.0" - execa: "npm:^5.1.1" - prettier: "npm:^2.8.8" - semver: "npm:^7.3.5" - yargs: "npm:^17.0.1" - bin: - auto-changelog: dist/cli.js - checksum: 10/70e98529a153ebeab10410dbc3f567014999f77ed82f2b52f1b36501b28a4e3614c809a90c89600a739d7710595bfecc30e2260410e6afac7539f8db65a48f2c - languageName: node - linkType: hard - "@metamask/auto-changelog@npm:^4.0.0": version: 4.0.0 resolution: "@metamask/auto-changelog@npm:4.0.0" @@ -3938,7 +3923,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -3979,7 +3964,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4029,7 +4014,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4067,7 +4052,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4106,7 +4091,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4144,7 +4129,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4204,7 +4189,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4313,7 +4298,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4351,7 +4336,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4388,7 +4373,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4554,7 +4539,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4592,7 +4577,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4672,7 +4657,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4711,7 +4696,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4750,7 +4735,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4787,7 +4772,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4824,7 +4809,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4862,7 +4847,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4900,7 +4885,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4938,7 +4923,7 @@ __metadata: resolution: "@metamask/invoke-snap-example-snap@workspace:packages/examples/packages/invoke-snap" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4979,7 +4964,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5028,7 +5013,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5080,7 +5065,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5117,7 +5102,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5154,7 +5139,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5192,7 +5177,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5229,7 +5214,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5268,7 +5253,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5369,7 +5354,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5434,7 +5419,7 @@ __metadata: "@babel/preset-typescript": "npm:^7.23.2" "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5503,7 +5488,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5541,7 +5526,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6521,7 +6506,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6559,7 +6544,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" From 556613d1f8f8d723fe570d7cd206291084e71e1f Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 10:18:15 +0100 Subject: [PATCH 3/7] Bump Prettier and related dependencies --- .prettierrc.js | 1 + package.json | 8 +- packages/create-snap/package.json | 8 +- packages/examples/package.json | 8 +- packages/examples/packages/bip32/package.json | 8 +- packages/examples/packages/bip44/package.json | 8 +- .../packages/browserify-plugin/package.json | 8 +- .../examples/packages/browserify/package.json | 8 +- .../packages/client-status/package.json | 8 +- .../examples/packages/cronjobs/package.json | 8 +- .../examples/packages/dialogs/package.json | 8 +- .../examples/packages/errors/package.json | 8 +- .../packages/ethereum-provider/package.json | 8 +- .../examples/packages/ethers-js/package.json | 8 +- .../packages/file-upload/package.json | 8 +- .../packages/get-entropy/package.json | 8 +- .../examples/packages/get-file/package.json | 8 +- .../examples/packages/home-page/package.json | 8 +- .../examples/packages/images/package.json | 8 +- .../packages/interactive-ui/package.json | 8 +- .../packages/invoke-snap/package.json | 8 +- .../packages/consumer-signer/package.json | 8 +- .../packages/core-signer/package.json | 8 +- .../examples/packages/json-rpc/package.json | 8 +- packages/examples/packages/jsx/package.json | 8 +- .../packages/lifecycle-hooks/package.json | 8 +- .../packages/localization/package.json | 8 +- .../packages/manage-state/package.json | 8 +- .../packages/name-lookup/package.json | 8 +- .../packages/network-access/package.json | 8 +- .../packages/notifications/package.json | 8 +- .../packages/preinstalled/package.json | 8 +- .../packages/rollup-plugin/package.json | 8 +- .../examples/packages/send-flow/package.json | 8 +- .../packages/signature-insights/package.json | 8 +- .../transaction-insights/package.json | 8 +- packages/examples/packages/wasm/package.json | 8 +- .../packages/webpack-plugin/package.json | 8 +- packages/snaps-browserify-plugin/package.json | 8 +- packages/snaps-cli/package.json | 8 +- packages/snaps-controllers/package.json | 8 +- .../snaps-execution-environments/package.json | 8 +- packages/snaps-jest/package.json | 8 +- packages/snaps-rollup-plugin/package.json | 8 +- packages/snaps-rpc-methods/package.json | 8 +- packages/snaps-sdk/package.json | 8 +- packages/snaps-simulation/package.json | 8 +- packages/snaps-simulator/package.json | 8 +- packages/snaps-utils/package.json | 8 +- packages/snaps-webpack-plugin/package.json | 8 +- packages/test-snaps/package.json | 8 +- yarn.lock | 344 ++++++++++-------- 52 files changed, 385 insertions(+), 360 deletions(-) diff --git a/.prettierrc.js b/.prettierrc.js index b2d98d2ee2..325d63805f 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -5,4 +5,5 @@ module.exports = { singleQuote: true, tabWidth: 2, trailingComma: 'all', + plugins: ['prettier-plugin-packagejson'], }; diff --git a/package.json b/package.json index 576fed26bd..c4221e79b1 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "lint:dependencies": "yarn workspaces foreach --all --parallel --verbose run lint:dependencies && yarn dedupe --check", "lint:eslint": "eslint . --cache --ext js,cjs,mjs,jsx,ts,mts,cts,tsx", "lint:fix": "yarn workspaces foreach --all --parallel run lint:eslint --fix && yarn lint:misc --write && yarn lint:tsconfig && yarn constraints --fix && yarn dedupe", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' '**/*.html'", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' '**/*.html'", "lint:tsconfig": "node scripts/verify-tsconfig.mjs", "prepare-preview-builds": "./scripts/prepare-preview-builds.sh", "publish-previews": "yarn workspaces foreach --all --parallel --verbose run publish:preview", @@ -95,12 +95,12 @@ "chromedriver": "^131.0.5", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "execa": "^5.1.1", "favicons": "^7.1.2", @@ -110,7 +110,7 @@ "lint-staged": "^12.4.1", "lodash": "^4.17.21", "minimatch": "^7.4.1", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "semver": "^7.5.4", diff --git a/packages/create-snap/package.json b/packages/create-snap/package.json index 481fb5042c..0644a26d04 100644 --- a/packages/create-snap/package.json +++ b/packages/create-snap/package.json @@ -49,7 +49,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:package": "../../scripts/publish-package.sh", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", @@ -82,18 +82,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "tsc-watch": "^4.5.0", diff --git a/packages/examples/package.json b/packages/examples/package.json index a316fc03b5..f1ca0199be 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!packages/**\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!packages/**\" --ignore-path ../../.gitignore", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --worktree --parallel --verbose --interlaced --no-private --jobs unlimited run start", "start:test": "yarn start", @@ -54,15 +54,15 @@ "@typescript-eslint/parser": "^6.21.0", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/bip32/package.json b/packages/examples/packages/bip32/package.json index 7fd51cc9fe..c49eb499a2 100644 --- a/packages/examples/packages/bip32/package.json +++ b/packages/examples/packages/bip32/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -66,16 +66,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/bip44/package.json b/packages/examples/packages/bip44/package.json index d3bf342934..3f3eddd395 100644 --- a/packages/examples/packages/bip44/package.json +++ b/packages/examples/packages/bip44/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -65,16 +65,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/browserify-plugin/package.json b/packages/examples/packages/browserify-plugin/package.json index 733b5712c5..3581594c20 100644 --- a/packages/examples/packages/browserify-plugin/package.json +++ b/packages/examples/packages/browserify-plugin/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/browserify/package.json b/packages/examples/packages/browserify/package.json index ca23f8f987..b840079d5c 100644 --- a/packages/examples/packages/browserify/package.json +++ b/packages/examples/packages/browserify/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/client-status/package.json b/packages/examples/packages/client-status/package.json index c26fcaa0f4..1b95d4520a 100644 --- a/packages/examples/packages/client-status/package.json +++ b/packages/examples/packages/client-status/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/cronjobs/package.json b/packages/examples/packages/cronjobs/package.json index f15a44f858..49b112cafa 100644 --- a/packages/examples/packages/cronjobs/package.json +++ b/packages/examples/packages/cronjobs/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/dialogs/package.json b/packages/examples/packages/dialogs/package.json index 41380c29a0..24d6ebbe41 100644 --- a/packages/examples/packages/dialogs/package.json +++ b/packages/examples/packages/dialogs/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/errors/package.json b/packages/examples/packages/errors/package.json index c8c98b1745..a2e5a4f24f 100644 --- a/packages/examples/packages/errors/package.json +++ b/packages/examples/packages/errors/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/ethereum-provider/package.json b/packages/examples/packages/ethereum-provider/package.json index b9f0ccb346..96a05fb022 100644 --- a/packages/examples/packages/ethereum-provider/package.json +++ b/packages/examples/packages/ethereum-provider/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/ethers-js/package.json b/packages/examples/packages/ethers-js/package.json index 28a8bfb0b7..6fd1f22214 100644 --- a/packages/examples/packages/ethers-js/package.json +++ b/packages/examples/packages/ethers-js/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3", diff --git a/packages/examples/packages/file-upload/package.json b/packages/examples/packages/file-upload/package.json index b24cd606ee..1ddf1c316c 100644 --- a/packages/examples/packages/file-upload/package.json +++ b/packages/examples/packages/file-upload/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/get-entropy/package.json b/packages/examples/packages/get-entropy/package.json index 0094ce00ef..93c3eec5cf 100644 --- a/packages/examples/packages/get-entropy/package.json +++ b/packages/examples/packages/get-entropy/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/get-file/package.json b/packages/examples/packages/get-file/package.json index 35368c4af2..03278d9146 100644 --- a/packages/examples/packages/get-file/package.json +++ b/packages/examples/packages/get-file/package.json @@ -34,7 +34,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/home-page/package.json b/packages/examples/packages/home-page/package.json index c81bc823cb..9631aa8a34 100644 --- a/packages/examples/packages/home-page/package.json +++ b/packages/examples/packages/home-page/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/images/package.json b/packages/examples/packages/images/package.json index 0dfe8964d9..71a5eb55e4 100644 --- a/packages/examples/packages/images/package.json +++ b/packages/examples/packages/images/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/interactive-ui/package.json b/packages/examples/packages/interactive-ui/package.json index 946c1bb46a..9929dd8f17 100644 --- a/packages/examples/packages/interactive-ui/package.json +++ b/packages/examples/packages/interactive-ui/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/invoke-snap/package.json b/packages/examples/packages/invoke-snap/package.json index 86257f49b0..473c76dbf5 100644 --- a/packages/examples/packages/invoke-snap/package.json +++ b/packages/examples/packages/invoke-snap/package.json @@ -32,7 +32,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" \"!packages/**\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" \"!packages/**\" --ignore-path ../../../../.gitignore", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --worktree --parallel --verbose --interlaced --jobs unlimited run start", "test": "jest --reporters=jest-silent-reporter", @@ -52,15 +52,15 @@ "@typescript-eslint/parser": "^6.21.0", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json index 56246487a1..92e20f2bd0 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -65,16 +65,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/package.json b/packages/examples/packages/invoke-snap/packages/core-signer/package.json index 3bcd6c33e1..21996d3a56 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -67,16 +67,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/json-rpc/package.json b/packages/examples/packages/json-rpc/package.json index f1baa874a5..7b8fd040f8 100644 --- a/packages/examples/packages/json-rpc/package.json +++ b/packages/examples/packages/json-rpc/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/jsx/package.json b/packages/examples/packages/jsx/package.json index 515148b7b9..4a1f5c9b81 100644 --- a/packages/examples/packages/jsx/package.json +++ b/packages/examples/packages/jsx/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/lifecycle-hooks/package.json b/packages/examples/packages/lifecycle-hooks/package.json index 163abbc018..2f8e17796b 100644 --- a/packages/examples/packages/lifecycle-hooks/package.json +++ b/packages/examples/packages/lifecycle-hooks/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/localization/package.json b/packages/examples/packages/localization/package.json index 800411f362..da24c042a7 100644 --- a/packages/examples/packages/localization/package.json +++ b/packages/examples/packages/localization/package.json @@ -34,7 +34,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/manage-state/package.json b/packages/examples/packages/manage-state/package.json index ebf671bf9d..09c1da0a8d 100644 --- a/packages/examples/packages/manage-state/package.json +++ b/packages/examples/packages/manage-state/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/name-lookup/package.json b/packages/examples/packages/name-lookup/package.json index 084a90e508..6de6d5f1e5 100644 --- a/packages/examples/packages/name-lookup/package.json +++ b/packages/examples/packages/name-lookup/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/network-access/package.json b/packages/examples/packages/network-access/package.json index feebc6767d..b8d4b8d10e 100644 --- a/packages/examples/packages/network-access/package.json +++ b/packages/examples/packages/network-access/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/notifications/package.json b/packages/examples/packages/notifications/package.json index a5b4699cd1..929dc9d780 100644 --- a/packages/examples/packages/notifications/package.json +++ b/packages/examples/packages/notifications/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/preinstalled/package.json b/packages/examples/packages/preinstalled/package.json index 7aaa564d47..4bd28b097e 100644 --- a/packages/examples/packages/preinstalled/package.json +++ b/packages/examples/packages/preinstalled/package.json @@ -34,7 +34,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -65,16 +65,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "tsx": "^4.19.1", diff --git a/packages/examples/packages/rollup-plugin/package.json b/packages/examples/packages/rollup-plugin/package.json index 8923d9b603..12f47cfcef 100644 --- a/packages/examples/packages/rollup-plugin/package.json +++ b/packages/examples/packages/rollup-plugin/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn build --watch", @@ -69,16 +69,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rollup": "^2.73.0", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/send-flow/package.json b/packages/examples/packages/send-flow/package.json index b35c791850..442c306dc7 100644 --- a/packages/examples/packages/send-flow/package.json +++ b/packages/examples/packages/send-flow/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/signature-insights/package.json b/packages/examples/packages/signature-insights/package.json index 846485df9c..083e9c71cc 100644 --- a/packages/examples/packages/signature-insights/package.json +++ b/packages/examples/packages/signature-insights/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/transaction-insights/package.json b/packages/examples/packages/transaction-insights/package.json index 06e23a5a02..456690c838 100644 --- a/packages/examples/packages/transaction-insights/package.json +++ b/packages/examples/packages/transaction-insights/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/wasm/package.json b/packages/examples/packages/wasm/package.json index 292ccb4a2c..0a859ed30b 100644 --- a/packages/examples/packages/wasm/package.json +++ b/packages/examples/packages/wasm/package.json @@ -34,7 +34,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn build:wasm && mm-snap watch", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/webpack-plugin/package.json b/packages/examples/packages/webpack-plugin/package.json index e595759dd2..942d87919c 100644 --- a/packages/examples/packages/webpack-plugin/package.json +++ b/packages/examples/packages/webpack-plugin/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "webpack watch", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "swc-loader": "^0.2.3", "terser-webpack-plugin": "^5.3.9", diff --git a/packages/snaps-browserify-plugin/package.json b/packages/snaps-browserify-plugin/package.json index a95c20e7d1..411810b9ce 100644 --- a/packages/snaps-browserify-plugin/package.json +++ b/packages/snaps-browserify-plugin/package.json @@ -47,7 +47,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -81,18 +81,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3" }, diff --git a/packages/snaps-cli/package.json b/packages/snaps-cli/package.json index 410169d1c8..2b4c55cce9 100644 --- a/packages/snaps-cli/package.json +++ b/packages/snaps-cli/package.json @@ -54,7 +54,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -135,19 +135,19 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "execa": "^5.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "tsc-watch": "^4.5.0", diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index 038d896310..f018f7fe5f 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -67,7 +67,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter && yarn test:browser", @@ -144,12 +144,12 @@ "depcheck": "^1.4.7", "esbuild": "^0.18.10", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-webdriverio": "^4.4.1", "istanbul-lib-coverage": "^3.2.0", @@ -159,7 +159,7 @@ "jest-fetch-mock": "^3.0.3", "jest-silent-reporter": "^0.6.0", "mkdirp": "^1.0.4", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 00617d0f07..b767e53fe8 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -52,7 +52,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ./.prettierignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ./.prettierignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "node scripts/start.js", @@ -111,12 +111,12 @@ "depcheck": "^1.4.7", "esbuild": "^0.18.10", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-webdriverio": "^4.4.1", "istanbul-lib-coverage": "^3.2.0", @@ -128,7 +128,7 @@ "jest-silent-reporter": "^0.6.0", "lavamoat": "^8.0.4", "lavamoat-browserify": "^17.0.5", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "serve-handler": "^6.1.5", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index 1ab767ff64..96cfd09b9f 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -47,7 +47,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -89,17 +89,17 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3" }, diff --git a/packages/snaps-rollup-plugin/package.json b/packages/snaps-rollup-plugin/package.json index 665460a6ed..342f49911e 100644 --- a/packages/snaps-rollup-plugin/package.json +++ b/packages/snaps-rollup-plugin/package.json @@ -47,7 +47,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -76,18 +76,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rollup": "^2.73.0", "typescript": "~5.3.3" diff --git a/packages/snaps-rpc-methods/package.json b/packages/snaps-rpc-methods/package.json index 1e930ac09c..222f8c7f6d 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -45,7 +45,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -83,17 +83,17 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3" }, diff --git a/packages/snaps-sdk/package.json b/packages/snaps-sdk/package.json index d416f6257e..35881b7d5f 100644 --- a/packages/snaps-sdk/package.json +++ b/packages/snaps-sdk/package.json @@ -81,7 +81,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -111,19 +111,19 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-type": "^0.17.3", "jest": "^29.0.2", "jest-fetch-mock": "^3.0.3", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-jest": "^29.1.1", "typescript": "~5.3.3" diff --git a/packages/snaps-simulation/package.json b/packages/snaps-simulation/package.json index 42875748e3..4bc16826cf 100644 --- a/packages/snaps-simulation/package.json +++ b/packages/snaps-simulation/package.json @@ -45,7 +45,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -92,18 +92,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "express": "^4.18.2", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-jest": "^29.1.1", "typescript": "~5.3.3" diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index 2f6fc42759..d3a0c7be3e 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn changelog:validate", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "webpack serve --config-name main --mode development", "start:e2e": "webpack serve --config-name test --mode development", @@ -110,12 +110,12 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -129,7 +129,7 @@ "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "monaco-editor-webpack-plugin": "^7.0.1", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "process": "^0.11.10", "react-refresh": "^0.14.0", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index b4e7eb1ebc..851d818688 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -66,7 +66,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter && yarn test:browser", @@ -132,12 +132,12 @@ "depcheck": "^1.4.7", "esbuild": "^0.18.10", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-webdriverio": "^4.4.1", "istanbul-lib-coverage": "^3.2.0", @@ -146,7 +146,7 @@ "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/snaps-webpack-plugin/package.json b/packages/snaps-webpack-plugin/package.json index f88a5d0857..b9baad1ccb 100644 --- a/packages/snaps-webpack-plugin/package.json +++ b/packages/snaps-webpack-plugin/package.json @@ -47,7 +47,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "test": "jest --reporters=jest-silent-reporter", @@ -60,7 +60,7 @@ "@metamask/snaps-sdk": "workspace:^", "@metamask/snaps-utils": "workspace:^", "@metamask/utils": "^11.0.1", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "webpack-sources": "^3.2.3" }, "devDependencies": { @@ -80,12 +80,12 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", diff --git a/packages/test-snaps/package.json b/packages/test-snaps/package.json index 79e857c0cd..2c0cc5da2c 100644 --- a/packages/test-snaps/package.json +++ b/packages/test-snaps/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --parallel --verbose --interlaced --all --include \"@metamask/test-snaps\" --include \"@metamask/example-snaps\" run start:test", "start:test": "cross-env NODE_ENV=development webpack serve", @@ -99,12 +99,12 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "favicons": "^7.1.2", "favicons-webpack-plugin": "^6.0.0", @@ -112,7 +112,7 @@ "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "style-loader": "^3.3.2", "swc-loader": "^0.2.3", "terser-webpack-plugin": "^5.3.9", diff --git a/yarn.lock b/yarn.lock index 4857fcb759..6ecd83a021 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3942,16 +3942,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -3982,16 +3982,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4029,16 +4029,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4069,16 +4069,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4106,16 +4106,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4147,16 +4147,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4209,16 +4209,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4269,18 +4269,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" semver: "npm:^7.5.4" ts-node: "npm:^10.9.1" @@ -4313,16 +4313,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4351,16 +4351,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4388,16 +4388,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4555,16 +4555,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4592,17 +4592,17 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" ethers: "npm:^6.3.0" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4636,15 +4636,15 @@ __metadata: "@typescript-eslint/parser": "npm:^6.21.0" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4673,16 +4673,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4713,16 +4713,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4750,16 +4750,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4787,16 +4787,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4824,16 +4824,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4863,16 +4863,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4901,16 +4901,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4932,15 +4932,15 @@ __metadata: "@typescript-eslint/parser": "npm:^6.21.0" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4979,16 +4979,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5030,16 +5030,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5080,16 +5080,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5117,16 +5117,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5155,16 +5155,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5192,16 +5192,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5231,16 +5231,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5268,16 +5268,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5371,16 +5371,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" tsx: "npm:^4.19.1" @@ -5438,16 +5438,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rollup: "npm:^2.73.0" ts-node: "npm:^10.9.1" @@ -5504,16 +5504,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5541,16 +5541,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5589,18 +5589,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" typescript: "npm:~5.3.3" @@ -5654,12 +5654,12 @@ __metadata: depcheck: "npm:^1.4.7" domain-browser: "npm:^4.22.0" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" events: "npm:^3.3.0" execa: "npm:^5.1.1" @@ -5672,7 +5672,7 @@ __metadata: ora: "npm:^5.4.1" os-browserify: "npm:^0.3.0" path-browserify: "npm:^1.0.1" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" process: "npm:^0.11.10" punycode: "npm:^2.3.0" @@ -5760,12 +5760,12 @@ __metadata: depcheck: "npm:^1.4.7" esbuild: "npm:^0.18.10" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-webdriverio: "npm:^4.4.1" fast-deep-equal: "npm:^3.1.3" @@ -5780,7 +5780,7 @@ __metadata: luxon: "npm:^3.5.0" mkdirp: "npm:^1.0.4" nanoid: "npm:^3.1.31" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" readable-web-to-node-stream: "npm:^3.0.2" @@ -5849,12 +5849,12 @@ __metadata: depcheck: "npm:^1.4.7" esbuild: "npm:^0.18.10" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-webdriverio: "npm:^4.4.1" istanbul-lib-coverage: "npm:^3.2.0" @@ -5867,7 +5867,7 @@ __metadata: lavamoat: "npm:^8.0.4" lavamoat-browserify: "npm:^17.0.5" nanoid: "npm:^3.1.31" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" rimraf: "npm:^4.1.2" @@ -5915,12 +5915,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" express: "npm:^4.18.2" jest: "npm:^29.0.2" @@ -5928,7 +5928,7 @@ __metadata: jest-it-up: "npm:^2.0.0" jest-matcher-utils: "npm:^29.5.0" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" redux: "npm:^4.2.1" typescript: "npm:~5.3.3" @@ -5968,18 +5968,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rollup: "npm:^2.73.0" typescript: "npm:~5.3.3" @@ -6015,18 +6015,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" luxon: "npm:^3.5.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" typescript: "npm:~5.3.3" languageName: unknown @@ -6054,19 +6054,19 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-type: "npm:^0.17.3" jest: "npm:^29.0.2" jest-fetch-mock: "npm:^3.0.3" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-jest: "npm:^29.1.1" typescript: "npm:~5.3.3" @@ -6108,12 +6108,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" express: "npm:^4.18.2" fast-deep-equal: "npm:^3.1.3" @@ -6121,7 +6121,7 @@ __metadata: jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" mime: "npm:^3.0.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" redux-saga: "npm:^1.2.3" @@ -6185,12 +6185,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" eslint-plugin-react: "npm:^7.32.2" eslint-plugin-react-hooks: "npm:^4.6.0" @@ -6211,7 +6211,7 @@ __metadata: lodash.throttle: "npm:^4.1.1" monaco-editor: "npm:^0.38.0" monaco-editor-webpack-plugin: "npm:^7.0.1" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" process: "npm:^0.11.10" react: "npm:^18.2.0" @@ -6289,12 +6289,12 @@ __metadata: depcheck: "npm:^1.4.7" esbuild: "npm:^0.18.10" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-webdriverio: "npm:^4.4.1" fast-deep-equal: "npm:^3.1.3" @@ -6307,7 +6307,7 @@ __metadata: jest-silent-reporter: "npm:^0.6.0" marked: "npm:^12.0.1" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rfdc: "npm:^1.3.0" rimraf: "npm:^4.1.2" @@ -6347,18 +6347,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" typescript: "npm:~5.3.3" webpack: "npm:^5.88.0" @@ -6436,12 +6436,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" favicons: "npm:^7.1.2" favicons-webpack-plugin: "npm:^6.0.0" @@ -6449,7 +6449,7 @@ __metadata: jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" react: "npm:^18.2.0" react-bootstrap: "npm:^2.5.0" react-dom: "npm:^18.2.0" @@ -6522,16 +6522,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -6560,16 +6560,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" swc-loader: "npm:^0.2.3" terser-webpack-plugin: "npm:^5.3.9" @@ -12900,14 +12900,14 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^8.5.0": - version: 8.5.0 - resolution: "eslint-config-prettier@npm:8.5.0" +"eslint-config-prettier@npm:^9.1.0": + version: 9.1.0 + resolution: "eslint-config-prettier@npm:9.1.0" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: 10/cafd93fb39997969e9e79b3e0b3466d0b8570273d15423986597b8422b7363d4a80f009aec1d1443fa2329972dafde79031b1649590cc35069b0a68d31098e7b + checksum: 10/411e3b3b1c7aa04e3e0f20d561271b3b909014956c4dba51c878bf1a23dbb8c800a3be235c46c4732c70827276e540b6eed4636d9b09b444fd0a8e07f0fcd830 languageName: node linkType: hard @@ -13021,18 +13021,23 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^4.2.1": - version: 4.2.1 - resolution: "eslint-plugin-prettier@npm:4.2.1" +"eslint-plugin-prettier@npm:^5.2.1": + version: 5.2.1 + resolution: "eslint-plugin-prettier@npm:5.2.1" dependencies: prettier-linter-helpers: "npm:^1.0.0" + synckit: "npm:^0.9.1" peerDependencies: - eslint: ">=7.28.0" - prettier: ">=2.0.0" + "@types/eslint": ">=8.0.0" + eslint: ">=8.0.0" + eslint-config-prettier: "*" + prettier: ">=3.0.0" peerDependenciesMeta: + "@types/eslint": + optional: true eslint-config-prettier: optional: true - checksum: 10/d387f85dd1bfcb6bc6b794845fee6afb9ebb2375653de6bcde6e615892fb97f85121a7c012a4651b181fc09953bdf54c9bc70cab7ad297019d89ae87dd007e28 + checksum: 10/10ddf68215237e327af09a47adab4c63f3885fda4fb28c4c42d1fc5f47d8a0cc45df6484799360ff1417a0aa3c77c3aaac49d7e9dfd145557b17e2d7ecc2a27c languageName: node linkType: hard @@ -19180,6 +19185,15 @@ __metadata: languageName: node linkType: hard +"prettier@npm:^3.4.2": + version: 3.4.2 + resolution: "prettier@npm:3.4.2" + bin: + prettier: bin/prettier.cjs + checksum: 10/a3e806fb0b635818964d472d35d27e21a4e17150c679047f5501e1f23bd4aa806adf660f0c0d35214a210d5d440da6896c2e86156da55f221a57938278dc326e + languageName: node + linkType: hard + "pretty-error@npm:^4.0.0": version: 4.0.0 resolution: "pretty-error@npm:4.0.0" @@ -20495,12 +20509,12 @@ __metadata: chromedriver: "npm:^131.0.5" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" execa: "npm:^5.1.1" favicons: "npm:^7.1.2" @@ -20510,7 +20524,7 @@ __metadata: lint-staged: "npm:^12.4.1" lodash: "npm:^4.17.21" minimatch: "npm:^7.4.1" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" semver: "npm:^7.5.4" @@ -21707,6 +21721,16 @@ __metadata: languageName: node linkType: hard +"synckit@npm:^0.9.1": + version: 0.9.2 + resolution: "synckit@npm:0.9.2" + dependencies: + "@pkgr/core": "npm:^0.1.0" + tslib: "npm:^2.6.2" + checksum: 10/d45c4288be9c0232343650643892a7edafb79152c0c08d7ae5d33ca2c296b67a0e15f8cb5c9153969612c4ea5cd5686297542384aab977db23cfa6653fe02027 + languageName: node + linkType: hard + "syntax-error@npm:^1.1.1": version: 1.4.0 resolution: "syntax-error@npm:1.4.0" From e9bdce63c8f154e68fa1998d0692793b664a13bf Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 10:36:48 +0100 Subject: [PATCH 4/7] Update logic to support Prettier v3 --- packages/snaps-webpack-plugin/package.json | 8 ++++---- packages/snaps-webpack-plugin/src/manifest.ts | 8 ++++++-- yarn.config.cjs | 5 ++++- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/packages/snaps-webpack-plugin/package.json b/packages/snaps-webpack-plugin/package.json index b9baad1ccb..0eedd63f95 100644 --- a/packages/snaps-webpack-plugin/package.json +++ b/packages/snaps-webpack-plugin/package.json @@ -50,11 +50,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/snaps-webpack-plugin/src/manifest.ts b/packages/snaps-webpack-plugin/src/manifest.ts index 041828404b..da1694bb3f 100644 --- a/packages/snaps-webpack-plugin/src/manifest.ts +++ b/packages/snaps-webpack-plugin/src/manifest.ts @@ -1,6 +1,9 @@ import type { WriteFileFunction } from '@metamask/snaps-utils/node'; import { promises as fs } from 'fs'; -import { format, resolveConfig } from 'prettier'; +import { resolveConfig } from 'prettier'; +import * as babel from 'prettier/plugins/babel'; +import * as estree from 'prettier/plugins/estree'; +import { format } from 'prettier/standalone'; /** * Format the manifest data with Prettier and write it to disk. @@ -22,10 +25,11 @@ export async function writeManifest( editorconfig: true, }); - const formattedManifest = format(data, { + const formattedManifest = await format(data, { ...config, parser: 'json', filepath: path, + plugins: [babel, estree], }); await writeFileFn(path, formattedManifest); diff --git a/yarn.config.cjs b/yarn.config.cjs index b664ba13f6..2930197ebd 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -165,7 +165,10 @@ module.exports = defineConfig({ getRelativePath(workspace, 'scripts', 'since-latest-release.sh'), ); - if (workspace.cwd !== 'packages/examples') { + if ( + workspace.cwd !== 'packages/examples' && + workspace.cwd !== 'packages/snaps-webpack-plugin' + ) { // All non-root packages must have the same "test" script. if (workspace.manifest.scripts['test:browser']) { expectWorkspaceField( From 807a649216243457e01e0bc75cff66a3d38c9119 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 10:41:27 +0100 Subject: [PATCH 5/7] yarn lint:fix --- .../src/services/iframe/test/index.html | 2 +- packages/snaps-jest/src/environment.ts | 6 +- packages/snaps-jest/src/helpers.ts | 24 ++--- .../experimentalProviderRequest.test.ts | 2 +- .../src/permitted/getFile.test.ts | 2 +- .../src/permitted/invokeKeyring.test.ts | 2 +- .../src/permitted/invokeSnapSugar.test.ts | 2 +- .../src/permitted/requestSnaps.test.ts | 2 +- .../src/restricted/dialog.test.tsx | 2 +- .../src/restricted/invokeSnap.test.ts | 2 +- packages/snaps-sdk/src/internals/jsx.ts | 97 ++++++++++--------- packages/snaps-sdk/src/ui/builder.ts | 10 +- packages/snaps-simulation/src/simulation.ts | 35 +++---- .../src/contexts/SnapInterface.tsx | 2 +- .../src/features/simulation/sagas.ts | 10 +- .../src/features/status/StatusIndicator.tsx | 4 +- packages/snaps-simulator/src/index.html | 2 +- packages/test-snaps/src/index.html | 2 +- 18 files changed, 103 insertions(+), 105 deletions(-) diff --git a/packages/snaps-controllers/src/services/iframe/test/index.html b/packages/snaps-controllers/src/services/iframe/test/index.html index 810e78b57e..4bc64e9a3d 100644 --- a/packages/snaps-controllers/src/services/iframe/test/index.html +++ b/packages/snaps-controllers/src/services/iframe/test/index.html @@ -1,4 +1,4 @@ - + Sandbox test diff --git a/packages/snaps-jest/src/environment.ts b/packages/snaps-jest/src/environment.ts index 4a9bcda8ec..3138755629 100644 --- a/packages/snaps-jest/src/environment.ts +++ b/packages/snaps-jest/src/environment.ts @@ -85,9 +85,9 @@ export class SnapsEnvironment extends NodeEnvironment { * @returns The installed Snap. */ async installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: string = this.snapId, options: Partial> = {}, diff --git a/packages/snaps-jest/src/helpers.ts b/packages/snaps-jest/src/helpers.ts index d6f51cab11..e2bd81a599 100644 --- a/packages/snaps-jest/src/helpers.ts +++ b/packages/snaps-jest/src/helpers.ts @@ -16,9 +16,9 @@ const log = createModuleLogger(rootLogger, 'helpers'); * @returns The options. */ function getOptions< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: SnapId | Partial> | undefined, options: Partial>, @@ -83,9 +83,9 @@ export async function installSnap(): Promise; * @throws If the built-in server is not running, and no snap ID is provided. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >(options: Partial>): Promise; /** @@ -121,9 +121,9 @@ export async function installSnap< * @throws If the built-in server is not running, and no snap ID is provided. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: SnapId, options?: Partial>, @@ -162,9 +162,9 @@ export async function installSnap< * @throws If the built-in server is not running, and no snap ID is provided. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId?: SnapId | Partial>, options: Partial> = {}, diff --git a/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts b/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts index eaa6b930ca..7d90a4da72 100644 --- a/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts @@ -36,7 +36,7 @@ describe('snap_experimentalProviderRequest', () => { getNetworkClientById: jest.fn().mockImplementation(() => ({ provider: { request: jest.fn().mockResolvedValue('0x1') }, })), - } as any); + }) as any; it('returns the result from the network client', async () => { const { implementation } = providerRequestHandler; diff --git a/packages/snaps-rpc-methods/src/permitted/getFile.test.ts b/packages/snaps-rpc-methods/src/permitted/getFile.test.ts index b52bd2e9bd..bb880634c5 100644 --- a/packages/snaps-rpc-methods/src/permitted/getFile.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/getFile.test.ts @@ -30,7 +30,7 @@ describe('snap_getFile', () => { const getMockHooks = () => ({ getSnapFile: jest.fn(), - } as GetFileHooks); + }) as GetFileHooks; it('returns the result received from the getSnapFile hook', async () => { const { implementation } = getFileHandler; diff --git a/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts b/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts index bb4905708b..45b6b89a71 100644 --- a/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts @@ -40,7 +40,7 @@ describe('wallet_invokeKeyring', () => { hasPermission: jest.fn(), handleSnapRpcRequest: jest.fn(), getAllowedKeyringMethods: jest.fn(), - } as any); + }) as any; it('invokes the snap and returns the result', async () => { const { implementation } = invokeKeyringHandler; diff --git a/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts b/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts index e43f209cb7..32df53a53b 100644 --- a/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts @@ -21,7 +21,7 @@ describe('wallet_invokeSnap', () => { ({ id: 'some-id', jsonrpc: jsonrpc2, - } as PendingJsonRpcResponse); + }) as PendingJsonRpcResponse; it('invokes snap using hook', async () => { const params = { diff --git a/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts b/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts index 9f823e98e0..e51145113d 100644 --- a/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts @@ -178,7 +178,7 @@ describe('implementation', () => { installSnaps: jest.fn(), requestPermissions: jest.fn(), getPermissions: jest.fn(), - } as any); + }) as any; it('requests permissions if needed', async () => { const { implementation } = requestSnapsHandler; diff --git a/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx b/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx index dd5d3c7fec..671d9aae76 100644 --- a/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx +++ b/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx @@ -50,7 +50,7 @@ describe('implementation', () => { getInterface: jest .fn() .mockReturnValue({ content: text('foo'), state: {}, snapId: 'foo' }), - } as DialogMethodHooks); + }) as DialogMethodHooks; it('accepts string dialog types', async () => { const hooks = getMockDialogHooks(); diff --git a/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts b/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts index 95f9a5fc51..9df38a2f37 100644 --- a/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts +++ b/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts @@ -87,7 +87,7 @@ describe('implementation', () => { ({ getSnap: jest.fn(), handleSnapRpcRequest: jest.fn(), - } as any); + }) as any; it('calls handleSnapRpcRequest', async () => { const hooks = getMockHooks(); hooks.getSnap.mockImplementation(getTruncatedSnap); diff --git a/packages/snaps-sdk/src/internals/jsx.ts b/packages/snaps-sdk/src/internals/jsx.ts index cf8ae331c2..e47251ed29 100644 --- a/packages/snaps-sdk/src/internals/jsx.ts +++ b/packages/snaps-sdk/src/internals/jsx.ts @@ -26,55 +26,56 @@ type IsUnion = [Type] extends [UnionToIntersection] ? false : true; * This is copied from `superstruct` but fixes some issues with the original * implementation. */ -type StructSchema = IsUnion extends true - ? null - : [Type] extends [EmptyObject] - ? EmptyObject - : [Type] extends [string | undefined | null] - ? [Type] extends [`0x${string}`] +type StructSchema = + IsUnion extends true ? null - : [Type] extends [IsMatch] - ? null - : [Type] extends [IsUnion] - ? EnumSchema - : Type - : [Type] extends [number | undefined | null] - ? [Type] extends [IsMatch] - ? null - : [Type] extends [IsUnion] - ? EnumSchema - : Type - : [Type] extends [boolean] - ? [Type] extends [IsExactMatch] - ? null - : Type - : Type extends - | bigint - | symbol - | undefined - | null - // eslint-disable-next-line @typescript-eslint/ban-types - | Function - | Date - | Error - | RegExp - | Map - | WeakMap - | Set - | WeakSet - | Promise - ? null - : Type extends (infer E)[] - ? Type extends IsTuple - ? null - : Struct - : Type extends object - ? Type extends IsRecord - ? null - : { - [InnerKey in keyof Type]: Describe; - } - : null; + : [Type] extends [EmptyObject] + ? EmptyObject + : [Type] extends [string | undefined | null] + ? [Type] extends [`0x${string}`] + ? null + : [Type] extends [IsMatch] + ? null + : [Type] extends [IsUnion] + ? EnumSchema + : Type + : [Type] extends [number | undefined | null] + ? [Type] extends [IsMatch] + ? null + : [Type] extends [IsUnion] + ? EnumSchema + : Type + : [Type] extends [boolean] + ? [Type] extends [IsExactMatch] + ? null + : Type + : Type extends + | bigint + | symbol + | undefined + | null + // eslint-disable-next-line @typescript-eslint/ban-types + | Function + | Date + | Error + | RegExp + | Map + | WeakMap + | Set + | WeakSet + | Promise + ? null + : Type extends (infer E)[] + ? Type extends IsTuple + ? null + : Struct + : Type extends object + ? Type extends IsRecord + ? null + : { + [InnerKey in keyof Type]: Describe; + } + : null; /** * Describe a struct type. diff --git a/packages/snaps-sdk/src/ui/builder.ts b/packages/snaps-sdk/src/ui/builder.ts index 03514b2533..0bd6af7072 100644 --- a/packages/snaps-sdk/src/ui/builder.ts +++ b/packages/snaps-sdk/src/ui/builder.ts @@ -10,12 +10,10 @@ import type { NodeType } from './nodes'; * * @internal */ -type NodeBuilder = Omit< - Node, - 'type' -> extends Record - ? (...args: []) => Node - : (...args: [Omit] | NodeArrayType) => Node; +type NodeBuilder = + Omit extends Record + ? (...args: []) => Node + : (...args: [Omit] | NodeArrayType) => Node; /** * Map from an array of node keys to the corresponding array type. diff --git a/packages/snaps-simulation/src/simulation.ts b/packages/snaps-simulation/src/simulation.ts index d023c27d39..55a6b894c3 100644 --- a/packages/snaps-simulation/src/simulation.ts +++ b/packages/snaps-simulation/src/simulation.ts @@ -75,20 +75,21 @@ export type ExecutionServiceOptions< * @template Service - The type of the execution service. */ export type InstallSnapOptions< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, -> = ExecutionServiceOptions extends Record - ? { - executionService: Service; - executionServiceOptions?: ExecutionServiceOptions; - options?: SimulationUserOptions; - } - : { - executionService: Service; - executionServiceOptions: ExecutionServiceOptions; - options?: SimulationUserOptions; - }; + Service extends new ( + ...args: any[] + ) => InstanceType>, +> = + ExecutionServiceOptions extends Record + ? { + executionService: Service; + executionServiceOptions?: ExecutionServiceOptions; + options?: SimulationUserOptions; + } + : { + executionService: Service; + executionServiceOptions: ExecutionServiceOptions; + options?: SimulationUserOptions; + }; export type InstalledSnap = { snapId: SnapId; @@ -253,9 +254,9 @@ export type PermittedMiddlewareHooks = { * @template Service - The type of the execution service. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: SnapId, { diff --git a/packages/snaps-simulator/src/contexts/SnapInterface.tsx b/packages/snaps-simulator/src/contexts/SnapInterface.tsx index da21d7dbed..40ed51dd39 100644 --- a/packages/snaps-simulator/src/contexts/SnapInterface.tsx +++ b/packages/snaps-simulator/src/contexts/SnapInterface.tsx @@ -143,7 +143,7 @@ export const SnapInterfaceContextProvider: FunctionComponent< const handleEvent: HandleEvent = ({ event, name, - value = name ? (state as FormState)[name] ?? undefined : undefined, + value = name ? ((state as FormState)[name] ?? undefined) : undefined, }) => { const fn = THROTTLED_EVENTS.includes(event) ? snapRequestThrottled diff --git a/packages/snaps-simulator/src/features/simulation/sagas.ts b/packages/snaps-simulator/src/features/simulation/sagas.ts index 24d84dee85..37af61ee81 100644 --- a/packages/snaps-simulator/src/features/simulation/sagas.ts +++ b/packages/snaps-simulator/src/features/simulation/sagas.ts @@ -277,9 +277,8 @@ export function* initSaga({ payload }: PayloadAction) { */ export function* rebootSaga({ payload }: PayloadAction>) { const snapId: string = yield select(getSnapId); - const executionService: IframeExecutionService = yield select( - getExecutionService, - ); + const executionService: IframeExecutionService = + yield select(getExecutionService); const permissionController: GenericPermissionController = yield select( getPermissionController, ); @@ -317,9 +316,8 @@ export function* requestSaga({ payload }: PayloadAction) { yield put({ type: `${payload.handler}/setRequest`, payload }); const snapId: string = yield select(getSnapId); - const executionService: IframeExecutionService = yield select( - getExecutionService, - ); + const executionService: IframeExecutionService = + yield select(getExecutionService); try { const result: unknown = yield call( diff --git a/packages/snaps-simulator/src/features/status/StatusIndicator.tsx b/packages/snaps-simulator/src/features/status/StatusIndicator.tsx index a9d3ff4e45..283e7457c0 100644 --- a/packages/snaps-simulator/src/features/status/StatusIndicator.tsx +++ b/packages/snaps-simulator/src/features/status/StatusIndicator.tsx @@ -40,8 +40,8 @@ export const StatusIndicator = () => { status === SnapStatus.Ok ? 'text.success' : status === SnapStatus.Error - ? 'text.error' - : 'info.default'; + ? 'text.error' + : 'info.default'; const handleClick = () => { dispatch(openConfigurationModal()); diff --git a/packages/snaps-simulator/src/index.html b/packages/snaps-simulator/src/index.html index f6f3eac1c6..c61cf9db37 100644 --- a/packages/snaps-simulator/src/index.html +++ b/packages/snaps-simulator/src/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/test-snaps/src/index.html b/packages/test-snaps/src/index.html index 6ba4dff6f9..6f52e42b68 100644 --- a/packages/test-snaps/src/index.html +++ b/packages/test-snaps/src/index.html @@ -1,4 +1,4 @@ - + From 403a242750200dbbd030450813149398a5030903 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 10:48:13 +0100 Subject: [PATCH 6/7] Update test scripts --- packages/create-snap/.depcheckrc.json | 1 + packages/create-snap/package.json | 8 ++++---- packages/examples/.depcheckrc.json | 1 + .../examples/packages/bip32/.depcheckrc.json | 1 + packages/examples/packages/bip32/package.json | 8 ++++---- .../examples/packages/bip44/.depcheckrc.json | 1 + packages/examples/packages/bip44/package.json | 8 ++++---- .../browserify-plugin/.depcheckrc.json | 1 + .../packages/browserify-plugin/package.json | 8 ++++---- .../packages/browserify/.depcheckrc.json | 1 + .../examples/packages/browserify/package.json | 8 ++++---- .../packages/client-status/.depcheckrc.json | 1 + .../packages/client-status/package.json | 8 ++++---- .../packages/cronjobs/.depcheckrc.json | 1 + .../examples/packages/cronjobs/package.json | 8 ++++---- .../packages/dialogs/.depcheckrc.json | 1 + .../examples/packages/dialogs/package.json | 8 ++++---- .../examples/packages/errors/.depcheckrc.json | 1 + .../examples/packages/errors/package.json | 8 ++++---- .../ethereum-provider/.depcheckrc.json | 1 + .../packages/ethereum-provider/package.json | 8 ++++---- .../packages/ethers-js/.depcheckrc.json | 1 + .../examples/packages/ethers-js/package.json | 8 ++++---- .../packages/file-upload/.depcheckrc.json | 1 + .../packages/file-upload/package.json | 8 ++++---- .../packages/get-entropy/.depcheckrc.json | 1 + .../packages/get-entropy/package.json | 8 ++++---- .../packages/get-file/.depcheckrc.json | 1 + .../examples/packages/get-file/package.json | 8 ++++---- .../packages/home-page/.depcheckrc.json | 1 + .../examples/packages/home-page/package.json | 8 ++++---- .../examples/packages/images/.depcheckrc.json | 1 + .../examples/packages/images/package.json | 8 ++++---- .../packages/interactive-ui/.depcheckrc.json | 1 + .../packages/interactive-ui/package.json | 8 ++++---- .../packages/invoke-snap/.depcheckrc.json | 1 + .../packages/invoke-snap/package.json | 8 ++++---- .../packages/consumer-signer/.depcheckrc.json | 1 + .../packages/consumer-signer/package.json | 8 ++++---- .../packages/core-signer/.depcheckrc.json | 1 + .../packages/core-signer/package.json | 8 ++++---- .../packages/json-rpc/.depcheckrc.json | 1 + .../examples/packages/json-rpc/package.json | 8 ++++---- .../examples/packages/jsx/.depcheckrc.json | 1 + packages/examples/packages/jsx/package.json | 8 ++++---- .../packages/lifecycle-hooks/.depcheckrc.json | 1 + .../packages/lifecycle-hooks/package.json | 8 ++++---- .../packages/localization/.depcheckrc.json | 1 + .../packages/localization/package.json | 8 ++++---- .../packages/manage-state/.depcheckrc.json | 1 + .../packages/manage-state/package.json | 8 ++++---- .../packages/name-lookup/.depcheckrc.json | 1 + .../packages/name-lookup/package.json | 8 ++++---- .../packages/network-access/.depcheckrc.json | 1 + .../packages/network-access/package.json | 8 ++++---- .../packages/notifications/.depcheckrc.json | 1 + .../packages/notifications/package.json | 8 ++++---- .../packages/preinstalled/.depcheckrc.json | 1 + .../packages/preinstalled/package.json | 8 ++++---- .../packages/rollup-plugin/.depcheckrc.json | 1 + .../packages/rollup-plugin/package.json | 8 ++++---- .../packages/send-flow/.depcheckrc.json | 1 + .../examples/packages/send-flow/package.json | 8 ++++---- .../signature-insights/.depcheckrc.json | 1 + .../packages/signature-insights/package.json | 8 ++++---- .../transaction-insights/.depcheckrc.json | 1 + .../transaction-insights/package.json | 8 ++++---- .../examples/packages/wasm/.depcheckrc.json | 1 + packages/examples/packages/wasm/package.json | 8 ++++---- .../packages/webpack-plugin/.depcheckrc.json | 1 + .../packages/webpack-plugin/package.json | 8 ++++---- .../snaps-browserify-plugin/.depcheckrc.json | 1 + packages/snaps-browserify-plugin/package.json | 8 ++++---- packages/snaps-cli/.depcheckrc.json | 1 + packages/snaps-cli/package.json | 8 ++++---- packages/snaps-controllers/.depcheckrc.json | 1 + packages/snaps-controllers/package.json | 8 ++++---- .../.depcheckrc.json | 1 + .../snaps-execution-environments/package.json | 8 ++++---- packages/snaps-jest/.depcheckrc.json | 1 + packages/snaps-jest/package.json | 8 ++++---- packages/snaps-rollup-plugin/.depcheckrc.json | 1 + packages/snaps-rollup-plugin/package.json | 8 ++++---- packages/snaps-rpc-methods/.depcheckrc.json | 1 + packages/snaps-rpc-methods/package.json | 8 ++++---- packages/snaps-sdk/.depcheckrc.json | 1 + packages/snaps-sdk/package.json | 8 ++++---- packages/snaps-simulation/.depcheckrc.json | 1 + packages/snaps-simulation/package.json | 8 ++++---- packages/snaps-simulator/.depcheckrc.json | 1 + packages/snaps-simulator/package.json | 8 ++++---- packages/snaps-utils/.depcheckrc.json | 1 + packages/snaps-utils/package.json | 8 ++++---- .../snaps-webpack-plugin/.depcheckrc.json | 2 ++ packages/test-snaps/.depcheckrc.json | 1 + packages/test-snaps/package.json | 8 ++++---- yarn.config.cjs | 19 ++++++++++--------- 97 files changed, 248 insertions(+), 197 deletions(-) diff --git a/packages/create-snap/.depcheckrc.json b/packages/create-snap/.depcheckrc.json index 3fba666b10..0a1cea5dcc 100644 --- a/packages/create-snap/.depcheckrc.json +++ b/packages/create-snap/.depcheckrc.json @@ -10,6 +10,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/create-snap/package.json b/packages/create-snap/package.json index 0644a26d04..552e2cebd0 100644 --- a/packages/create-snap/package.json +++ b/packages/create-snap/package.json @@ -53,11 +53,11 @@ "publish:package": "../../scripts/publish-package.sh", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-utils": "workspace:^", diff --git a/packages/examples/.depcheckrc.json b/packages/examples/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/.depcheckrc.json +++ b/packages/examples/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/bip32/.depcheckrc.json b/packages/examples/packages/bip32/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/bip32/.depcheckrc.json +++ b/packages/examples/packages/bip32/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/bip32/package.json b/packages/examples/packages/bip32/package.json index c49eb499a2..518935616d 100644 --- a/packages/examples/packages/bip32/package.json +++ b/packages/examples/packages/bip32/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", diff --git a/packages/examples/packages/bip44/.depcheckrc.json b/packages/examples/packages/bip44/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/bip44/.depcheckrc.json +++ b/packages/examples/packages/bip44/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/bip44/package.json b/packages/examples/packages/bip44/package.json index 3f3eddd395..92f0cda958 100644 --- a/packages/examples/packages/bip44/package.json +++ b/packages/examples/packages/bip44/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", diff --git a/packages/examples/packages/browserify-plugin/.depcheckrc.json b/packages/examples/packages/browserify-plugin/.depcheckrc.json index fdfa140639..1625bbfff0 100644 --- a/packages/examples/packages/browserify-plugin/.depcheckrc.json +++ b/packages/examples/packages/browserify-plugin/.depcheckrc.json @@ -10,6 +10,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/browserify-plugin/package.json b/packages/examples/packages/browserify-plugin/package.json index 3581594c20..34d2991879 100644 --- a/packages/examples/packages/browserify-plugin/package.json +++ b/packages/examples/packages/browserify-plugin/package.json @@ -36,10 +36,10 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/browserify/.depcheckrc.json b/packages/examples/packages/browserify/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/browserify/.depcheckrc.json +++ b/packages/examples/packages/browserify/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/browserify/package.json b/packages/examples/packages/browserify/package.json index b840079d5c..26689ad2b9 100644 --- a/packages/examples/packages/browserify/package.json +++ b/packages/examples/packages/browserify/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/client-status/.depcheckrc.json b/packages/examples/packages/client-status/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/client-status/.depcheckrc.json +++ b/packages/examples/packages/client-status/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/client-status/package.json b/packages/examples/packages/client-status/package.json index 1b95d4520a..387927ffb9 100644 --- a/packages/examples/packages/client-status/package.json +++ b/packages/examples/packages/client-status/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/cronjobs/.depcheckrc.json b/packages/examples/packages/cronjobs/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/cronjobs/.depcheckrc.json +++ b/packages/examples/packages/cronjobs/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/cronjobs/package.json b/packages/examples/packages/cronjobs/package.json index 49b112cafa..1c16f41f60 100644 --- a/packages/examples/packages/cronjobs/package.json +++ b/packages/examples/packages/cronjobs/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/dialogs/.depcheckrc.json b/packages/examples/packages/dialogs/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/dialogs/.depcheckrc.json +++ b/packages/examples/packages/dialogs/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/dialogs/package.json b/packages/examples/packages/dialogs/package.json index 24d6ebbe41..2438edf9cd 100644 --- a/packages/examples/packages/dialogs/package.json +++ b/packages/examples/packages/dialogs/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/errors/.depcheckrc.json b/packages/examples/packages/errors/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/errors/.depcheckrc.json +++ b/packages/examples/packages/errors/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/errors/package.json b/packages/examples/packages/errors/package.json index a2e5a4f24f..b22fb43c8c 100644 --- a/packages/examples/packages/errors/package.json +++ b/packages/examples/packages/errors/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/ethereum-provider/.depcheckrc.json b/packages/examples/packages/ethereum-provider/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/ethereum-provider/.depcheckrc.json +++ b/packages/examples/packages/ethereum-provider/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/ethereum-provider/package.json b/packages/examples/packages/ethereum-provider/package.json index 96a05fb022..802a10e9a5 100644 --- a/packages/examples/packages/ethereum-provider/package.json +++ b/packages/examples/packages/ethereum-provider/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/ethers-js/.depcheckrc.json b/packages/examples/packages/ethers-js/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/ethers-js/.depcheckrc.json +++ b/packages/examples/packages/ethers-js/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/ethers-js/package.json b/packages/examples/packages/ethers-js/package.json index 6fd1f22214..24d67fa850 100644 --- a/packages/examples/packages/ethers-js/package.json +++ b/packages/examples/packages/ethers-js/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/file-upload/.depcheckrc.json b/packages/examples/packages/file-upload/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/file-upload/.depcheckrc.json +++ b/packages/examples/packages/file-upload/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/file-upload/package.json b/packages/examples/packages/file-upload/package.json index 1ddf1c316c..d9b6a8d218 100644 --- a/packages/examples/packages/file-upload/package.json +++ b/packages/examples/packages/file-upload/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/get-entropy/.depcheckrc.json b/packages/examples/packages/get-entropy/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/get-entropy/.depcheckrc.json +++ b/packages/examples/packages/get-entropy/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/get-entropy/package.json b/packages/examples/packages/get-entropy/package.json index 93c3eec5cf..dc4907109c 100644 --- a/packages/examples/packages/get-entropy/package.json +++ b/packages/examples/packages/get-entropy/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/get-file/.depcheckrc.json b/packages/examples/packages/get-file/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/get-file/.depcheckrc.json +++ b/packages/examples/packages/get-file/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/get-file/package.json b/packages/examples/packages/get-file/package.json index 03278d9146..6f61e4c37f 100644 --- a/packages/examples/packages/get-file/package.json +++ b/packages/examples/packages/get-file/package.json @@ -38,10 +38,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/home-page/.depcheckrc.json b/packages/examples/packages/home-page/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/home-page/.depcheckrc.json +++ b/packages/examples/packages/home-page/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/home-page/package.json b/packages/examples/packages/home-page/package.json index 9631aa8a34..cfe9ba3fca 100644 --- a/packages/examples/packages/home-page/package.json +++ b/packages/examples/packages/home-page/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/images/.depcheckrc.json b/packages/examples/packages/images/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/images/.depcheckrc.json +++ b/packages/examples/packages/images/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/images/package.json b/packages/examples/packages/images/package.json index 71a5eb55e4..f8313cbf34 100644 --- a/packages/examples/packages/images/package.json +++ b/packages/examples/packages/images/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/interactive-ui/.depcheckrc.json b/packages/examples/packages/interactive-ui/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/interactive-ui/.depcheckrc.json +++ b/packages/examples/packages/interactive-ui/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/interactive-ui/package.json b/packages/examples/packages/interactive-ui/package.json index 9929dd8f17..4bd34c71ba 100644 --- a/packages/examples/packages/interactive-ui/package.json +++ b/packages/examples/packages/interactive-ui/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/invoke-snap/.depcheckrc.json b/packages/examples/packages/invoke-snap/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/invoke-snap/.depcheckrc.json +++ b/packages/examples/packages/invoke-snap/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/invoke-snap/package.json b/packages/examples/packages/invoke-snap/package.json index 473c76dbf5..1dcf4c6bfc 100644 --- a/packages/examples/packages/invoke-snap/package.json +++ b/packages/examples/packages/invoke-snap/package.json @@ -35,11 +35,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" \"!packages/**\" --ignore-path ../../../../.gitignore", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --worktree --parallel --verbose --interlaced --jobs unlimited run start", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json index 92e20f2bd0..fdbdbb960c 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json b/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/package.json b/packages/examples/packages/invoke-snap/packages/core-signer/package.json index 21996d3a56..04b348b6db 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", diff --git a/packages/examples/packages/json-rpc/.depcheckrc.json b/packages/examples/packages/json-rpc/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/json-rpc/.depcheckrc.json +++ b/packages/examples/packages/json-rpc/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/json-rpc/package.json b/packages/examples/packages/json-rpc/package.json index 7b8fd040f8..aaca7692b0 100644 --- a/packages/examples/packages/json-rpc/package.json +++ b/packages/examples/packages/json-rpc/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/jsx/.depcheckrc.json b/packages/examples/packages/jsx/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/jsx/.depcheckrc.json +++ b/packages/examples/packages/jsx/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/jsx/package.json b/packages/examples/packages/jsx/package.json index 4a1f5c9b81..9f6a48030d 100644 --- a/packages/examples/packages/jsx/package.json +++ b/packages/examples/packages/jsx/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/rpc-errors": "^7.0.2", diff --git a/packages/examples/packages/lifecycle-hooks/.depcheckrc.json b/packages/examples/packages/lifecycle-hooks/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/lifecycle-hooks/.depcheckrc.json +++ b/packages/examples/packages/lifecycle-hooks/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/lifecycle-hooks/package.json b/packages/examples/packages/lifecycle-hooks/package.json index 2f8e17796b..11d84d246a 100644 --- a/packages/examples/packages/lifecycle-hooks/package.json +++ b/packages/examples/packages/lifecycle-hooks/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/localization/.depcheckrc.json b/packages/examples/packages/localization/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/localization/.depcheckrc.json +++ b/packages/examples/packages/localization/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/localization/package.json b/packages/examples/packages/localization/package.json index da24c042a7..2d14dd346c 100644 --- a/packages/examples/packages/localization/package.json +++ b/packages/examples/packages/localization/package.json @@ -38,10 +38,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/manage-state/.depcheckrc.json b/packages/examples/packages/manage-state/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/manage-state/.depcheckrc.json +++ b/packages/examples/packages/manage-state/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/manage-state/package.json b/packages/examples/packages/manage-state/package.json index 09c1da0a8d..293ff7cdd5 100644 --- a/packages/examples/packages/manage-state/package.json +++ b/packages/examples/packages/manage-state/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/name-lookup/.depcheckrc.json b/packages/examples/packages/name-lookup/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/name-lookup/.depcheckrc.json +++ b/packages/examples/packages/name-lookup/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/name-lookup/package.json b/packages/examples/packages/name-lookup/package.json index 6de6d5f1e5..bd3d8bf51c 100644 --- a/packages/examples/packages/name-lookup/package.json +++ b/packages/examples/packages/name-lookup/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/network-access/.depcheckrc.json b/packages/examples/packages/network-access/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/network-access/.depcheckrc.json +++ b/packages/examples/packages/network-access/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/network-access/package.json b/packages/examples/packages/network-access/package.json index b8d4b8d10e..a342485820 100644 --- a/packages/examples/packages/network-access/package.json +++ b/packages/examples/packages/network-access/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/notifications/.depcheckrc.json b/packages/examples/packages/notifications/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/notifications/.depcheckrc.json +++ b/packages/examples/packages/notifications/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/notifications/package.json b/packages/examples/packages/notifications/package.json index 929dc9d780..b94fbb1b2f 100644 --- a/packages/examples/packages/notifications/package.json +++ b/packages/examples/packages/notifications/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/preinstalled/.depcheckrc.json b/packages/examples/packages/preinstalled/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/preinstalled/.depcheckrc.json +++ b/packages/examples/packages/preinstalled/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/preinstalled/package.json b/packages/examples/packages/preinstalled/package.json index 4bd28b097e..a1799d6964 100644 --- a/packages/examples/packages/preinstalled/package.json +++ b/packages/examples/packages/preinstalled/package.json @@ -38,10 +38,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/rollup-plugin/.depcheckrc.json b/packages/examples/packages/rollup-plugin/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/rollup-plugin/.depcheckrc.json +++ b/packages/examples/packages/rollup-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/rollup-plugin/package.json b/packages/examples/packages/rollup-plugin/package.json index 12f47cfcef..dd8103affe 100644 --- a/packages/examples/packages/rollup-plugin/package.json +++ b/packages/examples/packages/rollup-plugin/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn build --watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/send-flow/.depcheckrc.json b/packages/examples/packages/send-flow/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/send-flow/.depcheckrc.json +++ b/packages/examples/packages/send-flow/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/send-flow/package.json b/packages/examples/packages/send-flow/package.json index 442c306dc7..5a19f612be 100644 --- a/packages/examples/packages/send-flow/package.json +++ b/packages/examples/packages/send-flow/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/rpc-errors": "^7.0.2", diff --git a/packages/examples/packages/signature-insights/.depcheckrc.json b/packages/examples/packages/signature-insights/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/signature-insights/.depcheckrc.json +++ b/packages/examples/packages/signature-insights/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/signature-insights/package.json b/packages/examples/packages/signature-insights/package.json index 083e9c71cc..8d31ae9697 100644 --- a/packages/examples/packages/signature-insights/package.json +++ b/packages/examples/packages/signature-insights/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/transaction-insights/.depcheckrc.json b/packages/examples/packages/transaction-insights/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/transaction-insights/.depcheckrc.json +++ b/packages/examples/packages/transaction-insights/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/transaction-insights/package.json b/packages/examples/packages/transaction-insights/package.json index 456690c838..16cd481d2a 100644 --- a/packages/examples/packages/transaction-insights/package.json +++ b/packages/examples/packages/transaction-insights/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", diff --git a/packages/examples/packages/wasm/.depcheckrc.json b/packages/examples/packages/wasm/.depcheckrc.json index 0f1dad8d45..0449aef810 100644 --- a/packages/examples/packages/wasm/.depcheckrc.json +++ b/packages/examples/packages/wasm/.depcheckrc.json @@ -10,6 +10,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/wasm/package.json b/packages/examples/packages/wasm/package.json index 0a859ed30b..8dcd73a358 100644 --- a/packages/examples/packages/wasm/package.json +++ b/packages/examples/packages/wasm/package.json @@ -38,10 +38,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn build:wasm && mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/examples/packages/webpack-plugin/.depcheckrc.json b/packages/examples/packages/webpack-plugin/.depcheckrc.json index 5dd3097d97..b0dd03cbb9 100644 --- a/packages/examples/packages/webpack-plugin/.depcheckrc.json +++ b/packages/examples/packages/webpack-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "swc-loader", diff --git a/packages/examples/packages/webpack-plugin/package.json b/packages/examples/packages/webpack-plugin/package.json index 942d87919c..2c5effb3b8 100644 --- a/packages/examples/packages/webpack-plugin/package.json +++ b/packages/examples/packages/webpack-plugin/package.json @@ -37,10 +37,10 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "webpack watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" diff --git a/packages/snaps-browserify-plugin/.depcheckrc.json b/packages/snaps-browserify-plugin/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-browserify-plugin/.depcheckrc.json +++ b/packages/snaps-browserify-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-browserify-plugin/package.json b/packages/snaps-browserify-plugin/package.json index 411810b9ce..f9a4677973 100644 --- a/packages/snaps-browserify-plugin/package.json +++ b/packages/snaps-browserify-plugin/package.json @@ -50,11 +50,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-utils": "workspace:^", diff --git a/packages/snaps-cli/.depcheckrc.json b/packages/snaps-cli/.depcheckrc.json index 1bb7642b66..bc82c6b540 100644 --- a/packages/snaps-cli/.depcheckrc.json +++ b/packages/snaps-cli/.depcheckrc.json @@ -13,6 +13,7 @@ "buffer", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "events", "is-core-module", diff --git a/packages/snaps-cli/package.json b/packages/snaps-cli/package.json index 2b4c55cce9..ef56baa152 100644 --- a/packages/snaps-cli/package.json +++ b/packages/snaps-cli/package.json @@ -57,11 +57,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@babel/core": "^7.23.2", diff --git a/packages/snaps-controllers/.depcheckrc.json b/packages/snaps-controllers/.depcheckrc.json index f8028874ce..df3d46b312 100644 --- a/packages/snaps-controllers/.depcheckrc.json +++ b/packages/snaps-controllers/.depcheckrc.json @@ -10,6 +10,7 @@ "@wdio/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "expect-webdriverio", "prettier-plugin-packagejson", diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index f018f7fe5f..ff1aefb609 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -70,13 +70,13 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter && yarn test:browser", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser", "test:browser": "wdio run wdio.config.js", - "test:clean": "jest --clearCache", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "ts-node scripts/coverage.ts && rimraf coverage/jest coverage/wdio", "test:pre": "yarn mkdirp test/fixtures && ./scripts/generate-fixtures.sh", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/approval-controller": "^7.1.2", diff --git a/packages/snaps-execution-environments/.depcheckrc.json b/packages/snaps-execution-environments/.depcheckrc.json index bd54e9cf1b..4a113a92b2 100644 --- a/packages/snaps-execution-environments/.depcheckrc.json +++ b/packages/snaps-execution-environments/.depcheckrc.json @@ -10,6 +10,7 @@ "@wdio/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "expect-webdriverio", "prettier-plugin-packagejson", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index b767e53fe8..62a6ec0300 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -56,12 +56,12 @@ "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "node scripts/start.js", - "test": "jest --reporters=jest-silent-reporter && yarn test:browser", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser", "test:browser": "wdio run wdio.config.js", - "test:clean": "jest --clearCache", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "ts-node scripts/coverage.ts && rimraf coverage/jest coverage/wdio", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/json-rpc-engine": "^10.0.2", diff --git a/packages/snaps-jest/.depcheckrc.json b/packages/snaps-jest/.depcheckrc.json index d1513836c7..b1167cc280 100644 --- a/packages/snaps-jest/.depcheckrc.json +++ b/packages/snaps-jest/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "redux", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index 96cfd09b9f..5163d572f1 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -50,11 +50,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@jest/environment": "^29.5.0", diff --git a/packages/snaps-rollup-plugin/.depcheckrc.json b/packages/snaps-rollup-plugin/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-rollup-plugin/.depcheckrc.json +++ b/packages/snaps-rollup-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-rollup-plugin/package.json b/packages/snaps-rollup-plugin/package.json index 342f49911e..2676dbaa51 100644 --- a/packages/snaps-rollup-plugin/package.json +++ b/packages/snaps-rollup-plugin/package.json @@ -50,11 +50,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-utils": "workspace:^" diff --git a/packages/snaps-rpc-methods/.depcheckrc.json b/packages/snaps-rpc-methods/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-rpc-methods/.depcheckrc.json +++ b/packages/snaps-rpc-methods/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-rpc-methods/package.json b/packages/snaps-rpc-methods/package.json index 222f8c7f6d..5aa0bdb781 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -48,11 +48,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", diff --git a/packages/snaps-sdk/.depcheckrc.json b/packages/snaps-sdk/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-sdk/.depcheckrc.json +++ b/packages/snaps-sdk/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-sdk/package.json b/packages/snaps-sdk/package.json index 35881b7d5f..2855b2b9e7 100644 --- a/packages/snaps-sdk/package.json +++ b/packages/snaps-sdk/package.json @@ -84,11 +84,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", diff --git a/packages/snaps-simulation/.depcheckrc.json b/packages/snaps-simulation/.depcheckrc.json index 5474429eab..b098d5cdeb 100644 --- a/packages/snaps-simulation/.depcheckrc.json +++ b/packages/snaps-simulation/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-jest", diff --git a/packages/snaps-simulation/package.json b/packages/snaps-simulation/package.json index 4bc16826cf..cac2a80df6 100644 --- a/packages/snaps-simulation/package.json +++ b/packages/snaps-simulation/package.json @@ -48,11 +48,11 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/base-controller": "^7.0.3", diff --git a/packages/snaps-simulator/.depcheckrc.json b/packages/snaps-simulator/.depcheckrc.json index a00f357582..58c700965b 100644 --- a/packages/snaps-simulator/.depcheckrc.json +++ b/packages/snaps-simulator/.depcheckrc.json @@ -12,6 +12,7 @@ "css-loader", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "process", diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index d3a0c7be3e..b9cd4e5bab 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -34,11 +34,11 @@ "since-latest-release": "../../scripts/since-latest-release.sh", "start": "webpack serve --config-name main --mode development", "start:e2e": "webpack serve --config-name test --mode development", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@chakra-ui/anatomy": "^2.1.1", diff --git a/packages/snaps-utils/.depcheckrc.json b/packages/snaps-utils/.depcheckrc.json index f8028874ce..df3d46b312 100644 --- a/packages/snaps-utils/.depcheckrc.json +++ b/packages/snaps-utils/.depcheckrc.json @@ -10,6 +10,7 @@ "@wdio/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "expect-webdriverio", "prettier-plugin-packagejson", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index 851d818688..96d1720afc 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -69,12 +69,12 @@ "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter && yarn test:browser", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser", "test:browser": "wdio run wdio.config.js", - "test:clean": "jest --clearCache", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "ts-node scripts/coverage.ts && rimraf coverage/jest coverage/wdio", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@babel/core": "^7.23.2", diff --git a/packages/snaps-webpack-plugin/.depcheckrc.json b/packages/snaps-webpack-plugin/.depcheckrc.json index c437c59cd2..5b10b62a78 100644 --- a/packages/snaps-webpack-plugin/.depcheckrc.json +++ b/packages/snaps-webpack-plugin/.depcheckrc.json @@ -9,6 +9,8 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/test-snaps/.depcheckrc.json b/packages/test-snaps/.depcheckrc.json index 841acc3cfc..97c3f34709 100644 --- a/packages/test-snaps/.depcheckrc.json +++ b/packages/test-snaps/.depcheckrc.json @@ -11,6 +11,7 @@ "css-loader", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "process", diff --git a/packages/test-snaps/package.json b/packages/test-snaps/package.json index 2c0cc5da2c..8bcb9d9fdc 100644 --- a/packages/test-snaps/package.json +++ b/packages/test-snaps/package.json @@ -34,11 +34,11 @@ "since-latest-release": "../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --parallel --verbose --interlaced --all --include \"@metamask/test-snaps\" --include \"@metamask/example-snaps\" run start:test", "start:test": "cross-env NODE_ENV=development webpack serve", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/bip32-example-snap": "workspace:^", diff --git a/yarn.config.cjs b/yarn.config.cjs index 2930197ebd..85476df2c4 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -165,22 +165,19 @@ module.exports = defineConfig({ getRelativePath(workspace, 'scripts', 'since-latest-release.sh'), ); - if ( - workspace.cwd !== 'packages/examples' && - workspace.cwd !== 'packages/snaps-webpack-plugin' - ) { + if (workspace.cwd !== 'packages/examples') { // All non-root packages must have the same "test" script. if (workspace.manifest.scripts['test:browser']) { expectWorkspaceField( workspace, 'scripts.test', - 'jest --reporters=jest-silent-reporter && yarn test:browser', + 'node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser', ); } else { expectWorkspaceField( workspace, 'scripts.test', - 'jest --reporters=jest-silent-reporter', + 'node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter', ); } @@ -188,18 +185,22 @@ module.exports = defineConfig({ expectWorkspaceField( workspace, 'scripts.test:clean', - 'jest --clearCache', + 'node --experimental-vm-modules $(yarn bin jest) --clearCache', ); // All non-root packages must have the same "test:verbose" script. expectWorkspaceField( workspace, 'scripts.test:verbose', - 'jest --verbose', + 'node --experimental-vm-modules $(yarn bin jest) --verbose', ); // All non-root packages must have the same "test:watch" script. - expectWorkspaceField(workspace, 'scripts.test:watch', 'jest --watch'); + expectWorkspaceField( + workspace, + 'scripts.test:watch', + 'node --experimental-vm-modules $(yarn bin jest) --watch', + ); } } From 769fba87c8f054e93737bef06db880d01be73101 Mon Sep 17 00:00:00 2001 From: Maarten Zuidhoorn Date: Tue, 14 Jan 2025 11:02:31 +0100 Subject: [PATCH 7/7] Update snaps-simulator --- packages/snaps-simulator/jest.config.js | 6 +++--- packages/snaps-simulator/package.json | 8 ++++---- .../snaps-simulator/src/features/builder/Builder.tsx | 11 +++++++++-- .../src/features/builder/utils.test.ts | 8 ++++---- .../snaps-simulator/src/features/builder/utils.ts | 11 ++++++----- yarn.config.cjs | 5 ++++- 6 files changed, 30 insertions(+), 19 deletions(-) diff --git a/packages/snaps-simulator/jest.config.js b/packages/snaps-simulator/jest.config.js index f8048f5e64..2ae412b762 100644 --- a/packages/snaps-simulator/jest.config.js +++ b/packages/snaps-simulator/jest.config.js @@ -8,9 +8,9 @@ module.exports = deepmerge(baseConfig, { coverageThreshold: { global: { branches: 54.33, - functions: 60.59, - lines: 80.49, - statements: 80.83, + functions: 60.43, + lines: 80.38, + statements: 80.73, }, }, setupFiles: ['./jest.setup.js'], diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index b9cd4e5bab..d3a0c7be3e 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -34,11 +34,11 @@ "since-latest-release": "../../scripts/since-latest-release.sh", "start": "webpack serve --config-name main --mode development", "start:e2e": "webpack serve --config-name test --mode development", - "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", - "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test": "jest --reporters=jest-silent-reporter", + "test:clean": "jest --clearCache", "test:post": "jest-it-up", - "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", - "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" + "test:verbose": "jest --verbose", + "test:watch": "jest --watch" }, "dependencies": { "@chakra-ui/anatomy": "^2.1.1", diff --git a/packages/snaps-simulator/src/features/builder/Builder.tsx b/packages/snaps-simulator/src/features/builder/Builder.tsx index bc7d2e33c2..71084ef936 100644 --- a/packages/snaps-simulator/src/features/builder/Builder.tsx +++ b/packages/snaps-simulator/src/features/builder/Builder.tsx @@ -8,9 +8,10 @@ import { Tabs, } from '@chakra-ui/react'; import { Box, type JSXElement } from '@metamask/snaps-sdk/jsx'; +import { logError } from '@metamask/snaps-utils'; import type { NodeModel } from '@minoru/react-dnd-treeview'; import type { FunctionComponent } from 'react'; -import { useState } from 'react'; +import { useEffect, useState } from 'react'; import { Editor } from '../../components'; import { TemplateComponentList, NodeTree, NodeRenderer } from './components'; @@ -28,6 +29,12 @@ export const Builder: FunctionComponent = () => { }, ]); + const [code, setCode] = useState(''); + + useEffect(() => { + boxToCode(nodeModelsToComponent(items)).then(setCode).catch(logError); + }, [items]); + const incrementId = () => { setId((state) => state + 1); }; @@ -103,7 +110,7 @@ export const Builder: FunctionComponent = () => { > { }); describe('boxToCode', () => { - it('creates code from a component', () => { + it('creates code from a component', async () => { const component = Box({ children: [ Text({ children: 'foo' }), @@ -207,7 +207,7 @@ describe('boxToCode', () => { ], }); - const code = boxToCode(component); + const code = await boxToCode(component); expect(code).toMatchInlineSnapshot(` "import { Box, Text } from '@metamask/snaps-sdk/jsx'; @@ -224,7 +224,7 @@ describe('boxToCode', () => { `); }); - it('creates code from a component with a form', () => { + it('creates code from a component with a form', async () => { const component = Box({ children: [ Text({ children: 'foo' }), @@ -242,7 +242,7 @@ describe('boxToCode', () => { ], }); - const code = boxToCode(component); + const code = await boxToCode(component); expect(code).toMatchInlineSnapshot(` "import { Box, Button, Field, Form, Input, Text } from '@metamask/snaps-sdk/jsx'; diff --git a/packages/snaps-simulator/src/features/builder/utils.ts b/packages/snaps-simulator/src/features/builder/utils.ts index a27d11a1e0..3e8c258a09 100644 --- a/packages/snaps-simulator/src/features/builder/utils.ts +++ b/packages/snaps-simulator/src/features/builder/utils.ts @@ -16,8 +16,9 @@ import { import { is } from '@metamask/superstruct'; import { assert, hasProperty } from '@metamask/utils'; import type { NodeModel } from '@minoru/react-dnd-treeview'; -import typescript from 'prettier/parser-typescript'; -import prettier from 'prettier/standalone'; +import * as estree from 'prettier/plugins/estree'; +import * as typescript from 'prettier/plugins/typescript'; +import { format } from 'prettier/standalone'; /** * Get the text of a node model. @@ -184,10 +185,10 @@ function getComponentTypes(component: JSXElement): string[] { * @param component - The root panel. * @returns The code. */ -export function boxToCode(component: BoxElement): string { +export async function boxToCode(component: BoxElement): Promise { const types = getComponentTypes(component).join(', '); - return prettier.format( + return await format( ` import { ${types} } from '@metamask/snaps-sdk/jsx'; @@ -195,7 +196,7 @@ export function boxToCode(component: BoxElement): string { `, { parser: 'typescript', - plugins: [typescript], + plugins: [estree, typescript], printWidth: 80, tabWidth: 2, singleQuote: true, diff --git a/yarn.config.cjs b/yarn.config.cjs index 85476df2c4..92553e4fb1 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -165,7 +165,10 @@ module.exports = defineConfig({ getRelativePath(workspace, 'scripts', 'since-latest-release.sh'), ); - if (workspace.cwd !== 'packages/examples') { + if ( + workspace.cwd !== 'packages/examples' && + workspace.cwd !== 'packages/snaps-simulator' + ) { // All non-root packages must have the same "test" script. if (workspace.manifest.scripts['test:browser']) { expectWorkspaceField(