Skip to content

Commit

Permalink
chore: Update test scripts and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Jan 16, 2024
1 parent a2ced14 commit 93d2fe6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"upd": "yarn set version latest; yarn up '*'; yarn up '*' -R; yarn dlx @yarnpkg/sdks vscode; yarn dedupe",
"lint": "eslint . --config .eslintrc.json --ext .ts",
"build": "lerna run build",
"test": "lerna run test",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest --verbose",
"watch": "lerna run --parallel watch",
"format": "yarn run format:prettier && yarn run format:eslint",
"format:eslint": "yarn run lint --fix",
Expand All @@ -46,11 +46,13 @@
"@lerna-lite/publish": "^3.2.1",
"@lerna-lite/run": "^3.2.1",
"@lerna-lite/version": "^3.2.1",
"@types/jest": "^29.5.11",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"prettier": "^3.2.2",
"typescript": "^5.3.3"
},
Expand Down
3 changes: 3 additions & 0 deletions packages/is-number/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,15 @@
"prettier": "@alwatr/prettier-config",
"scripts": {
"b": "yarn run build",
"t": "yarn run test",
"w": "yarn run watch",
"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:es": "nano-build --preset=module",
"build:ts": "tsc --build",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --enable-source-maps --experimental-vm-modules\" jest",
"watch": "yarn run watch:ts & yarn run watch:es",
"watch:es": "yarn run build:es --watch",
"watch:ts": "yarn run build:ts --watch --preserveWatchOutput",
Expand All @@ -87,6 +89,7 @@
"@alwatr/prettier-config": "workspace:^",
"@alwatr/tsconfig-base": "workspace:^",
"@types/node": "^20.11.3",
"jest": "^29.7.0",
"typescript": "^5.3.3"
}
}
1 change: 0 additions & 1 deletion packages/parse-duration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
"@alwatr/nano-build": "workspace:^",
"@alwatr/prettier-config": "workspace:^",
"@alwatr/tsconfig-base": "workspace:^",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.3",
"jest": "^29.7.0",
"typescript": "^5.3.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/tsconfig-base/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"verbatimModuleSyntax": true,
"moduleDetection": "force",
// "allowJs": true,
// "checkJs": true,
"checkJs": true,
// "jsx": "preserve",
"declaration": true,
// "outFile": "./",
Expand Down
3 changes: 2 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ __metadata:
"@alwatr/nano-build": "workspace:^"
"@alwatr/prettier-config": "workspace:^"
"@alwatr/tsconfig-base": "workspace:^"
"@types/jest": "npm:^29.5.11"
"@types/node": "npm:^20.11.3"
jest: "npm:^29.7.0"
typescript: "npm:^5.3.3"
Expand Down Expand Up @@ -2263,11 +2262,13 @@ __metadata:
"@lerna-lite/publish": "npm:^3.2.1"
"@lerna-lite/run": "npm:^3.2.1"
"@lerna-lite/version": "npm:^3.2.1"
"@types/jest": "npm:^29.5.11"
"@typescript-eslint/eslint-plugin": "npm:^6.19.0"
"@typescript-eslint/parser": "npm:^6.19.0"
eslint: "npm:^8.56.0"
eslint-import-resolver-typescript: "npm:^3.6.1"
eslint-plugin-import: "npm:^2.29.1"
jest: "npm:^29.7.0"
prettier: "npm:^3.2.2"
typescript: "npm:^5.3.3"
languageName: unknown
Expand Down

0 comments on commit 93d2fe6

Please sign in to comment.