Skip to content

Commit dcf9e9d

Browse files
authored
update dependencies (#2557)
<!-- How to write a good PR title: - Follow [the Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/). - Give as much context as necessary and as little as possible - Prefix it with [WIP] while it’s a work in progress --> ## Self Checklist - [x] I wrote a PR title in **English** and added an appropriate **label** to the PR. - [x] I wrote the commit message in **English** and to follow [**the Conventional Commits specification**](https://www.conventionalcommits.org/en/v1.0.0/). - [x] I [added the **changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md) about the changes that needed to be released. (or didn't have to) - [x] I wrote or updated **documentation** related to the changes. (or didn't have to) - [x] I wrote or updated **tests** related to the changes. (or didn't have to) - [x] I tested the changes in various browsers. (or didn't have to) - Windows: Chrome, Edge, (Optional) Firefox - macOS: Chrome, Edge, Safari, (Optional) Firefox ## Related Issue <!-- Please link to issue if one exists --> - Fixes #2537 ## Summary 의존성을 업데이트합니다. - 마이너 업데이트 - 메이저 업데이트 Breaking changes 반영 - turbo - sass-loader, css-loader - sass - node 18 -> 22 (lts) - yarn - 불필요한 core-js 제거 및 babel config 업데이트 <!-- Please brief explanation of the changes made --> - 메이저 버전 업데이트를 하려면 변경이 많이 필요하거나, 다른 이유로 업데이트할 수 없는 의존성들은 업데이트하지 않았습니다. - `Tooltip` 관련 테스트 케이스가 실패합니다. 확인해보니 radix-ui Popper 컴포넌트에서 [변경](https://github.com/radix-ui/primitives/commit/f58a28cbeef3d3756ac6485b94c21c0a26dce2f0)이 있었는데, 이로 인한 사이드 이펙트로 추정됩니다. 동작 자체는 문제가 없어서 임시로 주석처리합니다. ## Details <!-- Please elaborate description of the changes --> 생략 ### Breaking change? (Yes/No) <!-- If Yes, please describe the impact and migration path for users --> No ## References <!-- Please list any other resources or points the reviewer should be aware of -->
1 parent 730b999 commit dcf9e9d

File tree

32 files changed

+3520
-3623
lines changed

32 files changed

+3520
-3623
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.20.5
1+
22.12.0

.yarn/releases/yarn-4.3.1.cjs

Lines changed: 0 additions & 894 deletions
This file was deleted.

.yarn/releases/yarn-4.5.3.cjs

Lines changed: 934 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ plugins:
1313
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
1414
spec: 'https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js'
1515

16-
yarnPath: .yarn/releases/yarn-4.3.1.cjs
16+
yarnPath: .yarn/releases/yarn-4.5.3.cjs

configs/eslint-config-bezier/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"description": "Common ESLint configuration.",
66
"main": "index.js",
77
"dependencies": {
8-
"@channel.io/eslint-config": "^2.0.4",
8+
"@channel.io/eslint-config": "^2.1.0",
99
"@channel.io/eslint-plugin": "^1.2.3",
10-
"eslint-plugin-jest": "^22.21.0"
10+
"eslint-plugin-jest": "^28.9.0"
1111
}
1212
}

