Skip to content

Commit 41d14c3

Browse files
committed
update
1 parent 014d72c commit 41d14c3

File tree

5 files changed

+198
-1829
lines changed

5 files changed

+198
-1829
lines changed

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,15 @@
77
"scripts": {
88
"compile": "tsc",
99
"build": "yarn clean && yarn compile",
10-
"test": "jest",
1110
"release": "standard-version",
1211
"--------------": "",
1312
"format": "prettier --write .",
1413
"clean": "rimraf -g dist **/*.tsbuildinfo ./test/projects/nx/dist",
1514
"clean:all": "yarn clean && rimraf -g node_modules \"**/node_modules\" \"**/yarn.lock\" yarn.lock",
1615
"reset": "yarn clean:all && yarn install && yarn build",
1716
"-------------- ": "",
18-
"prebuild": "rimraf -g dist",
19-
"install:tests": "cd test && yarn install",
20-
"prepare": "yarn install:tests"
17+
"test": "yarn --cwd test install && NODE_OPTIONS=--max_old_space_size=4096 yarn --cwd test jest",
18+
"prebuild": "rimraf -g dist"
2119
},
2220
"keywords": [
2321
"typescript",
@@ -55,15 +53,12 @@
5553
"nx-transformer.js"
5654
],
5755
"devDependencies": {
58-
"@types/jest": "^29.2.0",
5956
"@types/minimatch": "^5.1.2",
6057
"@types/node": "^18.11.2",
61-
"jest": "^29.7.0",
6258
"prettier": "^3.3.3",
6359
"rimraf": "^5.0.5",
6460
"standard-version": "^9.5.0",
6561
"@types/ts-expose-internals": "npm:[email protected]",
66-
"ts-jest": "^29.1.2",
6762
"ts-node": "^10.9.1",
6863
"ts-patch": "^3.1.2",
6964
"typescript": "^5.3.3"

jest.config.ts renamed to test/jest.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const config: JestConfigWithTsJest = {
99
"^.+\\.tsx?$": [
1010
"ts-jest",
1111
{
12-
tsconfig: "<rootDir>/test/tsconfig.json",
12+
tsconfig: "<rootDir>/tsconfig.json",
1313
},
1414
],
1515
},

test/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
"@nrwl/js": "^15.0.0",
1010
"@nrwl/node": "^15.0.0",
1111
"@nrwl/workspace": "^15.0.0",
12+
"@types/jest": "^29.5.12",
13+
"jest": "^29.7.0",
1214
"nx": "^15.0.0",
1315
"strip-ansi": "^6.0.1",
1416
"ts-expose-internals": "^4.1.2",
17+
"ts-jest": "^29.2.4",
1518
"ts-node": "^10.9.2",
1619
"ts-patch": "latest",
1720
"tsp1": "npm:ts-patch@1.*.*",

0 commit comments

Comments
 (0)