Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[optimize] upgrade to StoryBook 8 & other latest Upstream packages #53

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
14 changes: 14 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { StorybookConfig } from "@storybook/react-vite";
import path from "path";
import remarkGfm from "remark-gfm";

import prettierConfig from "./prettier.config";

Expand All @@ -21,7 +22,20 @@ const config: StorybookConfig = {
},
},
},
{
name: "@storybook/addon-docs",
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm],
},
},
},
},
],
typescript: {
reactDocgen: "react-docgen-typescript",
},
framework: {
name: "@storybook/react-vite",
options: {},
Expand Down
60 changes: 31 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"types": "dist/index.d.ts",
"main": "dist/index.js",
"dependencies": {
"@editorjs/editorjs": "^2.30.6",
"@editorjs/editorjs": "^2.30.7",
"@editorjs/paragraph": "^2.11.6",
"@react-editor-js/core": "^2.1.0",
"@swc/helpers": "^0.5.13",
"@swc/helpers": "^0.5.15",
"classnames": "^2.5.1",
"editorjs-html": "^3.4.3",
"html2canvas": "^1.4.1",
Expand All @@ -38,7 +38,7 @@
"react-bootstrap": "^2.10.5",
"react-editor-js": "^2.1.0",
"react-element-to-jsx-string": "^15.0.0",
"web-utility": "^4.4.1"
"web-utility": "^4.4.2"
},
"peerDependencies": {
"react": ">=16",
Expand All @@ -47,54 +47,56 @@
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.25.9",
"@babel/preset-typescript": "^7.26.0",
"@eslint/compat": "^1.2.1",
"@eslint/js": "^9.13.0",
"@eslint/compat": "^1.2.3",
"@eslint/js": "~9.14.0",
"@microsoft/api-extractor": "^7.47.11",
"@parcel/config-default": "~2.12.0",
"@parcel/packager-ts": "~2.12.0",
"@parcel/transformer-less": "2.12.0",
"@parcel/transformer-typescript-tsc": "~2.12.0",
"@parcel/transformer-typescript-types": "~2.12.0",
"@parcel/config-default": "~2.13.0",
"@parcel/packager-ts": "~2.13.0",
"@parcel/transformer-less": "2.13.0",
"@parcel/transformer-typescript-tsc": "~2.13.0",
"@parcel/transformer-typescript-types": "~2.13.0",
"@softonus/prettier-plugin-duplicate-remover": "^1.0.1",
"@storybook/addon-console": "^3.0.0",
"@storybook/addon-essentials": "^7.6.20",
"@storybook/addon-interactions": "^7.6.20",
"@storybook/addon-links": "^7.6.20",
"@storybook/addon-storysource": "^7.6.20",
"@storybook/blocks": "^7.6.20",
"@storybook/react": "^7.6.20",
"@storybook/react-vite": "^7.6.20",
"@storybook/testing-library": "^0.2.2",
"@types/lodash": "^4.17.12",
"@types/node": "^20.17.1",
"@storybook/addon-docs": "^8.4.4",
"@storybook/addon-essentials": "^8.4.4",
"@storybook/addon-interactions": "^8.4.4",
"@storybook/addon-links": "^8.4.4",
"@storybook/addon-storysource": "^8.4.4",
"@storybook/blocks": "^8.4.4",
"@storybook/react": "^8.4.4",
"@storybook/react-vite": "^8.4.4",
"@storybook/test": "^8.4.4",
"@types/lodash": "^4.17.13",
"@types/node": "^20.17.6",
"@types/prismjs": "^1.26.5",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"eslint": "^9.13.0",
"eslint": "~9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^15.11.0",
"globals": "^15.12.0",
"husky": "^9.1.6",
"koapache": "^2.2.2",
"less": "^4.2.0",
"lint-staged": "^15.2.10",
"parcel": "~2.12.0",
"postcss-preset-env": "^10.0.8",
"parcel": "~2.13.0",
"postcss-preset-env": "^10.1.0",
"prettier": "^3.3.3",
"prettier-plugin-css-order": "^2.1.2",
"process": "^0.11.10",
"prop-types": "15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remark-gfm": "^4.0.0",
"rimraf": "^6.0.1",
"storybook": "^7.6.20",
"typedoc": "^0.26.10",
"typedoc-plugin-mdn-links": "^3.3.4",
"storybook": "^8.4.4",
"typedoc": "^0.26.11",
"typedoc-plugin-mdn-links": "^3.3.7",
"typescript": "~5.6.3",
"typescript-eslint": "^8.11.0",
"vite": "^5.4.10"
"typescript-eslint": "^8.14.0",
"vite": "^5.4.11"
},
"prettier": {
"singleQuote": true,
Expand Down
Loading
Loading