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

enable pnpm symlink to fix memory vite build memory issue #2497

Merged
merged 1 commit into from
Mar 17, 2023
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
1 change: 0 additions & 1 deletion packages/webapp/.npmrc
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
node-linker=hoisted
16 changes: 7 additions & 9 deletions packages/webapp/.storybook/preview.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,13 @@ export const decorators = [
{ useSuspense: false },
);
return (
<Suspense fallback={<p>Loading...</p>}>
<Provider store={store}>
<ThemeProvider theme={theme}>
<GlobalScss />
<CssBaseline />
<Story />
</ThemeProvider>
</Provider>
</Suspense>
<Provider store={store}>
<ThemeProvider theme={theme}>
<GlobalScss />
<CssBaseline />
<Story />
</ThemeProvider>
</Provider>
);
},
];
23 changes: 14 additions & 9 deletions packages/webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "CYPRESS_COVERAGE=TRUE vite --host",
"build": "NODE_OPTIONS=--max_old_space_size=32768 tsc && vite build",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint src",
"i18n": "npx i18next 'src/**/*.{js,jsx,ts,tsx}' -c 'src/locales/i18next-parser.config.js'",
Expand Down Expand Up @@ -78,17 +78,22 @@
"@emotion/babel-plugin": "^11.10.5",
"@mdx-js/react": "^1.6.22",
"@mdx-js/rollup": "^2.3.0",
"@storybook/addon-a11y": "^7.0.0-beta.45",
"@storybook/addon-actions": "^7.0.0-beta.45",
"@storybook/addon-essentials": "^7.0.0-beta.45",
"@storybook/addon-interactions": "^7.0.0-beta.45",
"@storybook/addon-links": "^7.0.0-beta.45",
"@storybook/react": "^7.0.0-beta.45",
"@storybook/react-vite": "^7.0.0-beta.45",
"@storybook/addon-a11y": "^7.0.0-rc.4",
"@storybook/addon-actions": "^7.0.0-rc.4",
"@storybook/addon-docs": "7.0.0-rc.4",
"@storybook/addon-essentials": "^7.0.0-rc.4",
"@storybook/addon-interactions": "^7.0.0-rc.4",
"@storybook/addon-links": "^7.0.0-rc.4",
"@storybook/addon-mdx-gfm": "^7.0.0-rc.4",
"@storybook/addon-viewport": "7.0.0-rc.4",
"@storybook/react": "^7.0.0-rc.4",
"@storybook/react-vite": "^7.0.0-rc.4",
"@storybook/testing-library": "^0.0.14-next.1",
"@types/d3": "^7.4.0",
"@types/prop-types": "^15.7.5",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"@types/react-redux": "^7.1.25",
"@typescript-eslint/parser": "^5.45.0",
"@vitejs/plugin-react": "^3.1.0",
"babel-loader": "^8.3.0",
Expand All @@ -108,7 +113,7 @@
"mailparser": "^3.5.0",
"nodemailer": "^6.8.0",
"sass": "^1.56.1",
"storybook": "^7.0.0-beta.45",
"storybook": "^7.0.0-rc.4",
"typescript": "^4.9.5",
"vite": "^4.1.1",
"vite-plugin-istanbul": "^4.0.0",
Expand Down
Loading