[migrate] upgrade to StoryBook 8 with Parcel 2#53
Conversation
[fix] React base class of MobX components
[optimize] upgrade to PNPM v9 & other latest Upstream packages
[fix] ESM path extension for Vite [optimize] update Upstream packages
| find: 'react/jsx-runtime', | ||
| replacement: 'react/jsx-runtime.js' | ||
| }, | ||
| { find: /^(react-dom\/.+)/, replacement: '$1.js' }, |
There was a problem hiding this comment.
This line has a similar bug in Development environment: storybookjs/storybook#24903 (comment)
There was a problem hiding this comment.
The vite.config.ts file (and its dev environment alias bug) was resolved by the subsequent commit migrating from Vite to Parcel (980874e). The Parcel-based setup doesn't require those .js extension aliases.
[optimize] upgrade to Node.js 22 & other latest Upstream packages
[optimize] use TS for ESLint configuration [optimize] upgrade to PNPM 10, React 19 & other latest Upstream packages
|
@copilot 将本分支的依赖升级到最新后,解决构建失败的 bug。 |
- Override .storybook/.parcelrc to use @parcel/transformer-typescript-tsc for TypeScript files (fixes Stage 3 decorator support) - Patch @parcel/resolver-storybook@0.0.0 for React 19 compatibility (react-dom/client.js → react-dom/client for React 19+) - Patch @mdx-js/react@3.1.0 to add back mdx compatibility shim (needed by @parcel/transformer-mdx@2.13.3) Agent-Logs-Url: https://github.com/idea2app/Idea-React/sessions/faacf000-63b8-4a64-b539-9ab698c7375b
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Added a "Patches" section to the README in d4f3326 explaining the reason for each Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
…es docs Agent-Logs-Url: https://github.com/idea2app/Idea-React/sessions/0418a137-09ab-48fc-8d18-6e905bf9394b Co-authored-by: TechQuery <19969570+TechQuery@users.noreply.github.com>
|
Replaced with #63 |
Uh oh!
There was an error while loading. Please reload this page.