@angular-devkit/core 14.1.0-rc.3 → 14.1.0
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-devkit/core",
|
|
3
|
-
"version": "14.1.0
|
|
3
|
+
"version": "14.1.0",
|
|
4
4
|
"description": "Angular DevKit - Core Utility Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"ajv-formats": "2.1.1",
|
|
17
17
|
"ajv": "8.11.0",
|
|
18
|
-
"jsonc-parser": "3.
|
|
18
|
+
"jsonc-parser": "3.1.0",
|
|
19
19
|
"rxjs": "6.6.7",
|
|
20
20
|
"source-map": "0.7.4"
|
|
21
21
|
},
|
|
@@ -50,7 +50,7 @@ async function readJsonWorkspace(path, host) {
|
|
|
50
50
|
}
|
|
51
51
|
exports.readJsonWorkspace = readJsonWorkspace;
|
|
52
52
|
const specialWorkspaceExtensions = ['cli', 'defaultProject', 'newProjectRoot', 'schematics'];
|
|
53
|
-
const specialProjectExtensions = ['cli', 'schematics', 'projectType'];
|
|
53
|
+
const specialProjectExtensions = ['cli', 'schematics', 'projectType', 'i18n'];
|
|
54
54
|
function parseWorkspace(workspaceNode, context) {
|
|
55
55
|
const jsonMetadata = context.metadata;
|
|
56
56
|
let projects;
|
|
@@ -75,7 +75,7 @@ function parseWorkspace(workspaceNode, context) {
|
|
|
75
75
|
}
|
|
76
76
|
else {
|
|
77
77
|
if (!specialWorkspaceExtensions.includes(name) && !/^[a-z]{1,3}-.*/.test(name)) {
|
|
78
|
-
context.warn(`Project extension with invalid name found.`, name);
|
|
78
|
+
context.warn(`Project extension with invalid name (${name}) found.`, name);
|
|
79
79
|
}
|
|
80
80
|
if (extensions) {
|
|
81
81
|
extensions[name] = value;
|
|
@@ -155,7 +155,7 @@ function parseProject(projectName, projectNode, context) {
|
|
|
155
155
|
break;
|
|
156
156
|
default:
|
|
157
157
|
if (!specialProjectExtensions.includes(name) && !/^[a-z]{1,3}-.*/.test(name)) {
|
|
158
|
-
context.warn(`Project extension with invalid name found.`, name);
|
|
158
|
+
context.warn(`Project extension with invalid name (${name}) found.`, name);
|
|
159
159
|
}
|
|
160
160
|
if (extensions) {
|
|
161
161
|
extensions[name] = value;
|