From 1a6b4328da3952b5152d7b5e3a33fb3432cbce64 Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 9 Dec 2024 16:11:37 +0900 Subject: [PATCH 1/8] Clean up turbo tasks - Simplify the turbo tasks - Remove unnecessary task definitions - Fix monorepo paths --- biome.json | 2 +- examples/storybook/package.json | 32 +-- package.json | 2 +- packages/binary/package.json | 11 +- packages/biticon/package.json | 11 +- packages/clock/package.json | 13 +- packages/components/package.json | 33 +-- packages/dekamoji/package.json | 13 +- packages/editablelabel/package.json | 15 +- packages/measure/package.json | 11 +- packages/physical-size/package.json | 11 +- packages/stopwatch/package.json | 11 +- packages/style-bulma/package.json | 27 ++- packages/tab/package.json | 13 +- packages/textfield/package.json | 11 +- packages/timer/package.json | 11 +- packages/treemap/package.json | 11 +- packages/wavebox/package.json | 11 +- pnpm-lock.yaml | 332 ++++++++++++++-------------- turbo.json | 32 +-- 20 files changed, 344 insertions(+), 269 deletions(-) diff --git a/biome.json b/biome.json index 823c3e7a..864a36c5 100644 --- a/biome.json +++ b/biome.json @@ -40,7 +40,7 @@ "files": { "ignore": [ "**/node_modules/**", - "**/dist/**", + "**/dist/**/*", "**/build/**", "**/storybook-static/**", "**/coverage/**", diff --git a/examples/storybook/package.json b/examples/storybook/package.json index 7da2c23c..309e1e60 100644 --- a/examples/storybook/package.json +++ b/examples/storybook/package.json @@ -5,21 +5,6 @@ "license": "MIT", "private": true, "devDependencies": { - "@kitsuyui/react-binary": "workspace:^", - "@kitsuyui/react-biticon": "workspace:^", - "@kitsuyui/react-clock": "workspace:^", - "@kitsuyui/react-components": "workspace:^", - "@kitsuyui/react-dekamoji": "workspace:^", - "@kitsuyui/react-editablelabel": "workspace:^", - "@kitsuyui/react-measure": "workspace:^", - "@kitsuyui/react-physical-size": "workspace:^", - "@kitsuyui/react-stopwatch": "workspace:^", - "@kitsuyui/react-style-bulma": "workspace:^", - "@kitsuyui/react-tab": "workspace:^", - "@kitsuyui/react-textfield": "workspace:^", - "@kitsuyui/react-timer": "workspace:^", - "@kitsuyui/react-treemap": "workspace:^", - "@kitsuyui/react-wavebox": "workspace:^", "@playwright/test": "^1.49.0", "@storybook/addon-essentials": "^8.4.7", "@storybook/addon-interactions": "^8.4.7", @@ -31,7 +16,7 @@ "@storybook/test": "^8.4.7", "@storybook/test-runner": "^0.20.1", "@swc/cli": "^0.5.2", - "@swc/core": "^1.10.0", + "@swc/core": "^1.10.1", "@types/node": "^22.10.1", "@types/react": "^19.0.1", "prop-types": "^15.8.1", @@ -48,6 +33,21 @@ "build": "storybook build" }, "dependencies": { + "@kitsuyui/react-binary": "workspace:*", + "@kitsuyui/react-biticon": "workspace:*", + "@kitsuyui/react-clock": "workspace:*", + "@kitsuyui/react-components": "workspace:*", + "@kitsuyui/react-dekamoji": "workspace:*", + "@kitsuyui/react-editablelabel": "workspace:*", + "@kitsuyui/react-measure": "workspace:*", + "@kitsuyui/react-physical-size": "workspace:*", + "@kitsuyui/react-stopwatch": "workspace:*", + "@kitsuyui/react-style-bulma": "workspace:*", + "@kitsuyui/react-tab": "workspace:*", + "@kitsuyui/react-textfield": "workspace:*", + "@kitsuyui/react-timer": "workspace:*", + "@kitsuyui/react-treemap": "workspace:*", + "@kitsuyui/react-wavebox": "workspace:*", "use-sound": "^4.0.3" } } diff --git a/package.json b/package.json index 7778c9cd..0b74fe17 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@biomejs/biome": "^1.9.4", - "@swc/core": "^1.10.0", + "@swc/core": "^1.10.1", "@swc/jest": "^0.2.37", "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.1.0", diff --git a/packages/binary/package.json b/packages/binary/package.json index 27252855..b8ca2979 100644 --- a/packages/binary/package.json +++ b/packages/binary/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/biticon/package.json b/packages/biticon/package.json index 61024417..8a5c8f38 100644 --- a/packages/biticon/package.json +++ b/packages/biticon/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/clock/package.json b/packages/clock/package.json index 8b3c2eb2..95f9b417 100644 --- a/packages/clock/package.json +++ b/packages/clock/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", @@ -36,4 +41,4 @@ "react-dom": "*", "react-use": "*" } -} \ No newline at end of file +} diff --git a/packages/components/package.json b/packages/components/package.json index 412645f4..d3b99ab5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", @@ -41,17 +46,17 @@ "react-use": "^17.5.1" }, "peerDependencies": { - "@kitsuyui/react-binary": "workspace:latest", - "@kitsuyui/react-biticon": "workspace:latest", - "@kitsuyui/react-clock": "workspace:latest", - "@kitsuyui/react-dekamoji": "workspace:latest", - "@kitsuyui/react-editablelabel": "workspace:latest", - "@kitsuyui/react-measure": "workspace:latest", - "@kitsuyui/react-stopwatch": "workspace:latest", - "@kitsuyui/react-tab": "workspace:latest", - "@kitsuyui/react-textfield": "workspace:latest", - "@kitsuyui/react-timer": "workspace:latest", - "@kitsuyui/react-treemap": "workspace:latest", + "@kitsuyui/react-binary": "workspace:*", + "@kitsuyui/react-biticon": "workspace:*", + "@kitsuyui/react-clock": "workspace:*", + "@kitsuyui/react-dekamoji": "workspace:*", + "@kitsuyui/react-editablelabel": "workspace:*", + "@kitsuyui/react-measure": "workspace:*", + "@kitsuyui/react-stopwatch": "workspace:*", + "@kitsuyui/react-tab": "workspace:*", + "@kitsuyui/react-textfield": "workspace:*", + "@kitsuyui/react-timer": "workspace:*", + "@kitsuyui/react-treemap": "workspace:*", "react": "*", "react-dom": "*", "react-use": "*" diff --git a/packages/dekamoji/package.json b/packages/dekamoji/package.json index 9c87a287..050748c6 100644 --- a/packages/dekamoji/package.json +++ b/packages/dekamoji/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", @@ -35,4 +40,4 @@ "react-dom": "*", "react-use": "*" } -} \ No newline at end of file +} diff --git a/packages/editablelabel/package.json b/packages/editablelabel/package.json index 90399aa0..d2d3336d 100644 --- a/packages/editablelabel/package.json +++ b/packages/editablelabel/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", @@ -31,9 +36,9 @@ "react-use": "^17.5.1" }, "peerDependencies": { - "@kitsuyui/react-textfield": "workspace:latest", + "@kitsuyui/react-textfield": "workspace:*", "react": "*", "react-dom": "*", "react-use": "*" } -} \ No newline at end of file +} diff --git a/packages/measure/package.json b/packages/measure/package.json index 019d6bcb..a410d63f 100644 --- a/packages/measure/package.json +++ b/packages/measure/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/physical-size/package.json b/packages/physical-size/package.json index 074643da..67727749 100644 --- a/packages/physical-size/package.json +++ b/packages/physical-size/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/stopwatch/package.json b/packages/stopwatch/package.json index 9fc35cb9..7adfef5c 100644 --- a/packages/stopwatch/package.json +++ b/packages/stopwatch/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/style-bulma/package.json b/packages/style-bulma/package.json index 54982a77..feaf600e 100644 --- a/packages/style-bulma/package.json +++ b/packages/style-bulma/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", @@ -29,14 +34,14 @@ "react-dom": "^19.0.0" }, "peerDependencies": { - "@kitsuyui/react-clock": "workspace:latest", - "@kitsuyui/react-dekamoji": "workspace:latest", - "@kitsuyui/react-editablelabel": "workspace:latest", - "@kitsuyui/react-measure": "workspace:latest", - "@kitsuyui/react-stopwatch": "workspace:latest", - "@kitsuyui/react-textfield": "workspace:latest", - "@kitsuyui/react-timer": "workspace:latest", - "@kitsuyui/react-treemap": "workspace:latest", + "@kitsuyui/react-clock": "workspace:*", + "@kitsuyui/react-dekamoji": "workspace:*", + "@kitsuyui/react-editablelabel": "workspace:*", + "@kitsuyui/react-measure": "workspace:*", + "@kitsuyui/react-stopwatch": "workspace:*", + "@kitsuyui/react-textfield": "workspace:*", + "@kitsuyui/react-timer": "workspace:*", + "@kitsuyui/react-treemap": "workspace:*", "bulma": "*", "luxon": "*", "react": "*", diff --git a/packages/tab/package.json b/packages/tab/package.json index f6d6035d..f8646a7c 100644 --- a/packages/tab/package.json +++ b/packages/tab/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", @@ -32,4 +37,4 @@ "react": "*", "react-dom": "*" } -} \ No newline at end of file +} diff --git a/packages/textfield/package.json b/packages/textfield/package.json index 6313b800..497108d0 100644 --- a/packages/textfield/package.json +++ b/packages/textfield/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/timer/package.json b/packages/timer/package.json index 5f0d6dc9..84fa249b 100644 --- a/packages/timer/package.json +++ b/packages/timer/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/treemap/package.json b/packages/treemap/package.json index db969e7a..bfcff1b6 100644 --- a/packages/treemap/package.json +++ b/packages/treemap/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/packages/wavebox/package.json b/packages/wavebox/package.json index 44ba9a03..c18da333 100644 --- a/packages/wavebox/package.json +++ b/packages/wavebox/package.json @@ -6,9 +6,14 @@ "author": "Yui Kitsu ", "exports": { ".": { - "require": "./dist/index.js", - "import": "./dist/index.mjs", - "types": "./dist/index.d.ts" + "require": { + "type": "./dist/index.d.mts", + "default": "./dist/index.cjs" + }, + "import": { + "type": "./dist/index.d.mts", + "default": "./dist/index.mjs" + } } }, "main": "./dist/index.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d63a738f..00246624 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,11 +12,11 @@ importers: specifier: ^1.9.4 version: 1.9.4 '@swc/core': - specifier: ^1.10.0 - version: 1.10.0 + specifier: ^1.10.1 + version: 1.10.1 '@swc/jest': specifier: ^0.2.37 - version: 0.2.37(@swc/core@1.10.0) + version: 0.2.37(@swc/core@1.10.1) '@testing-library/jest-dom': specifier: ^6.6.3 version: 6.6.3 @@ -46,7 +46,7 @@ importers: version: 3.0.0 jest: specifier: ^29.7.0 - version: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + version: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) jest-environment-jsdom: specifier: ^29.7.0 version: 29.7.0 @@ -64,10 +64,10 @@ importers: version: 14.0.1(stylelint@16.11.0(typescript@5.7.2)) ts-node: specifier: ^10.9.2 - version: 10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2) + version: 10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2) tsup: specifier: ^8.3.5 - version: 8.3.5(@swc/core@1.10.0)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1) + version: 8.3.5(@swc/core@1.10.1)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1) turbo: specifier: ^2.3.3 version: 2.3.3 @@ -80,55 +80,55 @@ importers: examples/storybook: dependencies: - use-sound: - specifier: ^4.0.3 - version: 4.0.3(react@19.0.0) - devDependencies: '@kitsuyui/react-binary': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/binary '@kitsuyui/react-biticon': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/biticon '@kitsuyui/react-clock': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/clock '@kitsuyui/react-components': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/components '@kitsuyui/react-dekamoji': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/dekamoji '@kitsuyui/react-editablelabel': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/editablelabel '@kitsuyui/react-measure': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/measure '@kitsuyui/react-physical-size': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/physical-size '@kitsuyui/react-stopwatch': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/stopwatch '@kitsuyui/react-style-bulma': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/style-bulma '@kitsuyui/react-tab': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/tab '@kitsuyui/react-textfield': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/textfield '@kitsuyui/react-timer': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/timer '@kitsuyui/react-treemap': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/treemap '@kitsuyui/react-wavebox': - specifier: workspace:^ + specifier: workspace:* version: link:../../packages/wavebox + use-sound: + specifier: ^4.0.3 + version: 4.0.3(react@19.0.0) + devDependencies: '@playwright/test': specifier: ^1.49.0 version: 1.49.0 @@ -143,7 +143,7 @@ importers: version: 8.4.7(react@19.0.0)(storybook@8.4.7) '@storybook/addon-webpack5-compiler-swc': specifier: ^1.0.5 - version: 1.0.5(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + version: 1.0.5(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) '@storybook/blocks': specifier: ^8.4.7 version: 8.4.7(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7) @@ -152,19 +152,19 @@ importers: version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2) '@storybook/react-webpack5': specifier: ^8.4.7 - version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.0)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2) + version: 8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.1)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2) '@storybook/test': specifier: ^8.4.7 version: 8.4.7(storybook@8.4.7) '@storybook/test-runner': specifier: ^0.20.1 - version: 0.20.1(@types/node@22.10.1)(storybook@8.4.7)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + version: 0.20.1(@types/node@22.10.1)(storybook@8.4.7)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) '@swc/cli': specifier: ^0.5.2 - version: 0.5.2(@swc/core@1.10.0)(chokidar@3.6.0) + version: 0.5.2(@swc/core@1.10.1)(chokidar@3.6.0) '@swc/core': - specifier: ^1.10.0 - version: 1.10.0 + specifier: ^1.10.1 + version: 1.10.1 '@types/node': specifier: ^22.10.1 version: 22.10.1 @@ -185,7 +185,7 @@ importers: version: 8.4.7 storybook-addon-swc: specifier: ^1.2.0 - version: 1.2.0(@swc/core@1.10.0)(terser-webpack-plugin@5.3.10(@swc/core@1.10.0)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)))(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + version: 1.2.0(@swc/core@1.10.1)(terser-webpack-plugin@5.3.10(@swc/core@1.10.1)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)))(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) packages/binary: devDependencies: @@ -317,7 +317,7 @@ importers: packages/editablelabel: dependencies: '@kitsuyui/react-textfield': - specifier: workspace:latest + specifier: workspace:* version: link:../textfield devDependencies: '@types/node': @@ -393,28 +393,28 @@ importers: packages/style-bulma: dependencies: '@kitsuyui/react-clock': - specifier: workspace:latest + specifier: workspace:* version: link:../clock '@kitsuyui/react-dekamoji': - specifier: workspace:latest + specifier: workspace:* version: link:../dekamoji '@kitsuyui/react-editablelabel': - specifier: workspace:latest + specifier: workspace:* version: link:../editablelabel '@kitsuyui/react-measure': - specifier: workspace:latest + specifier: workspace:* version: link:../measure '@kitsuyui/react-stopwatch': - specifier: workspace:latest + specifier: workspace:* version: link:../stopwatch '@kitsuyui/react-textfield': - specifier: workspace:latest + specifier: workspace:* version: link:../textfield '@kitsuyui/react-timer': - specifier: workspace:latest + specifier: workspace:* version: link:../timer '@kitsuyui/react-treemap': - specifier: workspace:latest + specifier: workspace:* version: link:../treemap bulma: specifier: '*' @@ -1525,68 +1525,68 @@ packages: chokidar: optional: true - '@swc/core-darwin-arm64@1.10.0': - resolution: {integrity: sha512-wCeUpanqZyzvgqWRtXIyhcFK3CqukAlYyP+fJpY2gWc/+ekdrenNIfZMwY7tyTFDkXDYEKzvn3BN/zDYNJFowQ==} + '@swc/core-darwin-arm64@1.10.1': + resolution: {integrity: sha512-NyELPp8EsVZtxH/mEqvzSyWpfPJ1lugpTQcSlMduZLj1EASLO4sC8wt8hmL1aizRlsbjCX+r0PyL+l0xQ64/6Q==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.10.0': - resolution: {integrity: sha512-0CZPzqTynUBO+SHEl/qKsFSahp2Jv/P2ZRjFG0gwZY5qIcr1+B/v+o74/GyNMBGz9rft+F2WpU31gz2sJwyF4A==} + '@swc/core-darwin-x64@1.10.1': + resolution: {integrity: sha512-L4BNt1fdQ5ZZhAk5qoDfUnXRabDOXKnXBxMDJ+PWLSxOGBbWE6aJTnu4zbGjJvtot0KM46m2LPAPY8ttknqaZA==} engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.10.0': - resolution: {integrity: sha512-oq+DdMu5uJOFPtRkeiITc4kxmd+QSmK+v+OBzlhdGkSgoH3yRWZP+H2ao0cBXo93ZgCr2LfjiER0CqSKhjGuNA==} + '@swc/core-linux-arm-gnueabihf@1.10.1': + resolution: {integrity: sha512-Y1u9OqCHgvVp2tYQAJ7hcU9qO5brDMIrA5R31rwWQIAKDkJKtv3IlTHF0hrbWk1wPR0ZdngkQSJZple7G+Grvw==} engines: {node: '>=10'} cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.10.0': - resolution: {integrity: sha512-Y6+PC8knchEViRxiCUj3j8wsGXaIhuvU+WqrFqV834eiItEMEI9+Vh3FovqJMBE3L7d4E4ZQtgImHCXjrHfxbw==} + '@swc/core-linux-arm64-gnu@1.10.1': + resolution: {integrity: sha512-tNQHO/UKdtnqjc7o04iRXng1wTUXPgVd8Y6LI4qIbHVoVPwksZydISjMcilKNLKIwOoUQAkxyJ16SlOAeADzhQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.10.0': - resolution: {integrity: sha512-EbrX9A5U4cECCQQfky7945AW9GYnTXtCUXElWTkTYmmyQK87yCyFfY8hmZ9qMFIwxPOH6I3I2JwMhzdi8Qoz7g==} + '@swc/core-linux-arm64-musl@1.10.1': + resolution: {integrity: sha512-x0L2Pd9weQ6n8dI1z1Isq00VHFvpBClwQJvrt3NHzmR+1wCT/gcYl1tp9P5xHh3ldM8Cn4UjWCw+7PaUgg8FcQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.10.0': - resolution: {integrity: sha512-TaxpO6snTjjfLXFYh5EjZ78se69j2gDcqEM8yB9gguPYwkCHi2Ylfmh7iVaNADnDJFtjoAQp0L41bTV/Pfq9Cg==} + '@swc/core-linux-x64-gnu@1.10.1': + resolution: {integrity: sha512-yyYEwQcObV3AUsC79rSzN9z6kiWxKAVJ6Ntwq2N9YoZqSPYph+4/Am5fM1xEQYf/kb99csj0FgOelomJSobxQA==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.10.0': - resolution: {integrity: sha512-IEGvDd6aEEKEyZFZ8oCKuik05G5BS7qwG5hO5PEMzdGeh8JyFZXxsfFXbfeAqjue4UaUUrhnoX+Ze3M2jBVMHw==} + '@swc/core-linux-x64-musl@1.10.1': + resolution: {integrity: sha512-tcaS43Ydd7Fk7sW5ROpaf2Kq1zR+sI5K0RM+0qYLYYurvsJruj3GhBCaiN3gkzd8m/8wkqNqtVklWaQYSDsyqA==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.10.0': - resolution: {integrity: sha512-UkQ952GSpY+Z6XONj9GSW8xGSkF53jrCsuLj0nrcuw7Dvr1a816U/9WYZmmcYS8tnG2vHylhpm6csQkyS8lpCw==} + '@swc/core-win32-arm64-msvc@1.10.1': + resolution: {integrity: sha512-D3Qo1voA7AkbOzQ2UGuKNHfYGKL6eejN8VWOoQYtGHHQi1p5KK/Q7V1ku55oxXBsj79Ny5FRMqiRJpVGad7bjQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.10.0': - resolution: {integrity: sha512-a2QpIZmTiT885u/mUInpeN2W9ClCnqrV2LnMqJR1/Fgx1Afw/hAtiDZPtQ0SqS8yDJ2VR5gfNZo3gpxWMrqdVA==} + '@swc/core-win32-ia32-msvc@1.10.1': + resolution: {integrity: sha512-WalYdFoU3454Og+sDKHM1MrjvxUGwA2oralknXkXL8S0I/8RkWZOB++p3pLaGbTvOO++T+6znFbQdR8KRaa7DA==} engines: {node: '>=10'} cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.10.0': - resolution: {integrity: sha512-tZcCmMwf483nwsEBfUk5w9e046kMa1iSik4bP9Kwi2FGtOfHuDfIcwW4jek3hdcgF5SaBW1ktnK/lgQLDi5AtA==} + '@swc/core-win32-x64-msvc@1.10.1': + resolution: {integrity: sha512-JWobfQDbTnoqaIwPKQ3DVSywihVXlQMbDuwik/dDWlj33A8oEHcjPOGs4OqcA3RHv24i+lfCQpM3Mn4FAMfacA==} engines: {node: '>=10'} cpu: [x64] os: [win32] - '@swc/core@1.10.0': - resolution: {integrity: sha512-+CuuTCmQFfzaNGg1JmcZvdUVITQXJk9sMnl1C2TiDLzOSVOJRwVD4dNo5dljX/qxpMAN+2BIYlwjlSkoGi6grg==} + '@swc/core@1.10.1': + resolution: {integrity: sha512-rQ4dS6GAdmtzKiCRt3LFVxl37FaY1cgL9kSUTnhQ2xc3fmHOd7jdJK/V4pSZMG1ruGTd0bsi34O2R0Olg9Zo/w==} engines: {node: '>=10'} peerDependencies: '@swc/helpers': '*' @@ -2137,8 +2137,8 @@ packages: resolution: {integrity: sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==} engines: {node: '>=8'} - call-bind-apply-helpers@1.0.0: - resolution: {integrity: sha512-CCKAP2tkPau7D3GE8+V8R6sQubA9R5foIzGp+85EXCVSCivuxBNAWqcpn72PKYiIcqoViv/kcUDpaEIMBVi1lQ==} + call-bind-apply-helpers@1.0.1: + resolution: {integrity: sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==} engines: {node: '>= 0.4'} call-bind@1.0.8: @@ -5310,7 +5310,7 @@ snapshots: jest-util: 29.7.0 slash: 3.0.0 - '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2))': + '@jest/core@29.7.0(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2))': dependencies: '@jest/console': 29.7.0 '@jest/reporters': 29.7.0 @@ -5324,7 +5324,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -5776,10 +5776,10 @@ snapshots: memoizerific: 1.11.3 storybook: 8.4.7 - '@storybook/addon-webpack5-compiler-swc@1.0.5(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0))': + '@storybook/addon-webpack5-compiler-swc@1.0.5(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0))': dependencies: - '@swc/core': 1.10.0 - swc-loader: 0.2.6(@swc/core@1.10.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + '@swc/core': 1.10.1 + swc-loader: 0.2.6(@swc/core@1.10.1)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) transitivePeerDependencies: - '@swc/helpers' - webpack @@ -5804,7 +5804,7 @@ snapshots: react: 19.0.0 react-dom: 19.0.0(react@19.0.0) - '@storybook/builder-webpack5@8.4.7(@swc/core@1.10.0)(esbuild@0.24.0)(storybook@8.4.7)(typescript@5.7.2)': + '@storybook/builder-webpack5@8.4.7(@swc/core@1.10.1)(esbuild@0.24.0)(storybook@8.4.7)(typescript@5.7.2)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7) '@types/node': 22.10.1 @@ -5813,23 +5813,23 @@ snapshots: case-sensitive-paths-webpack-plugin: 2.4.0 cjs-module-lexer: 1.4.1 constants-browserify: 1.0.0 - css-loader: 6.11.0(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + css-loader: 6.11.0(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) es-module-lexer: 1.5.4 - fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) - html-webpack-plugin: 5.6.3(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + fork-ts-checker-webpack-plugin: 8.0.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) + html-webpack-plugin: 5.6.3(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) magic-string: 0.30.14 path-browserify: 1.0.1 process: 0.11.10 semver: 7.6.3 storybook: 8.4.7 - style-loader: 3.3.4(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) - terser-webpack-plugin: 5.3.10(@swc/core@1.10.0)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + style-loader: 3.3.4(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) + terser-webpack-plugin: 5.3.10(@swc/core@1.10.1)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) ts-dedent: 2.2.0 url: 0.11.4 util: 0.12.5 util-deprecate: 1.0.2 - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) - webpack-dev-middleware: 6.1.3(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) + webpack-dev-middleware: 6.1.3(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) webpack-hot-middleware: 2.26.1 webpack-virtual-modules: 0.6.2 optionalDependencies: @@ -5900,11 +5900,11 @@ snapshots: dependencies: storybook: 8.4.7 - '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.0)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2)': + '@storybook/preset-react-webpack@8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.1)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2)': dependencies: '@storybook/core-webpack': 8.4.7(storybook@8.4.7) '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2) - '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) '@types/node': 22.10.1 '@types/semver': 7.5.8 find-up: 5.0.0 @@ -5916,7 +5916,7 @@ snapshots: semver: 7.6.3 storybook: 8.4.7 tsconfig-paths: 4.2.0 - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) optionalDependencies: typescript: 5.7.2 transitivePeerDependencies: @@ -5931,7 +5931,7 @@ snapshots: dependencies: storybook: 8.4.7 - '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0))': + '@storybook/react-docgen-typescript-plugin@1.0.6--canary.9.0c3f3b7.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0))': dependencies: debug: 4.4.0 endent: 2.1.0 @@ -5941,7 +5941,7 @@ snapshots: react-docgen-typescript: 2.2.2(typescript@5.7.2) tslib: 2.8.1 typescript: 5.7.2 - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) transitivePeerDependencies: - supports-color @@ -5957,10 +5957,10 @@ snapshots: react-dom: 19.0.0(react@19.0.0) storybook: 8.4.7 - '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.0)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2)': + '@storybook/react-webpack5@8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.1)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2)': dependencies: - '@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.0)(esbuild@0.24.0)(storybook@8.4.7)(typescript@5.7.2) - '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.0)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2) + '@storybook/builder-webpack5': 8.4.7(@swc/core@1.10.1)(esbuild@0.24.0)(storybook@8.4.7)(typescript@5.7.2) + '@storybook/preset-react-webpack': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(@swc/core@1.10.1)(esbuild@0.24.0)(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2) '@storybook/react': 8.4.7(@storybook/test@8.4.7(storybook@8.4.7))(react-dom@19.0.0(react@19.0.0))(react@19.0.0)(storybook@8.4.7)(typescript@5.7.2) '@types/node': 22.10.1 react: 19.0.0 @@ -5992,7 +5992,7 @@ snapshots: '@storybook/test': 8.4.7(storybook@8.4.7) typescript: 5.7.2 - '@storybook/test-runner@0.20.1(@types/node@22.10.1)(storybook@8.4.7)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2))': + '@storybook/test-runner@0.20.1(@types/node@22.10.1)(storybook@8.4.7)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2))': dependencies: '@babel/core': 7.26.0 '@babel/generator': 7.26.3 @@ -6000,17 +6000,17 @@ snapshots: '@babel/types': 7.26.3 '@jest/types': 29.6.3 '@storybook/csf': 0.1.12 - '@swc/core': 1.10.0 - '@swc/jest': 0.2.37(@swc/core@1.10.0) + '@swc/core': 1.10.1 + '@swc/jest': 0.2.37(@swc/core@1.10.1) expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-junit: 16.0.0 - jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2))) + jest-playwright-preset: 4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2))) jest-runner: 29.7.0 jest-serializer-html: 7.1.0 - jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2))) + jest-watch-typeahead: 2.2.2(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2))) nyc: 15.1.0 playwright: 1.49.0 storybook: 8.4.7 @@ -6039,9 +6039,9 @@ snapshots: dependencies: storybook: 8.4.7 - '@swc/cli@0.5.2(@swc/core@1.10.0)(chokidar@3.6.0)': + '@swc/cli@0.5.2(@swc/core@1.10.1)(chokidar@3.6.0)': dependencies: - '@swc/core': 1.10.0 + '@swc/core': 1.10.1 '@swc/counter': 0.1.3 '@xhmikosr/bin-wrapper': 13.0.5 commander: 8.3.0 @@ -6054,58 +6054,58 @@ snapshots: optionalDependencies: chokidar: 3.6.0 - '@swc/core-darwin-arm64@1.10.0': + '@swc/core-darwin-arm64@1.10.1': optional: true - '@swc/core-darwin-x64@1.10.0': + '@swc/core-darwin-x64@1.10.1': optional: true - '@swc/core-linux-arm-gnueabihf@1.10.0': + '@swc/core-linux-arm-gnueabihf@1.10.1': optional: true - '@swc/core-linux-arm64-gnu@1.10.0': + '@swc/core-linux-arm64-gnu@1.10.1': optional: true - '@swc/core-linux-arm64-musl@1.10.0': + '@swc/core-linux-arm64-musl@1.10.1': optional: true - '@swc/core-linux-x64-gnu@1.10.0': + '@swc/core-linux-x64-gnu@1.10.1': optional: true - '@swc/core-linux-x64-musl@1.10.0': + '@swc/core-linux-x64-musl@1.10.1': optional: true - '@swc/core-win32-arm64-msvc@1.10.0': + '@swc/core-win32-arm64-msvc@1.10.1': optional: true - '@swc/core-win32-ia32-msvc@1.10.0': + '@swc/core-win32-ia32-msvc@1.10.1': optional: true - '@swc/core-win32-x64-msvc@1.10.0': + '@swc/core-win32-x64-msvc@1.10.1': optional: true - '@swc/core@1.10.0': + '@swc/core@1.10.1': dependencies: '@swc/counter': 0.1.3 '@swc/types': 0.1.17 optionalDependencies: - '@swc/core-darwin-arm64': 1.10.0 - '@swc/core-darwin-x64': 1.10.0 - '@swc/core-linux-arm-gnueabihf': 1.10.0 - '@swc/core-linux-arm64-gnu': 1.10.0 - '@swc/core-linux-arm64-musl': 1.10.0 - '@swc/core-linux-x64-gnu': 1.10.0 - '@swc/core-linux-x64-musl': 1.10.0 - '@swc/core-win32-arm64-msvc': 1.10.0 - '@swc/core-win32-ia32-msvc': 1.10.0 - '@swc/core-win32-x64-msvc': 1.10.0 + '@swc/core-darwin-arm64': 1.10.1 + '@swc/core-darwin-x64': 1.10.1 + '@swc/core-linux-arm-gnueabihf': 1.10.1 + '@swc/core-linux-arm64-gnu': 1.10.1 + '@swc/core-linux-arm64-musl': 1.10.1 + '@swc/core-linux-x64-gnu': 1.10.1 + '@swc/core-linux-x64-musl': 1.10.1 + '@swc/core-win32-arm64-msvc': 1.10.1 + '@swc/core-win32-ia32-msvc': 1.10.1 + '@swc/core-win32-x64-msvc': 1.10.1 '@swc/counter@0.1.3': {} - '@swc/jest@0.2.37(@swc/core@1.10.0)': + '@swc/jest@0.2.37(@swc/core@1.10.1)': dependencies: '@jest/create-cache-key-function': 29.7.0 - '@swc/core': 1.10.0 + '@swc/core': 1.10.1 '@swc/counter': 0.1.3 jsonc-parser: 3.3.1 @@ -6746,14 +6746,14 @@ snapshots: package-hash: 4.0.0 write-file-atomic: 3.0.3 - call-bind-apply-helpers@1.0.0: + call-bind-apply-helpers@1.0.1: dependencies: es-errors: 1.3.0 function-bind: 1.1.2 call-bind@1.0.8: dependencies: - call-bind-apply-helpers: 1.0.0 + call-bind-apply-helpers: 1.0.1 es-define-property: 1.0.1 get-intrinsic: 1.2.5 set-function-length: 1.2.2 @@ -6928,13 +6928,13 @@ snapshots: optionalDependencies: typescript: 5.7.2 - create-jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)): + create-jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -6957,7 +6957,7 @@ snapshots: dependencies: hyphenate-style-name: 1.1.0 - css-loader@6.11.0(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + css-loader@6.11.0(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: icss-utils: 5.1.0(postcss@8.4.49) postcss: 8.4.49 @@ -6968,7 +6968,7 @@ snapshots: postcss-value-parser: 4.2.0 semver: 7.6.3 optionalDependencies: - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) css-select@4.3.0: dependencies: @@ -7130,7 +7130,7 @@ snapshots: dunder-proto@1.0.0: dependencies: - call-bind-apply-helpers: 1.0.0 + call-bind-apply-helpers: 1.0.1 es-errors: 1.3.0 gopd: 1.2.0 @@ -7410,7 +7410,7 @@ snapshots: cross-spawn: 7.0.6 signal-exit: 4.1.0 - fork-ts-checker-webpack-plugin@8.0.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + fork-ts-checker-webpack-plugin@8.0.0(typescript@5.7.2)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: '@babel/code-frame': 7.26.2 chalk: 4.1.2 @@ -7425,7 +7425,7 @@ snapshots: semver: 7.6.3 tapable: 2.2.1 typescript: 5.7.2 - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) form-data-encoder@2.1.4: {} @@ -7463,7 +7463,7 @@ snapshots: get-intrinsic@1.2.5: dependencies: - call-bind-apply-helpers: 1.0.0 + call-bind-apply-helpers: 1.0.1 dunder-proto: 1.0.0 es-define-property: 1.0.1 es-errors: 1.3.0 @@ -7615,7 +7615,7 @@ snapshots: html-tags@3.3.1: {} - html-webpack-plugin@5.6.3(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + html-webpack-plugin@5.6.3(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -7623,7 +7623,7 @@ snapshots: pretty-error: 4.0.0 tapable: 2.2.1 optionalDependencies: - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) htmlparser2@3.10.1: dependencies: @@ -7880,16 +7880,16 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)): + jest-cli@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + create-jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + jest-config: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -7899,7 +7899,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)): + jest-config@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 @@ -7925,7 +7925,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 22.10.1 - ts-node: 10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2) + ts-node: 10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -8028,10 +8028,10 @@ snapshots: '@types/node': 22.10.1 jest-util: 29.7.0 - jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2))): + jest-playwright-preset@4.0.0(jest-circus@29.7.0)(jest-environment-node@29.7.0)(jest-runner@29.7.0)(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2))): dependencies: expect-playwright: 0.8.0 - jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) jest-circus: 29.7.0 jest-environment-node: 29.7.0 jest-process-manager: 0.4.0 @@ -8187,11 +8187,11 @@ snapshots: leven: 3.1.0 pretty-format: 29.7.0 - jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2))): + jest-watch-typeahead@2.2.2(jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2))): dependencies: ansi-escapes: 6.2.1 chalk: 5.3.0 - jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + jest: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) jest-regex-util: 29.6.3 jest-watcher: 29.7.0 slash: 5.1.0 @@ -8222,12 +8222,12 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)): + jest@29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)): dependencies: - '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + '@jest/core': 29.7.0(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) '@jest/types': 29.6.3 import-local: 3.2.0 - jest-cli: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2)) + jest-cli: 29.7.0(@types/node@22.10.1)(ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -9197,15 +9197,15 @@ snapshots: stack-generator: 2.0.10 stacktrace-gps: 3.1.2 - storybook-addon-swc@1.2.0(@swc/core@1.10.0)(terser-webpack-plugin@5.3.10(@swc/core@1.10.0)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)))(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + storybook-addon-swc@1.2.0(@swc/core@1.10.1)(terser-webpack-plugin@5.3.10(@swc/core@1.10.1)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)))(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: '@babel/runtime': 7.26.0 - '@swc/core': 1.10.0 + '@swc/core': 1.10.1 deepmerge: 4.3.1 - swc-loader: 0.1.16(@swc/core@1.10.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + swc-loader: 0.1.16(@swc/core@1.10.1)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) optionalDependencies: - terser-webpack-plugin: 5.3.10(@swc/core@1.10.0)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + terser-webpack-plugin: 5.3.10(@swc/core@1.10.1)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) storybook@8.4.7: dependencies: @@ -9283,9 +9283,9 @@ snapshots: '@tokenizer/token': 0.3.0 peek-readable: 5.3.1 - style-loader@3.3.4(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + style-loader@3.3.4(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) stylelint-config-recommended@14.0.1(stylelint@16.11.0(typescript@5.7.2)): dependencies: @@ -9368,16 +9368,16 @@ snapshots: svg-tags@1.0.0: {} - swc-loader@0.1.16(@swc/core@1.10.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + swc-loader@0.1.16(@swc/core@1.10.1)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: - '@swc/core': 1.10.0 - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + '@swc/core': 1.10.1 + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) - swc-loader@0.2.6(@swc/core@1.10.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + swc-loader@0.2.6(@swc/core@1.10.1)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: - '@swc/core': 1.10.0 + '@swc/core': 1.10.1 '@swc/counter': 0.1.3 - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) symbol-tree@3.2.4: {} @@ -9397,16 +9397,16 @@ snapshots: fast-fifo: 1.3.2 streamx: 2.21.0 - terser-webpack-plugin@5.3.10(@swc/core@1.10.0)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + terser-webpack-plugin@5.3.10(@swc/core@1.10.1)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 3.3.0 serialize-javascript: 6.0.2 terser: 5.37.0 - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) optionalDependencies: - '@swc/core': 1.10.0 + '@swc/core': 1.10.1 esbuild: 0.24.0 terser@5.37.0: @@ -9487,7 +9487,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-node@10.9.2(@swc/core@1.10.0)(@types/node@22.10.1)(typescript@5.7.2): + ts-node@10.9.2(@swc/core@1.10.1)(@types/node@22.10.1)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -9505,7 +9505,7 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: - '@swc/core': 1.10.0 + '@swc/core': 1.10.1 tsconfig-paths@4.2.0: dependencies: @@ -9515,7 +9515,7 @@ snapshots: tslib@2.8.1: {} - tsup@8.3.5(@swc/core@1.10.0)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1): + tsup@8.3.5(@swc/core@1.10.1)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.6.1): dependencies: bundle-require: 5.0.0(esbuild@0.24.0) cac: 6.7.14 @@ -9534,7 +9534,7 @@ snapshots: tinyglobby: 0.2.10 tree-kill: 1.2.2 optionalDependencies: - '@swc/core': 1.10.0 + '@swc/core': 1.10.1 postcss: 8.4.49 typescript: 5.7.2 transitivePeerDependencies: @@ -9697,7 +9697,7 @@ snapshots: webidl-conversions@7.0.0: {} - webpack-dev-middleware@6.1.3(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)): + webpack-dev-middleware@6.1.3(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)): dependencies: colorette: 2.0.20 memfs: 3.5.3 @@ -9705,7 +9705,7 @@ snapshots: range-parser: 1.2.1 schema-utils: 4.2.0 optionalDependencies: - webpack: 5.97.1(@swc/core@1.10.0)(esbuild@0.24.0) + webpack: 5.97.1(@swc/core@1.10.1)(esbuild@0.24.0) webpack-hot-middleware@2.26.1: dependencies: @@ -9717,7 +9717,7 @@ snapshots: webpack-virtual-modules@0.6.2: {} - webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0): + webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0): dependencies: '@types/eslint-scope': 3.7.7 '@types/estree': 1.0.6 @@ -9739,7 +9739,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.10(@swc/core@1.10.0)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.0)(esbuild@0.24.0)) + terser-webpack-plugin: 5.3.10(@swc/core@1.10.1)(esbuild@0.24.0)(webpack@5.97.1(@swc/core@1.10.1)(esbuild@0.24.0)) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: diff --git a/turbo.json b/turbo.json index 5d5c60a7..9c0e7e87 100644 --- a/turbo.json +++ b/turbo.json @@ -8,37 +8,37 @@ }, "@kitsuyui/react-clock#build": { "outputs": [ - "packages/clock/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-tab#build": { "outputs": [ - "packages/tab/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-timer#build": { "outputs": [ - "packages/timer/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-stopwatch#build": { "outputs": [ - "packages/stopwatch/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-dekamoji#build": { "outputs": [ - "packages/dekamoji/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-measure#build": { "outputs": [ - "packages/measure/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-treemap#build": { "outputs": [ - "packages/treemap/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-editablelabel#build": { @@ -46,32 +46,32 @@ "@kitsuyui/react-textfield#build" ], "outputs": [ - "packages/editablelabel/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-textfield#build": { "outputs": [ - "packages/textfield/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-wavebox#build": { "outputs": [ - "packages/wavebox/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-binary#build": { "outputs": [ - "packages/binary/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-biticon#build": { "outputs": [ - "packages/biticon/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-physical-size": { "outputs": [ - "packages/physical-size/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-components#build": { @@ -91,7 +91,7 @@ "@kitsuyui/react-physical-size#build" ], "outputs": [ - "packages/components/dist/**" + "./dist/**/*" ] }, "@kitsuyui/react-style-bulma#build": { @@ -99,7 +99,7 @@ "@kitsuyui/react-components#build" ], "outputs": [ - "packages/style-bulma/dist/**" + "./dist/**/*" ] }, "storybook#build": { @@ -121,7 +121,7 @@ "@kitsuyui/react-physical-size#build" ], "outputs": [ - "packages/storybook/dist/**" + "./dist/**/*" ] }, "build": { From 08d4fe61489b8c73d61fac51f9445779472e702b Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 9 Dec 2024 18:32:59 +0900 Subject: [PATCH 2/8] disable daemon mode --- turbo.json | 1 + 1 file changed, 1 insertion(+) diff --git a/turbo.json b/turbo.json index 9c0e7e87..43231389 100644 --- a/turbo.json +++ b/turbo.json @@ -1,5 +1,6 @@ { "$schema": "https://turborepo.org/schema.json", + "daemon": false, "tasks": { "dev": { "dependsOn": [ From f92390a0e90e8d9d322d26d5e58d716ab1d0636f Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 9 Dec 2024 18:45:17 +0900 Subject: [PATCH 3/8] Reduce concurrency --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0b74fe17..8f98d1c6 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "examples/*" ], "scripts": { - "build": "turbo build", + "build": "turbo build --concurrency=1", "dev": "turbo run dev --parallel", "format": "concurrently pnpm:format:*", "format:biome": "biome lint --write ./", From 877d977ab466bf99a2256128eea86c062a3f2b6a Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 9 Dec 2024 18:48:58 +0900 Subject: [PATCH 4/8] Set workspace dependencies to latest versions --- packages/components/package.json | 22 +++++------ packages/editablelabel/package.json | 2 +- packages/style-bulma/package.json | 16 ++++---- pnpm-lock.yaml | 57 +++++------------------------ 4 files changed, 30 insertions(+), 67 deletions(-) diff --git a/packages/components/package.json b/packages/components/package.json index d3b99ab5..07fd4cde 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -46,17 +46,17 @@ "react-use": "^17.5.1" }, "peerDependencies": { - "@kitsuyui/react-binary": "workspace:*", - "@kitsuyui/react-biticon": "workspace:*", - "@kitsuyui/react-clock": "workspace:*", - "@kitsuyui/react-dekamoji": "workspace:*", - "@kitsuyui/react-editablelabel": "workspace:*", - "@kitsuyui/react-measure": "workspace:*", - "@kitsuyui/react-stopwatch": "workspace:*", - "@kitsuyui/react-tab": "workspace:*", - "@kitsuyui/react-textfield": "workspace:*", - "@kitsuyui/react-timer": "workspace:*", - "@kitsuyui/react-treemap": "workspace:*", + "@kitsuyui/react-binary": "workspace:^", + "@kitsuyui/react-biticon": "workspace:^", + "@kitsuyui/react-clock": "workspace:^", + "@kitsuyui/react-dekamoji": "workspace:^", + "@kitsuyui/react-editablelabel": "workspace:^", + "@kitsuyui/react-measure": "workspace:^", + "@kitsuyui/react-stopwatch": "workspace:^", + "@kitsuyui/react-tab": "workspace:^", + "@kitsuyui/react-textfield": "workspace:^", + "@kitsuyui/react-timer": "workspace:^", + "@kitsuyui/react-treemap": "workspace:^", "react": "*", "react-dom": "*", "react-use": "*" diff --git a/packages/editablelabel/package.json b/packages/editablelabel/package.json index d2d3336d..836d7519 100644 --- a/packages/editablelabel/package.json +++ b/packages/editablelabel/package.json @@ -36,7 +36,7 @@ "react-use": "^17.5.1" }, "peerDependencies": { - "@kitsuyui/react-textfield": "workspace:*", + "@kitsuyui/react-textfield": "workspace:^", "react": "*", "react-dom": "*", "react-use": "*" diff --git a/packages/style-bulma/package.json b/packages/style-bulma/package.json index feaf600e..dce198b6 100644 --- a/packages/style-bulma/package.json +++ b/packages/style-bulma/package.json @@ -34,14 +34,14 @@ "react-dom": "^19.0.0" }, "peerDependencies": { - "@kitsuyui/react-clock": "workspace:*", - "@kitsuyui/react-dekamoji": "workspace:*", - "@kitsuyui/react-editablelabel": "workspace:*", - "@kitsuyui/react-measure": "workspace:*", - "@kitsuyui/react-stopwatch": "workspace:*", - "@kitsuyui/react-textfield": "workspace:*", - "@kitsuyui/react-timer": "workspace:*", - "@kitsuyui/react-treemap": "workspace:*", + "@kitsuyui/react-clock": "workspace:^", + "@kitsuyui/react-dekamoji": "workspace:^", + "@kitsuyui/react-editablelabel": "workspace:^", + "@kitsuyui/react-measure": "workspace:^", + "@kitsuyui/react-stopwatch": "workspace:^", + "@kitsuyui/react-textfield": "workspace:^", + "@kitsuyui/react-timer": "workspace:^", + "@kitsuyui/react-treemap": "workspace:^", "bulma": "*", "luxon": "*", "react": "*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 00246624..fb14978d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -317,7 +317,7 @@ importers: packages/editablelabel: dependencies: '@kitsuyui/react-textfield': - specifier: workspace:* + specifier: workspace:^ version: link:../textfield devDependencies: '@types/node': @@ -393,28 +393,28 @@ importers: packages/style-bulma: dependencies: '@kitsuyui/react-clock': - specifier: workspace:* + specifier: workspace:^ version: link:../clock '@kitsuyui/react-dekamoji': - specifier: workspace:* + specifier: workspace:^ version: link:../dekamoji '@kitsuyui/react-editablelabel': - specifier: workspace:* + specifier: workspace:^ version: link:../editablelabel '@kitsuyui/react-measure': - specifier: workspace:* + specifier: workspace:^ version: link:../measure '@kitsuyui/react-stopwatch': - specifier: workspace:* + specifier: workspace:^ version: link:../stopwatch '@kitsuyui/react-textfield': - specifier: workspace:* + specifier: workspace:^ version: link:../textfield '@kitsuyui/react-timer': - specifier: workspace:* + specifier: workspace:^ version: link:../timer '@kitsuyui/react-treemap': - specifier: workspace:* + specifier: workspace:^ version: link:../treemap bulma: specifier: '*' @@ -424,7 +424,7 @@ importers: version: 3.5.0 react-use: specifier: '*' - version: 17.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 17.5.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) devDependencies: '@types/react': specifier: ^19.0.1 @@ -8470,19 +8470,6 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nano-css@5.6.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 - css-tree: 1.1.3 - csstype: 3.1.3 - fastest-stable-stringify: 2.0.2 - inline-style-prefixer: 7.0.1 - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - rtl-css-js: 1.16.1 - stacktrace-js: 2.0.2 - stylis: 4.3.4 - nano-css@5.6.2(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@jridgewell/sourcemap-codec': 1.5.0 @@ -8847,35 +8834,11 @@ snapshots: react-is@18.3.1: {} - react-universal-interface@0.6.2(react@18.3.1)(tslib@2.8.1): - dependencies: - react: 18.3.1 - tslib: 2.8.1 - react-universal-interface@0.6.2(react@19.0.0)(tslib@2.8.1): dependencies: react: 19.0.0 tslib: 2.8.1 - react-use@17.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@types/js-cookie': 2.2.7 - '@xobotyi/scrollbar-width': 1.9.5 - copy-to-clipboard: 3.3.3 - fast-deep-equal: 3.1.3 - fast-shallow-equal: 1.0.0 - js-cookie: 2.2.1 - nano-css: 5.6.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - react-universal-interface: 0.6.2(react@18.3.1)(tslib@2.8.1) - resize-observer-polyfill: 1.5.1 - screenfull: 5.2.0 - set-harmonic-interval: 1.0.1 - throttle-debounce: 3.0.1 - ts-easing: 0.2.0 - tslib: 2.8.1 - react-use@17.5.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0): dependencies: '@types/js-cookie': 2.2.7 From ab3e1a2e5a8f0345fd909bf607b24db750065ac9 Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 9 Dec 2024 19:09:01 +0900 Subject: [PATCH 5/8] Ignore missing peer dependencies in workspace packages --- .github/workflows/release.yml | 21 +++++++++++++- packages/components/package.json | 33 ++++++++-------------- packages/editablelabel/package.json | 4 +-- packages/style-bulma/package.json | 16 +++++------ pnpm-lock.yaml | 43 +++++++++++++++-------------- 5 files changed, 63 insertions(+), 54 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c62419d..4c916330 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,10 +26,10 @@ jobs: wavebox, measure, treemap, - editablelabel, tab, biticon, physical-size, + editablelabel, components, style-bulma, ] @@ -69,7 +69,26 @@ jobs: built_dir=$(pwd) tempdir=$(mktemp -d) cd $tempdir + cat > package.json <", @@ -36,7 +36,7 @@ "react-use": "^17.5.1" }, "peerDependencies": { - "@kitsuyui/react-textfield": "workspace:^", + "@kitsuyui/react-textfield": "workspace:*", "react": "*", "react-dom": "*", "react-use": "*" diff --git a/packages/style-bulma/package.json b/packages/style-bulma/package.json index dce198b6..feaf600e 100644 --- a/packages/style-bulma/package.json +++ b/packages/style-bulma/package.json @@ -34,14 +34,14 @@ "react-dom": "^19.0.0" }, "peerDependencies": { - "@kitsuyui/react-clock": "workspace:^", - "@kitsuyui/react-dekamoji": "workspace:^", - "@kitsuyui/react-editablelabel": "workspace:^", - "@kitsuyui/react-measure": "workspace:^", - "@kitsuyui/react-stopwatch": "workspace:^", - "@kitsuyui/react-textfield": "workspace:^", - "@kitsuyui/react-timer": "workspace:^", - "@kitsuyui/react-treemap": "workspace:^", + "@kitsuyui/react-clock": "workspace:*", + "@kitsuyui/react-dekamoji": "workspace:*", + "@kitsuyui/react-editablelabel": "workspace:*", + "@kitsuyui/react-measure": "workspace:*", + "@kitsuyui/react-stopwatch": "workspace:*", + "@kitsuyui/react-textfield": "workspace:*", + "@kitsuyui/react-timer": "workspace:*", + "@kitsuyui/react-treemap": "workspace:*", "bulma": "*", "luxon": "*", "react": "*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fb14978d..3eda3573 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -243,40 +243,41 @@ importers: version: 17.5.1(react-dom@19.0.0(react@19.0.0))(react@19.0.0) packages/components: - devDependencies: + dependencies: '@kitsuyui/react-binary': - specifier: workspace:^ + specifier: workspace:* version: link:../binary '@kitsuyui/react-biticon': - specifier: workspace:^ + specifier: workspace:* version: link:../biticon '@kitsuyui/react-clock': - specifier: workspace:^ + specifier: workspace:* version: link:../clock '@kitsuyui/react-dekamoji': - specifier: workspace:^ + specifier: workspace:* version: link:../dekamoji '@kitsuyui/react-editablelabel': - specifier: workspace:^ + specifier: workspace:* version: link:../editablelabel '@kitsuyui/react-measure': - specifier: workspace:^ + specifier: workspace:* version: link:../measure '@kitsuyui/react-stopwatch': - specifier: workspace:^ + specifier: workspace:* version: link:../stopwatch '@kitsuyui/react-tab': - specifier: workspace:^ + specifier: workspace:* version: link:../tab '@kitsuyui/react-textfield': - specifier: workspace:^ + specifier: workspace:* version: link:../textfield '@kitsuyui/react-timer': - specifier: workspace:^ + specifier: workspace:* version: link:../timer '@kitsuyui/react-treemap': - specifier: workspace:^ + specifier: workspace:* version: link:../treemap + devDependencies: '@types/react': specifier: ^19.0.1 version: 19.0.1 @@ -317,7 +318,7 @@ importers: packages/editablelabel: dependencies: '@kitsuyui/react-textfield': - specifier: workspace:^ + specifier: workspace:* version: link:../textfield devDependencies: '@types/node': @@ -393,28 +394,28 @@ importers: packages/style-bulma: dependencies: '@kitsuyui/react-clock': - specifier: workspace:^ + specifier: workspace:* version: link:../clock '@kitsuyui/react-dekamoji': - specifier: workspace:^ + specifier: workspace:* version: link:../dekamoji '@kitsuyui/react-editablelabel': - specifier: workspace:^ + specifier: workspace:* version: link:../editablelabel '@kitsuyui/react-measure': - specifier: workspace:^ + specifier: workspace:* version: link:../measure '@kitsuyui/react-stopwatch': - specifier: workspace:^ + specifier: workspace:* version: link:../stopwatch '@kitsuyui/react-textfield': - specifier: workspace:^ + specifier: workspace:* version: link:../textfield '@kitsuyui/react-timer': - specifier: workspace:^ + specifier: workspace:* version: link:../timer '@kitsuyui/react-treemap': - specifier: workspace:^ + specifier: workspace:* version: link:../treemap bulma: specifier: '*' From a54642766e699d88206200ad6a1a0579dd0a2cec Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 9 Dec 2024 19:26:17 +0900 Subject: [PATCH 6/8] Fix release workflows to test deploy in dry-run mode --- .github/workflows/release.yml | 41 +++++++---------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c916330..6ddb1b11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,41 +59,16 @@ jobs: git config user.name "dummy" pnpm version from-git --allow-same-version --no-git-tag-version || true - - working-directory: packages/${{ matrix.package_name }} - run: pnpm pack - - - name: Test installation + - name: deploy + run: pnpm publish --access=public --no-git-checks --recursive working-directory: packages/${{ matrix.package_name }} - run: | - set -eu - built_dir=$(pwd) - tempdir=$(mktemp -d) - cd $tempdir - cat > package.json < Date: Mon, 9 Dec 2024 20:01:59 +0900 Subject: [PATCH 7/8] Fix jest config to resolve monorepo packages --- jest.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jest.config.ts b/jest.config.ts index fc6c54d4..c72ff1f5 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -19,6 +19,10 @@ export default { }, moduleNameMapper: { '^.+\\.(css|scss)$': 'identity-obj-proxy', + "@kitsuyui/react-textfield": "/packages/textfield/dist/", + "@kitsuyui/react-clock": "/packages/clock/dist/", + "@kitsuyui/react-stopwatch": "/packages/stopwatch/dist/", + "@kitsuyui/react-timer": "/packages/timer/dist/", }, collectCoverageFrom: ['packages/*/src/**/*.(tsx|ts)'], } From f062dfe14adec38ab6688693c79d284491a4c582 Mon Sep 17 00:00:00 2001 From: kitsuyui Date: Mon, 9 Dec 2024 20:06:13 +0900 Subject: [PATCH 8/8] Fix svg element key warning --- packages/measure/src/base.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/measure/src/base.tsx b/packages/measure/src/base.tsx index 39c0630b..4578dca5 100644 --- a/packages/measure/src/base.tsx +++ b/packages/measure/src/base.tsx @@ -62,9 +62,10 @@ export const MeasureBase = (props: { width: number, height: number, styles: Meas strokeDasharray={stroke.dasharray} /> { - lines.map((line) => ( - // biome-ignore lint/correctness/useJsxKeyInIterable: lines are always 4 items, so no need to add key + lines.map((line, index) => (