Skip to content

Commit

Permalink
fix: make copyBrowserBundle part of nx target (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
shineli1984 authored Jul 30, 2024
1 parent fb265d1 commit 1790fbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"responselike": "^2.0.0"
},
"scripts": {
"build": "yarn workspace @imtbl/sdk updateDependencies && NODE_OPTIONS=--max-old-space-size=14366 nx run-many --target=build --projects=@imtbl/sdk && yarn syncpack:format && yarn wsrun -p @imtbl/sdk -a -m copyBrowserBundles",
"build": "nx run @imtbl/sdk:build",
"build:examples": "yarn workspaces foreach -Apt --include='@examples/**' run build",
"build:onlysdk": "NODE_OPTIONS=--max-old-space-size=14366 nx run-many --target=build --projects=@imtbl/sdk && yarn syncpack:format",
"dev": "./dev.sh",
Expand Down
2 changes: 1 addition & 1 deletion packages/game-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"parcel": "^2.8.3"
},
"scripts": {
"d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'",
"build": "parcel build --no-cache --no-scope-hoist && yarn updateSdkVersion",
"d": "swc src -d dist --strip-leading-paths --ignore '**/*.test.*'",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"start": "parcel",
"updateSdkVersion": "./scripts/updateSdkVersion.sh"
Expand Down
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"@openzeppelin/contracts": "3.4.2-solc-0.7"
},
"scripts": {
"build": "yarn updateDependencies && yarn regenModules && rm -rf dist && NODE_ENV=production node --max-old-space-size=8192 ../node_modules/rollup/dist/bin/rollup --config rollup.config.js && rm -rf dist/types",
"build": "yarn updateDependencies && yarn regenModules && rm -rf dist && NODE_ENV=production node --max-old-space-size=14366 ../node_modules/rollup/dist/bin/rollup --config rollup.config.js && rm -rf dist/types && yarn copyBrowserBundles",
"build:only": "rm -rf dist && NODE_ENV=production node --max-old-space-size=8192 ../node_modules/rollup/dist/bin/rollup --config rollup.config.js && rm -rf dist/types",
"copyBrowserBundles": "node scripts/copyBrowserBundles.js",
"generateIndex": "node scripts/generateIndex.js",
Expand Down

0 comments on commit 1790fbf

Please sign in to comment.