@angular/ssr 19.1.0-rc.0 → 19.1.1
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": "@angular/ssr",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.1",
|
|
4
4
|
"description": "Angular server side rendering utilities",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/angular/angular-cli",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"@angular/common": "^19.0.0
|
|
20
|
-
"@angular/core": "^19.0.0
|
|
21
|
-
"@angular/platform-server": "^19.0.0
|
|
22
|
-
"@angular/router": "^19.0.0
|
|
19
|
+
"@angular/common": "^19.0.0",
|
|
20
|
+
"@angular/core": "^19.0.0",
|
|
21
|
+
"@angular/platform-server": "^19.0.0",
|
|
22
|
+
"@angular/router": "^19.0.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependenciesMeta": {
|
|
25
25
|
"@angular/platform-server": {
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adds Server-Side Rendering (SSR) capabilities to an existing Angular application. SSR
|
|
3
|
+
* allows your app to be rendered on the server, leading to faster initial load times and
|
|
4
|
+
* improved SEO. This schematic modifies your project to enable SSR, sets up the necessary
|
|
5
|
+
* configurations, and installs the required dependencies.
|
|
6
|
+
*/
|
|
1
7
|
export interface Schema {
|
|
2
8
|
/**
|
|
3
|
-
* The name of the project.
|
|
9
|
+
* The name of the project you want to enable SSR for. If not specified, the CLI will
|
|
10
|
+
* determine the project from the current directory.
|
|
4
11
|
*/
|
|
5
12
|
project: string;
|
|
6
13
|
/**
|
|
7
|
-
*
|
|
8
|
-
* Preview).
|
|
14
|
+
* Configure the server application to use the Angular Server Routing API and App Engine
|
|
15
|
+
* APIs (currently in Developer Preview).
|
|
9
16
|
*/
|
|
10
17
|
serverRouting?: boolean;
|
|
11
18
|
/**
|
|
12
|
-
* Skip
|
|
19
|
+
* Skip the automatic installation of packages. You will need to manually install the
|
|
20
|
+
* dependencies later.
|
|
13
21
|
*/
|
|
14
22
|
skipInstall?: boolean;
|
|
15
23
|
}
|
|
@@ -3,21 +3,22 @@
|
|
|
3
3
|
"$id": "SchematicsAngularNgAddSSR",
|
|
4
4
|
"title": "Angular SSR Options Schema",
|
|
5
5
|
"type": "object",
|
|
6
|
+
"description": "Adds Server-Side Rendering (SSR) capabilities to an existing Angular application. SSR allows your app to be rendered on the server, leading to faster initial load times and improved SEO. This schematic modifies your project to enable SSR, sets up the necessary configurations, and installs the required dependencies.",
|
|
6
7
|
"properties": {
|
|
7
8
|
"project": {
|
|
8
9
|
"type": "string",
|
|
9
|
-
"description": "The name of the project.",
|
|
10
|
+
"description": "The name of the project you want to enable SSR for. If not specified, the CLI will determine the project from the current directory.",
|
|
10
11
|
"$default": {
|
|
11
12
|
"$source": "projectName"
|
|
12
13
|
}
|
|
13
14
|
},
|
|
14
15
|
"skipInstall": {
|
|
15
|
-
"description": "Skip
|
|
16
|
+
"description": "Skip the automatic installation of packages. You will need to manually install the dependencies later.",
|
|
16
17
|
"type": "boolean",
|
|
17
18
|
"default": false
|
|
18
19
|
},
|
|
19
20
|
"serverRouting": {
|
|
20
|
-
"description": "
|
|
21
|
+
"description": "Configure the server application to use the Angular Server Routing API and App Engine APIs (currently in Developer Preview).",
|
|
21
22
|
"type": "boolean"
|
|
22
23
|
}
|
|
23
24
|
},
|