@atls/code-schematics 0.0.10 → 0.0.11

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.
@@ -0,0 +1 @@
1
+ export * from './schematics';
@@ -0,0 +1,4 @@
1
+ import { NodePnpEngineHost } from './node-pnp-engine.host';
2
+ export declare class MigrationEngineHost extends NodePnpEngineHost {
3
+ protected _resolveCollectionPath(name: string): string;
4
+ }
@@ -0,0 +1,16 @@
1
+ import { RuleFactory } from '@angular-devkit/schematics/';
2
+ import { FileSystemCollectionDesc } from '@angular-devkit/schematics/tools';
3
+ import { FileSystemSchematicDesc } from '@angular-devkit/schematics/tools';
4
+ import { FileSystemEngineHostBase } from '@angular-devkit/schematics/tools';
5
+ export declare class NodePnpEngineHost extends FileSystemEngineHostBase {
6
+ private readonly paths?;
7
+ constructor(paths?: string[] | undefined);
8
+ private resolve;
9
+ protected _resolveCollectionPath(name: string, requester?: string): string;
10
+ protected _resolveReferenceString(refString: string, parentPath: string): {
11
+ ref: RuleFactory<{}>;
12
+ path: string;
13
+ } | null;
14
+ protected _transformCollectionDescription(name: string, desc: Partial<FileSystemCollectionDesc>): FileSystemCollectionDesc;
15
+ protected _transformSchematicDescription(name: string, _collection: FileSystemCollectionDesc, desc: Partial<FileSystemSchematicDesc>): FileSystemSchematicDesc;
16
+ }
@@ -0,0 +1,9 @@
1
+ import { DryRunEvent } from '@angular-devkit/schematics';
2
+ export declare class Schematics {
3
+ private readonly cwd;
4
+ private readonly force;
5
+ private readonly dryRun;
6
+ constructor(cwd: string, force?: boolean, dryRun?: boolean);
7
+ init(schematic: string, options?: {}): Promise<DryRunEvent[]>;
8
+ migrate(schematicName: string, migrationVersion: string, options?: {}): Promise<DryRunEvent[]>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import type { Collection } from '@angular-devkit/schematics';
2
+ import type { FileSystemCollectionDescription } from '@angular-devkit/schematics/tools';
3
+ import type { FileSystemSchematicDescription } from '@angular-devkit/schematics/tools';
4
+ export declare const createCollection: (root: string, collectionName: string) => Collection<FileSystemCollectionDescription, FileSystemSchematicDescription>;
5
+ export declare const expandCollection: (cwd: string, collectionName: string) => Array<Collection<FileSystemCollectionDescription, FileSystemSchematicDescription>>;
6
+ export declare const expandCollections: (cwd: string, collectionName: string, schematicName: string) => Array<Collection<FileSystemCollectionDescription, FileSystemSchematicDescription>>;
@@ -0,0 +1,2 @@
1
+ export * from './collection.utils';
2
+ export * from './resolve.utils';
@@ -0,0 +1 @@
1
+ export declare const resolveSchematics: (cwd?: string | undefined) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atls/code-schematics",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "license": "BSD-3-Clause",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -13,8 +13,8 @@
13
13
  "postpack": "rm -rf dist"
14
14
  },
15
15
  "dependencies": {
16
- "@angular-devkit/core": "^13.3.0",
17
- "@angular-devkit/schematics": "^13.3.0"
16
+ "@angular-devkit/core": "^13.3.7",
17
+ "@angular-devkit/schematics": "^13.3.7"
18
18
  },
19
19
  "devDependencies": {
20
20
  "rxjs": "7.5.5"