@schematics/angular 19.2.20 → 19.2.22
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.22",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"homepage": "https://github.com/angular/angular-cli",
|
|
6
6
|
"keywords": [
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"schematics": "./collection.json",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@angular-devkit/core": "19.2.
|
|
26
|
-
"@angular-devkit/schematics": "19.2.
|
|
25
|
+
"@angular-devkit/core": "19.2.22",
|
|
26
|
+
"@angular-devkit/schematics": "19.2.22",
|
|
27
27
|
"jsonc-parser": "3.3.1"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
@@ -15,7 +15,9 @@ export function app(): express.Express {
|
|
|
15
15
|
? join(distFolder, 'index.original.html')
|
|
16
16
|
: join(distFolder, 'index.html');
|
|
17
17
|
|
|
18
|
-
const commonEngine = new CommonEngine(
|
|
18
|
+
const commonEngine = new CommonEngine({
|
|
19
|
+
allowedHosts: [/* Configure your hosts here */]
|
|
20
|
+
});
|
|
19
21
|
|
|
20
22
|
server.set('view engine', 'html');
|
|
21
23
|
server.set('views', distFolder);
|
package/ssr/index.js
CHANGED
|
@@ -173,6 +173,10 @@ function updateApplicationBuilderWorkspaceConfigRule(projectSourceRoot, options,
|
|
|
173
173
|
}
|
|
174
174
|
buildTarget.options = {
|
|
175
175
|
...buildTarget.options,
|
|
176
|
+
security: {
|
|
177
|
+
...(buildTarget.options?.security ?? {}),
|
|
178
|
+
allowedHosts: [],
|
|
179
|
+
},
|
|
176
180
|
outputPath,
|
|
177
181
|
outputMode: options.serverRouting ? 'server' : undefined,
|
|
178
182
|
prerender: options.serverRouting ? undefined : true,
|
|
@@ -16,7 +16,7 @@ exports.latestVersions = {
|
|
|
16
16
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
17
17
|
Angular: '^19.2.0',
|
|
18
18
|
NgPackagr: '^19.2.0',
|
|
19
|
-
DevkitBuildAngular: '^19.2.
|
|
20
|
-
AngularBuild: '^19.2.
|
|
21
|
-
AngularSSR: '^19.2.
|
|
19
|
+
DevkitBuildAngular: '^19.2.22',
|
|
20
|
+
AngularBuild: '^19.2.22',
|
|
21
|
+
AngularSSR: '^19.2.22',
|
|
22
22
|
};
|