package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,40 +22,40 @@
2222
"knip": "knip --config knip.json --workspace packages/bezier-react --cache"
2323
},
2424
"devDependencies": {
25-
"@changesets/cli": "^2.27.1",
25+
"@changesets/cli": "^2.27.10",
2626
"@changesets/get-github-info": "^0.6.0",
2727
"@changesets/types": "^6.0.0",
2828
"@channel.io/prettier-config": "^0.0.1",
2929
"@channel.io/stylelint-bezier": "workspace:*",
3030
"@channel.io/stylelint-config": "^2.0.0",
31-
"@commitlint/cli": "^19.0.0",
32-
"@commitlint/config-conventional": "^19.0.0",
33-
"@swc/core": "^1.4.2",
34-
"@swc/jest": "^0.2.36",
35-
"@types/jest": "^29.5.12",
31+
"@commitlint/cli": "^19.6.0",
32+
"@commitlint/config-conventional": "^19.6.0",
33+
"@swc/core": "^1.10.1",
34+
"@swc/jest": "^0.2.37",
35+
"@types/jest": "^29.5.14",
3636
"cz-conventional-changelog": "^3.3.0",
37-
"eslint": "^8.57.0",
38-
"husky": "^9.0.11",
37+
"eslint": "^8.57.1",
38+
"husky": "^9.1.7",
3939
"jest": "^29.7.0",
4040
"jest-environment-jsdom": "^29.7.0",
41-
"knip": "^5.27.3",
42-
"npm-run-all2": "^6.1.2",
43-
"prettier": "^3.2.5",
44-
"stylelint": "^16.3.0",
45-
"syncpack": "^12.3.0",
41+
"knip": "^5.39.4",
42+
"npm-run-all2": "^7.0.1",
43+
"prettier": "^3.4.2",
44+
"stylelint": "^16.11.0",
45+
"syncpack": "^13.0.0",
4646
"ts-node": "^10.9.2",
47-
"turbo": "^1.12.4",
47+
"turbo": "^2.3.3",
4848
"typescript": "^5.4.2"
4949
},
5050
"engines": {
51-
"node": "18.20.5",
52-
"yarn": "4.3.1"
51+
"node": "22.12.0",
52+
"yarn": "4.5.3"
5353
},
5454
"config": {
5555
"commitizen": {
5656
"path": "./node_modules/cz-conventional-changelog"
5757
}
5858
},
59-
"packageManager": "yarn@4.3.1",
59+
"packageManager": "yarn@4.5.3",
6060
"prettier": "@channel.io/prettier-config"
6161
}

packages/bezier-codemod/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"dist"
2727
],
2828
"dependencies": {
29-
"@inkjs/ui": "^1.0.0",
30-
"ink": "^4.4.1",
29+
"@inkjs/ui": "^2.0.0",
30+
"ink": "^5.1.0",
3131
"meow": "^13.2.0",
32-
"react": "^18.2.0",
33-
"ts-morph": "^21.0.1"
32+
"react": "^18.3.1",
33+
"ts-morph": "^24.0.0"
3434
},
3535
"devDependencies": {
36-
"@types/node": "^20.11.20",
37-
"@types/react": "^18.2.59",
36+
"@types/node": "^22.10.2",
37+
"@types/react": "^18.3.16",
3838
"eslint-config-bezier": "workspace:*",
3939
"tsconfig": "workspace:*"
4040
},

packages/bezier-codemod/src/transforms/v2-foundation-to-css-variable/border.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ const replaceBorder = (sourceFile: SourceFile) => {
8181
node.replaceWithText(
8282
node
8383
.getText()
84-
.replace(`\${${text}};\n` ?? '', borderStyle)
85-
.replace(`\${${text}}\n` ?? '', borderStyle)
84+
.replace(`\${${text}};\n`, borderStyle)
85+
.replace(`\${${text}}\n`, borderStyle)
8686
)
8787
})
8888
}

packages/bezier-codemod/src/transforms/v2-foundation-to-css-variable/transition.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ const replaceTransitionsCSS = (sourceFile: SourceFile) => {
7676
node.replaceWithText(
7777
node
7878
.getText()
79-
.replace(`\${${text}};\n` ?? '', transitionStyle)
80-
.replace(`\${${text}}\n` ?? '', transitionStyle)
79+
.replace(`\${${text}};\n`, transitionStyle)
80+
.replace(`\${${text}}\n`, transitionStyle)
8181
)
8282
})
8383

