Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-options=--disable-warning=DEP0040
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"check:ccc-overrides": "node scripts/check-ccc-overrides.mjs",
"check:fresh": "rm -f pnpm-lock.yaml && pnpm check",
"madge": "madge --circular --extensions ts,tsx --ts-config ./tsconfig.json --exclude '^forks/' packages apps",
"test": "NODE_OPTIONS='--disable-warning=DEP0040' vitest",
"test:ci": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run && node --test scripts/*.test.mjs && pnpm test:ccc",
"test:ccc": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run --root forks/ccc/repo --project @ckb-ccc/core && NODE_OPTIONS='--disable-warning=DEP0040' vitest run --root forks/ccc/repo/packages/udt -t 'infoFrom|isUdt'",
"test": "vitest",
"test:ci": "vitest run && node --test scripts/*.test.mjs && pnpm test:ccc",
"test:ccc": "vitest run --root forks/ccc/repo --project @ckb-ccc/core && vitest run --root forks/ccc/repo/packages/udt -t 'infoFrom|isUdt'",
"lint": "pnpm -r --filter '!./forks/**' lint",
"clean": "rm -fr dist packages/*/dist apps/*/dist",
"clean:deep": "pnpm clean && rm -fr node_modules packages/*/node_modules apps/*/node_modules forks/ccc/repo/packages/*/tsconfig.tsbuildinfo",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
}
},
"scripts": {
"test": "NODE_OPTIONS='--disable-warning=DEP0040' vitest",
"test:ci": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run",
"test": "vitest",
"test:ci": "vitest run",
"build": "tsc",
"lint": "eslint ./src",
"clean": "rm -fr dist",
Expand Down
4 changes: 2 additions & 2 deletions packages/dao/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
}
},
"scripts": {
"test": "NODE_OPTIONS='--disable-warning=DEP0040' vitest",
"test:ci": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run",
"test": "vitest",
"test:ci": "vitest run",
"build": "tsc",
"lint": "eslint ./src",
"clean": "rm -fr dist",
Expand Down
4 changes: 2 additions & 2 deletions packages/node-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
}
},
"scripts": {
"test": "NODE_OPTIONS='--disable-warning=DEP0040' vitest",
"test:ci": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run",
"test": "vitest",
"test:ci": "vitest run",
"build": "tsc",
"lint": "eslint ./src",
"clean": "rm -fr dist",
Expand Down
4 changes: 2 additions & 2 deletions packages/order/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
}
},
"scripts": {
"test": "NODE_OPTIONS='--disable-warning=DEP0040' vitest",
"test:ci": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run",
"test": "vitest",
"test:ci": "vitest run",
"build": "tsc",
"lint": "eslint ./src",
"clean": "rm -fr dist",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
}
},
"scripts": {
"test": "NODE_OPTIONS='--disable-warning=DEP0040' vitest",
"test:ci": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run",
"test": "vitest",
"test:ci": "vitest run",
"build": "tsc",
"lint": "eslint ./src",
"clean": "rm -fr dist",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
}
},
"scripts": {
"test": "NODE_OPTIONS='--disable-warning=DEP0040' vitest",
"test:ci": "NODE_OPTIONS='--disable-warning=DEP0040' vitest run",
"test": "vitest",
"test:ci": "vitest run",
"build": "tsc",
"lint": "eslint ./src",
"clean": "rm -fr dist",
Expand Down
Loading