@angular-devkit/schematics 19.1.1 → 19.1.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": "@angular-devkit/schematics",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.3",
|
|
4
4
|
"description": "Angular Schematics - Library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"typings": "src/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"tooling"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@angular-devkit/core": "19.1.
|
|
21
|
+
"@angular-devkit/core": "19.1.3",
|
|
22
22
|
"jsonc-parser": "3.3.1",
|
|
23
23
|
"magic-string": "0.30.17",
|
|
24
24
|
"ora": "5.4.1",
|
|
@@ -38,16 +38,5 @@
|
|
|
38
38
|
"bugs": {
|
|
39
39
|
"url": "https://github.com/angular/angular-cli/issues"
|
|
40
40
|
},
|
|
41
|
-
"homepage": "https://github.com/angular/angular-cli"
|
|
42
|
-
"dependenciesMeta": {
|
|
43
|
-
"esbuild": {
|
|
44
|
-
"built": true
|
|
45
|
-
},
|
|
46
|
-
"puppeteer": {
|
|
47
|
-
"built": true
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"pnpm": {
|
|
51
|
-
"onlyBuiltDependencies": []
|
|
52
|
-
}
|
|
41
|
+
"homepage": "https://github.com/angular/angular-cli"
|
|
53
42
|
}
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.readJsonFile = readJsonFile;
|
|
11
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
11
|
const fs_1 = require("fs");
|
|
13
12
|
const jsonc_parser_1 = require("jsonc-parser");
|
|
13
|
+
const exception_1 = require("../src/exception/exception");
|
|
14
14
|
function readJsonFile(path) {
|
|
15
15
|
let data;
|
|
16
16
|
try {
|
|
@@ -18,7 +18,7 @@ function readJsonFile(path) {
|
|
|
18
18
|
}
|
|
19
19
|
catch (e) {
|
|
20
20
|
if (e && typeof e === 'object' && 'code' in e && e.code === 'ENOENT') {
|
|
21
|
-
throw new
|
|
21
|
+
throw new exception_1.FileDoesNotExistException(path);
|
|
22
22
|
}
|
|
23
23
|
throw e;
|
|
24
24
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.dev/license
|
|
7
7
|
*/
|
|
8
8
|
import { Path, schema, virtualFs } from '@angular-devkit/core';
|
|
9
|
-
import { workflow } from '
|
|
9
|
+
import { workflow } from '../../src';
|
|
10
10
|
import { FileSystemEngine } from '../description';
|
|
11
11
|
import { OptionTransform } from '../file-system-engine-host-base';
|
|
12
12
|
import { NodeModulesEngineHost } from '../node-module-engine-host';
|
|
@@ -10,14 +10,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
10
10
|
exports.NodeWorkflow = void 0;
|
|
11
11
|
const core_1 = require("@angular-devkit/core");
|
|
12
12
|
const node_1 = require("@angular-devkit/core/node");
|
|
13
|
-
const
|
|
13
|
+
const src_1 = require("../../src");
|
|
14
14
|
const node_2 = require("../../tasks/node");
|
|
15
15
|
const node_module_engine_host_1 = require("../node-module-engine-host");
|
|
16
16
|
const schema_option_transform_1 = require("../schema-option-transform");
|
|
17
17
|
/**
|
|
18
18
|
* A workflow specifically for Node tools.
|
|
19
19
|
*/
|
|
20
|
-
class NodeWorkflow extends
|
|
20
|
+
class NodeWorkflow extends src_1.workflow.BaseWorkflow {
|
|
21
21
|
constructor(hostOrRoot, options) {
|
|
22
22
|
let host;
|
|
23
23
|
let root;
|