packages/bezier-figma-plugin/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,27 @@
2222
"author": "Channel Corp.",
2323
"license": "Apache-2.0",
2424
"devDependencies": {
25-
"@figma/plugin-typings": "^1.87.0",
26-
"@types/react": "^18.2.59",
27-
"@types/react-dom": "^18.2.19",
28-
"css-loader": "^6.10.0",
25+
"@figma/plugin-typings": "^1.104.0",
26+
"@types/react": "^18.3.16",
27+
"@types/react-dom": "^18.3.5",
28+
"css-loader": "^7.1.2",
2929
"eslint-config-bezier": "workspace:*",
3030
"html-webpack-inline-source-plugin": "^0.0.10",
31-
"html-webpack-plugin": "^5.6.0",
31+
"html-webpack-plugin": "^5.6.3",
3232
"react-dev-utils": "^12.0.1",
33-
"style-loader": "^3.3.4",
33+
"style-loader": "^4.0.0",
3434
"ts-loader": "^9.5.1",
3535
"tsconfig": "workspace:*",
3636
"url-loader": "^4.1.1",
37-
"webpack": "^5.90.3",
37+
"webpack": "^5.97.1",
3838
"webpack-cli": "^5.1.4"
3939
},
4040
"dependencies": {
4141
"@channel.io/bezier-icons": "0.38.0",
4242
"@channel.io/bezier-react": "2.6.2",
43-
"octokit": "^3.1.2",
44-
"react": "^18.2.0",
45-
"react-dom": "^18.2.0",
46-
"react-router-dom": "^6.22.1"
43+
"octokit": "^4.0.2",
44+
"react": "^18.3.1",
45+
"react-dom": "^18.3.1",
46+
"react-router-dom": "^7.0.2"
4747
}
4848
}

packages/bezier-icons/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,22 @@
4343
"author": "Channel Corp.",
4444
"license": "Apache-2.0",
4545
"devDependencies": {
46-
"@babel/core": "^7.23.9",
47-
"@babel/preset-env": "^7.23.9",
48-
"@babel/preset-react": "^7.23.3",
49-
"@babel/preset-typescript": "^7.23.3",
50-
"@rollup/plugin-alias": "^5.1.0",
46+
"@babel/core": "^7.26.0",
47+
"@babel/preset-env": "^7.26.0",
48+
"@babel/preset-react": "^7.26.3",
49+
"@babel/preset-typescript": "^7.26.0",
50+
"@rollup/plugin-alias": "^5.1.1",
5151
"@rollup/plugin-babel": "^6.0.4",
52-
"@rollup/plugin-node-resolve": "^15.2.3",
52+
"@rollup/plugin-node-resolve": "^15.3.0",
5353
"@rollup/plugin-terser": "^0.4.4",
5454
"@rollup/plugin-virtual": "^3.0.2",
55-
"@rollup/pluginutils": "^5.1.0",
55+
"@rollup/pluginutils": "^5.1.3",
5656
"@svgr/core": "^8.1.0",
5757
"@svgr/plugin-jsx": "^8.1.0",
5858
"eslint-config-bezier": "workspace:*",
59-
"rollup": "^4.11.0",
59+
"rollup": "^4.28.1",
6060
"rollup-plugin-visualizer": "^5.12.0",
61-
"svgo": "^3.2.0",
61+
"svgo": "^3.3.2",
6262
"tsconfig": "workspace:*"
6363
}
6464
}

