@nx/angular-rspack 20.7.0-beta.0 → 20.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+

|
|
1
2
|
<div style="text-align: center;">
|
|
2
3
|
|
|
3
4
|
# @nx/angular-rspack
|
|
@@ -13,3 +14,43 @@
|
|
|
13
14
|
# Build Angular with Rspack
|
|
14
15
|
|
|
15
16
|
The goal of `@nx/angular-rspack` is to make easy and straightforward to build Angular applications with [rspack](https://rspack.dev).
|
|
17
|
+
|
|
18
|
+
## Getting Started
|
|
19
|
+
|
|
20
|
+
### Step 1: Create a new Nx Workspace with Angular Rspack Application
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npx create-nx-workspace myorg
|
|
24
|
+
|
|
25
|
+
NX Let's create a new workspace [[https://nx.dev/getting-started/intro](https://nx.dev/getting-started/intro)]
|
|
26
|
+
✔ Which stack do you want to use? · angular
|
|
27
|
+
✔ Integrated monorepo, or standalone project? · integrated
|
|
28
|
+
✔ Application name · myorg
|
|
29
|
+
✔ Which bundler would you like to use? · rspack
|
|
30
|
+
✔ Default stylesheet format · css
|
|
31
|
+
✔ Do you want to enable Server-Side Rendering (SSR)? · No
|
|
32
|
+
✔ Which unit test runner would you like to use? · vitest
|
|
33
|
+
✔ Test runner to use for end to end (E2E) tests · playwright
|
|
34
|
+
✔ Which CI provider would you like to use? · skip
|
|
35
|
+
✔ Would you like remote caching to make your build faster? · skip
|
|
36
|
+
NX Creating your v20.8.0 workspace.
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Step 2: Run Build and Serve commands
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx nx build myorg
|
|
43
|
+
npx nx serve myorg
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Documentation and Resources
|
|
48
|
+
|
|
49
|
+
- [Read the Angular Rspack Documentation](https://nx.dev/recipes/angular/rspack/introduction)
|
|
50
|
+
- [Nx.Dev: Documentation, Guides, Tutorials](https://nx.dev)
|
|
51
|
+
- [Intro to Nx](https://nx.dev/getting-started/intro)
|
|
52
|
+
- [Official Nx YouTube Channel](https://www.youtube.com/@NxDevtools)
|
|
53
|
+
- [Blog Posts About Nx](https://nx.dev/blog)
|
|
54
|
+
|
|
55
|
+
<p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
|
|
56
|
+
width="100%" alt="Nx - Smart Monorepos · Fast CI"></a></p>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular-rspack",
|
|
3
|
-
"version": "20.7.0
|
|
3
|
+
"version": "20.7.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"tslib": "^2.3.0",
|
|
60
60
|
"webpack-merge": "^6.0.1",
|
|
61
61
|
"ws": "^8.18.0",
|
|
62
|
-
"@nx/angular-rspack-compiler": "20.7.0
|
|
62
|
+
"@nx/angular-rspack-compiler": "20.7.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"@ng-rspack/testing-setup": "0.0.1"
|