Skip to content

Commit 95f4c6e

Browse files
authored
Next.js package.json cleanup (#13482)
* Next.js `package.json` cleanup * Re-add `ts-node`
1 parent 35b0ed2 commit 95f4c6e

10 files changed

+14
-32
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-2.31 KB
Binary file not shown.
Binary file not shown.

ws-nextjs-app/package.json

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,28 +33,22 @@
3333
"@babel/preset-react": "7.28.5",
3434
"@cypress/webpack-preprocessor": "7.0.1",
3535
"@emotion/babel-plugin": "11.13.5",
36-
"@emotion/jest": "^11.14.2",
36+
"@emotion/jest": "11.14.2",
3737
"@jest/environment": "30.2.0",
3838
"@jest/types": "30.2.0",
39-
"@next/swc-darwin-arm64": "15.5.2",
40-
"@next/swc-darwin-x64": "15.5.2",
41-
"@next/swc-linux-arm64-gnu": "15.5.2",
42-
"@next/swc-linux-x64-gnu": "15.5.2",
43-
"@next/swc-win32-arm64-msvc": "15.5.2",
44-
"@next/swc-win32-x64-msvc": "15.5.2",
4539
"@testing-library/jest-dom": "6.8.0",
4640
"@testing-library/react": "16.3.0",
4741
"babel-plugin-transform-rename-import": "2.3.0",
4842
"cypress": "15.4.0",
49-
"cypress-axe": "^1.7.0",
43+
"cypress-axe": "1.7.0",
5044
"cypress-multi-reporters": "2.0.5",
5145
"cypress-terminal-report": "7.2.1",
5246
"jest": "30.2.0",
5347
"jest-environment-jsdom": "30.2.0",
5448
"mocha-junit-reporter": "2.2.1",
5549
"next-test-api-route-handler": "5.0.3",
5650
"npm-run-all2": "8.0.4",
57-
"ts-node": "^10.9.2"
51+
"ts-node": "10.9.2"
5852
},
5953
"dependencies": {
6054
"next": "15.5.2",

yarn.lock

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2594,7 +2594,7 @@ __metadata:
25942594
languageName: node
25952595
linkType: hard
25962596

2597-
"@emotion/jest@npm:11.14.2, @emotion/jest@npm:^11.14.2":
2597+
"@emotion/jest@npm:11.14.2":
25982598
version: 11.14.2
25992599
resolution: "@emotion/jest@npm:11.14.2"
26002600
dependencies:
@@ -3913,23 +3913,20 @@ __metadata:
39133913
"@next/swc-darwin-arm64@npm:15.5.2":
39143914
version: 15.5.2
39153915
resolution: "@next/swc-darwin-arm64@npm:15.5.2"
3916-
checksum: 10/46b3738c0ef12d99bfedcda6782e2a75e05606089d0d7d59e9752c56db914b932dc54ee38f821fd64dc6d0f71b72402d21d11327e83418fb9444fff03a1e7280
39173916
conditions: os=darwin & cpu=arm64
39183917
languageName: node
39193918
linkType: hard
39203919

39213920
"@next/swc-darwin-x64@npm:15.5.2":
39223921
version: 15.5.2
39233922
resolution: "@next/swc-darwin-x64@npm:15.5.2"
3924-
checksum: 10/f26625805731858319df090dae1eb8612b328846513149987bbe1e8c4bc8bb86172da89bd7684a8b055ba449ff164577d72d5245727758bda565de99ea4fd855
39253923
conditions: os=darwin & cpu=x64
39263924
languageName: node
39273925
linkType: hard
39283926

39293927
"@next/swc-linux-arm64-gnu@npm:15.5.2":
39303928
version: 15.5.2
39313929
resolution: "@next/swc-linux-arm64-gnu@npm:15.5.2"
3932-
checksum: 10/a6c40e59d1cbc8c8ed74b1dabc8ec28a30407aaf478f05e435456b9f6a90e3b6cb045318f50b8b9e79a43f43447af2042264b4562ae2525cf5e82fe377f4059c
39333930
conditions: os=linux & cpu=arm64 & libc=glibc
39343931
languageName: node
39353932
linkType: hard
@@ -3944,7 +3941,6 @@ __metadata:
39443941
"@next/swc-linux-x64-gnu@npm:15.5.2":
39453942
version: 15.5.2
39463943
resolution: "@next/swc-linux-x64-gnu@npm:15.5.2"
3947-
checksum: 10/6158ead4481b995b5d466ee0e3b653585ab4a077f988dcc6b1f61dc67fb230ec86c51b6b35b86e17436191387c51eca3365af98c14fa2800e25816a56f2673f8
39483944
conditions: os=linux & cpu=x64 & libc=glibc
39493945
languageName: node
39503946
linkType: hard
@@ -3959,15 +3955,13 @@ __metadata:
39593955
"@next/swc-win32-arm64-msvc@npm:15.5.2":
39603956
version: 15.5.2
39613957
resolution: "@next/swc-win32-arm64-msvc@npm:15.5.2"
3962-
checksum: 10/593dc1760fcd73846b1d75aa9f8298fc170820db8191f548de9dbe8a877915cf37a49836b789060aab66c34bfbe86ef6e433f92ef6135971a7fa482da4acfbc4
39633958
conditions: os=win32 & cpu=arm64
39643959
languageName: node
39653960
linkType: hard
39663961

39673962
"@next/swc-win32-x64-msvc@npm:15.5.2":
39683963
version: 15.5.2
39693964
resolution: "@next/swc-win32-x64-msvc@npm:15.5.2"
3970-
checksum: 10/b16645a21e6b8a8d738748636ea2b7132c96e0d2bcc77ef55baf9aa27bf167c32a9e658b17a3d9a0eaa44679fa9a62e62b65d592df2abadcc86515c7693eb958
39713965
conditions: os=win32 & cpu=x64
39723966
languageName: node
39733967
linkType: hard
@@ -5019,9 +5013,9 @@ __metadata:
50195013
linkType: hard
50205014

50215015
"@tsconfig/node10@npm:^1.0.7":
5022-
version: 1.0.11
5023-
resolution: "@tsconfig/node10@npm:1.0.11"
5024-
checksum: 10/51fe47d55fe1b80ec35e6e5ed30a13665fd3a531945350aa74a14a1e82875fb60b350c2f2a5e72a64831b1b6bc02acb6760c30b3738b54954ec2dea82db7a267
5016+
version: 1.0.12
5017+
resolution: "@tsconfig/node10@npm:1.0.12"
5018+
checksum: 10/27e2f989dbb20f773aa121b609a5361a473b7047ff286fce7c851e61f5eec0c74f0bdb38d5bd69c8a06f17e60e9530188f2219b1cbeabeac91f0a5fd348eac2a
50255019
languageName: node
50265020
linkType: hard
50275021

@@ -6500,7 +6494,7 @@ __metadata:
65006494
languageName: node
65016495
linkType: hard
65026496

6503-
"acorn@npm:^8.0.4, acorn@npm:^8.14.0, acorn@npm:^8.4.1":
6497+
"acorn@npm:^8.0.4, acorn@npm:^8.14.0":
65046498
version: 8.14.0
65056499
resolution: "acorn@npm:8.14.0"
65066500
bin:
@@ -6509,7 +6503,7 @@ __metadata:
65096503
languageName: node
65106504
linkType: hard
65116505

6512-
"acorn@npm:^8.11.0, acorn@npm:^8.15.0":
6506+
"acorn@npm:^8.11.0, acorn@npm:^8.15.0, acorn@npm:^8.4.1":
65136507
version: 8.15.0
65146508
resolution: "acorn@npm:8.15.0"
65156509
bin:
@@ -8534,7 +8528,7 @@ __metadata:
85348528
languageName: node
85358529
linkType: hard
85368530

8537-
"cypress-axe@npm:1.7.0, cypress-axe@npm:^1.7.0":
8531+
"cypress-axe@npm:1.7.0":
85388532
version: 1.7.0
85398533
resolution: "cypress-axe@npm:1.7.0"
85408534
peerDependencies:
@@ -16598,20 +16592,14 @@ __metadata:
1659816592
"@babel/preset-react": "npm:7.28.5"
1659916593
"@cypress/webpack-preprocessor": "npm:7.0.1"
1660016594
"@emotion/babel-plugin": "npm:11.13.5"
16601-
"@emotion/jest": "npm:^11.14.2"
16595+
"@emotion/jest": "npm:11.14.2"
1660216596
"@jest/environment": "npm:30.2.0"
1660316597
"@jest/types": "npm:30.2.0"
16604-
"@next/swc-darwin-arm64": "npm:15.5.2"
16605-
"@next/swc-darwin-x64": "npm:15.5.2"
16606-
"@next/swc-linux-arm64-gnu": "npm:15.5.2"
16607-
"@next/swc-linux-x64-gnu": "npm:15.5.2"
16608-
"@next/swc-win32-arm64-msvc": "npm:15.5.2"
16609-
"@next/swc-win32-x64-msvc": "npm:15.5.2"
1661016598
"@testing-library/jest-dom": "npm:6.8.0"
1661116599
"@testing-library/react": "npm:16.3.0"
1661216600
babel-plugin-transform-rename-import: "npm:2.3.0"
1661316601
cypress: "npm:15.4.0"
16614-
cypress-axe: "npm:^1.7.0"
16602+
cypress-axe: "npm:1.7.0"
1661516603
cypress-multi-reporters: "npm:2.0.5"
1661616604
cypress-terminal-report: "npm:7.2.1"
1661716605
jest: "npm:30.2.0"
@@ -16621,7 +16609,7 @@ __metadata:
1662116609
next-test-api-route-handler: "npm:5.0.3"
1662216610
npm-run-all2: "npm:8.0.4"
1662316611
sharp: "npm:0.34.4"
16624-
ts-node: "npm:^10.9.2"
16612+
ts-node: "npm:10.9.2"
1662516613
languageName: unknown
1662616614
linkType: soft
1662716615

@@ -17935,7 +17923,7 @@ __metadata:
1793517923
languageName: node
1793617924
linkType: hard
1793717925

17938-
"ts-node@npm:^10.9.2":
17926+
"ts-node@npm:10.9.2":
1793917927
version: 10.9.2
1794017928
resolution: "ts-node@npm:10.9.2"
1794117929
dependencies:

0 commit comments

Comments
 (0)