Skip to content

Commit

Permalink
fix(js): fix swc version warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed May 22, 2024
1 parent c412bf2 commit 5601e76
Show file tree
Hide file tree
Showing 6 changed files with 332 additions and 357 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,11 @@
"@supabase/supabase-js": "^2.26.0",
"@svgr/rollup": "^8.1.0",
"@svgr/webpack": "^8.0.1",
"@swc-node/register": "1.8.0",
"@swc-node/register": "~1.9.1",
"@swc/cli": "0.3.12",
"@swc/core": "^1.3.85",
"@swc/jest": "^0.2.20",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@swc/jest": "~0.2.36",
"@testing-library/react": "15.0.6",
"@types/cytoscape": "^3.18.2",
"@types/detect-port": "^1.3.2",
Expand Down Expand Up @@ -311,7 +312,6 @@
"@markdoc/markdoc": "0.2.2",
"@monaco-editor/react": "^4.4.6",
"@napi-rs/canvas": "^0.1.19",
"@swc/helpers": "~0.5.2",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "0.5.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ export const babelJestVersion = '^29.4.1';
export const jestTypesVersion = '^29.4.0';
export const tsJestVersion = '^29.1.0';
export const tslibVersion = '^2.3.0';
export const swcJestVersion = '0.2.20';
export const swcJestVersion = '~0.2.36';
export const typesNodeVersion = '18.16.9';
export const tsNodeVersion = '10.9.1';
6 changes: 3 additions & 3 deletions packages/js/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ export const nxVersion = require('../../package.json').version;
export const esbuildVersion = '^0.19.2';
export const prettierVersion = '^2.6.2';
export const swcCliVersion = '~0.3.12';
export const swcCoreVersion = '~1.3.85';
export const swcHelpersVersion = '~0.5.2';
export const swcNodeVersion = '~1.8.0';
export const swcCoreVersion = '~1.5.7';
export const swcHelpersVersion = '~0.5.11';
export const swcNodeVersion = '~1.9.1';
export const tsLibVersion = '^2.3.0';
export const typesNodeVersion = '18.16.9';
export const verdaccioVersion = '^5.0.4';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ exports[`@nx/storybook:configuration for Storybook v7 dependencies should add an
"@storybook/jest": "^0.2.3",
"@storybook/test-runner": "^0.13.0",
"@storybook/testing-library": "^0.2.2",
"@swc-node/register": "~1.8.0",
"@swc/core": "~1.3.85",
"@swc/helpers": "~0.5.2",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@types/jest": "^29.4.0",
"@types/node": "18.16.9",
"@typescript-eslint/eslint-plugin": "^7.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ exports[`lib should add vue, vite and vitest to package.json 1`] = `
"@nx/vite": "0.0.1",
"@nx/vue": "0.0.1",
"@nx/web": "0.0.1",
"@swc-node/register": "~1.8.0",
"@swc/core": "~1.3.85",
"@swc/helpers": "~0.5.2",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"@vitejs/plugin-vue": "^4.5.0",
Expand Down
Loading

0 comments on commit 5601e76

Please sign in to comment.