Skip to content

Commit c702763

Browse files
authored
Update dependencies (#1084)
* upgrade dependencies: bump React to 19.2.7, react-router to 8.0.1, @visx packages to 4.0.0, replace vite-tsconfig-paths plugin with native Vite resolve.tsconfigPaths config, update various dev dependencies including TypeScript ESLint, Vitest, Turbo, Storybook addons, and minor version bumps across multiple packages * add changeset for @visx 4.0.0 upgrade across all packages * add minimumReleaseAge: 0 to pnpm-workspace.yaml to allow immediate use of newly published packages * remove minimumReleaseAgeExclude configuration from pnpm-workspace.yaml to allow all packages to use latest versions immediately
1 parent 3997343 commit c702763

21 files changed

Lines changed: 2563 additions & 2862 deletions

File tree

.changeset/fifty-parks-share.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
"@cutting/react-hook-form-components": minor
3+
"@cutting/cloudinary-blurhash": minor
4+
"@cutting/use-get-parent-size": minor
5+
"@cutting/component-library": minor
6+
"@cutting/performance-scout": minor
7+
"@cutting/eslint-config": minor
8+
"@cutting/use-shortcuts": minor
9+
"@cutting/use-mathjax": minor
10+
"@cutting/devtools": minor
11+
"@cutting/markdown": minor
12+
"@cutting/hooks": minor
13+
"@cutting/svg": minor
14+
---
15+
16+
upgrade @visx to 4

apps/frontendsupport/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@
4141
"gsap": "^3.15.0",
4242
"helmet": "8.2.0",
4343
"image-size": "^2.0.2",
44-
"isbot": "5.1.40",
45-
"js-yaml": "^4.1.1",
44+
"isbot": "5.1.43",
45+
"js-yaml": "^4.2.0",
4646
"katex": "^0.17.0",
4747
"mdx-bundler": "^10.1.1",
4848
"micromark-util-chunked": "^2.0.1",
4949
"nocache": "4.0.0",
50-
"puppeteer": "25.0.4",
50+
"puppeteer": "25.1.0",
5151
"react-loading-skeleton": "^3.5.0",
5252
"reading-time": "^1.5.0",
5353
"referrer-policy": "1.2.0",
@@ -61,7 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"@cld-apis/types": "^0.1.6",
64-
"@commander-js/extra-typings": "^14.0.0",
64+
"@commander-js/extra-typings": "^15.0.0",
6565
"@cutting/cloudinary-blurhash": "workspace:*",
6666
"@pnpm/find-workspace-packages": "^6.0.9",
6767
"@types/compression": "1.8.1",
@@ -74,18 +74,18 @@
7474
"@vanilla-extract/vite-plugin": "5.2.2",
7575
"browserslist": "^4.28.2",
7676
"eslint-config-prettier": "10.1.8",
77-
"eslint-plugin-prettier": "^5.5.5",
77+
"eslint-plugin-prettier": "^5.5.6",
7878
"gray-matter": "^4.0.3",
79-
"js-yaml": "^4.1.1",
79+
"js-yaml": "^4.2.0",
8080
"nodemon": "3.1.14",
81-
"npm-run-all2": "^9.0.1",
82-
"prettier": "3.8.3",
83-
"react": "19.2.6",
81+
"npm-run-all2": "^9.0.2",
82+
"prettier": "3.8.4",
83+
"react": "19.2.7",
8484
"react-calendly": "4.4.0",
8585
"react-device-detect": "2.2.3",
86-
"react-dom": "19.2.6",
87-
"react-hook-form": "7.76.1",
88-
"react-is": "19.2.6",
86+
"react-dom": "19.2.7",
87+
"react-hook-form": "7.79.0",
88+
"react-is": "19.2.7",
8989
"rehype-autolink-headings": "^7.1.0",
9090
"rehype-mathjax": "^7.1.0",
9191
"rehype-preset-minify": "^7.0.1",
@@ -96,7 +96,7 @@
9696
"remark-math": "^6.0.0",
9797
"rimraf": "6.1.3",
9898
"toml": "^4.1.1",
99-
"tsx": "^4.22.3",
99+
"tsx": "^4.22.4",
100100
"unist-util-visit": "^5.1.0",
101101
"use-debounce": "10.1.1",
102102
"uuid": "^14.0.0"
@@ -106,11 +106,11 @@
106106
"@vanilla-extract/css": "1.20.1",
107107
"@vanilla-extract/dynamic": "2.1.5",
108108
"@vanilla-extract/sprinkles": "1.6.5",
109-
"react": "19.2.6",
109+
"react": "19.2.7",
110110
"react-calendly": "4.4.0",
111111
"react-device-detect": "2.2.3",
112-
"react-dom": "19.2.6",
113-
"react-hook-form": "7.76.1",
112+
"react-dom": "19.2.7",
113+
"react-hook-form": "7.79.0",
114114
"react-is": "19.2.0",
115115
"use-debounce": "10.1.1"
116116
},

