Skip to content

Commit 71a7e39

Browse files
create app-shell
1 parent 539c466 commit 71a7e39

File tree

4 files changed

+1326
-147
lines changed

4 files changed

+1326
-147
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,18 @@ It will show tasks that you can run with Nx.
6060
- [Join the community](https://nx.dev/community)
6161
- [Subscribe to the Nx Youtube Channel](https://www.youtube.com/@nxdevtools)
6262
- [Follow us on Twitter](https://twitter.com/nxdevtools)
63+
64+
## Follow This Article
65+
66+
Following this article:
67+
68+
https://medium.com/@disa2aka/building-modular-web-applications-a-guide-to-microfrontend-architecture-with-nx-and-angular-a5f0b397dce8
69+
70+
### Create app-shell
71+
72+
```shell
73+
npx nx generate @nrwl/angular:app apps/app-shell --style=scss --routing=true --e2eTestRunner=cypress --bundler=webpack --ssr=false
74+
```
75+
Run "nx show project app-shell" to view details about this project.
76+
77+

nx.json

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@
1010
"!{projectRoot}/tsconfig.spec.json",
1111
"!{projectRoot}/jest.config.[jt]s",
1212
"!{projectRoot}/src/test-setup.[jt]s",
13-
"!{projectRoot}/test-setup.[jt]s"
13+
"!{projectRoot}/test-setup.[jt]s",
14+
"!{projectRoot}/cypress/**/*",
15+
"!{projectRoot}/**/*.cy.[jt]s?(x)",
16+
"!{projectRoot}/cypress.config.[jt]s"
1417
],
1518
"sharedGlobals": ["{workspaceRoot}/.github/workflows/ci.yml"]
1619
},
@@ -51,5 +54,22 @@
5154
"unitTestRunner": "jest"
5255
}
5356
},
54-
"nxCloudAccessToken": "OGNiYzVlMDktZjY1Zi00NGI2LTg4Y2EtNTI5NzBjYTdjYjgwfHJlYWQtd3JpdGU="
57+
"nxCloudAccessToken": "OGNiYzVlMDktZjY1Zi00NGI2LTg4Y2EtNTI5NzBjYTdjYjgwfHJlYWQtd3JpdGU=",
58+
"plugins": [
59+
{
60+
"plugin": "@nx/cypress/plugin",
61+
"options": {
62+
"targetName": "e2e",
63+
"openTargetName": "open-cypress",
64+
"componentTestingTargetName": "component-test",
65+
"ciTargetName": "e2e-ci"
66+
}
67+
},
68+
{
69+
"plugin": "@nx/eslint/plugin",
70+
"options": {
71+
"targetName": "eslint:lint"
72+
}
73+
}
74+
]
5575
}

0 commit comments

Comments
 (0)