packages/bezier-react/.storybook/main.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,31 @@ export default {
2020
test: /\.scss$/,
2121
use: [
2222
'style-loader',
23-
'css-loader',
23+
{
24+
loader: 'css-loader',
25+
options: {
26+
modules: {
27+
/**
28+
* NOTE: The default value of the `esModule` option is `true`, and the default value of the `namedExport` option is also `true`.
29+
* This is set by default to avoid conflicts with the default export keyword of ESModule,
30+
* but applying this requires changing all style import statements to Namespace import statements('import * as styles from './styles.module.scss';').
31+
* Also, when the `namedExport` option becomes `false`, the default value of the `exportLocalsConvention` option changes to 'camel-case-only'.
32+
* Since the current bezier-react CSS module component class naming is in pascal case, applying this would require many changes.
33+
* @see {@link https://github.com/webpack-contrib/css-loader/releases/tag/v7.0.0}
34+
*/
35+
namedExport: false,
36+
exportLocalsConvention: 'as-is',
37+
},
38+
},
39+
},
2440
{
2541
loader: 'sass-loader',
2642
options: {
43+
/**
44+
* FIXME: To support the path resolve method of rollup-plugin-postcss ('../../' of '_tokens.scss')
45+
* @see {@link https://github.com/webpack-contrib/sass-loader/releases/tag/v16.0.0}
46+
*/
47+
api: 'legacy',
2748
implementation: require.resolve('sass'),
2849
},
2950
},

packages/bezier-react/babel.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
module.exports = {
22
presets: [
3-
[
4-
'@babel/preset-env',
5-
{ useBuiltIns: 'entry', corejs: '3.36', bugfixes: true },
6-
],
3+
['@babel/preset-env', { bugfixes: true }],
74
/**
85
* Will use the native built-in instead of trying to polyfill behavior for any plugins that require one.
96
* Remove the helper function for Object.assign.

packages/bezier-react/package.json

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -60,66 +60,66 @@
6060
"author": "Channel Corp.",
6161
"license": "Apache-2.0",
6262
"devDependencies": {
63-
"@babel/core": "^7.23.9",
64-
"@babel/preset-env": "^7.23.9",
65-
"@babel/preset-react": "^7.23.3",
66-
"@babel/preset-typescript": "^7.23.3",
63+
"@babel/core": "^7.26.0",
64+
"@babel/preset-env": "^7.26.0",
65+
"@babel/preset-react": "^7.26.3",
66+
"@babel/preset-typescript": "^7.26.0",
6767
"@channel.io/bezier-icons": "0.38.0",
68-
"@chromatic-com/storybook": "^1",
69-
"@figma/code-connect": "^1.2.2",
70-
"@rollup/plugin-alias": "^5.1.0",
68+
"@chromatic-com/storybook": "^3.2.2",
69+
"@figma/code-connect": "^1.2.4",
70+
"@rollup/plugin-alias": "^5.1.1",
7171
"@rollup/plugin-babel": "^6.0.4",
72-
"@rollup/plugin-commonjs": "^25.0.7",
73-
"@rollup/plugin-node-resolve": "^15.2.3",
72+
"@rollup/plugin-commonjs": "^28.0.1",
73+
"@rollup/plugin-node-resolve": "^15.3.0",
7474
"@rollup/plugin-url": "^8.0.2",
75-
"@storybook/addon-a11y": "^8.1.10",
76-
"@storybook/addon-actions": "^8.1.10",
77-
"@storybook/addon-controls": "^8.1.10",
78-
"@storybook/addon-designs": "^8.0.3",
79-
"@storybook/addon-docs": "^8.1.10",
80-
"@storybook/addon-measure": "^8.1.10",
81-
"@storybook/addon-outline": "^8.1.10",
82-
"@storybook/addon-styling-webpack": "^1.0.0",
75+
"@storybook/addon-a11y": "^8.4.7",
76+
"@storybook/addon-actions": "^8.4.7",
77+
"@storybook/addon-controls": "^8.4.7",
78+
"@storybook/addon-designs": "^8.0.4",
79+
"@storybook/addon-docs": "^8.4.7",
80+
"@storybook/addon-measure": "^8.4.7",
81+
"@storybook/addon-outline": "^8.4.7",
82+
"@storybook/addon-styling-webpack": "^1.0.1",
8383
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
84-
"@storybook/manager-api": "^8.1.10",
85-
"@storybook/react": "^8.1.10",
86-
"@storybook/react-webpack5": "^8.1.10",
87-
"@storybook/theming": "^8.1.10",
88-
"@testing-library/jest-dom": "^6.4.2",
89-
"@testing-library/react": "^14.2.1",
84+
"@storybook/manager-api": "^8.4.7",
85+
"@storybook/react": "^8.4.7",
86+
"@storybook/react-webpack5": "^8.4.7",
87+
"@storybook/theming": "^8.4.7",
88+
"@testing-library/dom": "^10.4.0",
89+
"@testing-library/jest-dom": "^6.6.3",
90+
"@testing-library/react": "^16.1.0",
9091
"@testing-library/user-event": "^14.5.2",
91-
"@types/jest": "^29.5.12",
92-
"@types/react": "^18.2.59",
93-
"@types/react-dom": "^18.2.19",
94-
"@types/uuid": "^9.0.8",
95-
"babel-loader": "^9.1.3",
92+
"@types/jest": "^29.5.14",
93+
"@types/react": "^18.3.16",
94+
"@types/react-dom": "^18.3.5",
95+
"@types/uuid": "^10.0.0",
96+
"babel-loader": "^9.2.1",
9697
"babel-preset-react-app": "^10.0.1",
97-
"chromatic": "^11.0.0",
98-
"core-js": "^3.36.0",
98+
"chromatic": "^11.20.2",
9999
"eslint-config-bezier": "workspace:*",
100-
"eslint-plugin-jsdoc": "^48.2.0",
100+
"eslint-plugin-jsdoc": "^50.6.1",
101101
"eslint-plugin-sort-export-all": "^1.4.1",
102-
"eslint-plugin-storybook": "^0.10.0",
102+
"eslint-plugin-storybook": "^0.11.1",
103103
"identity-obj-proxy": "^3.0.0",
104-
"lightningcss": "^1.24.0",
105-
"minimatch": "^9.0.3",
104+
"lightningcss": "^1.28.2",
105+
"minimatch": "^10.0.1",
106106
"paths.macro": "^3.0.1",
107-
"postcss": "^8.4.35",
108-
"postcss-preset-env": "^9.4.0",
109-
"react": "^18.2.0",
110-
"react-dom": "^18.2.0",
111-
"rollup": "^4.11.0",
112-
"rollup-plugin-node-externals": "^7.0.1",
107+
"postcss": "^8.4.49",
108+
"postcss-preset-env": "^10.1.1",
109+
"react": "^18.3.1",
110+
"react-dom": "^18.3.1",
111+
"rollup": "^4.28.1",
112+
"rollup-plugin-node-externals": "^7.1.3",
113113
"rollup-plugin-postcss": "^4.0.2",
114114
"rollup-plugin-visualizer": "^5.12.0",
115-
"sass": "^1.71.1",
116-
"sass-loader": "^14.2.1",
117-
"storybook": "^8.1.10",
118-
"ts-patch": "^3.1.2",
115+
"sass": "^1.82.0",
116+
"sass-loader": "^16.0.4",
117+
"storybook": "^8.4.7",
118+
"ts-patch": "^3.3.0",
119119
"tsconfig": "workspace:*",
120-
"tsconfig-paths-webpack-plugin": "^4.1.0",
120+
"tsconfig-paths-webpack-plugin": "^4.2.0",
121121
"typescript-plugin-css-modules": "^5.1.0",
122-
"typescript-transform-paths": "^3.4.7"
122+
"typescript-transform-paths": "^3.5.2"
123123
},
124124
"peerDependencies": {
125125
"@channel.io/bezier-icons": ">=0.2.0",
@@ -133,22 +133,22 @@
133133
},
134134
"dependencies": {
135135
"@channel.io/bezier-tokens": "0.2.13",
136-
"@radix-ui/react-checkbox": "^1.0.4",
137-
"@radix-ui/react-dialog": "^1.0.5",
138-
"@radix-ui/react-radio-group": "^1.1.3",
139-
"@radix-ui/react-separator": "^1.0.3",
140-
"@radix-ui/react-slider": "^1.1.2",
141-
"@radix-ui/react-slot": "^1.0.2",
142-
"@radix-ui/react-switch": "^1.0.3",
143-
"@radix-ui/react-tabs": "^1.0.4",
144-
"@radix-ui/react-toggle": "^1.0.3",
145-
"@radix-ui/react-toggle-group": "^1.0.4",
146-
"@radix-ui/react-toolbar": "^1.0.4",
147-
"@radix-ui/react-tooltip": "^1.0.7",
148-
"@radix-ui/react-visually-hidden": "^1.0.3",
136+
"@radix-ui/react-checkbox": "^1.1.2",
137+
"@radix-ui/react-dialog": "^1.1.2",
138+
"@radix-ui/react-radio-group": "^1.2.1",
139+
"@radix-ui/react-separator": "^1.1.0",
140+
"@radix-ui/react-slider": "^1.2.1",
141+
"@radix-ui/react-slot": "^1.1.0",
142+
"@radix-ui/react-switch": "^1.1.1",
143+
"@radix-ui/react-tabs": "^1.1.1",
144+
"@radix-ui/react-toggle": "^1.1.0",
145+
"@radix-ui/react-toggle-group": "^1.1.0",
146+
"@radix-ui/react-toolbar": "^1.1.0",
147+
"@radix-ui/react-tooltip": "^1.1.4",
148+
"@radix-ui/react-visually-hidden": "^1.1.0",
149149
"classnames": "^2.5.1",
150150
"react-textarea-autosize": "8.3.4",
151151
"ssr-window": "^4.0.2",
152-
"uuid": "^9.0.1"
152+
"uuid": "^11.0.3"
153153
}
154154
}

0 commit comments

Comments
 (0)