@angular-devkit/schematics 17.3.1 → 18.0.0-next.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/schematics",
3
- "version": "17.3.1",
3
+ "version": "18.0.0-next.0",
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": "17.3.1",
21
+ "@angular-devkit/core": "18.0.0-next.0",
22
22
  "jsonc-parser": "3.2.1",
23
23
  "magic-string": "0.30.8",
24
24
  "ora": "5.4.1",
@@ -29,7 +29,7 @@
29
29
  "url": "https://github.com/angular/angular-cli.git"
30
30
  },
31
31
  "engines": {
32
- "node": "^18.13.0 || >=20.9.0",
32
+ "node": "^18.19.1 || >=20.11.1",
33
33
  "npm": "^6.11.0 || ^7.5.6 || >=8.0.0",
34
34
  "yarn": ">= 1.13.0"
35
35
  },
@@ -5,8 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- /// <reference types="@types/node/url" />
9
- /// <reference types="@types/node/ts4.8/url" />
8
+ /// <reference types="node" />
10
9
  import { BaseException } from '@angular-devkit/core';
11
10
  import { Observable } from 'rxjs';
12
11
  import { Url } from 'url';
@@ -5,8 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- /// <reference types="@types/node/url" />
9
- /// <reference types="@types/node/ts4.8/url" />
8
+ /// <reference types="node" />
10
9
  import { logging } from '@angular-devkit/core';
11
10
  import { Observable } from 'rxjs';
12
11
  import { Url } from 'url';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { virtualFs } from '@angular-devkit/core';
9
10
  import { Observable, Subject } from 'rxjs';
10
11
  import { HostSink } from './host';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { Path, virtualFs } from '@angular-devkit/core';
9
10
  import { Observable } from 'rxjs';
10
11
  import { CreateFileAction } from '../tree/action';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { Observable } from 'rxjs';
9
10
  import { Action, CreateFileAction, DeleteFileAction, OverwriteFileAction, RenameFileAction } from '../tree/action';
10
11
  import { Tree } from '../tree/interface';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { BaseException, Path } from '@angular-devkit/core';
9
10
  export declare class UnknownActionException extends BaseException {
10
11
  constructor(action: Action);
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { JsonValue } from '@angular-devkit/core';
9
10
  import { Action } from './action';
10
11
  import { DirEntry, FileEntry, FileVisitor, MergeStrategy, Tree, UpdateRecorder } from './interface';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { Path } from '@angular-devkit/core';
9
10
  import { FileEntry } from './interface';
10
11
  export declare class SimpleFileEntry implements FileEntry {
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { JsonValue, Path, PathFragment, virtualFs } from '@angular-devkit/core';
9
10
  import { Action } from './action';
10
11
  import { DirEntry, FileEntry, FilePredicate, FileVisitor, MergeStrategy, Tree, UpdateRecorder } from './interface';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { JsonValue, Path, PathFragment } from '@angular-devkit/core';
9
10
  import { Action } from './action';
10
11
  export declare enum MergeStrategy {
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { BaseException, JsonValue, Path, PathFragment } from '@angular-devkit/core';
9
10
  import { Action } from './action';
10
11
  import { DirEntry, MergeStrategy, Tree, UpdateRecorder } from './interface';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { BaseException } from '@angular-devkit/core';
9
10
  import MagicString from 'magic-string';
10
11
  import { FileEntry, UpdateRecorder } from './interface';
@@ -5,6 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
+ /// <reference types="node" />
8
9
  import { JsonValue, Path, PathFragment } from '@angular-devkit/core';
9
10
  import { Action } from './action';
10
11
  import { DirEntry, FileEntry, FileVisitor, MergeStrategy, Tree, UpdateRecorder } from './interface';
@@ -7,6 +7,9 @@
7
7
  */
8
8
  import { TaskConfiguration, TaskConfigurationGenerator } from '../../src';
9
9
  import { NodePackageTaskOptions } from './options';
10
+ /**
11
+ * @deprecated since version 18. Create a custom task if required.
12
+ */
10
13
  export declare class NodePackageLinkTask implements TaskConfigurationGenerator<NodePackageTaskOptions> {
11
14
  packageName?: string | undefined;
12
15
  workingDirectory?: string | undefined;
@@ -9,6 +9,9 @@
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.NodePackageLinkTask = void 0;
11
11
  const options_1 = require("./options");
12
+ /**
13
+ * @deprecated since version 18. Create a custom task if required.
14
+ */
12
15
  class NodePackageLinkTask {
13
16
  packageName;
14
17
  workingDirectory;
@@ -5,8 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- /// <reference types="@types/node/url" />
9
- /// <reference types="@types/node/ts4.8/url" />
8
+ /// <reference types="node" />
10
9
  import { Observable } from 'rxjs';
11
10
  import { Url } from 'url';
12
11
  import { CollectionDescription, EngineHost, RuleFactory, SchematicDescription, Source, TaskExecutor, TypedSchematicContext } from '../src';
@@ -5,8 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- /// <reference types="@types/node/url" />
9
- /// <reference types="@types/node/ts4.8/url" />
8
+ /// <reference types="node" />
10
9
  import { BaseException } from '@angular-devkit/core';
11
10
  import { Observable } from 'rxjs';
12
11
  import { Url } from 'url';