@nx/plugin 17.0.0-beta.2 → 17.0.0-beta.5
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/executors.json +0 -8
- package/generators.json +1 -33
- package/package.json +8 -8
- package/src/generators/create-package/create-package.d.ts +1 -2
- package/src/generators/create-package/create-package.js +1 -4
- package/src/generators/e2e-project/e2e.d.ts +0 -1
- package/src/generators/e2e-project/e2e.js +1 -2
- package/src/generators/executor/executor.d.ts +2 -2
- package/src/generators/executor/executor.js +39 -19
- package/src/generators/executor/schema.d.ts +5 -1
- package/src/generators/executor/schema.json +12 -4
- package/src/generators/generator/generator.d.ts +0 -1
- package/src/generators/generator/generator.js +1 -2
- package/src/generators/migration/migration.d.ts +0 -1
- package/src/generators/migration/migration.js +1 -2
- package/src/generators/plugin/plugin.d.ts +0 -1
- package/src/generators/plugin/plugin.js +1 -2
- package/src/executors/e2e/compat.d.ts +0 -1
- package/src/executors/e2e/compat.js +0 -6
- /package/src/generators/executor/files/executor/{__fileName__/executor.spec.ts__tmpl__ → executor.spec.ts.template} +0 -0
- /package/src/generators/executor/files/executor/{__fileName__/executor.ts__tmpl__ → executor.ts.template} +0 -0
- /package/src/generators/executor/files/executor/{__fileName__/schema.d.ts__tmpl__ → schema.d.ts.template} +0 -0
- /package/src/generators/executor/files/executor/{__fileName__/schema.json__tmpl__ → schema.json.template} +0 -0
- /package/src/generators/executor/files/hasher/{__fileName__/hasher.spec.ts__tmpl__ → hasher.spec.ts.template} +0 -0
- /package/src/generators/executor/files/hasher/{__fileName__/hasher.ts__tmpl__ → hasher.ts.template} +0 -0
package/executors.json
CHANGED
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"builders": {
|
|
3
|
-
"e2e": {
|
|
4
|
-
"implementation": "./src/executors/e2e/compat",
|
|
5
|
-
"schema": "./src/executors/e2e/schema.json",
|
|
6
|
-
"description": "Creates and runs the E2E tests for an Nx Plugin.",
|
|
7
|
-
"x-deprecated": "@nx/plugin:e2e is deprecated and will be removed in Nx 18. Use @nx/jest:jest instead."
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
2
|
"executors": {
|
|
11
3
|
"e2e": {
|
|
12
4
|
"implementation": "./src/executors/e2e/e2e.impl",
|
package/generators.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"description": "Create a generator for an Nx Plugin."
|
|
30
30
|
},
|
|
31
31
|
"executor": {
|
|
32
|
-
"factory": "./src/generators/executor/executor",
|
|
32
|
+
"factory": "./src/generators/executor/executor#executorGeneratorInternal",
|
|
33
33
|
"schema": "./src/generators/executor/schema.json",
|
|
34
34
|
"description": "Create an executor for an Nx Plugin."
|
|
35
35
|
},
|
|
@@ -45,37 +45,5 @@
|
|
|
45
45
|
"hidden": true,
|
|
46
46
|
"x-use-standalone-layout": true
|
|
47
47
|
}
|
|
48
|
-
},
|
|
49
|
-
"schematics": {
|
|
50
|
-
"plugin": {
|
|
51
|
-
"factory": "./src/generators/plugin/plugin#pluginSchematic",
|
|
52
|
-
"schema": "./src/generators/plugin/schema.json",
|
|
53
|
-
"description": "Create a Nx Plugin."
|
|
54
|
-
},
|
|
55
|
-
"create-package": {
|
|
56
|
-
"factory": "./src/generators/create-package/create-package#createPackageSchematic",
|
|
57
|
-
"schema": "./src/generators/create-package/schema.json",
|
|
58
|
-
"description": "Create a package which can be used by npx to create a new workspace"
|
|
59
|
-
},
|
|
60
|
-
"e2e-project": {
|
|
61
|
-
"factory": "./src/generators/e2e-project/e2e#e2eProjectSchematic",
|
|
62
|
-
"schema": "./src/generators/e2e-project/schema.json",
|
|
63
|
-
"description": "Create a E2E application for a Nx Plugin."
|
|
64
|
-
},
|
|
65
|
-
"migration": {
|
|
66
|
-
"factory": "./src/generators/migration/migration#migrationSchematic",
|
|
67
|
-
"schema": "./src/generators/migration/schema.json",
|
|
68
|
-
"description": "Create a migration for an Nx Plugin."
|
|
69
|
-
},
|
|
70
|
-
"generator": {
|
|
71
|
-
"factory": "./src/generators/generator/generator#generatorSchematic",
|
|
72
|
-
"schema": "./src/generators/generator/schema.json",
|
|
73
|
-
"description": "Create a generator for an Nx Plugin."
|
|
74
|
-
},
|
|
75
|
-
"executor": {
|
|
76
|
-
"factory": "./src/generators/executor/executor#executorSchematic",
|
|
77
|
-
"schema": "./src/generators/executor/schema.json",
|
|
78
|
-
"description": "Create an executor for an Nx Plugin."
|
|
79
|
-
}
|
|
80
48
|
}
|
|
81
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/plugin",
|
|
3
|
-
"version": "17.0.0-beta.
|
|
3
|
+
"version": "17.0.0-beta.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "This plugin is used to create Nx plugins! It contains generators for generating common plugin features like generators, executors, migrations and more.",
|
|
6
6
|
"repository": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"url": "https://github.com/nrwl/nx/issues"
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://nx.dev",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"generators": "./generators.json",
|
|
25
|
+
"executors": "./executors.json",
|
|
26
26
|
"ng-update": {
|
|
27
27
|
"requirements": {},
|
|
28
28
|
"migrations": "./migrations.json"
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
32
32
|
"fs-extra": "^11.1.0",
|
|
33
33
|
"tslib": "^2.3.0",
|
|
34
|
-
"@nx/devkit": "17.0.0-beta.
|
|
35
|
-
"@nx/jest": "17.0.0-beta.
|
|
36
|
-
"@nx/js": "17.0.0-beta.
|
|
37
|
-
"@nx/linter": "17.0.0-beta.
|
|
38
|
-
"@nrwl/nx-plugin": "17.0.0-beta.
|
|
34
|
+
"@nx/devkit": "17.0.0-beta.5",
|
|
35
|
+
"@nx/jest": "17.0.0-beta.5",
|
|
36
|
+
"@nx/js": "17.0.0-beta.5",
|
|
37
|
+
"@nx/linter": "17.0.0-beta.5",
|
|
38
|
+
"@nrwl/nx-plugin": "17.0.0-beta.5"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GeneratorCallback, Tree } from '@nx/devkit';
|
|
2
2
|
import { CreatePackageSchema } from './schema';
|
|
3
3
|
export declare function createPackageGenerator(host: Tree, schema: CreatePackageSchema): Promise<GeneratorCallback>;
|
|
4
4
|
export declare function createPackageGeneratorInternal(host: Tree, schema: CreatePackageSchema): Promise<GeneratorCallback>;
|
|
5
5
|
export default createPackageGenerator;
|
|
6
|
-
export declare const createPackageSchematic: (generatorOptions: CreatePackageSchema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createPackageGeneratorInternal = exports.createPackageGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const js_1 = require("@nx/js");
|
|
6
6
|
const versions_1 = require("nx/src/utils/versions");
|
|
@@ -77,8 +77,6 @@ async function createCliPackage(host, options, pluginPackageName) {
|
|
|
77
77
|
const projectConfiguration = (0, devkit_1.readProjectConfiguration)(host, options.projectName);
|
|
78
78
|
projectConfiguration.sourceRoot = (0, devkit_1.joinPathFragments)(options.projectRoot, 'bin');
|
|
79
79
|
projectConfiguration.targets.build.options.main = (0, devkit_1.joinPathFragments)(options.projectRoot, 'bin/index.ts');
|
|
80
|
-
projectConfiguration.targets.build.options.updateBuildableProjectDepsInPackageJson =
|
|
81
|
-
false;
|
|
82
80
|
projectConfiguration.implicitDependencies = [options.project];
|
|
83
81
|
(0, devkit_1.updateProjectConfiguration)(host, options.projectName, projectConfiguration);
|
|
84
82
|
// Add bin files to tsconfg.lib.json
|
|
@@ -111,4 +109,3 @@ function addE2eProject(host, options) {
|
|
|
111
109
|
});
|
|
112
110
|
}
|
|
113
111
|
exports.default = createPackageGenerator;
|
|
114
|
-
exports.createPackageSchematic = (0, devkit_1.convertNxGenerator)(createPackageGenerator);
|
|
@@ -4,4 +4,3 @@ import type { Schema } from './schema';
|
|
|
4
4
|
export declare function e2eProjectGenerator(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
5
5
|
export declare function e2eProjectGeneratorInternal(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
6
6
|
export default e2eProjectGenerator;
|
|
7
|
-
export declare const e2eProjectSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.e2eProjectGeneratorInternal = exports.e2eProjectGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const project_name_and_root_utils_1 = require("@nx/devkit/src/generators/project-name-and-root-utils");
|
|
6
6
|
const jest_1 = require("@nx/jest");
|
|
@@ -138,4 +138,3 @@ async function e2eProjectGeneratorInternal(host, schema) {
|
|
|
138
138
|
}
|
|
139
139
|
exports.e2eProjectGeneratorInternal = e2eProjectGeneratorInternal;
|
|
140
140
|
exports.default = e2eProjectGenerator;
|
|
141
|
-
exports.e2eProjectSchematic = (0, devkit_1.convertNxGenerator)(e2eProjectGenerator);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Tree } from '@nx/devkit';
|
|
2
2
|
import type { Schema } from './schema';
|
|
3
3
|
export declare function createExecutorsJson(host: Tree, projectRoot: string, projectName: string, skipLintChecks?: boolean): Promise<void>;
|
|
4
|
-
export declare function executorGenerator(
|
|
4
|
+
export declare function executorGenerator(tree: Tree, rawOptions: Schema): Promise<void>;
|
|
5
|
+
export declare function executorGeneratorInternal(host: Tree, schema: Schema): Promise<void>;
|
|
5
6
|
export default executorGenerator;
|
|
6
|
-
export declare const executorSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.executorGeneratorInternal = exports.executorGenerator = exports.createExecutorsJson = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const generator_1 = require("../lint-checks/generator");
|
|
7
7
|
const versions_1 = require("../../utils/versions");
|
|
8
|
+
const get_npm_scope_1 = require("@nx/js/src/utils/package-json/get-npm-scope");
|
|
9
|
+
const artifact_name_and_directory_utils_1 = require("@nx/devkit/src/generators/artifact-name-and-directory-utils");
|
|
10
|
+
const path_1 = require("path");
|
|
8
11
|
function addFiles(host, options) {
|
|
9
|
-
(0, devkit_1.generateFiles)(host, path.join(__dirname, './files/executor'),
|
|
12
|
+
(0, devkit_1.generateFiles)(host, path.join(__dirname, './files/executor'), options.directory, {
|
|
10
13
|
...options,
|
|
11
|
-
tmpl: '',
|
|
12
14
|
});
|
|
13
15
|
if (options.unitTestRunner === 'none') {
|
|
14
|
-
host.delete((0, devkit_1.joinPathFragments)(options.
|
|
16
|
+
host.delete((0, devkit_1.joinPathFragments)(options.directory, `executor.spec.ts`));
|
|
15
17
|
}
|
|
16
18
|
}
|
|
17
19
|
function addHasherFiles(host, options) {
|
|
18
|
-
(0, devkit_1.generateFiles)(host, path.join(__dirname, './files/hasher'),
|
|
20
|
+
(0, devkit_1.generateFiles)(host, path.join(__dirname, './files/hasher'), options.directory, {
|
|
19
21
|
...options,
|
|
20
|
-
tmpl: '',
|
|
21
22
|
});
|
|
22
23
|
if (options.unitTestRunner === 'none') {
|
|
23
|
-
host.delete((0, devkit_1.joinPathFragments)(options.
|
|
24
|
+
host.delete((0, devkit_1.joinPathFragments)(options.directory, 'hasher.spec.ts'));
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
27
|
async function createExecutorsJson(host, projectRoot, projectName, skipLintChecks) {
|
|
@@ -62,21 +63,32 @@ async function updateExecutorJson(host, options) {
|
|
|
62
63
|
let executors = json.executors ?? json.builders;
|
|
63
64
|
executors ||= {};
|
|
64
65
|
executors[options.name] = {
|
|
65
|
-
implementation:
|
|
66
|
-
schema:
|
|
66
|
+
implementation: `./${(0, devkit_1.normalizePath)((0, path_1.relative)(options.projectRoot, (0, path_1.join)(options.directory, 'executor')))}`,
|
|
67
|
+
schema: `./${(0, devkit_1.normalizePath)((0, path_1.relative)(options.projectRoot, (0, path_1.join)(options.directory, 'schema.json')))}`,
|
|
67
68
|
description: options.description,
|
|
68
69
|
};
|
|
69
70
|
if (options.includeHasher) {
|
|
70
|
-
executors[options.name].hasher =
|
|
71
|
+
executors[options.name].hasher = `./${(0, devkit_1.normalizePath)((0, path_1.relative)(options.projectRoot, (0, path_1.join)(options.directory, 'hasher')))}`;
|
|
71
72
|
}
|
|
72
73
|
json.executors = executors;
|
|
73
74
|
return json;
|
|
74
75
|
});
|
|
75
76
|
}
|
|
76
|
-
function normalizeOptions(
|
|
77
|
-
const
|
|
78
|
-
const
|
|
79
|
-
|
|
77
|
+
async function normalizeOptions(tree, options) {
|
|
78
|
+
const npmScope = (0, get_npm_scope_1.getNpmScope)(tree);
|
|
79
|
+
const res = await (0, artifact_name_and_directory_utils_1.determineArtifactNameAndDirectoryOptions)(tree, {
|
|
80
|
+
artifactType: 'executor',
|
|
81
|
+
callingGenerator: '@nx/plugin:executor',
|
|
82
|
+
name: options.name,
|
|
83
|
+
nameAndDirectoryFormat: options.nameAndDirectoryFormat,
|
|
84
|
+
project: options.project,
|
|
85
|
+
directory: options.directory,
|
|
86
|
+
fileName: 'executor',
|
|
87
|
+
derivedDirectory: 'executors',
|
|
88
|
+
});
|
|
89
|
+
const { project, fileName, artifactName, filePath, directory } = res;
|
|
90
|
+
const { className, propertyName } = (0, devkit_1.names)(artifactName);
|
|
91
|
+
const { root: projectRoot } = (0, devkit_1.readProjectConfiguration)(tree, project);
|
|
80
92
|
let description;
|
|
81
93
|
if (options.description) {
|
|
82
94
|
description = options.description;
|
|
@@ -86,17 +98,26 @@ function normalizeOptions(host, options) {
|
|
|
86
98
|
}
|
|
87
99
|
return {
|
|
88
100
|
...options,
|
|
101
|
+
filePath,
|
|
102
|
+
project,
|
|
103
|
+
directory,
|
|
89
104
|
fileName,
|
|
90
105
|
className,
|
|
91
106
|
propertyName,
|
|
92
107
|
description,
|
|
93
108
|
projectRoot,
|
|
94
|
-
projectSourceRoot,
|
|
95
109
|
npmScope,
|
|
96
110
|
};
|
|
97
111
|
}
|
|
98
|
-
async function executorGenerator(
|
|
99
|
-
|
|
112
|
+
async function executorGenerator(tree, rawOptions) {
|
|
113
|
+
await executorGeneratorInternal(tree, {
|
|
114
|
+
nameAndDirectoryFormat: 'derived',
|
|
115
|
+
...rawOptions,
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
exports.executorGenerator = executorGenerator;
|
|
119
|
+
async function executorGeneratorInternal(host, schema) {
|
|
120
|
+
const options = await normalizeOptions(host, schema);
|
|
100
121
|
addFiles(host, options);
|
|
101
122
|
if (options.includeHasher) {
|
|
102
123
|
addHasherFiles(host, options);
|
|
@@ -106,6 +127,5 @@ async function executorGenerator(host, schema) {
|
|
|
106
127
|
await (0, devkit_1.formatFiles)(host);
|
|
107
128
|
}
|
|
108
129
|
}
|
|
109
|
-
exports.
|
|
130
|
+
exports.executorGeneratorInternal = executorGeneratorInternal;
|
|
110
131
|
exports.default = executorGenerator;
|
|
111
|
-
exports.executorSchematic = (0, devkit_1.convertNxGenerator)(executorGenerator);
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
import type { NameAndDirectoryFormat } from '@nx/devkit/src/generators/artifact-name-and-directory-utils';
|
|
2
|
+
|
|
1
3
|
export interface Schema {
|
|
2
|
-
project
|
|
4
|
+
project?: string;
|
|
3
5
|
name: string;
|
|
6
|
+
directory?: string;
|
|
4
7
|
description?: string;
|
|
5
8
|
unitTestRunner: 'jest' | 'none';
|
|
6
9
|
includeHasher: boolean;
|
|
10
|
+
nameAndDirectoryFormat?: NameAndDirectoryFormat;
|
|
7
11
|
skipLintChecks?: boolean;
|
|
8
12
|
skipFormat?: boolean;
|
|
9
13
|
}
|
|
@@ -19,9 +19,7 @@
|
|
|
19
19
|
"alias": "p",
|
|
20
20
|
"$default": {
|
|
21
21
|
"$source": "projectName"
|
|
22
|
-
}
|
|
23
|
-
"x-prompt": "What is the name of the project for the executor?",
|
|
24
|
-
"x-priority": "important"
|
|
22
|
+
}
|
|
25
23
|
},
|
|
26
24
|
"name": {
|
|
27
25
|
"type": "string",
|
|
@@ -33,6 +31,11 @@
|
|
|
33
31
|
"x-prompt": "What name would you like to use for the executor?",
|
|
34
32
|
"x-priority": "important"
|
|
35
33
|
},
|
|
34
|
+
"directory": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "The directory at which to create the executor file. When `--nameAndDirectoryFormat=as-provided`, it will be relative to the current working directory. Otherwise, it will be relative to the workspace root.",
|
|
37
|
+
"aliases": ["dir"]
|
|
38
|
+
},
|
|
36
39
|
"description": {
|
|
37
40
|
"type": "string",
|
|
38
41
|
"description": "Executor description."
|
|
@@ -53,6 +56,11 @@
|
|
|
53
56
|
"default": false,
|
|
54
57
|
"description": "Do not add an eslint configuration for plugin json files."
|
|
55
58
|
},
|
|
59
|
+
"nameAndDirectoryFormat": {
|
|
60
|
+
"description": "Whether to generate the component in the directory as provided, relative to the current working directory and ignoring the project (`as-provided`) or generate it using the project and directory relative to the workspace root (`derived`).",
|
|
61
|
+
"type": "string",
|
|
62
|
+
"enum": ["as-provided", "derived"]
|
|
63
|
+
},
|
|
56
64
|
"skipFormat": {
|
|
57
65
|
"type": "boolean",
|
|
58
66
|
"description": "Skip formatting files.",
|
|
@@ -60,6 +68,6 @@
|
|
|
60
68
|
"x-priority": "internal"
|
|
61
69
|
}
|
|
62
70
|
},
|
|
63
|
-
"required": ["
|
|
71
|
+
"required": ["name"],
|
|
64
72
|
"additionalProperties": false
|
|
65
73
|
}
|
|
@@ -3,4 +3,3 @@ import type { Schema } from './schema';
|
|
|
3
3
|
export declare function createGeneratorsJson(host: Tree, projectRoot: string, projectName: string, skipLintChecks?: boolean, skipFormat?: boolean): Promise<void>;
|
|
4
4
|
export declare function generatorGenerator(host: Tree, schema: Schema): Promise<void>;
|
|
5
5
|
export default generatorGenerator;
|
|
6
|
-
export declare const generatorSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.generatorGenerator = exports.createGeneratorsJson = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const has_generator_1 = require("../../utils/has-generator");
|
|
@@ -106,4 +106,3 @@ async function generatorGenerator(host, schema) {
|
|
|
106
106
|
}
|
|
107
107
|
exports.generatorGenerator = generatorGenerator;
|
|
108
108
|
exports.default = generatorGenerator;
|
|
109
|
-
exports.generatorSchematic = (0, devkit_1.convertNxGenerator)(generatorGenerator);
|
|
@@ -2,4 +2,3 @@ import type { Tree } from '@nx/devkit';
|
|
|
2
2
|
import type { Schema } from './schema';
|
|
3
3
|
export declare function migrationGenerator(host: Tree, schema: Schema): Promise<void>;
|
|
4
4
|
export default migrationGenerator;
|
|
5
|
-
export declare const migrationSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.migrationGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const generator_1 = require("../lint-checks/generator");
|
|
@@ -109,4 +109,3 @@ async function migrationGenerator(host, schema) {
|
|
|
109
109
|
}
|
|
110
110
|
exports.migrationGenerator = migrationGenerator;
|
|
111
111
|
exports.default = migrationGenerator;
|
|
112
|
-
exports.migrationSchematic = (0, devkit_1.convertNxGenerator)(migrationGenerator);
|
|
@@ -3,4 +3,3 @@ import type { Schema } from './schema';
|
|
|
3
3
|
export declare function pluginGenerator(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
4
4
|
export declare function pluginGeneratorInternal(host: Tree, schema: Schema): Promise<GeneratorCallback>;
|
|
5
5
|
export default pluginGenerator;
|
|
6
|
-
export declare const pluginSchematic: (generatorOptions: Schema) => (tree: any, context: any) => Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.pluginGeneratorInternal = exports.pluginGenerator = void 0;
|
|
4
4
|
const devkit_1 = require("@nx/devkit");
|
|
5
5
|
const js_1 = require("@nx/js");
|
|
6
6
|
const add_swc_dependencies_1 = require("@nx/js/src/utils/swc/add-swc-dependencies");
|
|
@@ -105,4 +105,3 @@ async function pluginGeneratorInternal(host, schema) {
|
|
|
105
105
|
}
|
|
106
106
|
exports.pluginGeneratorInternal = pluginGeneratorInternal;
|
|
107
107
|
exports.default = pluginGenerator;
|
|
108
|
-
exports.pluginSchematic = (0, devkit_1.convertNxGenerator)(pluginGenerator);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const nxPluginE2EBuilder: any;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nxPluginE2EBuilder = void 0;
|
|
4
|
-
const devkit_1 = require("@nx/devkit");
|
|
5
|
-
const e2e_impl_1 = require("./e2e.impl");
|
|
6
|
-
exports.nxPluginE2EBuilder = (0, devkit_1.convertNxExecutor)(e2e_impl_1.nxPluginE2EExecutor);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/generators/executor/files/hasher/{__fileName__/hasher.ts__tmpl__ → hasher.ts.template}
RENAMED
|
File without changes
|