WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 617311a

Browse files
authored
build: bump swc-related dependencies (#14834)
This PR bumps all swc-related dependencies. Previous: @swc/cli: 0.7.7 @swc/core: 1.11.29 Now: @swc/cli: 0.7.9 @swc/core: 1.15.3 Previously, we weren't explicitly installing the `@swc/core` peer dependency even though the swc docs recommend installing it. Bumping `@swc/core` allows us to set `jsx` to `preserve` for debug builds (swc-project/swc#11025), which will help improve readability of react code for debugging purposes.
1 parent ce934b4 commit 617311a

File tree

8 files changed

+4727
-12789
lines changed

8 files changed

+4727
-12789
lines changed

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,10 @@
148148
"@playwright/test": "1.56.1",
149149
"@sentry/nextjs": "^8.33.1",
150150
"@sentry/node": "^8.33.1",
151-
"@swc-node/register": "1.10.10",
152-
"@swc/cli": "0.7.7",
153-
"@swc/jest": "0.2.38",
151+
"@swc-node/register": "1.11.1",
152+
"@swc/cli": "0.7.9",
153+
"@swc/core": "1.15.3",
154+
"@swc/jest": "0.2.39",
154155
"@types/fs-extra": "^11.0.2",
155156
"@types/jest": "29.5.12",
156157
"@types/minimist": "1.2.5",
@@ -192,7 +193,7 @@
192193
"shelljs": "0.8.5",
193194
"slash": "3.0.0",
194195
"sort-package-json": "^2.10.0",
195-
"swc-plugin-transform-remove-imports": "4.0.4",
196+
"swc-plugin-transform-remove-imports": "8.3.0",
196197
"tempy": "1.0.1",
197198
"tstyche": "3.5.0",
198199
"tsx": "4.19.2",

packages/create-payload-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"dependencies": {
6363
"@clack/prompts": "^0.7.0",
6464
"@sindresorhus/slugify": "^1.1.0",
65-
"@swc/core": "1.11.29",
65+
"@swc/core": "1.15.3",
6666
"arg": "^5.0.0",
6767
"chalk": "^4.1.0",
6868
"comment-json": "^4.2.3",

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"esbuild": "0.25.5",
139139
"esbuild-sass-plugin": "3.3.1",
140140
"payload": "workspace:*",
141-
"swc-plugin-transform-remove-imports": "4.0.4"
141+
"swc-plugin-transform-remove-imports": "8.3.0"
142142
},
143143
"peerDependencies": {
144144
"graphql": "^16.8.1",

packages/richtext-lexical/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
"esbuild": "0.25.5",
415415
"esbuild-sass-plugin": "3.3.1",
416416
"payload": "workspace:*",
417-
"swc-plugin-transform-remove-imports": "4.0.4"
417+
"swc-plugin-transform-remove-imports": "8.3.0"
418418
},
419419
"peerDependencies": {
420420
"@faceless-ui/modal": "3.0.0",

packages/translations/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
},
6161
"devDependencies": {
6262
"@payloadcms/eslint-config": "workspace:*",
63-
"@swc/core": "1.11.29",
6463
"@types/react": "19.2.1",
6564
"@types/react-dom": "19.2.1",
6665
"dotenv": "16.4.7",

0 commit comments

Comments
 (0)