@schematics/angular 18.0.0-next.2 → 18.0.0-next.3
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": "18.0.0-next.
|
|
3
|
+
"version": "18.0.0-next.3",
|
|
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": "18.0.0-next.
|
|
26
|
-
"@angular-devkit/schematics": "18.0.0-next.
|
|
25
|
+
"@angular-devkit/core": "18.0.0-next.3",
|
|
26
|
+
"@angular-devkit/schematics": "18.0.0-next.3",
|
|
27
27
|
"jsonc-parser": "3.2.1"
|
|
28
28
|
},
|
|
29
29
|
"repository": {
|
|
@@ -20,12 +20,13 @@ export function app(): express.Express {
|
|
|
20
20
|
// Example Express Rest API endpoints
|
|
21
21
|
// server.get('/api/**', (req, res) => { });
|
|
22
22
|
// Serve static files from /<%= browserDistDirectory %>
|
|
23
|
-
server.get('
|
|
24
|
-
maxAge: '1y'
|
|
23
|
+
server.get('**', express.static(browserDistFolder, {
|
|
24
|
+
maxAge: '1y',
|
|
25
|
+
index: 'index.html',
|
|
25
26
|
}));
|
|
26
27
|
|
|
27
28
|
// All regular routes use the Angular engine
|
|
28
|
-
server.get('
|
|
29
|
+
server.get('**', (req, res, next) => {
|
|
29
30
|
const { protocol, originalUrl, baseUrl, headers } = req;
|
|
30
31
|
|
|
31
32
|
commonEngine
|
|
@@ -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: '^18.0.0-next.
|
|
19
|
-
AngularSSR: '^18.0.0-next.
|
|
18
|
+
DevkitBuildAngular: '^18.0.0-next.3',
|
|
19
|
+
AngularSSR: '^18.0.0-next.3',
|
|
20
20
|
};
|