@nx/angular-rspack 21.1.0 → 21.4.0-beta.9
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/LICENSE +18 -17
- package/README.md +66 -13
- package/README.md__tpl__ +50 -0
- package/dist/lib/config/config-utils/common-config.js +1 -1
- package/dist/lib/config/config-utils/style-config-utils.d.ts.map +1 -1
- package/dist/lib/config/config-utils/style-config-utils.js +4 -3
- package/dist/lib/config/config-utils/user-defined-config-helpers.d.ts.map +1 -1
- package/dist/lib/config/create-config.d.ts.map +1 -1
- package/dist/lib/config/create-config.js +1 -1
- package/dist/lib/models/angular-rspack-plugin-options.d.ts +3 -3
- package/dist/lib/models/angular-rspack-plugin-options.d.ts.map +1 -1
- package/dist/lib/models/i18n.js +3 -1
- package/dist/lib/models/normalize-options.d.ts.map +1 -1
- package/dist/lib/models/normalize-options.js +13 -3
- package/dist/lib/plugins/angular-rspack-plugin.d.ts.map +1 -1
- package/dist/lib/plugins/angular-rspack-plugin.js +53 -53
- package/dist/lib/plugins/angular-ssr-dev-server.js +25 -22
- package/dist/lib/plugins/any-component-style-budget-checker-plugin.js +0 -1
- package/dist/lib/plugins/client/ssr-reload-client.js +0 -1
- package/dist/lib/plugins/i18n-inline-plugin.d.ts.map +1 -1
- package/dist/lib/plugins/i18n-inline-plugin.js +132 -125
- package/dist/lib/plugins/index-html-plugin.js +0 -2
- package/dist/lib/plugins/ng-rspack.d.ts.map +1 -1
- package/dist/lib/plugins/ng-rspack.js +3 -5
- package/dist/lib/plugins/prerender-plugin.d.ts.map +1 -1
- package/dist/lib/plugins/prerender-plugin.js +159 -162
- package/dist/lib/plugins/server/ssr-reload-server.js +8 -5
- package/dist/lib/plugins/stats-json-plugin.js +0 -1
- package/dist/lib/plugins/tools/render-worker.d.ts.map +1 -1
- package/dist/lib/plugins/tools/render-worker.js +3 -1
- package/dist/lib/plugins/tools/routes-extractor-worker.d.ts +1 -1
- package/dist/lib/plugins/tools/routes-extractor-worker.d.ts.map +1 -1
- package/dist/lib/plugins/tools/routes-extractor-worker.js +3 -1
- package/dist/lib/utils/postcss-configuration.d.ts.map +1 -1
- package/dist/lib/utils/postcss-configuration.js +4 -1
- package/dist/lib/utils/spinner.js +7 -6
- package/dist/lib/utils/stats.d.ts.map +1 -1
- package/dist/lib/utils/stats.js +2 -1
- package/package.json +46 -17
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/angular-rspack",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.4.0-beta.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"description": "Rspack Plugin and Loaders for building Angular.",
|
|
9
|
-
"author": "
|
|
9
|
+
"author": "Victor Savkin",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/nrwl/
|
|
12
|
+
"url": "https://github.com/nrwl/nx/issues"
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "https://github.com/nrwl/
|
|
16
|
+
"url": "https://github.com/nrwl/nx.git",
|
|
17
17
|
"directory": "packages/angular-rspack"
|
|
18
18
|
},
|
|
19
19
|
"keywords": [
|
|
@@ -47,7 +47,6 @@
|
|
|
47
47
|
"@ampproject/remapping": "2.3.0",
|
|
48
48
|
"@babel/core": "7.26.10",
|
|
49
49
|
"@discoveryjs/json-ext": "0.6.3",
|
|
50
|
-
"@nx/devkit": "21.0.0",
|
|
51
50
|
"ansi-colors": "4.1.3",
|
|
52
51
|
"autoprefixer": "10.4.21",
|
|
53
52
|
"deepmerge": "^4.3.1",
|
|
@@ -63,26 +62,25 @@
|
|
|
63
62
|
"postcss": "8.5.3",
|
|
64
63
|
"postcss-loader": "8.1.1",
|
|
65
64
|
"resolve-url-loader": "^5.0.0",
|
|
65
|
+
"sass": "1.89.2",
|
|
66
66
|
"sass-embedded": "^1.79.3",
|
|
67
67
|
"sass-loader": "^16.0.2",
|
|
68
68
|
"source-map-loader": "^5.0.0",
|
|
69
69
|
"tslib": "^2.3.0",
|
|
70
70
|
"webpack-merge": "^6.0.1",
|
|
71
71
|
"ws": "^8.18.0",
|
|
72
|
-
"@nx/angular-rspack-compiler": "21.
|
|
72
|
+
"@nx/angular-rspack-compiler": "21.4.0-beta.9",
|
|
73
|
+
"@nx/devkit": "0.0.1"
|
|
73
74
|
},
|
|
74
75
|
"devDependencies": {
|
|
75
|
-
"
|
|
76
|
-
"@code-pushup/utils": "^0.63.0",
|
|
77
|
-
"jsonc-eslint-parser": "^2.4.0",
|
|
78
|
-
"@ng-rspack/testing-setup": "0.0.1"
|
|
76
|
+
"jsonc-eslint-parser": "^2.4.0"
|
|
79
77
|
},
|
|
80
78
|
"peerDependencies": {
|
|
81
79
|
"@angular/build": ">=19.0.0 <21.0.0",
|
|
82
80
|
"@angular/localize": ">=19.0.0 <21.0.0",
|
|
83
81
|
"@angular/platform-server": ">=19.0.0 <21.0.0",
|
|
84
82
|
"zone.js": ">=0.14.0 <0.16.0",
|
|
85
|
-
"@angular/ssr": ">=19.0.0 <
|
|
83
|
+
"@angular/ssr": ">=19.0.0 <21.0.0",
|
|
86
84
|
"@rspack/core": ">=1.3.5 <2.0.0",
|
|
87
85
|
"tailwindcss": "^2.0.0 || ^3.0.0 || ^4.0.0"
|
|
88
86
|
},
|
|
@@ -104,14 +102,45 @@
|
|
|
104
102
|
"name": "angular-rspack",
|
|
105
103
|
"sourceRoot": "packages/angular-rspack/src",
|
|
106
104
|
"projectType": "library",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
|
|
105
|
+
"release": {
|
|
106
|
+
"version": {
|
|
107
|
+
"preserveLocalDependencyProtocols": true,
|
|
108
|
+
"manifestRootsToUpdate": [
|
|
109
|
+
"packages/{projectName}"
|
|
110
|
+
]
|
|
111
|
+
}
|
|
112
|
+
},
|
|
110
113
|
"targets": {
|
|
111
|
-
"
|
|
112
|
-
|
|
114
|
+
"build": {
|
|
115
|
+
"command": "node ./scripts/copy-readme.js angular-rspack packages/angular-rspack/README.md__tpl__ packages/angular-rspack/README.md",
|
|
116
|
+
"outputs": [
|
|
117
|
+
"{projectRoot}/README.md"
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
"test": {
|
|
121
|
+
"dependsOn": [
|
|
122
|
+
"build",
|
|
123
|
+
"^build-native",
|
|
124
|
+
"angular-rspack-compiler:build"
|
|
125
|
+
],
|
|
126
|
+
"inputs": [
|
|
127
|
+
"default",
|
|
128
|
+
"^production",
|
|
129
|
+
"{projectRoot}/vitest.config.mts"
|
|
130
|
+
],
|
|
131
|
+
"options": {
|
|
132
|
+
"args": [
|
|
133
|
+
"--passWithNoTests"
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"nx-release-publish": {
|
|
138
|
+
"executor": "@nx/js:release-publish",
|
|
139
|
+
"options": {
|
|
140
|
+
"packageRoot": "packages/angular-rspack"
|
|
141
|
+
},
|
|
113
142
|
"dependsOn": [
|
|
114
|
-
"
|
|
143
|
+
"^nx-release-publish"
|
|
115
144
|
]
|
|
116
145
|
}
|
|
117
146
|
}
|