Skip to content

Commit

Permalink
Premint api helper - fix build for 1155 by getting rid of prepack and…
Browse files Browse the repository at this point in the history
… just fixing the build step (#308)

* fix monorepo build by removing prepack step from 1155 and always include it in "build"
* do not run premint-sdk tests in CI, since they require anvil to run
  • Loading branch information
oveddan authored Oct 30, 2023
1 parent 6bda996 commit 2e3f8ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/1155-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
"coverage": "forge coverage --report lcov",
"write-gas-report": "forge test --gas-report > gasreport.ansi",
"copy-abis": "tsx script/bundle-abis.ts",
"prepack": "yarn wagmi && yarn copy-abis && yarn bundle-configs && yarn build",
"update-new-deployment-addresses": "node script/copy-deployed-contracts.mjs deploy",
"update-contract-version": "node script/update-contract-version.mjs",
"build:contracts": "forge build",
"build": "tsup",
"build": "yarn wagmi && yarn copy-abis && yarn bundle-configs && tsup",
"build:sizes": "forge build --sizes",
"bundle-configs": "node script/bundle-chainConfigs.mjs && yarn prettier",
"wagmi": "FOUNDRY_PROFILE=dev forge build && wagmi generate",
Expand Down
2 changes: 1 addition & 1 deletion packages/premint-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "tsup",
"prepack": "yarn build",
"test": "vitest src",
"test:js": "vitest src",
"generate-types": "npx openapi-typescript https://api.zora.co/premint/openapi.json -o src/generated/premint-api-types.ts && npx openapi-typescript https://api.zora.co/discover/openapi.json -o src/generated/discover-api-types.ts",
"anvil": "source .env.anvil && anvil --fork-url $FORK_RPC_URL --fork-block-number $FORK_BLOCK_NUMBER --chain-id 31337"
},
Expand Down

0 comments on commit 2e3f8ab

Please sign in to comment.