Skip to content

Commit a8b5055

Browse files
fix: add next apps to workspace
1 parent 6835348 commit a8b5055

File tree

5 files changed

+2316
-367
lines changed

5 files changed

+2316
-367
lines changed

apps/next-app-router/next-app-router-4000/prettier.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ module.exports = {
55
singleQuote: true,
66
// pnpm doesn't support plugin autoloading
77
// https://github.com/tailwindlabs/prettier-plugin-tailwindcss#installation
8-
// plugins: ['prettier-plugin-tailwindcss'],
8+
plugins: ['prettier-plugin-tailwindcss'],
99
};

apps/next-app-router/next-app-router-4001/prettier.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ module.exports = {
55
singleQuote: true,
66
// pnpm doesn't support plugin autoloading
77
// https://github.com/tailwindlabs/prettier-plugin-tailwindcss#installation
8-
// plugins: ['prettier-plugin-tailwindcss'],
8+
plugins: ['prettier-plugin-tailwindcss'],
99
};

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
"lint-fix": "nx format:write --uncommitted",
3333
"trigger-release": "node -e 'import(\"open\").then(open => open.default(\"https://github.com/module-federation/core/actions/workflows/trigger-release.yml\"))'",
3434
"serve:next": "nx run-many --target=serve --all --parallel=3 -exclude='*,!tag:nextjs'",
35+
"app:router:dev": "nx run-many --target=serve --parallel=10 --projects='router-*'",
36+
"app:next-router:dev": "nx run-many --target=serve --projects=next-app-router-4000,next-app-router-4001 --parallel",
3537
"serve:website": "nx run website-new:serve",
3638
"build:website": "nx run website-new:build",
3739
"extract-i18n:website": "nx run website:extract-i18n",
@@ -41,7 +43,6 @@
4143
"app:next:prod": "nx run-many --target=serve --configuration=production -p 3000-home,3001-shop,3002-checkout",
4244
"app:node:dev": "nx run-many --target=serve --parallel=10 --configuration=development -p node-host,node-local-remote,node-remote,node-dynamic-remote-new-version,node-dynamic-remote",
4345
"app:runtime:dev": "nx run-many --target=serve -p 3005-runtime-host,3006-runtime-remote,3007-runtime-remote",
44-
"app:router:dev": "nx run-many --target=serve --parallel=10 --projects='router-*'",
4546
"app:manifest:dev": "nx run-many --target=serve --configuration=development --parallel=100 -p modernjs,manifest-webpack-host,3009-webpack-provider,3010-rspack-provider,3011-rspack-manifest-provider,3012-rspack-js-entry-provider",
4647
"app:manifest:prod": "nx run-many --target=serve --configuration=production --parallel=100 -p modernjs,manifest-webpack-host,3009-webpack-provider,3010-rspack-provider,3011-rspack-manifest-provider,3012-rspack-js-entry-provider",
4748
"app:ts:dev": "nx run-many --target=serve -p react_ts_host,react_ts_nested_remote,react_ts_remote",

0 commit comments

Comments
 (0)