Skip to content

Commit c43d9c3

Browse files
Update dependency @ngtools/webpack, update README.md (module-federation#89)
* apps created * added universal express-engine * git add * ci * added local gitignore, patched packages * added local gitignore, patched packages * Host-app build works * client web build works * client server build * Both server and browser build OK * Add Lerna configs * Add HomeComponent * Style fix * Optimize imports * Refactoring * Style fixes, readme * Small fixes * fix ngtools/webpack * Update README.md * yarn.lock
1 parent 16cb5fa commit c43d9c3

File tree

5 files changed

+3200
-421
lines changed

5 files changed

+3200
-421
lines changed

angular-universal-ssr/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Run `yarn start`. This will build and serve both `host` and `client` on ports 40
99
- [localhost:4000](http://localhost:4000/) – Angular host-app with SSR
1010
- [localhost:5000](http://localhost:5000/) – Standalone client app
1111

12+
note: If you are running this example for the first time, run `ngcc` at the repo root before start.
13+
1214
## Known issues
1315

1416
- Hot reloading – work in progress

angular-universal-ssr/client-app/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@
2828
"zone.js": "~0.10.2"
2929
},
3030
"devDependencies": {
31-
"@angular-devkit/build-angular": "0.901.7",
32-
"@angular/cli": "9.1.7",
33-
"@angular/compiler-cli": "9.1.9",
31+
"@angular-devkit/build-angular": "~0.901.7",
32+
"@angular/cli": "~9.1.7",
33+
"@angular/compiler-cli": "~9.1.9",
3434
"@ngtools/webpack": "file:../patched_packages/_ngtools_webpack.tgz",
35-
"@types/node": "12.12.42",
36-
"clean-webpack-plugin": "3.0.0",
35+
"@types/node": "^12.11.1",
36+
"clean-webpack-plugin": "^3.0.0",
3737
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
38-
"raw-loader": "4.0.1",
39-
"sass-loader": "8.0.2",
40-
"ts-node": "8.10.2",
41-
"tslint": "6.1.2",
42-
"typescript": "3.9.3",
38+
"raw-loader": "^4.0.1",
39+
"sass-loader": "^8.0.2",
40+
"ts-node": "~8.3.0",
41+
"tslint": "~6.1.0",
42+
"typescript": "~3.8.3",
4343
"webpack": "file:../patched_packages/webpack-5.0.0-beta.16.tgz",
44-
"webpack-cli": "3.3.11"
44+
"webpack-cli": "^3.3.11"
4545
}
4646
}

angular-universal-ssr/host-app/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@
3232
"zone.js": "~0.10.2"
3333
},
3434
"devDependencies": {
35-
"@angular-devkit/build-angular": "0.901.7",
36-
"@angular/cli": "9.1.7",
37-
"@angular/compiler-cli": "9.1.9",
35+
"@angular-devkit/build-angular": "~0.901.7",
36+
"@angular/cli": "~9.1.7",
37+
"@angular/compiler-cli": "~9.1.9",
3838
"@ngtools/webpack": "file:../patched_packages/_ngtools_webpack.tgz",
39-
"@nguniversal/builders": "9.1.1",
40-
"@types/express": "4.17.6",
41-
"@types/node": "12.12.42",
42-
"clean-webpack-plugin": "3.0.0",
39+
"@nguniversal/builders": "^9.1.1",
40+
"@types/express": "^4.17.0",
41+
"@types/node": "^12.11.1",
42+
"clean-webpack-plugin": "^3.0.0",
4343
"html-webpack-plugin": "git://github.com/ScriptedAlchemy/html-webpack-plugin#master",
44-
"raw-loader": "4.0.1",
45-
"sass-loader": "8.0.2",
46-
"ts-node": "8.10.2",
47-
"tslint": "6.1.2",
48-
"typescript": "3.9.3",
44+
"raw-loader": "^4.0.1",
45+
"sass-loader": "^8.0.2",
46+
"ts-node": "~8.3.0",
47+
"tslint": "~6.1.0",
48+
"typescript": "~3.8.3",
4949
"webpack": "file:../patched_packages/webpack-5.0.0-beta.16.tgz",
50-
"webpack-cli": "3.3.11"
50+
"webpack-cli": "^3.3.11"
5151
}
5252
}
-44 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)