Skip to content

Commit 825626b

Browse files
authored
internal: Run full typescript tests again (#3331)
1 parent a06cf20 commit 825626b

File tree

6 files changed

+18
-19
lines changed

6 files changed

+18
-19
lines changed

.circleci/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,12 @@ jobs:
8787
8888
typecheck:
8989
executor: node
90-
resource_class: small
9190
steps:
9291
- attach_workspace:
9392
at: ~/
9493
- run:
9594
command: |
96-
yarn workspaces foreach -A --include @data-client/endpoint --include @data-client/rest run typecheck
95+
yarn run tsc --project tsconfig.test.json --noEmit
9796
9897
unit_tests:
9998
parameters:
@@ -117,7 +116,7 @@ jobs:
117116
name: Running Jest
118117
command: |
119118
if [ "<< parameters.react-version >>" == "^17.0.0" ]; then
120-
ANANSI_JEST_TYPECHECK=false yarn test:ci --maxWorkers=3 --selectProjects ReactDOM ReactNative --testPathPattern packages/react packages/use-enhanced-reducer packages/img
119+
yarn test:ci --maxWorkers=3 --selectProjects ReactDOM ReactNative --testPathPattern packages/react packages/use-enhanced-reducer packages/img
121120
elif [ "<< parameters.react-version >>" == "^18" ]; then
122121
curl -Os https://uploader.codecov.io/latest/linux/codecov;
123122
chmod +x codecov;

examples/coin-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@types/react": "*",
3737
"@types/react-dom": "*",
3838
"react-refresh": "*",
39-
"typescript": "^5.4.5",
39+
"typescript": "5.6",
4040
"webpack": "*",
4141
"webpack-cli": "*"
4242
},

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"build:copy:ambient": "mkdirp ./packages/endpoint/lib && copyfiles --flat ./packages/endpoint/src/schema.d.ts ./packages/endpoint/lib/ && copyfiles --flat ./packages/endpoint/src/endpoint.d.ts ./packages/endpoint/lib/ && mkdirp ./packages/rest/lib && copyfiles --flat ./packages/rest/src/RestEndpoint.d.ts ./packages/rest/lib && copyfiles --flat ./packages/rest/src/next/RestEndpoint.d.ts ./packages/rest/lib/next && mkdirp ./packages/react/lib && copyfiles --flat ./packages/react/src/server/redux/redux.d.ts ./packages/react/lib/server/redux",
2626
"copy:websitetypes": "./scripts/copywebsitetypes.sh",
2727
"test": "NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest",
28-
"test:ci": "yarn test --ci",
28+
"test:ci": "ANANSI_JEST_TYPECHECK=false yarn test --ci",
2929
"test:coverage": "ANANSI_JEST_TYPECHECK=false yarn test --coverage",
3030
"prepare": "yarn build:copy:ambient && tsc --build",
3131
"prepack": "yarn prepare",
@@ -109,7 +109,7 @@
109109
"rollup-plugin-replace": "^2.2.0",
110110
"rollup-plugin-terser": "^7.0.2",
111111
"ts-node": "10.9.2",
112-
"typescript": "5.7.2",
112+
"typescript": "5.6",
113113
"whatwg-fetch": "3.0.0"
114114
},
115115
"resolutions": {

tsconfig.test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"sourceMap": true,
55
"noImplicitAny": false // this is for normalizr
66
},
7-
"include": ["packages/*/src", "__tests__"]
7+
"include": ["packages/*/src", "packages/*/typescript-tests", "__tests__"]
88
}

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"react-dom": "^19.0.0",
5757
"react-json-tree": "0.19.0",
5858
"react-live": "^4.0.0",
59-
"typescript": "^5.5.2",
59+
"typescript": "5.6",
6060
"uuid": "^11.0.0"
6161
},
6262
"browserslist": [

yarn.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11038,7 +11038,7 @@ __metadata:
1103811038
react: "npm:^19.0.0"
1103911039
react-dom: "npm:^19.0.0"
1104011040
react-refresh: "npm:*"
11041-
typescript: "npm:^5.4.5"
11041+
typescript: "npm:5.6"
1104211042
webpack: "npm:*"
1104311043
webpack-cli: "npm:*"
1104411044
languageName: unknown
@@ -25467,7 +25467,7 @@ __metadata:
2546725467
react-json-tree: "npm:0.19.0"
2546825468
react-live: "npm:^4.0.0"
2546925469
serve: "npm:14.2.4"
25470-
typescript: "npm:^5.5.2"
25470+
typescript: "npm:5.6"
2547125471
uuid: "npm:^11.0.0"
2547225472
webpack: "npm:^5.76.0"
2547325473
languageName: unknown
@@ -27065,7 +27065,7 @@ __metadata:
2706527065
rollup-plugin-replace: "npm:^2.2.0"
2706627066
rollup-plugin-terser: "npm:^7.0.2"
2706727067
ts-node: "npm:10.9.2"
27068-
typescript: "npm:5.7.2"
27068+
typescript: "npm:5.6"
2706927069
whatwg-fetch: "npm:3.0.0"
2707027070
languageName: unknown
2707127071
linkType: soft
@@ -29749,13 +29749,13 @@ __metadata:
2974929749
languageName: node
2975029750
linkType: hard
2975129751

29752-
"typescript@npm:5.7.2, typescript@npm:^5.4.5, typescript@npm:^5.5.2":
29753-
version: 5.7.2
29754-
resolution: "typescript@npm:5.7.2"
29752+
"typescript@npm:5.6":
29753+
version: 5.6.3
29754+
resolution: "typescript@npm:5.6.3"
2975529755
bin:
2975629756
tsc: bin/tsc
2975729757
tsserver: bin/tsserver
29758-
checksum: 10c0/a873118b5201b2ef332127ef5c63fb9d9c155e6fdbe211cbd9d8e65877283797cca76546bad742eea36ed7efbe3424a30376818f79c7318512064e8625d61622
29758+
checksum: 10c0/44f61d3fb15c35359bc60399cb8127c30bae554cd555b8e2b46d68fa79d680354b83320ad419ff1b81a0bdf324197b29affe6cc28988cd6a74d4ac60c94f9799
2975929759
languageName: node
2976029760
linkType: hard
2976129761

@@ -29769,13 +29769,13 @@ __metadata:
2976929769
languageName: node
2977029770
linkType: hard
2977129771

29772-
"typescript@patch:typescript@npm%3A5.7.2#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.4.5#optional!builtin<compat/typescript>, typescript@patch:typescript@npm%3A^5.5.2#optional!builtin<compat/typescript>":
29773-
version: 5.7.2
29774-
resolution: "typescript@patch:typescript@npm%3A5.7.2#optional!builtin<compat/typescript>::version=5.7.2&hash=5786d5"
29772+
"typescript@patch:typescript@npm%3A5.6#optional!builtin<compat/typescript>":
29773+
version: 5.6.3
29774+
resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"
2977529775
bin:
2977629776
tsc: bin/tsc
2977729777
tsserver: bin/tsserver
29778-
checksum: 10c0/f3b8082c9d1d1629a215245c9087df56cb784f9fb6f27b5d55577a20e68afe2a889c040aacff6d27e35be165ecf9dca66e694c42eb9a50b3b2c451b36b5675cb
29778+
checksum: 10c0/7c9d2e07c81226d60435939618c91ec2ff0b75fbfa106eec3430f0fcf93a584bc6c73176676f532d78c3594fe28a54b36eb40b3d75593071a7ec91301533ace7
2977929779
languageName: node
2978029780
linkType: hard
2978129781

0 commit comments

Comments
 (0)