chore(): Cleanup and organize deps (#13940)

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* Create lucky-poets-scream.md

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* chore(): Cleanup and organize deps

* dedupe snapshot this build

* split into 4 shard

* re configure packages integration tests

* re configure packages integration tests

* re configure packages integration tests

* re configure packages integration tests

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* update scripts

* reduce shard for packages
This commit is contained in:
Adrien de Peretti
2025-11-03 19:06:37 +01:00
committed by GitHub
parent cdbb4b925b
commit afb40d437b
83 changed files with 6898 additions and 11792 deletions

View File

@@ -21,37 +21,15 @@
"scripts": {
"build": "yarn build:bundles && yarn build:types",
"build:bundles": "rollup -c ./rollup.config.mjs",
"build:types": "tsc --emitDeclarationOnly",
"test": "vitest --run",
"test:watch": "vitest",
"test:coverage": "vitest --run --coverage",
"generate": "rimraf ./src/components && toolbox icons -o './src/components'"
"build:types": "yarn run -T tsc --emitDeclarationOnly",
"test": "../../../node_modules/.bin/vitest --run",
"test:watch": "../../../node_modules/.bin/vitest",
"test:coverage": "../../../node_modules/.bin/vitest --run --coverage",
"generate": "yarn run -T rimraf ./src/components && toolbox icons -o './src/components'"
},
"devDependencies": {
"@atomico/rollup-plugin-sizes": "^1.1.4",
"@medusajs/toolbox": "2.11.2",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-replace": "^5.0.2",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/jsdom": "^27.0.0",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.2.25",
"esbuild": "^0.25.0",
"eslint": "^8.40.0",
"jsdom": "^27.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^5.0.1",
"rollup": "^4.28.1",
"rollup-plugin-esbuild": "^5.0.0",
"rollup-plugin-ts": "^3.2.0",
"rollup-plugin-visualizer": "^5.9.2",
"typescript": "^5.6.2",
"vite": "^5.4.14",
"vitest": "^3.0.5"
"react": "^18.3.1"
},
"peerDependencies": {
"react": "^18.3.1"

View File

@@ -7,7 +7,7 @@
"author": "Kasper Kristensen <kasper@medusajs.com>",
"bin": "./bin/toolbox.js",
"scripts": {
"build": "tsup"
"build": "yarn run -T tsup"
},
"dependencies": {
"@svgr/core": "8.0.0",
@@ -21,13 +21,5 @@
"fs-extra": "^11.1.1",
"picocolors": "^1.1.0",
"ts-dedent": "2.2.0"
},
"devDependencies": {
"@types/fs-extra": "11.0.1",
"@types/react": "^18.3.2",
"eslint": "^8.40.0",
"react": "^18.3.1",
"tsup": "^8.4.0",
"typescript": "^5.6.2"
}
}

View File

@@ -19,7 +19,7 @@
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"scripts": {
"build": "tsup",
"build": "yarn run -T tsup",
"generate": "toolbox tokens -o './src/theme'"
},
"dependencies": {
@@ -31,9 +31,7 @@
},
"devDependencies": {
"@medusajs/toolbox": "2.11.2",
"tailwindcss": "^3.4.3",
"tsup": "^8.4.0",
"typescript": "^5.6.2"
"tailwindcss": "^3.4.3"
},
"publishConfig": {
"access": "public"

View File

@@ -30,55 +30,21 @@
],
"scripts": {
"build": "yarn clean && yarn build:js:cjs && yarn build:js:esm",
"build:js:cjs": "tsc --project tsconfig.cjs.json && tsc-alias -p tsconfig.cjs.json",
"build:js:esm": "tsc --project tsconfig.esm.json && tsc-alias -p tsconfig.esm.json",
"clean": "rimraf dist",
"test": "vitest --run",
"test:watch": "vitest",
"test:coverage": "vitest --run --coverage",
"build:js:cjs": "yarn run -T tsc --project tsconfig.cjs.json && yarn run -T tsc-alias -p tsconfig.cjs.json",
"build:js:esm": "yarn run -T tsc --project tsconfig.esm.json && yarn run -T tsc-alias -p tsconfig.esm.json",
"clean": "yarn run -T rimraf dist",
"test": "../../../node_modules/.bin/vitest --run",
"test:watch": "../../../node_modules/.bin/vitest",
"test:coverage": "../../../node_modules/.bin/vitest --run --coverage",
"lint": "eslint \"**/*.ts*\"",
"storybook": "storybook dev -p 6006",
"storybook:build": "storybook build",
"typecheck": "tsc --noEmit"
"typecheck": "yarn run -T tsc --noEmit"
},
"devDependencies": {
"@faker-js/faker": "^9.2.0",
"@medusajs/ui-preset": "2.11.2",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-interactions": "^8.3.5",
"@storybook/addon-links": "^8.3.5",
"@storybook/addon-styling": "^1.3.7",
"@storybook/blocks": "^8.3.5",
"@storybook/react": "^8.3.5",
"@storybook/react-vite": "^8.3.5",
"@storybook/testing-library": "^0.2.2",
"@testing-library/dom": "^9.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jsdom": "^27.0.0",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.2.25",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-v8": "^0.32.2",
"autoprefixer": "^10.4.19",
"chromatic": "^6.20.0",
"eslint": "^8.40.0",
"eslint-plugin-storybook": "^10.0.1",
"jsdom": "^27.1.0",
"postcss": "^8.4.38",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"resize-observer-polyfill": "^1.5.1",
"rimraf": "^5.0.1",
"storybook": "^8.3.5",
"tailwindcss": "^3.4.3",
"tsc-alias": "^1.8.7",
"typescript": "^5.6.2",
"vite": "^5.4.14",
"vite-plugin-turbosnap": "^1.0.2",
"vitest": "^3.0.5"
"react-dom": "^18.3.1"
},
"dependencies": {
"@dnd-kit/core": "^6.1.0",