@nx/plugin 16.6.0-beta.5 → 16.6.0-beta.6
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 +7 -7
- package/src/generators/create-package/schema.json +1 -0
- package/src/generators/e2e-project/schema.json +1 -6
- package/src/generators/executor/schema.json +1 -0
- package/src/generators/lint-checks/schema.json +6 -0
- package/src/generators/migration/schema.json +1 -1
- package/src/generators/plugin/schema.json +1 -1
- package/src/generators/preset/schema.json +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/plugin",
|
|
3
|
-
"version": "16.6.0-beta.
|
|
3
|
+
"version": "16.6.0-beta.6",
|
|
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,11 +28,11 @@
|
|
|
28
28
|
"migrations": "./migrations.json"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@nrwl/nx-plugin": "16.6.0-beta.
|
|
32
|
-
"@nx/devkit": "16.6.0-beta.
|
|
33
|
-
"@nx/jest": "16.6.0-beta.
|
|
34
|
-
"@nx/js": "16.6.0-beta.
|
|
35
|
-
"@nx/linter": "16.6.0-beta.
|
|
31
|
+
"@nrwl/nx-plugin": "16.6.0-beta.6",
|
|
32
|
+
"@nx/devkit": "16.6.0-beta.6",
|
|
33
|
+
"@nx/jest": "16.6.0-beta.6",
|
|
34
|
+
"@nx/js": "16.6.0-beta.6",
|
|
35
|
+
"@nx/linter": "16.6.0-beta.6",
|
|
36
36
|
"@phenomnomnominal/tsquery": "~5.0.1",
|
|
37
37
|
"dotenv": "~10.0.0",
|
|
38
38
|
"fs-extra": "^11.1.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "9aad21dbfb2b659e488b6626f59df58ab23c0032"
|
|
45
45
|
}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"$id": "NxPluginE2E",
|
|
5
5
|
"title": "Create an E2E app for a Nx Plugin",
|
|
6
6
|
"description": "Create an E2E app for a Nx Plugin.",
|
|
7
|
+
"examplesFile": "../../../docs/generators/e2e-project-examples.md",
|
|
7
8
|
"type": "object",
|
|
8
9
|
"properties": {
|
|
9
10
|
"pluginName": {
|
|
@@ -29,12 +30,6 @@
|
|
|
29
30
|
"type": "string",
|
|
30
31
|
"description": "Jest config file."
|
|
31
32
|
},
|
|
32
|
-
"standaloneConfig": {
|
|
33
|
-
"description": "Split the project configuration into `<projectRoot>/project.json` rather than including it inside `workspace.json`.",
|
|
34
|
-
"type": "boolean",
|
|
35
|
-
"default": true,
|
|
36
|
-
"x-deprecated": "Nx only supports standaloneConfig"
|
|
37
|
-
},
|
|
38
33
|
"linter": {
|
|
39
34
|
"description": "The tool to use for running lint checks.",
|
|
40
35
|
"type": "string",
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
"title": "",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"description": "Adds linting configuration to validate common json files for nx plugins.",
|
|
8
|
+
"examples": [
|
|
9
|
+
{
|
|
10
|
+
"command": "nx g @nx/plugin:lint-checks",
|
|
11
|
+
"description": "Sets up linting configuration to validate common json files for an nx plugin project."
|
|
12
|
+
}
|
|
13
|
+
],
|
|
8
14
|
"properties": {
|
|
9
15
|
"projectName": {
|
|
10
16
|
"type": "string",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"examples": [
|
|
9
9
|
{
|
|
10
10
|
"command": "nx g migration my-migration --project=my-plugin --version=1.0.0",
|
|
11
|
-
"description": "
|
|
11
|
+
"description": "Adds a new migration to the project `my-plugin`, which will be triggered when migrating to version 1.0.0 or above from a previous version."
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"properties": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"examples": [
|
|
9
9
|
{
|
|
10
10
|
"command": "nx g plugin my-plugin --directory=plugins --importPath=@myorg/my-plugin",
|
|
11
|
-
"description": "
|
|
11
|
+
"description": "Generates an Nx plugin project called `plugins-my-plugin` at `libs/plugins/my-plugin`. The project will have an npm package name and import path of `@myorg/my-plugin`."
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"properties": {
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
"$id": "NxPluginPreset",
|
|
5
5
|
"title": "Generator ran by create-nx-plugin",
|
|
6
6
|
"description": "Initializes a workspace with an nx-plugin inside of it. Use as: `create-nx-plugin` or `create-nx-workspace --preset @nx/nx-plugin`.",
|
|
7
|
+
"examples": [
|
|
8
|
+
{
|
|
9
|
+
"command": "npx create-nx-plugin",
|
|
10
|
+
"description": "Creates a new Nx workspace containing an Nx plugin."
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"command": "npx create-nx-workspace --preset @nx/plugin",
|
|
14
|
+
"description": "Creates a new Nx workspace containing an Nx plugin."
|
|
15
|
+
}
|
|
16
|
+
],
|
|
7
17
|
"type": "object",
|
|
8
18
|
"properties": {
|
|
9
19
|
"pluginName": {
|