Skip to content

Commit 2d84b43

Browse files
authored
Revert "Build examples by running yarn build in each example (#448)" (#456)
This reverts #448, which caused builds to fail on release PRs because running `yarn install` in a individual examples attempted to pull unpublished monorepo packages from the npm registry.
1 parent eb27474 commit 2d84b43

16 files changed

Lines changed: 381 additions & 27883 deletions

File tree

packages/examples/examples/bls-signer/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
"snap.manifest.json"
1515
],
1616
"scripts": {
17-
"test": "echo 'Error: no test specified' && exit 1",
18-
"build": "mm-snap build"
17+
"test": "echo 'Error: no test specified' && exit 1"
1918
},
2019
"dependencies": {
2120
"eth-json-rpc-errors": "^1.1.0",
22-
"mm-snap": "file:../../../cli",
2321
"noble-bls12-381": "^0.2.3"
2422
},
2523
"engines": {

packages/examples/examples/bls-signer/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps-skunkworks.git"
88
},
99
"source": {
10-
"shasum": "OU2yp0gPLBuPKznOIjG3Oz0N47213xHmUsC08nl09BE=",
10+
"shasum": "n5/s5K66duQVo/8Rz+ajmeqx8+y9pRKezjZXG9K4xd4=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/examples/examples/bls-signer/yarn.lock

Lines changed: 12 additions & 5566 deletions
Large diffs are not rendered by default.

packages/examples/examples/ethers-js/package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
"snap.manifest.json"
1515
],
1616
"scripts": {
17-
"test": "echo 'Error: no test specified' && exit 1",
18-
"build": "mm-snap build"
17+
"test": "echo 'Error: no test specified' && exit 1"
1918
},
2019
"dependencies": {
21-
"ethers": "^5.4.6",
22-
"mm-snap": "file:../../../cli"
20+
"ethers": "^5.4.6"
2321
},
2422
"engines": {
2523
"node": ">=14.0.0"

packages/examples/examples/ethers-js/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps-skunkworks.git"
88
},
99
"source": {
10-
"shasum": "XrWHHxhRL7jbQ2p2iJQ2i3QxWfo8FL99lHAZ8j6ce1c=",
10+
"shasum": "h3V7LGvxmyPPdbQDoB4JA2aEqejW9B0saUNwIsGAr4w=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/examples/examples/ethers-js/yarn.lock

Lines changed: 79 additions & 5553 deletions
Large diffs are not rendered by default.

packages/examples/examples/ipfs/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@
1414
"snap.manifest.json"
1515
],
1616
"scripts": {
17-
"test": "echo 'Error: no test specified' && exit 1",
18-
"build": "mm-snap build"
17+
"test": "echo 'Error: no test specified' && exit 1"
1918
},
2019
"dependencies": {
2120
"eth-json-rpc-errors": "^1.1.0",
22-
"mm-snap": "file:../../../cli",
2321
"uuid": "^8.3.2"
2422
},
2523
"engines": {

packages/examples/examples/ipfs/snap.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "https://github.com/MetaMask/snaps-skunkworks.git"
88
},
99
"source": {
10-
"shasum": "tR2vu2otHZd9KrdEhl5kqYqLFxNdYZl/TURFMi+qTgE=",
10+
"shasum": "vQsxeddY3CaV9cbdFd9PXI9NgKhVSUWs0mR133rc15Q=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

packages/examples/examples/ipfs/yarn.lock

Lines changed: 8 additions & 5557 deletions
Large diffs are not rendered by default.

packages/examples/examples/notifications/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
2727
"lint:changelog": "yarn auto-changelog validate"
2828
},
29-
"dependencies": {
30-
"mm-snap": "file:../../../cli"
31-
},
3229
"engines": {
3330
"node": ">=14.0.0"
3431
},

0 commit comments

Comments
 (0)