Skip to content

Commit

Permalink
chore: Update build and lint scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Sep 28, 2024
1 parent d42fc5d commit 392d0b7
Show file tree
Hide file tree
Showing 18 changed files with 22 additions and 20 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
"cb": "yarn run clean && yarn run build",
"l": "yarn run lint",
"f": "yarn run format",
"rl": "yarn install && yarn run pull && yarn run clean && yarn run build && yarn run lint && yarn run test && yarn run release",
"rl": "yarn run pull && yarn run clean && yarn run build && yarn run lint && yarn run release",
"upd": "yarn set version latest; yarn up '*'; yarn up '*' -R; yarn dlx @yarnpkg/sdks vscode; yarn dedupe",
"lint": "eslint . --config .eslintrc.json --ext .ts",
"lint": "yarn run lint:ts && yarn run lint:es",
"lint:es": "eslint . --config .eslintrc.json --ext .ts",
"lint:ts": "lerna run build:ts",
"build": "lerna run build",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest --verbose",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest --verbose --passWithNoTests",
"watch": "lerna run --parallel watch",
"format": "yarn run format:prettier && yarn run format:eslint",
"format:eslint": "yarn run lint --fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/async-queue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/dedupe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && DEBUG=1 yarn node",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/deep-clone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/exit-hook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/flat-string/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/flatomise/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/global-scope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/is-number/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/local-storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-fs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/parse-duration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-info/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/polyfill-has-own/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/type-helper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "echo skip build:es",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down
2 changes: 1 addition & 1 deletion packages/wait/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"c": "yarn run clean",
"cb": "yarn run clean && yarn run build",
"d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
"build": "yarn run build:ts & yarn run build:es",
"build": "yarn run build:ts && yarn run build:es",
"build:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"watch": "yarn run watch:ts & yarn run watch:es",
Expand Down

0 comments on commit 392d0b7

Please sign in to comment.