Skip to content

Commit

Permalink
Run yarn constraints --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Sep 19, 2024
1 parent 8ae0b74 commit 4447adc
Show file tree
Hide file tree
Showing 48 changed files with 838 additions and 196 deletions.
22 changes: 17 additions & 5 deletions packages/create-snap/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/create-snap",
"version": "4.0.4",
"description": "A CLI for creating MetaMask Snaps.",
"description": "A CLI for creating MetaMask Snaps",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/create-snap#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand Down Expand Up @@ -29,13 +38,13 @@
"dist"
],
"scripts": {
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references",
"build:chmod": "chmod +x ./dist/main.mjs && chmod +x ./dist/main.js",
"build:clean": "yarn clean && yarn build",
"build:watch": "tsc-watch --onSuccess 'yarn build:chmod'",
"test": "jest && yarn posttest",
"test": "jest --reporters=jest-silent-reporter",
"posttest": "jest-it-up",
"test:watch": "yarn test --watch",
"test:watch": "jest --watch",
"test:ci": "yarn test",
"lint:changelog": "../../scripts/validate-changelog.sh @metamask/create-snap",
"lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx",
Expand All @@ -45,7 +54,10 @@
"publish:package": "../../scripts/publish-package.sh",
"lint:ci": "yarn lint",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose"
},
"dependencies": {
"@metamask/snaps-utils": "workspace:^",
Expand Down
13 changes: 12 additions & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@
"name": "@metamask/example-snaps",
"version": "3.9.0",
"private": true,
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/examples#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
},
"license": "(MIT-0 OR Apache-2.0)",
"sideEffects": false,
"files": [],
"workspaces": [
"packages/*"
Expand All @@ -24,7 +34,8 @@
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:ci": "yarn lint:eslint && yarn lint:misc --check",
"lint:changelogs": "yarn workspaces foreach --worktree --parallel --verbose run lint:changelog",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../scripts/since-latest-release.sh"
},
"devDependencies": {
"@lavamoat/allow-scripts": "^3.0.4",
Expand Down
22 changes: 18 additions & 4 deletions packages/examples/packages/bip32/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/bip32-example-snap",
"version": "2.2.1",
"description": "MetaMask example snap demonstrating the use of `snap_getBip32Entropy`.",
"description": "MetaMask example snap demonstrating the use of `snap_getBip32Entropy`",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/bip32#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand All @@ -11,7 +20,8 @@
"main": "./dist/bundle.js",
"files": [
"dist/",
"snap.manifest.json"
"snap.manifest.json",
"dist"
],
"scripts": {
"build": "mm-snap build",
Expand All @@ -24,10 +34,14 @@
"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",
"start": "mm-snap watch",
"test": "yarn test:e2e",
"test": "jest --reporters=jest-silent-reporter",
"test:e2e": "jest",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/key-tree": "^9.1.2",
Expand Down
22 changes: 18 additions & 4 deletions packages/examples/packages/bip44/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/bip44-example-snap",
"version": "2.1.3",
"description": "MetaMask example snap demonstrating the use of `snap_getBip44Entropy`.",
"description": "MetaMask example snap demonstrating the use of `snap_getBip44Entropy`",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/bip44#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand All @@ -11,7 +20,8 @@
"main": "./dist/bundle.js",
"files": [
"dist/",
"snap.manifest.json"
"snap.manifest.json",
"dist"
],
"scripts": {
"build": "mm-snap build",
Expand All @@ -24,10 +34,14 @@
"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",
"start": "mm-snap watch",
"test": "yarn test:e2e",
"test": "jest --reporters=jest-silent-reporter",
"test:e2e": "jest",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/key-tree": "^9.1.2",
Expand Down
22 changes: 18 additions & 4 deletions packages/examples/packages/browserify-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/browserify-plugin-example-snap",
"version": "2.1.3",
"description": "MetaMask example snap demonstrating how to use the Browserify plugin to bundle a snap.",
"description": "MetaMask example snap demonstrating how to use the Browserify plugin to bundle a snap",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/browserify-plugin#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand All @@ -11,7 +20,8 @@
"main": "./dist/bundle.js",
"files": [
"dist/",
"snap.manifest.json"
"snap.manifest.json",
"dist"
],
"scripts": {
"build": "ts-node --swc scripts/build.ts",
Expand All @@ -23,10 +33,14 @@
"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",
"test": "yarn test:e2e",
"test": "jest --reporters=jest-silent-reporter",
"test:e2e": "jest",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^"
Expand Down
22 changes: 18 additions & 4 deletions packages/examples/packages/browserify/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/browserify-example-snap",
"version": "2.1.3",
"description": "MetaMask example snap demonstrating how to use Browserify to bundle a snap.",
"description": "MetaMask example snap demonstrating how to use Browserify to bundle a snap",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/browserify#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand All @@ -11,7 +20,8 @@
"main": "./dist/bundle.js",
"files": [
"dist/",
"snap.manifest.json"
"snap.manifest.json",
"dist"
],
"scripts": {
"build": "mm-snap build",
Expand All @@ -24,10 +34,14 @@
"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",
"start": "mm-snap watch",
"test": "yarn test:e2e",
"test": "jest --reporters=jest-silent-reporter",
"test:e2e": "jest",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^"
Expand Down
22 changes: 18 additions & 4 deletions packages/examples/packages/client-status/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/client-status-example-snap",
"version": "1.0.3",
"description": "MetaMask example snap demonstrating the use of `snap_getClientStatus`.",
"description": "MetaMask example snap demonstrating the use of `snap_getClientStatus`",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/client-status#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand All @@ -11,7 +20,8 @@
"main": "./dist/bundle.js",
"files": [
"dist/",
"snap.manifest.json"
"snap.manifest.json",
"dist"
],
"scripts": {
"build": "mm-snap build",
Expand All @@ -24,10 +34,14 @@
"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",
"start": "mm-snap watch",
"test": "yarn test:e2e",
"test": "jest --reporters=jest-silent-reporter",
"test:e2e": "jest",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^"
Expand Down
22 changes: 18 additions & 4 deletions packages/examples/packages/cronjobs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/cronjob-example-snap",
"version": "2.1.4",
"description": "MetaMask example snap demonstrating the use of cronjobs in snaps.",
"description": "MetaMask example snap demonstrating the use of cronjobs in snaps",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/cronjobs#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand All @@ -11,7 +20,8 @@
"main": "./dist/bundle.js",
"files": [
"dist/",
"snap.manifest.json"
"snap.manifest.json",
"dist"
],
"scripts": {
"build": "mm-snap build",
Expand All @@ -24,10 +34,14 @@
"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",
"start": "mm-snap watch",
"test": "yarn test:e2e",
"test": "jest --reporters=jest-silent-reporter",
"test:e2e": "jest",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^"
Expand Down
22 changes: 18 additions & 4 deletions packages/examples/packages/dialogs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@metamask/dialog-example-snap",
"version": "2.3.1",
"description": "MetaMask example snap demonstrating the use of `snap_dialog`.",
"description": "MetaMask example snap demonstrating the use of `snap_dialog`",
"keywords": [
"MetaMask",
"Ethereum",
"Snaps"
],
"homepage": "https://github.com/MetaMask/snaps/tree/main/packages/dialogs#readme",
"bugs": {
"url": "https://github.com/MetaMask/snaps/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/MetaMask/snaps.git"
Expand All @@ -11,7 +20,8 @@
"main": "./dist/bundle.js",
"files": [
"dist/",
"snap.manifest.json"
"snap.manifest.json",
"dist"
],
"scripts": {
"build": "mm-snap build",
Expand All @@ -24,10 +34,14 @@
"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",
"start": "mm-snap watch",
"test": "yarn test:e2e",
"test": "jest --reporters=jest-silent-reporter",
"test:e2e": "jest",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck"
"lint:dependencies": "depcheck",
"since-latest-release": "../../../../scripts/since-latest-release.sh",
"test:clean": "jest --clearCache",
"test:verbose": "jest --verbose",
"test:watch": "jest --watch"
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^"
Expand Down
Loading

0 comments on commit 4447adc

Please sign in to comment.