Skip to content

Commit

Permalink
make the next-app works with workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Feb 22, 2024
1 parent b6f3ed3 commit d17ab03
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 163 deletions.
1 change: 0 additions & 1 deletion apps/zero-runtime-next-app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ const nextConfig = {
typescript: {
ignoreBuildErrors: true,
},
transpilePackages: ['@mui/material'],
};

module.exports = withZeroPlugin(nextConfig, zeroPluginOptions);
13 changes: 7 additions & 6 deletions apps/zero-runtime-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@
"clean": "rimraf .next"
},
"dependencies": {
"@mui/system": "file:../../packages/mui-system/build",
"@mui/utils": "file:../../packages/mui-utils/build",
"@mui/zero-runtime": "file:../../packages/zero-runtime",
"@mui/material": "file:../../packages/mui-material/build",
"@mui/zero-runtime": "workspace:^",
"@mui/utils": "workspace:^",
"@mui/base": "workspace:^",
"@mui/material": "workspace:^",
"@mui/system": "workspace:^",
"@mui/material-nextjs": "workspace:^",
"@mui/icons-material": "file:../../packages/mui-icons-material/build",
"@mui/icons-material": "workspace:^",
"@emotion/cache": "latest",
"local-ui-lib": "workspace:^",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"next": "latest"
},
"devDependencies": {
"@mui/zero-next-plugin": "file:../../packages/zero-next-plugin",
"@mui/zero-next-plugin": "workspace:^",
"@types/node": "^20.5.7",
"@types/react": "^18.2.55",
"@types/react-dom": "^18.2.19",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
"@mui/joy": "workspace:*",
"@mui/material": "workspace:^",
"@mui/utils": "workspace:^",
"@mui/zero-runtime": "workspace:^",
"@next/eslint-plugin-next": "^14.1.0",
"@octokit/rest": "^20.0.2",
"@playwright/test": "1.41.2",
Expand Down
185 changes: 29 additions & 156 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d17ab03

Please sign in to comment.