Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/weak-glasses-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ljcl/storybook-addon-cssprops": major
---

Storybook is now ESM only and as a result support for Storybook 9 and below has been dropped.
6 changes: 3 additions & 3 deletions packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
},
"devDependencies": {
"@ljcl/storybook-addon-cssprops": "workspace:*",
"@storybook/addon-docs": "^9.0.18",
"@storybook/react-vite": "^9.0.18",
"@storybook/addon-docs": "^10.0.8",
"@storybook/react-vite": "^10.0.8",
"rimraf": "^6.0.1",
"storybook": "^9.0.18"
"storybook": "^10.0.8"
},
"scripts": {
"dev": "pnpm storybook",
Expand Down
13 changes: 5 additions & 8 deletions packages/storybook-addon-cssprops/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "5.0.2",
"description": "Interact with css custom properties dynamically in the Storybook UI",
"keywords": [
"storybook-addons",
"storybook-addon",
"style",
"design",
"CSS",
Expand All @@ -16,7 +16,6 @@
"repository": "https://github.com/ljcl/storybook-addon-cssprops.git",
"author": "Luke Clark <luke@lukeclark.com.au>",
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
Expand All @@ -42,24 +41,22 @@
]
},
"devDependencies": {
"@storybook/addon-docs": "^9.0.18",
"@storybook/addon-docs": "^10.0.8",
"@types/node": "^22.16.5",
"@types/react": "^19.1.8",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"storybook": "^9.0.18",
"storybook": "^10.0.8",
"typescript": "^5.8.3"
},
"peerDependencies": {
"storybook": "^9.0.0"
"storybook": "^10.0.0"
},
"scripts": {
"dev": "tsc --watch --preserveWatchOutput",
"build": "pnpm build:esm && pnpm build:cjs",
"build:esm": "tsc",
"build": "tsc",
"lint": "eslint src",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"clean": "rimraf .turbo && rimraf dist",
"prepublishOnly": "pnpm run clean && cp ../../README.md ./ && cp -r ../../assets ./ && pnpm build"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook-addon-cssprops/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"lib": ["dom", "dom.iterable", "esnext"],
"target": "ES5",
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "bundler",
"jsx": "react",
"declaration": true,
"outDir": "dist/esm",
Expand Down
Loading