apps/frontendsupport/vite.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
22
import react from '@vitejs/plugin-react';
33
import { defineConfig, type PluginOption } from 'vite';
4-
import tsconfigPaths from 'vite-tsconfig-paths';
54

65
export default defineConfig({
7-
plugins: [tsconfigPaths() as PluginOption, vanillaExtractPlugin() as PluginOption, react() as PluginOption],
6+
plugins: [vanillaExtractPlugin() as PluginOption, react() as PluginOption],
87
build: {
98
sourcemap: true,
109
minify: true,
@@ -14,6 +13,9 @@ export default defineConfig({
1413
},
1514
},
1615
},
16+
resolve: {
17+
tsconfigPaths: true,
18+
},
1719
optimizeDeps: {
1820
include: ['react/jsx-runtime'],
1921
},

apps/website/package.json

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"helmet": "8.2.0",
4646
"mathjs": "15.2.0",
4747
"nocache": "4.0.0",
48-
"puppeteer": "25.0.4",
48+
"puppeteer": "25.1.0",
4949
"rc-slider": "11.1.9",
5050
"referrer-policy": "1.2.0",
5151
"regression": "2.0.1",
@@ -74,58 +74,58 @@
7474
"@vanilla-extract/css": "1.20.1",
7575
"@vanilla-extract/sprinkles": "1.6.5",
7676
"@vanilla-extract/vite-plugin": "5.2.2",
77-
"@visx/axis": "3.12.0",
78-
"@visx/curve": "3.12.0",
79-
"@visx/group": "3.12.0",
80-
"@visx/scale": "3.12.0",
81-
"@visx/shape": "3.12.0",
82-
"@visx/text": "3.12.0",
77+
"@visx/axis": "4.0.0",
78+
"@visx/curve": "4.0.0",
79+
"@visx/group": "4.0.0",
80+
"@visx/scale": "4.0.0",
81+
"@visx/shape": "4.0.0",
82+
"@visx/text": "4.0.0",
8383
"classnames": "2.5.1",
8484
"copyfiles": "2.4.1",
8585
"d3-array": "3.2.4",
8686
"d3-scale": "4.0.2",
8787
"d3-selection": "3.0.0",
8888
"d3-shape": "3.2.0",
89-
"dayjs": "1.11.20",
89+
"dayjs": "1.11.21",
9090
"history": "5.3.0",
9191
"immer": "11.1.8",
9292
"install": "0.13.0",
9393
"nodemon": "3.1.14",
94-
"react": "19.2.6",
95-
"react-dom": "19.2.6",
94+
"react": "19.2.7",
95+
"react-dom": "19.2.7",
9696
"react-helmet": "6.1.0",
97-
"react-hook-form": "7.76.1",
98-
"react-is": "19.2.6",
99-
"react-router": "7.15.1",
97+
"react-hook-form": "7.79.0",
98+
"react-is": "19.2.7",
99+
"react-router": "8.0.1",
100100
"rimraf": "6.1.3",
101-
"tsx": "4.22.3",
101+
"tsx": "4.22.4",
102102
"vite-plugin-environment": "1.1.3",
103103
"vite-plugin-ssr": "0.4.142",
104104
"vite-plugin-svgr": "5.2.0"
105105
},
106106
"peerDependencies": {
107107
"@vanilla-extract/css": "1.20.1",
108108
"@vanilla-extract/sprinkles": "1.6.5",
109-
"@visx/axis": "3.12.0",
110-
"@visx/curve": "3.12.0",
111-
"@visx/group": "3.12.0",
112-
"@visx/scale": "3.12.0",
113-
"@visx/shape": "3.12.0",
114-
"@visx/text": "3.12.0",
109+
"@visx/axis": "4.0.0",
110+
"@visx/curve": "4.0.0",
111+
"@visx/group": "4.0.0",
112+
"@visx/scale": "4.0.0",
113+
"@visx/shape": "4.0.0",
114+
"@visx/text": "4.0.0",
115115
"classnames": "2.5.1",
116116
"d3-array": "3.2.4",
117117
"d3-scale": "4.0.2",
118118
"d3-selection": "3.0.0",
119119
"d3-shape": "3.2.0",
120-
"dayjs": "1.11.20",
120+
"dayjs": "1.11.21",
121121
"history": "5.3.0",
122122
"immer": "11.1.8",
123-
"react": "19.2.6",
124-
"react-dom": "19.2.6",
123+
"react": "19.2.7",
124+
"react-dom": "19.2.7",
125125
"react-helmet": "6.1.0",
126-
"react-hook-form": "7.76.1",
127-
"react-is": "19.2.6",
128-
"react-router": "7.15.1"
126+
"react-hook-form": "7.79.0",
127+
"react-is": "19.2.7",
128+
"react-router": "8.0.1"
129129
},
130130
"volta": {
131131
"extends": "../../package.json"

apps/website/vite.config.ts

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@ import { isDevelopment, isProduction } from '@cutting/util';
22
import mdx from '@mdx-js/rollup';
33
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
44
import react from '@vitejs/plugin-react';
5-
import { createRequire } from 'module';
65
import svgrPlugin from 'vite-plugin-svgr';
7-
import tsconfigPaths from 'vite-tsconfig-paths';
86
import { defineConfig } from 'vitest/config';
97

10-
const require = createRequire(import.meta.url);
11-
128
export default defineConfig({
13-
plugins: [mdx(), tsconfigPaths(), vanillaExtractPlugin(), svgrPlugin({ svgrOptions: { icon: true } }), react()],
9+
plugins: [mdx(), vanillaExtractPlugin(), svgrPlugin({ svgrOptions: { icon: true } }), react()],
1410
assetsInclude: ['src/assets/images/**.png', 'src/assets/images/**.jpg'],
1511
mode: '',
1612
build: {
@@ -25,19 +21,6 @@ export default defineConfig({
2521
optimizeDeps: { include: ['react/jsx-runtime'] },
2622
root: '',
2723
resolve: {
28-
alias: [
29-
{
30-
find: '@visx/axis',
31-
replacement: require.resolve('@visx/axis/esm/index'),
32-
},
33-
{
34-
find: '@visx/shape',
35-
replacement: require.resolve('@visx/shape/esm/index'),
36-
},
37-
{
38-
find: '@visx/scale',
39-
replacement: require.resolve('@visx/scale/esm/index'),
40-
},
41-
],
24+
tsconfigPaths: true,
4225
},
4326
});

package.json

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,32 @@
2424
"dependencies": {
2525
"@cutting/assert": "workspace:*",
2626
"@capsizecss/core": "4.1.3",
27-
"@capsizecss/metrics": "4.0.0",
27+
"@capsizecss/metrics": "4.1.0",
2828
"@capsizecss/vanilla-extract": "2.0.4",
2929
"@vanilla-extract/css": "1.20.1",
3030
"@vanilla-extract/dynamic": "2.1.5",
3131
"@vanilla-extract/sprinkles": "1.6.5",
32-
"@visx/axis": "3.12.0",
33-
"@visx/curve": "3.12.0",
34-
"@visx/group": "3.12.0",
35-
"@visx/scale": "3.12.0",
36-
"@visx/shape": "3.12.0",
37-
"@visx/text": "3.12.0",
32+
"@visx/axis": "4.0.0",
33+
"@visx/curve": "4.0.0",
34+
"@visx/group": "4.0.0",
35+
"@visx/scale": "4.0.0",
36+
"@visx/shape": "4.0.0",
37+
"@visx/text": "4.0.0",
3838
"d3-array": "3.2.4",
3939
"d3-scale": "4.0.2",
4040
"d3-selection": "3.0.0",
4141
"d3-shape": "3.2.0",
42-
"dayjs": "1.11.20",
42+
"dayjs": "1.11.21",
4343
"history": "5.3.0",
4444
"immer": "11.1.8",
45-
"react": "19.2.6",
45+
"react": "19.2.7",
4646
"react-calendly": "4.4.0",
4747
"react-device-detect": "2.2.3",
48-
"react-dom": "19.2.6",
48+
"react-dom": "19.2.7",
4949
"react-helmet": "6.1.0",
50-
"react-hook-form": "7.76.1",
51-
"react-is": "19.2.6",
52-
"react-router": "7.15.1",
50+
"react-hook-form": "7.79.0",
51+
"react-is": "19.2.7",
52+
"react-router": "8.0.1",
5353
"use-debounce": "10.1.1"
5454
},
5555
"devDependencies": {
@@ -63,35 +63,34 @@
6363
"@eslint/js": "^10.0.1",
6464
"@mdx-js/loader": "^3.1.1",
6565
"@rollup/plugin-terser": "1.0.0",
66-
"@types/node": "25.9.1",
67-
"@types/react": "19.2.15",
66+
"@types/node": "26.0.0",
67+
"@types/react": "19.2.17",
6868
"@types/react-dom": "19.2.3",
69-
"@typescript-eslint/eslint-plugin": "8.59.4",
70-
"@typescript-eslint/parser": "8.59.4",
69+
"@typescript-eslint/eslint-plugin": "8.61.1",
70+
"@typescript-eslint/parser": "8.61.1",
7171
"@vanilla-extract/vite-plugin": "5.2.2",
7272
"@vitejs/plugin-react": "^6.0.2",
73-
"@vitest/coverage-v8": "4.1.7",
73+
"@vitest/coverage-v8": "4.1.9",
7474
"cheerio": "^1.2.0",
7575
"core-js": "3.49.0",
76-
"eslint": "^10.4.0",
76+
"eslint": "^10.5.0",
7777
"eslint-config-prettier": "10.1.8",
7878
"eslint-plugin-import": "^2.32.0",
7979
"eslint-plugin-jsx-a11y": "6.10.2",
80-
"eslint-plugin-prettier": "5.5.5",
80+
"eslint-plugin-prettier": "5.5.6",
8181
"eslint-plugin-react": "7.37.5",
8282
"eslint-plugin-react-hooks": "7.1.1",
8383
"eslint-plugin-simple-import-sort": "^13.0.0",
8484
"follow-redirects": "1.16.0",
8585
"husky": "9.1.7",
8686
"jsdom": "29.1.1",
87-
"lint-staged": "17.0.5",
87+
"lint-staged": "17.0.7",
8888
"node-fetch": "3.3.2",
89-
"prettier": "3.8.3",
90-
"turbo": "2.9.14",
89+
"prettier": "3.8.4",
90+
"turbo": "2.9.18",
9191
"typescript": "6.0.3",
92-
"vite": "8.0.14",
93-
"vite-tsconfig-paths": "^6.1.1",
94-
"vitest": "4.1.7",
92+
"vite": "8.0.16",
93+
"vitest": "4.1.9",
9594
"whatwg-fetch": "3.6.20"
9695
},
9796
"packageManager": "pnpm@11.3.0",

packages/cloudinary-blurhash/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"log-update": "^8.0.0"
2323
},
2424
"devDependencies": {
25-
"commander": "14.0.3"
25+
"commander": "15.0.0"
2626
},
2727
"files": [
2828
"dist/**/*",

0 commit comments

Comments
 (0)