Skip to content

Commit

Permalink
Remove unnecessary build:ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Sep 9, 2024
1 parent db3b4bd commit a55c724
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 27 deletions.
5 changes: 0 additions & 5 deletions constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -221,11 +221,6 @@ gen_enforced_field(WorkspaceCwd, 'scripts.build:types', null) :-
\+ is_example(WorkspaceCwd),
\+ workspace_field(WorkspaceCwd, 'private', true),
WorkspaceCwd \= '.'.
gen_enforced_field(WorkspaceCwd, 'scripts.build:ci', 'ts-bridge --project tsconfig.build.json --verbose --no-references --clean') :-
\+ is_example(WorkspaceCwd),
\+ workspace_field(WorkspaceCwd, 'private', true),
WorkspaceCwd \= '.',
WorkspaceCwd \= 'packages/snaps-simulator'.

% Dependencies must have preview scripts.
gen_enforced_field(WorkspaceCwd, 'scripts.publish:preview', 'yarn npm publish --tag preview') :-
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"lint:fix": "yarn workspaces foreach --all --parallel run lint:eslint --fix && yarn lint:misc --write && yarn lint:tsconfig && yarn constraints --fix && yarn dedupe",
"lint:ci": "yarn lint:eslint && yarn lint:misc --check && yarn lint:tsconfig && yarn constraints && yarn lint:dependencies",
"build": "ts-bridge --project tsconfig.build.json --verbose && yarn build:examples",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --clean",
"build:examples": "yarn workspace @metamask/example-snaps build",
"clean": "yarn workspaces foreach --all --parallel --verbose run clean",
"test": "yarn workspaces foreach --all --parallel --verbose run test",
Expand Down
3 changes: 1 addition & 2 deletions packages/create-snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
"publish:package": "../../scripts/publish-package.sh",
"lint:ci": "yarn lint",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@metamask/snaps-utils": "workspace:^",
Expand Down
1 change: 0 additions & 1 deletion packages/snaps-browserify-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"lint:changelog": "../../scripts/validate-changelog.sh @metamask/snaps-browserify-plugin",
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck"
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@
"lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@babel/core": "^7.23.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"lint:changelog": "../../scripts/validate-changelog.sh @metamask/snaps-controllers",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@metamask/approval-controller": "^7.0.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-execution-environments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"start": "node scripts/start.js",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@metamask/json-rpc-engine": "^9.0.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"lint:changelog": "../../scripts/validate-changelog.sh @metamask/snaps-jest",
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
"publish:preview": "yarn npm publish --tag preview",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@jest/environment": "^29.5.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-rollup-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@metamask/snaps-utils": "workspace:^"
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-rpc-methods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@metamask/key-tree": "^9.1.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@metamask/key-tree": "^9.1.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
"build:clean": "yarn clean && yarn build",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@babel/core": "^7.23.2",
Expand Down
3 changes: 1 addition & 2 deletions packages/snaps-webpack-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"build": "ts-bridge --project tsconfig.build.json --verbose --no-references",
"publish:preview": "yarn npm publish --tag preview",
"lint:ci": "yarn lint",
"lint:dependencies": "depcheck",
"build:ci": "ts-bridge --project tsconfig.build.json --verbose --no-references --clean"
"lint:dependencies": "depcheck"
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
Expand Down

0 comments on commit a55c724

Please sign in to comment.