Skip to content

Commit

Permalink
Less is more (#1766)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Yang <[email protected]>
  • Loading branch information
shineli1984 and andrew-yangy authored May 21, 2024
1 parent d2c2e7c commit 73460f8
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"scripts": {
"build": "NODE_OPTIONS=--max-old-space-size=14366 wsrun -y 4 -p @imtbl/sdk -p @imtbl/checkout-widgets -e -r --serial build && yarn syncpack:format && yarn wsrun -p @imtbl/sdk -a -m copyBrowserBundles",
"build:onlysdk": "NODE_OPTIONS=--max-old-space-size=14366 wsrun -y 4 -p @imtbl/sdk --stages build && yarn syncpack:format",
"dev": "wsrun --parallel --exclude-missing dev",
"docs:build": "typedoc",
"docs:serve": "http-server ./docs --cors -p 8080 -c-1",
"lint": "wsrun --exclude-missing -e lint --no-error-on-unmatched-pattern",
Expand Down
1 change: 1 addition & 0 deletions packages/blockchain-data/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"generate-types": "typechain --target=ethers-v5 --out-dir=src/typechain/types 'abi/*.json'",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"test": "jest",
Expand Down
1 change: 1 addition & 0 deletions packages/checkout/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"scripts": {
"build": "rollup --config rollup.config.js",
"build:dev": "CHECKOUT_DEV_MODE=true yarn build",
"dev": "CHECKOUT_DEV_MODE=true rollup --config rollup.config.js -w",
"docs": "typedoc --plugin typedoc-plugin-markdown --skipErrorChecking --disableSources --out docs src/index.ts",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"lint:fix": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix",
Expand Down
1 change: 1 addition & 0 deletions packages/checkout/widgets-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"build": "yarn clean && rollup --config rollup.config.js",
"build:analyse": "yarn build --plugin visualizer",
"build:local": "yarn clean && yarn build && mkdir -p ../widgets-sample-app/public/lib/js && cp dist/*.js ../widgets-sample-app/public/lib/js/",
"dev": "NODE_ENV=development rollup --config rollup.config.js",
"clean": "rm -rf ./dist",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"lint:fix": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix",
Expand Down
1 change: 1 addition & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"test": "jest",
"test:watch": "jest --watch",
Expand Down
1 change: 1 addition & 0 deletions packages/internal/bridge/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts --max-warnings=0",
"lint:fix": "cd ../../../../ && yarn wsrun -p @imtbl/bridge-sdk -c lint --fix",
"test": "jest test -- --silent=false",
Expand Down
1 change: 1 addition & 0 deletions packages/internal/cryptofiat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix",
"prepare": "wsrun -r build",
"test": "jest",
Expand Down
1 change: 1 addition & 0 deletions packages/internal/dex/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"generate-types": "typechain --target ethers-v5 --out-dir ./src/contracts/types ./src/contracts/ABIs/*.json",
"lint": "eslint ./src --ext .ts --max-warnings=0",
"lint:fix": "cd ../../../.. && yarn wsrun -p @imtbl/dex-sdk -c lint --fix",
Expand Down
1 change: 1 addition & 0 deletions packages/internal/factory/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts --max-warnings=0",
"lint:fix": "cd ../../../ && yarn wsrun -p @imtbl/factory-sdk -c lint --fix",
"test": "jest test",
Expand Down
1 change: 1 addition & 0 deletions packages/internal/generated-clients/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"prepare": "wsrun -r build",
"test": "jest",
"typecheck": "tsc --noEmit --jsx preserve"
Expand Down
3 changes: 2 additions & 1 deletion packages/internal/guardian/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"private": true,
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js"
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w"
},
"type": "module",
"types": "dist/index.d.ts"
Expand Down
1 change: 1 addition & 0 deletions packages/internal/metrics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"test": "jest",
"typecheck": "tsc --noEmit --jsx preserve"
Expand Down
1 change: 1 addition & 0 deletions packages/internal/toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"prepare": "wsrun -r build",
"test": "jest",
Expand Down
1 change: 1 addition & 0 deletions packages/internal/version-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"start:checkout-js-server": "http-server -p 8080 -c-1 ../../../sdk/dist",
"start:checkout-web-server": "http-server -p 8081 -c-1 ./src/checkout-widgets-test",
Expand Down
1 change: 1 addition & 0 deletions packages/minting-backend/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"test": "jest --passWithNoTests",
"test:e2e": "jest --runInBand --testMatch \"**/?(*.)+(e2e).[jt]s?(x)\"",
Expand Down
1 change: 1 addition & 0 deletions packages/orderbook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"generate-types": "typechain --target=ethers-v5 --out-dir=src/typechain/types 'abi/*.json'",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"lint:fix": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0 --fix",
Expand Down
1 change: 1 addition & 0 deletions packages/passport/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"test": "jest",
"test:watch": "jest --watch",
Expand Down
1 change: 1 addition & 0 deletions packages/webhook/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"generate-types": "typechain --target=ethers-v5 --out-dir=src/typechain/types 'abi/*.json'",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"test": "jest --passWithNoTests",
Expand Down
1 change: 1 addition & 0 deletions packages/x-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"test": "jest",
"typecheck": "tsc --noEmit --jsx preserve"
Expand Down
1 change: 1 addition & 0 deletions packages/x-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"repository": "immutable/ts-immutable-sdk.git",
"scripts": {
"build": "NODE_ENV=production rollup --config rollup.config.js",
"dev": "rollup --config rollup.config.js -w",
"lint": "eslint ./src --ext .ts,.jsx,.tsx --max-warnings=0",
"prepare": "wsrun -r build",
"test": "jest",
Expand Down

0 comments on commit 73460f8

Please sign in to comment.