Skip to content

Commit

Permalink
fix: fix preview builds artifacts (#17)
Browse files Browse the repository at this point in the history
## Description

Current preview builds are incomplete, if you install them, you will
only `*.md` and `package.json` files.

This PR will fix those artifacts.
  • Loading branch information
ccharly authored Sep 4, 2024
1 parent b7d8c23 commit 3506fd7
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 153 deletions.
1 change: 0 additions & 1 deletion packages/keyring-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"build:force": "tsc --build tsconfig.build.json --force",
"changelog:update": "../../scripts/update-changelog.sh @metamask/keyring-api",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/keyring-api",
"prepack": "./scripts/prepack.sh",
"publish:preview": "yarn npm publish --tag preview",
"test": "yarn test:source && yarn test:types",
"test:clean": "jest --clearCache",
Expand Down
21 changes: 0 additions & 21 deletions packages/keyring-api/scripts/get.sh

This file was deleted.

12 changes: 0 additions & 12 deletions packages/keyring-api/scripts/prepack.sh

This file was deleted.

5 changes: 1 addition & 4 deletions packages/keyring-api/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"rootDir": "src",
// FIXME: We should investigate how to get rid of this flag, as this will turn off type
// checking for all *.d.ts files
"skipLibCheck": true,
// FIXME: We need to also build .js files, since keyring-snap uses some internal files
// for its tests
"emitDeclarationOnly": false
"skipLibCheck": true
},
"include": ["./src/**/*.ts"],
"exclude": ["./src/**/*.test.ts", "./src/**/*.test-d.ts"]
Expand Down
1 change: 0 additions & 1 deletion packages/keyring-eth-ledger-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"build:force": "tsc --build tsconfig.build.json --force",
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-ledger-bridge-keyring",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-ledger-bridge-keyring",
"prepack": "./scripts/prepack.sh",
"publish:preview": "yarn npm publish --tag preview",
"test": "jest && jest-it-up",
"test:clean": "jest --clearCache",
Expand Down
12 changes: 0 additions & 12 deletions packages/keyring-eth-ledger-bridge/scripts/prepack.sh

This file was deleted.

1 change: 0 additions & 1 deletion packages/keyring-eth-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"build:force": "tsc --build tsconfig.build.json --force",
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-simple-keyring",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-simple-keyring",
"prepack": "./scripts/prepack.sh",
"publish:preview": "yarn npm publish --tag preview",
"sample": "ts-node src/sample.ts",
"test": "jest",
Expand Down
21 changes: 0 additions & 21 deletions packages/keyring-eth-simple/scripts/get.sh

This file was deleted.

12 changes: 0 additions & 12 deletions packages/keyring-eth-simple/scripts/prepack.sh

This file was deleted.

1 change: 0 additions & 1 deletion packages/keyring-eth-trezor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"build:force": "tsc --build tsconfig.build.json --force",
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-trezor-keyring",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-trezor-keyring",
"prepack": "./scripts/prepack.sh",
"publish:preview": "yarn npm publish --tag preview",
"test": "jest && jest-it-up",
"test:clean": "jest --clearCache",
Expand Down
20 changes: 0 additions & 20 deletions packages/keyring-eth-trezor/scripts/get.sh

This file was deleted.

12 changes: 0 additions & 12 deletions packages/keyring-eth-trezor/scripts/prepack.sh

This file was deleted.

1 change: 0 additions & 1 deletion packages/keyring-snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"build:force": "tsc --build tsconfig.build.json --force",
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-snap-keyring",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-snap-keyring",
"prepack": "./scripts/prepack.sh",
"publish:preview": "yarn npm publish --tag preview",
"test": "jest && jest-it-up",
"test:clean": "jest --clearCache",
Expand Down
21 changes: 0 additions & 21 deletions packages/keyring-snap/scripts/get.sh

This file was deleted.

12 changes: 0 additions & 12 deletions packages/keyring-snap/scripts/prepack.sh

This file was deleted.

1 change: 0 additions & 1 deletion tsconfig.packages.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"declaration": true,
"declarationMap": true,
"noEmit": false,
"emitDeclarationOnly": true,
"inlineSources": true,
"sourceMap": true
},
Expand Down

0 comments on commit 3506fd7

Please sign in to comment.