@schematics/angular 19.0.0 → 19.0.2
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 +3 -3
- package/ssr/index.js +5 -0
- package/utility/latest-versions.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.2",
|
|
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.0.
|
|
26
|
-
"@angular-devkit/schematics": "19.0.
|
|
25
|
+
"@angular-devkit/core": "19.0.2",
|
|
26
|
+
"@angular-devkit/schematics": "19.0.2",
|
|
27
27
|
"jsonc-parser": "3.3.1"
|
|
28
28
|
},
|
|
29
29
|
"packageManager": "yarn@4.5.0",
|
package/ssr/index.js
CHANGED
|
@@ -360,6 +360,11 @@ async function isServerRoutingEnabled(isUsingApplicationBuilder, options) {
|
|
|
360
360
|
if (!(0, tty_1.isTTY)()) {
|
|
361
361
|
return serverRoutingDefault;
|
|
362
362
|
}
|
|
363
|
+
// `inquirer` requires `async_hooks` which isn't supported by webcontainers, therefore we can't prompt in that context.
|
|
364
|
+
// See: https://github.com/SBoudrias/Inquirer.js/issues/1426
|
|
365
|
+
if (process.versions.webcontainer) {
|
|
366
|
+
return serverRoutingDefault;
|
|
367
|
+
}
|
|
363
368
|
// Prompt the user if in an interactive terminal and no option was provided.
|
|
364
369
|
return await prompt('Would you like to use the Server Routing and App Engine APIs (Developer Preview) for this server application?',
|
|
365
370
|
/* defaultValue */ serverRoutingDefault);
|
|
@@ -15,6 +15,6 @@ exports.latestVersions = {
|
|
|
15
15
|
...dependencies,
|
|
16
16
|
// As Angular CLI works with same minor versions of Angular Framework, a tilde match for the current
|
|
17
17
|
Angular: dependencies['@angular/core'],
|
|
18
|
-
DevkitBuildAngular: '^19.0.
|
|
19
|
-
AngularSSR: '^19.0.
|
|
18
|
+
DevkitBuildAngular: '^19.0.2',
|
|
19
|
+
AngularSSR: '^19.0.2',
|
|
20
20
|
};
|