Skip to content

Commit 2e23069

Browse files
author
Angular Builds
committed
0f5106d test: improve stability of strategy tests
1 parent 5c08579 commit 2e23069

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-devkit/schematics",
3-
"version": "19.2.0-next.0+sha-612da79",
3+
"version": "19.2.0-next.0+sha-0f5106d",
44
"description": "Angular Schematics - Library",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",
@@ -18,7 +18,7 @@
1818
"tooling"
1919
],
2020
"dependencies": {
21-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#612da79",
21+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#0f5106d",
2222
"jsonc-parser": "3.3.1",
2323
"magic-string": "0.30.17",
2424
"ora": "5.4.1",

tools/file-system-utility.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@
88
*/
99
Object.defineProperty(exports, "__esModule", { value: true });
1010
exports.readJsonFile = readJsonFile;
11-
const schematics_1 = require("@angular-devkit/schematics");
1211
const fs_1 = require("fs");
1312
const jsonc_parser_1 = require("jsonc-parser");
13+
const exception_1 = require("../src/exception/exception");
1414
function readJsonFile(path) {
1515
let data;
1616
try {
1717
data = (0, fs_1.readFileSync)(path, 'utf-8');
1818
}
1919
catch (e) {
2020
if (e && typeof e === 'object' && 'code' in e && e.code === 'ENOENT') {
21-
throw new schematics_1.FileDoesNotExistException(path);
21+
throw new exception_1.FileDoesNotExistException(path);
2222
}
2323
throw e;
2424
}

tools/workflow/node-workflow.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88
import { Path, schema, virtualFs } from '@angular-devkit/core';
9-
import { workflow } from '@angular-devkit/schematics';
9+
import { workflow } from '../../src';
1010
import { FileSystemEngine } from '../description';
1111
import { OptionTransform } from '../file-system-engine-host-base';
1212
import { NodeModulesEngineHost } from '../node-module-engine-host';

tools/workflow/node-workflow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
1010
exports.NodeWorkflow = void 0;
1111
const core_1 = require("@angular-devkit/core");
1212
const node_1 = require("@angular-devkit/core/node");
13-
const schematics_1 = require("@angular-devkit/schematics");
13+
const src_1 = require("../../src");
1414
const node_2 = require("../../tasks/node");
1515
const node_module_engine_host_1 = require("../node-module-engine-host");
1616
const schema_option_transform_1 = require("../schema-option-transform");
1717
/**
1818
* A workflow specifically for Node tools.
1919
*/
20-
class NodeWorkflow extends schematics_1.workflow.BaseWorkflow {
20+
class NodeWorkflow extends src_1.workflow.BaseWorkflow {
2121
constructor(hostOrRoot, options) {
2222
let host;
2323
let root;

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Thu Jan 16 2025 18:27:03 GMT+0000 (Coordinated Universal Time)
1+
Fri Jan 17 2025 15:38:23 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)