@nrwl/nx-plugin 15.5.3 → 15.6.0-beta.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/CHANGELOG.md +1 -1
- package/package.json +6 -6
- package/src/executors/e2e/schema.json +6 -3
- package/src/generators/e2e-project/e2e.js +1 -1
- package/src/generators/e2e-project/e2e.js.map +1 -1
- package/src/generators/e2e-project/schema.d.ts +0 -1
- package/src/generators/e2e-project/schema.json +7 -9
- package/src/generators/executor/schema.json +4 -2
- package/src/generators/generator/schema.json +4 -2
- package/src/generators/lint-checks/schema.json +2 -1
- package/src/generators/migration/schema.json +6 -3
- package/src/generators/plugin/plugin.js +3 -4
- package/src/generators/plugin/plugin.js.map +1 -1
- package/src/generators/plugin/schema.d.ts +0 -1
- package/src/generators/plugin/schema.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [15.6.0-beta.0](https://github.com/nrwl/nx/compare/15.5.1...15.6.0-beta.0) (2023-01-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @nrwl/nx-plugin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nrwl/nx-plugin",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.6.0-beta.0",
|
|
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": {
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"migrations": "./migrations.json"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@nrwl/devkit": "15.
|
|
32
|
-
"@nrwl/jest": "15.
|
|
33
|
-
"@nrwl/js": "15.
|
|
34
|
-
"@nrwl/linter": "15.
|
|
31
|
+
"@nrwl/devkit": "15.6.0-beta.0",
|
|
32
|
+
"@nrwl/jest": "15.6.0-beta.0",
|
|
33
|
+
"@nrwl/js": "15.6.0-beta.0",
|
|
34
|
+
"@nrwl/linter": "15.6.0-beta.0",
|
|
35
35
|
"dotenv": "~10.0.0",
|
|
36
36
|
"fs-extra": "^11.1.0",
|
|
37
37
|
"tslib": "^2.3.0"
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "077b55915b2da6b54f3f6a9f52b0681a1a350580"
|
|
43
43
|
}
|
|
@@ -8,20 +8,23 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"target": {
|
|
10
10
|
"description": "The build target for the Nx Plugin project.",
|
|
11
|
-
"type": "string"
|
|
11
|
+
"type": "string",
|
|
12
|
+
"x-priority": "important"
|
|
12
13
|
},
|
|
13
14
|
"jestConfig": {
|
|
14
15
|
"type": "string",
|
|
15
16
|
"description": "Jest config file.",
|
|
16
17
|
"x-completion-type": "file",
|
|
17
|
-
"x-completion-glob": "jest.config@(.js|.ts)"
|
|
18
|
+
"x-completion-glob": "jest.config@(.js|.ts)",
|
|
19
|
+
"x-priority": "important"
|
|
18
20
|
},
|
|
19
21
|
"tsSpecConfig": {
|
|
20
22
|
"type": "string",
|
|
21
23
|
"description": "The tsconfig file for specs.",
|
|
22
24
|
"x-deprecated": "Use the `tsconfig` property for `ts-jest` in the e2e project `jest.config.js` file. It will be removed in the next major release.",
|
|
23
25
|
"x-completion-type": "file",
|
|
24
|
-
"x-completion-glob": "tsconfig.*.json"
|
|
26
|
+
"x-completion-glob": "tsconfig.*.json",
|
|
27
|
+
"x-priority": "important"
|
|
25
28
|
},
|
|
26
29
|
"codeCoverage": {
|
|
27
30
|
"description": "Indicates that test coverage information should be collected and reported in the output. (https://jestjs.io/docs/cli#--coverageboolean)",
|
|
@@ -45,7 +45,7 @@ function updateWorkspaceConfiguration(host, options) {
|
|
|
45
45
|
},
|
|
46
46
|
tags: [],
|
|
47
47
|
implicitDependencies: [options.pluginName],
|
|
48
|
-
}
|
|
48
|
+
});
|
|
49
49
|
}
|
|
50
50
|
function addJest(host, options) {
|
|
51
51
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"e2e.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/generators/e2e-project/e2e.ts"],"names":[],"mappings":";;;;AAAA,yCAWsB;AACtB,qCAAkD;AAClD,yEAAyF;AACzF,6BAA6B;AAY7B,SAAS,gBAAgB,CAAC,IAAU,EAAE,OAAe;;IACnD,MAAM,EAAE,eAAe,EAAE,gBAAgB,EAAE,GAAG,IAAA,+BAAsB,EAClE,OAAO,CAAC,gBAAgB,CACzB,CAAC;IACF,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,cAAc,EAAE,GAAG,IAAA,2BAAkB,EAAC,IAAI,CAAC,CAAC;IACvE,MAAM,OAAO,GAAG,eAAe,aAAf,eAAe,cAAf,eAAe,GAAI,cAAc,CAAC;IAElD,MAAM,WAAW,GAAG,GAAG,OAAO,CAAC,UAAU,MAAM,CAAC;IAChD,MAAM,WAAW,GAAG,gBAAgB;QAClC,CAAC,CAAC,IAAA,0BAAiB,EAAC,OAAO,EAAE,GAAG,gBAAgB,MAAM,CAAC;QACvD,CAAC,CAAC,IAAA,0BAAiB,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC5C,MAAM,kBAAkB,GAAG,IAAA,cAAK,EAAC,OAAO,CAAC,UAAU,CAAC,CAAC,YAAY,CAAC;IAElE,uCACK,OAAO,KACV,OAAO,EAAE,MAAA,OAAO,CAAC,OAAO,mCAAI,KAAK,EACjC,WAAW;QACX,kBAAkB;QAClB,WAAW;QACX,QAAQ,IACR;AACJ,CAAC;AAED,SA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AAC"}
|
|
@@ -8,11 +8,13 @@
|
|
|
8
8
|
"properties": {
|
|
9
9
|
"pluginName": {
|
|
10
10
|
"type": "string",
|
|
11
|
-
"description": "the name of the plugin to be tested."
|
|
11
|
+
"description": "the project name of the plugin to be tested.",
|
|
12
|
+
"x-priority": "important"
|
|
12
13
|
},
|
|
13
14
|
"npmPackageName": {
|
|
14
15
|
"type": "string",
|
|
15
|
-
"description": "the name of the
|
|
16
|
+
"description": "the package name of the plugin as it would be published to NPM.",
|
|
17
|
+
"x-priority": "important"
|
|
16
18
|
},
|
|
17
19
|
"projectDirectory": {
|
|
18
20
|
"type": "string",
|
|
@@ -20,22 +22,18 @@
|
|
|
20
22
|
},
|
|
21
23
|
"pluginOutputPath": {
|
|
22
24
|
"type": "string",
|
|
23
|
-
"description": "the output path of the plugin after it builds."
|
|
25
|
+
"description": "the output path of the plugin after it builds.",
|
|
26
|
+
"x-priority": "important"
|
|
24
27
|
},
|
|
25
28
|
"jestConfig": {
|
|
26
29
|
"type": "string",
|
|
27
30
|
"description": "Jest config file."
|
|
28
31
|
},
|
|
29
|
-
"standaloneConfig": {
|
|
30
|
-
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
31
|
-
"type": "boolean"
|
|
32
|
-
},
|
|
33
32
|
"minimal": {
|
|
34
33
|
"type": "boolean",
|
|
35
34
|
"description": "Generate the e2e project with a minimal setup. This would involve not generating tests for a default executor and generator.",
|
|
36
35
|
"default": false
|
|
37
36
|
}
|
|
38
37
|
},
|
|
39
|
-
"required": ["pluginName", "npmPackageName"]
|
|
40
|
-
"additionalProperties": false
|
|
38
|
+
"required": ["pluginName", "npmPackageName"]
|
|
41
39
|
}
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"$default": {
|
|
20
20
|
"$source": "projectName"
|
|
21
21
|
},
|
|
22
|
-
"x-prompt": "What is the name of the project for the executor?"
|
|
22
|
+
"x-prompt": "What is the name of the project for the executor?",
|
|
23
|
+
"x-priority": "important"
|
|
23
24
|
},
|
|
24
25
|
"name": {
|
|
25
26
|
"type": "string",
|
|
@@ -28,7 +29,8 @@
|
|
|
28
29
|
"$source": "argv",
|
|
29
30
|
"index": 0
|
|
30
31
|
},
|
|
31
|
-
"x-prompt": "What name would you like to use for the executor?"
|
|
32
|
+
"x-prompt": "What name would you like to use for the executor?",
|
|
33
|
+
"x-priority": "important"
|
|
32
34
|
},
|
|
33
35
|
"description": {
|
|
34
36
|
"type": "string",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"$default": {
|
|
20
20
|
"$source": "projectName"
|
|
21
21
|
},
|
|
22
|
-
"x-prompt": "What is the name of the project for the generator?"
|
|
22
|
+
"x-prompt": "What is the name of the project for the generator?",
|
|
23
|
+
"x-priority": "important"
|
|
23
24
|
},
|
|
24
25
|
"name": {
|
|
25
26
|
"type": "string",
|
|
@@ -28,7 +29,8 @@
|
|
|
28
29
|
"$source": "argv",
|
|
29
30
|
"index": 0
|
|
30
31
|
},
|
|
31
|
-
"x-prompt": "What name would you like to use for the generator?"
|
|
32
|
+
"x-prompt": "What name would you like to use for the generator?",
|
|
33
|
+
"x-priority": "important"
|
|
32
34
|
},
|
|
33
35
|
"description": {
|
|
34
36
|
"type": "string",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"$default": {
|
|
20
20
|
"$source": "projectName"
|
|
21
21
|
},
|
|
22
|
-
"x-prompt": "What is the name of the project for the migration?"
|
|
22
|
+
"x-prompt": "What is the name of the project for the migration?",
|
|
23
|
+
"x-priority": "important"
|
|
23
24
|
},
|
|
24
25
|
"name": {
|
|
25
26
|
"type": "string",
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
"$default": {
|
|
28
29
|
"$source": "argv",
|
|
29
30
|
"index": 0
|
|
30
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"x-priority": "important"
|
|
31
33
|
},
|
|
32
34
|
"description": {
|
|
33
35
|
"type": "string",
|
|
@@ -37,7 +39,8 @@
|
|
|
37
39
|
"type": "string",
|
|
38
40
|
"description": "Version to use for the migration.",
|
|
39
41
|
"alias": "v",
|
|
40
|
-
"x-prompt": "What version would you like to use for the migration?"
|
|
42
|
+
"x-prompt": "What version would you like to use for the migration?",
|
|
43
|
+
"x-priority": "important"
|
|
41
44
|
},
|
|
42
45
|
"packageJsonUpdates": {
|
|
43
46
|
"type": "boolean",
|
|
@@ -67,10 +67,10 @@ function updateWorkspaceJson(host, options) {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
function pluginGenerator(host, schema) {
|
|
70
|
-
var _a
|
|
70
|
+
var _a;
|
|
71
71
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
72
72
|
const options = (0, normalize_schema_1.normalizeOptions)(host, schema);
|
|
73
|
-
yield (0, js_1.libraryGenerator)(host, Object.assign(Object.assign({}, schema), { config:
|
|
73
|
+
yield (0, js_1.libraryGenerator)(host, Object.assign(Object.assign({}, schema), { config: 'project', buildable: true, importPath: options.npmPackageName }));
|
|
74
74
|
(0, devkit_1.addDependenciesToPackageJson)(host, {}, {
|
|
75
75
|
'@nrwl/devkit': versions_2.nxVersion,
|
|
76
76
|
'@nrwl/jest': versions_2.nxVersion,
|
|
@@ -89,8 +89,7 @@ function pluginGenerator(host, schema) {
|
|
|
89
89
|
projectDirectory: options.projectDirectory,
|
|
90
90
|
pluginOutputPath: `dist/${options.libsDir}/${options.projectDirectory}`,
|
|
91
91
|
npmPackageName: options.npmPackageName,
|
|
92
|
-
|
|
93
|
-
minimal: (_b = options.minimal) !== null && _b !== void 0 ? _b : false,
|
|
92
|
+
minimal: (_a = options.minimal) !== null && _a !== void 0 ? _a : false,
|
|
94
93
|
});
|
|
95
94
|
}
|
|
96
95
|
if (options.linter === linter_1.Linter.EsLint && !options.skipLintChecks) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/generators/plugin/plugin.ts"],"names":[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AK,CAAC,OAAO,CAAC,MAAM,GAAG;YACrC,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM;YACvC;gBACE,KAAK,EAAE,KAAK,OAAO,CAAC,WAAW,MAAM;gBACrC,IAAI,EAAE,YAAY;gBAClB,MAAM,EAAE,OAAO;aAChB;YACD;gBACE,KAAK,EAAE,KAAK,OAAO,CAAC,WAAW,MAAM;gBACrC,IAAI,EAAE,WAAW;gBACjB,MAAM,EAAE,OAAO;aAChB;YACD;gBACE,KAAK,EAAE,KAAK,OAAO,CAAC,WAAW,EAAE;gBACjC,IAAI,EAAE,iBAAiB;gBACvB,MAAM,EAAE,GAAG;aACZ;YACD;gBACE,KAAK,EAAE,KAAK,OAAO,CAAC,WAAW,EAAE;gBACjC,IAAI,EAAE,gBAAgB;gBACtB,MAAM,EAAE,GAAG;aACZ;SACF,CAAC;QAEF,IAAA,mCAA0B,EAAC,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;KACzD;AACH,CAAC;AAED,SAAsB,eAAe,CAAC,IAAU,EAAE,MAAc;;;QAC9D,MAAM,OAAO,GAAG,IAAA,mCAAgB,EAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAE/C,MAAM,IAAA,qBAAgB,EAAC,IAAI,kCACtB,MAAM,KACT,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../../../../../packages/nx-plugin/src/generators/plugin/plugin.ts"],"names":[],"mappings":";;;;AAAA,yCAUsB;AACtB,iCAA4C;AAC5C,sFAAiF;AACjF,yCAAsC;AACtC,oDAAuD;AACvD,6BAA6B;AAE7B,mDAA+D;AAC/D,4CAAyD;AACzD,mDAAyD;AACzD,sDAA4D;AAC5D,wDAAgE;AAChE,+DAA8E;AAI9E,SAAe,QAAQ,CAAC,IAAU,EAAE,OAAyB;;QAC3D,IAAI,CAAC,MAAM,CAAC,IAAA,sBAAa,EAAC,GAAG,OAA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,CAAC,gBAAgB,EAAE;gBACvE,cAAc,EAAE,OAAO,CAAC,cAAc;gBACtC,OAAO,EAAE,MAAA,OAAO,CAAC,OAAO,mCAAI,KAAK;aAClC,CAAC,CAAC;SACJ;QAED,IAAI,OAAO,CAAC,MAAM,KAAK,eAAM,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE;YAC/D,MAAM,IAAA,mBAAwB,EAAC,IAAI,EAAE,EAAE,WAAW,EAAE,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;SACrE;QAED,MAAM,IAAA,oBAAW,EAAC,IAAI,CAAC,CAAC;QAExB,OAAO,GAAG,EAAE,CAAC,IAAA,4BAAmB,EAAC,IAAI,CAAC,CAAC;;CACxC;AA9CD,0CA8CC;AAED,kBAAe,eAAe,CAAC;AAClB,QAAA,eAAe,GAAG,IAAA,2BAAkB,EAAC,eAAe,CAAC,CAAC"}
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"$source": "argv",
|
|
20
20
|
"index": 0
|
|
21
21
|
},
|
|
22
|
-
"x-prompt": "What name would you like to use for the plugin?"
|
|
22
|
+
"x-prompt": "What name would you like to use for the plugin?",
|
|
23
|
+
"x-priority": "important"
|
|
23
24
|
},
|
|
24
25
|
"directory": {
|
|
25
26
|
"type": "string",
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
},
|
|
28
29
|
"importPath": {
|
|
29
30
|
"type": "string",
|
|
30
|
-
"description": "How the plugin will be published, like `@myorg/my-awesome-plugin`. Note this must be a valid NPM name."
|
|
31
|
+
"description": "How the plugin will be published, like `@myorg/my-awesome-plugin`. Note this must be a valid NPM name.",
|
|
32
|
+
"x-priority": "important"
|
|
31
33
|
},
|
|
32
34
|
"linter": {
|
|
33
35
|
"description": "The tool to use for running lint checks.",
|
|
@@ -49,12 +51,14 @@
|
|
|
49
51
|
"skipFormat": {
|
|
50
52
|
"description": "Skip formatting files.",
|
|
51
53
|
"type": "boolean",
|
|
52
|
-
"default": false
|
|
54
|
+
"default": false,
|
|
55
|
+
"x-priority": "internal"
|
|
53
56
|
},
|
|
54
57
|
"skipTsConfig": {
|
|
55
58
|
"type": "boolean",
|
|
56
59
|
"default": false,
|
|
57
|
-
"description": "Do not update tsconfig.json for development experience."
|
|
60
|
+
"description": "Do not update tsconfig.json for development experience.",
|
|
61
|
+
"x-priority": "internal"
|
|
58
62
|
},
|
|
59
63
|
"skipLintChecks": {
|
|
60
64
|
"type": "boolean",
|
|
@@ -67,10 +71,6 @@
|
|
|
67
71
|
"description": "Test runner to use for end to end (E2E) tests.",
|
|
68
72
|
"default": "jest"
|
|
69
73
|
},
|
|
70
|
-
"standaloneConfig": {
|
|
71
|
-
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
72
|
-
"type": "boolean"
|
|
73
|
-
},
|
|
74
74
|
"setParserOptionsProject": {
|
|
75
75
|
"type": "boolean",
|
|
76
76
|
"description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.",
|