@rxap/plugin-library 20.2.2-dev.3 → 20.3.0-dev.2

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 CHANGED
@@ -3,6 +3,22 @@
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
+ # [20.3.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/plugin-library@20.3.0-dev.1...@rxap/plugin-library@20.3.0-dev.2) (2026-01-13)
7
+
8
+ **Note:** Version bump only for package @rxap/plugin-library
9
+
10
+ # [20.3.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/plugin-library@20.3.0-dev.0...@rxap/plugin-library@20.3.0-dev.1) (2026-01-12)
11
+
12
+ ### Bug Fixes
13
+
14
+ - update package groups ([ba8753f](https://gitlab.com/rxap/packages/commit/ba8753f5f34680adc282d84c557fc43385bfa987))
15
+
16
+ # [20.3.0-dev.0](https://gitlab.com/rxap/packages/compare/@rxap/plugin-library@20.2.2-dev.3...@rxap/plugin-library@20.3.0-dev.0) (2026-01-12)
17
+
18
+ ### Features
19
+
20
+ - **schema:** enhance generator schema documentation with descriptions and examples ([0ae4939](https://gitlab.com/rxap/packages/commit/0ae4939d77e3e313ace4a77d8f5dd86c3c918d29))
21
+
6
22
  ## [20.2.2-dev.3](https://gitlab.com/rxap/packages/compare/@rxap/plugin-library@20.2.2-dev.2...@rxap/plugin-library@20.2.2-dev.3) (2025-09-18)
7
23
 
8
24
  **Note:** Version bump only for package @rxap/plugin-library
package/README.md CHANGED
@@ -57,14 +57,14 @@ nx g @rxap/plugin-library:init
57
57
 
58
58
  Option | Type | Default | Description
59
59
  --- | --- | --- | ---
60
- project | string | |
61
- projects | array | |
62
- skipFormat | boolean | false |
63
- overwrite | boolean | false | Whether to overwrite existing files
64
- skipProjects | boolean | false | Whether to skip executing project specific initialization
65
- indexExport | boolean | | Whether to add the index-export target to the library
66
- targets | object | |
67
- withInitGenerator | boolean | false | Generate a init generator for the library
60
+ project | string | | The name of the library project to initialize.
61
+ projects | array | | The list of library projects to initialize.
62
+ skipFormat | boolean | false | Whether to skip formatting files with Prettier after initialization.
63
+ overwrite | boolean | false | Whether to overwrite existing files during initialization.
64
+ skipProjects | boolean | false | Whether to skip executing project-specific initialization logic.
65
+ indexExport | boolean | | Whether to add the 'index-export' target to the library project configuration.
66
+ targets | object | | Configuration for specific project targets.
67
+ withInitGenerator | boolean | false | Whether to generate an 'init' generator within the library itself.
68
68
 
69
69
  ## fix-dependencies
70
70
  > Adds missing dependencies and removes redudant dependencies of a project
@@ -75,14 +75,14 @@ nx g @rxap/plugin-library:fix-dependencies
75
75
 
76
76
  Option | Type | Default | Description
77
77
  --- | --- | --- | ---
78
- projects | array | |
79
- reset | boolean | |
80
- resolve | boolean | |
81
- resetAll | boolean | |
82
- strict | boolean | false | If true, will fail if any dependency is not found
83
- onlyDependencies | boolean | false | If true, will move all peer dependencies to dependencies
84
- dependencies | array | | List of packages that should always be added as dependencies
85
- peerDependencies | array | | List of packages that should always be added as peerDependencies
78
+ projects | array | | The list of projects to fix dependencies for.
79
+ reset | boolean | | Whether to reset the project's dependencies before fixing them.
80
+ resolve | boolean | | Whether to resolve dependency versions from the workspace root 'package.json'.
81
+ resetAll | boolean | | Whether to reset all project dependencies, including peer dependencies.
82
+ strict | boolean | false | Whether to fail if any required dependency cannot be found in the workspace.
83
+ onlyDependencies | boolean | false | Whether to move all peer dependencies to the regular dependencies section.
84
+ dependencies | array | | A list of package names that should always be added to the 'dependencies' section.
85
+ peerDependencies | array | | A list of package names that should always be added to the 'peerDependencies' section.
86
86
 
87
87
  ## index-export
88
88
  > Generate index exports for each directory and in the src root
@@ -93,10 +93,10 @@ nx g @rxap/plugin-library:index-export
93
93
 
94
94
  Option | Type | Default | Description
95
95
  --- | --- | --- | ---
96
- projects | array | |
97
- project | string | |
98
- generateRootExport | boolean | true | Generate index.ts in the source root of the project
99
- additionalEntryPoints | array | |
96
+ projects | array | | The list of projects to generate index exports for.
97
+ project | string | | The name of a single project to generate an index export for.
98
+ generateRootExport | boolean | true | Whether to generate an 'index.ts' file in the source root of the project.
99
+ additionalEntryPoints | array | | A list of additional sub-directory entry points to include in the index export.
100
100
 
101
101
  ## init-plugin
102
102
  > init-plugin generator
@@ -107,11 +107,11 @@ nx g @rxap/plugin-library:init-plugin
107
107
 
108
108
  Option | Type | Default | Description
109
109
  --- | --- | --- | ---
110
- project | string | |
111
- projects | array | |
112
- skipFormat | boolean | false |
113
- overwrite | boolean | false | Whether to overwrite existing files
114
- skipProjects | boolean | false | Whether to skip executing project specific initialization
110
+ project | string | | The name of the project to initialize as an Nx plugin.
111
+ projects | array | | The list of projects to initialize as Nx plugins.
112
+ skipFormat | boolean | false | Whether to skip formatting files with Prettier after initialization.
113
+ overwrite | boolean | false | Whether to overwrite existing files during initialization.
114
+ skipProjects | boolean | false | Whether to skip executing project-specific initialization logic.
115
115
 
116
116
  ## init-buildable
117
117
  > init-buildable generator
@@ -122,11 +122,11 @@ nx g @rxap/plugin-library:init-buildable
122
122
 
123
123
  Option | Type | Default | Description
124
124
  --- | --- | --- | ---
125
- project | string | |
126
- projects | array | |
127
- skipFormat | boolean | false |
128
- overwrite | boolean | false | Whether to overwrite existing files
129
- skipProjects | boolean | false | Whether to skip executing project specific initialization
125
+ project | string | | The name of the buildable library project to initialize.
126
+ projects | array | | The list of buildable library projects to initialize.
127
+ skipFormat | boolean | false | Whether to skip formatting files with Prettier after initialization.
128
+ overwrite | boolean | false | Whether to overwrite existing files during initialization.
129
+ skipProjects | boolean | false | Whether to skip executing project-specific initialization logic.
130
130
 
131
131
  ## init-publishable
132
132
  > init-publishable generator
@@ -137,13 +137,13 @@ nx g @rxap/plugin-library:init-publishable
137
137
 
138
138
  Option | Type | Default | Description
139
139
  --- | --- | --- | ---
140
- project | string | |
141
- projects | array | |
142
- skipFormat | boolean | false |
143
- overwrite | boolean | false | Whether to overwrite existing files
144
- skipProjects | boolean | false | Whether to skip executing project specific initialization
145
- targets | object | |
146
- withInitGenerator | boolean | false | Generate a init generator for the library
140
+ project | string | | The name of the library project to initialize for publishing.
141
+ projects | array | | The list of library projects to initialize for publishing.
142
+ skipFormat | boolean | false | Whether to skip formatting files with Prettier after initialization.
143
+ overwrite | boolean | false | Whether to overwrite existing files during initialization.
144
+ skipProjects | boolean | false | Whether to skip executing project-specific initialization logic.
145
+ targets | object | | Configuration for specific project targets.
146
+ withInitGenerator | boolean | false | Whether to generate an 'init' generator within the library itself.
147
147
 
148
148
  ## expose-as-schematic
149
149
  > expose-as-schematic generator
@@ -154,8 +154,8 @@ nx g @rxap/plugin-library:expose-as-schematic
154
154
 
155
155
  Option | Type | Default | Description
156
156
  --- | --- | --- | ---
157
- projects | array | |
158
- project | string | |
157
+ projects | array | | The list of projects to expose as schematics.
158
+ project | string | | The name of a single project to expose as a schematic.
159
159
 
160
160
  ## bundle-json-schema
161
161
  > bundle-json-schema generator
@@ -166,7 +166,7 @@ nx g @rxap/plugin-library:bundle-json-schema
166
166
 
167
167
  Option | Type | Default | Description
168
168
  --- | --- | --- | ---
169
- project | string | | Name of the project
169
+ project | string | | The name of the project whose JSON schemas should be bundled.
170
170
 
171
171
  ## index-json-schema
172
172
  > index-json-schema generator
@@ -177,7 +177,7 @@ nx g @rxap/plugin-library:index-json-schema
177
177
 
178
178
  Option | Type | Default | Description
179
179
  --- | --- | --- | ---
180
- project | string | | Name of the project
180
+ project | string | | The name of the project whose JSON schemas should be indexed.
181
181
 
182
182
  ## init-with-migrations
183
183
  > init-with-migrations generator
@@ -188,11 +188,11 @@ nx g @rxap/plugin-library:init-with-migrations
188
188
 
189
189
  Option | Type | Default | Description
190
190
  --- | --- | --- | ---
191
- project | string | |
192
- projects | array | |
193
- skipFormat | boolean | false |
194
- overwrite | boolean | false | Whether to overwrite existing files
195
- skipProjects | boolean | false | Whether to skip executing project specific initialization
191
+ project | string | | The name of the library project to initialize with migrations support.
192
+ projects | array | | The list of library projects to initialize with migrations support.
193
+ skipFormat | boolean | false | Whether to skip formatting files with Prettier after initialization.
194
+ overwrite | boolean | false | Whether to overwrite existing files during initialization.
195
+ skipProjects | boolean | false | Whether to skip executing project-specific initialization logic.
196
196
 
197
197
  ## add-migration
198
198
  > add-migration generator
@@ -203,12 +203,12 @@ nx g @rxap/plugin-library:add-migration
203
203
 
204
204
  Option | Type | Default | Description
205
205
  --- | --- | --- | ---
206
- project | string | | Name of the project
207
- name | string | | Name of the migration
208
- description | string | | Description of the migration
209
- packageVersion | string | | Version to use for the migration.
210
- packageJsonUpdates | boolean | false | Whether or not to include `package.json` updates.
211
- increment | string | | Increment the version of the package.json file
206
+ project | string | | The name of the project to add the migration to.
207
+ name | string | | The name of the migration file.
208
+ description | string | | A brief description of what the migration does.
209
+ packageVersion | string | | The package version that triggers this migration.
210
+ packageJsonUpdates | boolean | false | Whether to include 'package.json' dependency updates in the migration.
211
+ increment | string | | The type of version increment for the 'package.json' file.
212
212
 
213
213
  ## init-preset
214
214
  > init-preset generator
@@ -219,11 +219,11 @@ nx g @rxap/plugin-library:init-preset
219
219
 
220
220
  Option | Type | Default | Description
221
221
  --- | --- | --- | ---
222
- project | string | |
223
- projects | array | |
224
- skipFormat | boolean | false |
225
- overwrite | boolean | false | Whether to overwrite existing files
226
- skipProjects | boolean | false | Whether to skip executing project specific initialization
222
+ project | string | | The name of the library project to initialize with a preset.
223
+ projects | array | | The list of library projects to initialize with a preset.
224
+ skipFormat | boolean | false | Whether to skip formatting files with Prettier after initialization.
225
+ overwrite | boolean | false | Whether to overwrite existing files during initialization.
226
+ skipProjects | boolean | false | Whether to skip executing project-specific initialization logic.
227
227
 
228
228
  ## init-schematic
229
229
  > init-schematic generator
@@ -234,11 +234,11 @@ nx g @rxap/plugin-library:init-schematic
234
234
 
235
235
  Option | Type | Default | Description
236
236
  --- | --- | --- | ---
237
- project | string | |
238
- projects | array | |
239
- skipFormat | boolean | false |
240
- overwrite | boolean | false | Whether to overwrite existing files
241
- skipProjects | boolean | false | Whether to skip executing project specific initialization
237
+ project | string | | The name of the project to initialize as a schematic library.
238
+ projects | array | | The list of projects to initialize as schematic libraries.
239
+ skipFormat | boolean | false | Whether to skip formatting files with Prettier after initialization.
240
+ overwrite | boolean | false | Whether to overwrite existing files during initialization.
241
+ skipProjects | boolean | false | Whether to skip executing project-specific initialization logic.
242
242
  # Executors
243
243
 
244
244
  ## update-dependencies
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "20.2.2-dev.3",
2
+ "version": "20.3.0-dev.2",
3
3
  "name": "@rxap/plugin-library",
4
4
  "description": "This package provides generators and executors for managing and maintaining Nx plugin libraries. It includes functionality for generating index exports, fixing dependencies, generating JSON schemas, and more. It helps streamline the development process for Nx plugins by automating common tasks and enforcing best practices.\n",
5
5
  "license": "GPL-3.0-or-later",
@@ -7,12 +7,12 @@
7
7
  "@apidevtools/json-schema-ref-parser": "^9.0.9",
8
8
  "@nx/devkit": "20.5.0",
9
9
  "@nx/plugin": "20.5.0",
10
- "@rxap/node-utilities": "^1.3.11-dev.2",
11
- "@rxap/plugin-utilities": "^20.0.5-dev.2",
12
- "@rxap/ts-morph": "^1.6.0-dev.2",
13
- "@rxap/utilities": "^16.5.0-dev.0",
14
- "@rxap/workspace-ts-morph": "^19.1.13-dev.3",
15
- "@rxap/workspace-utilities": "^19.8.1-dev.2",
10
+ "@rxap/node-utilities": "^1.3.11-dev.3",
11
+ "@rxap/plugin-utilities": "^20.0.5-dev.3",
12
+ "@rxap/ts-morph": "^1.6.0-dev.3",
13
+ "@rxap/utilities": "^16.5.0-dev.1",
14
+ "@rxap/workspace-ts-morph": "^19.1.13-dev.4",
15
+ "@rxap/workspace-utilities": "^19.8.1-dev.3",
16
16
  "colors": "1.4.0",
17
17
  "handlebars": "4.7.8",
18
18
  "nx": "20.5.0",
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "schematics": "./generators.json",
51
51
  "type": "commonjs",
52
- "gitHead": "ef20bc50270ad0727a111d54e48cb279ff3ed5cf",
52
+ "gitHead": "69d6ee61a20632f52b77de621089334a34f45e03",
53
53
  "exports": {
54
54
  "./package.json": "./package.json",
55
55
  ".": {
@@ -53,13 +53,13 @@ function getPeerDependenciesForPackage(packageName) {
53
53
  if (!packageJson) {
54
54
  return {};
55
55
  }
56
- console.log(`Package ${packageName} has the following peer dependencies:`, Object.keys((_a = packageJson.peerDependencies) !== null && _a !== void 0 ? _a : {}).join(', '));
56
+ process.env['RXAP_GENERATOR_DEBUG'] === 'true' && console.log(`Package ${packageName} has the following peer dependencies:`, Object.keys((_a = packageJson.peerDependencies) !== null && _a !== void 0 ? _a : {}).join(', '));
57
57
  return (_b = packageJson.peerDependencies) !== null && _b !== void 0 ? _b : {};
58
58
  }
59
59
  function getAllPeerDependenciesForProject(context_1) {
60
60
  return tslib_1.__awaiter(this, arguments, void 0, function* (context, projectName = context.projectName, resolvedPeerDependencies = []) {
61
61
  let { peerDependencies = {} } = yield (0, plugin_utilities_1.readPackageJsonForProjectWithRetry)(context, projectName);
62
- console.log(`Project ${projectName} has the following peer dependencies:`, Object.keys(peerDependencies).join(', '));
62
+ process.env['RXAP_GENERATOR_DEBUG'] === 'true' && console.log(`Project ${projectName} has the following peer dependencies:`, Object.keys(peerDependencies).join(', '));
63
63
  for (const peerDependency of Object.keys(peerDependencies)) {
64
64
  if (resolvedPeerDependencies.includes(peerDependency)) {
65
65
  continue;
@@ -1 +1 @@
1
- {"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/library/src/executors/update-package-group/executor.ts"],"names":[],"mappings":";;AA6KA,8BA8CC;;AA1ND,6DAOgC;AAChC,mEAGmC;AACnC,2BAAkC;AAClC,4DAImC;AACnC,+BAA4B;AAG5B,IAAI,eAAe,GAAuB,IAAI,CAAC;AAE/C,SAAS,uBAAuB,CAAC,WAAmB,EAAE,OAAe;;IACnE,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,eAAe,GAAG,IAAA,w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O,CAAC,CAAC,CAAC;QAE5F,IAAA,8CAA2B,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAElD,OAAO;YACL,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;CAAA"}
1
+ {"version":3,"file":"executor.js","sourceRoot":"","sources":["../../../../../../../packages/plugin/library/src/executors/update-package-group/executor.ts"],"names":[],"mappings":";;AA6KA,8BA8CC;;AA1ND,6DAOgC;AAChC,mEAGmC;AACnC,2BAAkC;AAClC,4DAImC;AACnC,+BAA4B;AAG5B,IAAI,eAAe,GAAuB,IAAI,CAAC;AAE/C,SAAS,uBAAuB,CAAC,WAAmB,EAAE,OAAe;;IACnE,IAAI,CAAC,eAAe,EAAE,CAAC;QACrB,eAAe,GAAG,IAAA,wCAAkB,GAAE,CAAC;IACzC,CAAC;IACD,IAAI,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,YAAY,0CAAG,WAAW,CAAC,EAAE,CAAC;QACjD,OAAO,GAAG,eAAe,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;IACtD,CAAC;IACD,IAAI,MAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,eAAe,0CAAG,WAAW,CAAC,EAAE,CAAC;QACpD,OAAO,GAAG,eAAe,CAAC,eAAe,CAAC,WAAW,CAAC,CAAC;IACzD,CAAC;IACD,OAAO,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC;AAC1C,CAAC;AAED,SAAS,qBAAqB,CAAC,KAA6B,EAAE,iBAA2B;IACvF,OAAO,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC;SACzB,MAAM,CAAC,CAAC,CAAE,WAAW,CAAE,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;SACrF,GAAG,CAAC,CAAC,CAAE,WAAW,EAAE,OAAO,CAAE,EAAE,EAAE,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CAAI,EAAE,EAAE,MAAA,OAAO,CAAC,mBAAmB,mCAAI,KAAK,CAAC,CAAC;QAClI,MAAA,YAAY,CAAC,YAAY,oCAAzB,YAAY,CAAC,YAAY,GAAK,EAAE,EAAC;QAEjC,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;YAClB,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;YACvC,YAAY,GAAG,iBAAiB,CAAC,YAAY,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;QAC5E,CAAC;QAED,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,CAAC;QACjF,YAAY,CAAC,YAAY,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAE5F,IAAA,8CAA2B,EAAC,OAAO,EAAE,WAAW,CAAC,CAAC;QAElD,OAAO;YACL,OAAO,EAAE,IAAI;SACd,CAAC;IACJ,CAAC;CAAA"}
@@ -6,35 +6,40 @@
6
6
  "properties": {
7
7
  "project": {
8
8
  "type": "string",
9
- "description": "Name of the project",
10
- "x-prompt": "For which project should the migration be created?"
9
+ "description": "The name of the project to add the migration to.",
10
+ "x-prompt": "For which project should the migration be created?",
11
+ "examples": ["my-lib"]
11
12
  },
12
13
  "name": {
13
14
  "type": "string",
14
- "description": "Name of the migration",
15
- "x-prompt": "What name would you like to use?"
15
+ "description": "The name of the migration file.",
16
+ "x-prompt": "What name would you like to use?",
17
+ "examples": ["fix-styles"]
16
18
  },
17
19
  "description": {
18
20
  "type": "string",
19
- "description": "Description of the migration",
20
- "x-prompt": "What description would you like to use?"
21
+ "description": "A brief description of what the migration does.",
22
+ "x-prompt": "What description would you like to use?",
23
+ "examples": ["Fixes broken styles in the component library."]
21
24
  },
22
25
  "packageVersion": {
23
26
  "type": "string",
24
- "description": "Version to use for the migration.",
27
+ "description": "The package version that triggers this migration.",
25
28
  "x-prompt": "What version would you like to use for the migration?",
26
- "x-priority": "important"
29
+ "x-priority": "important",
30
+ "examples": ["1.2.3"]
27
31
  },
28
32
  "packageJsonUpdates": {
29
33
  "type": "boolean",
30
- "description": "Whether or not to include `package.json` updates.",
34
+ "description": "Whether to include 'package.json' dependency updates in the migration.",
31
35
  "default": false
32
36
  },
33
37
  "increment": {
34
38
  "type": "string",
35
39
  "enum": ["major", "minor", "patch"],
36
- "description": "Increment the version of the package.json file",
37
- "x-priority": "important"
40
+ "description": "The type of version increment for the 'package.json' file.",
41
+ "x-priority": "important",
42
+ "examples": ["patch"]
38
43
  }
39
44
  },
40
45
  "required": [
@@ -6,7 +6,8 @@
6
6
  "properties": {
7
7
  "project": {
8
8
  "type": "string",
9
- "description": "Name of the project"
9
+ "description": "The name of the project whose JSON schemas should be bundled.",
10
+ "examples": ["my-lib"]
10
11
  }
11
12
  },
12
13
  "required": ["project"]
@@ -8,10 +8,14 @@
8
8
  "type": "array",
9
9
  "items": {
10
10
  "type": "string"
11
- }
11
+ },
12
+ "description": "The list of projects to expose as schematics.",
13
+ "examples": [["my-lib", "another-lib"]]
12
14
  },
13
15
  "project": {
14
- "type": "string"
16
+ "type": "string",
17
+ "description": "The name of a single project to expose as a schematic.",
18
+ "examples": ["my-lib"]
15
19
  }
16
20
  },
17
21
  "required": []
@@ -9,41 +9,48 @@
9
9
  "type": "array",
10
10
  "items": {
11
11
  "type": "string"
12
- }
12
+ },
13
+ "description": "The list of projects to fix dependencies for.",
14
+ "examples": [["my-lib", "another-lib"]]
13
15
  },
14
16
  "reset": {
15
- "type": "boolean"
17
+ "type": "boolean",
18
+ "description": "Whether to reset the project's dependencies before fixing them."
16
19
  },
17
20
  "resolve": {
18
- "type": "boolean"
21
+ "type": "boolean",
22
+ "description": "Whether to resolve dependency versions from the workspace root 'package.json'."
19
23
  },
20
24
  "resetAll": {
21
25
  "alias": "resetAll",
22
- "type": "boolean"
26
+ "type": "boolean",
27
+ "description": "Whether to reset all project dependencies, including peer dependencies."
23
28
  },
24
29
  "strict": {
25
30
  "type": "boolean",
26
31
  "default": false,
27
- "description": "If true, will fail if any dependency is not found"
32
+ "description": "Whether to fail if any required dependency cannot be found in the workspace."
28
33
  },
29
34
  "onlyDependencies": {
30
35
  "type": "boolean",
31
36
  "default": false,
32
- "description": "If true, will move all peer dependencies to dependencies"
37
+ "description": "Whether to move all peer dependencies to the regular dependencies section."
33
38
  },
34
39
  "dependencies": {
35
40
  "type": "array",
36
41
  "items": {
37
42
  "type": "string"
38
43
  },
39
- "description": "List of packages that should always be added as dependencies"
44
+ "description": "A list of package names that should always be added to the 'dependencies' section.",
45
+ "examples": [["lodash", "axios"]]
40
46
  },
41
47
  "peerDependencies": {
42
48
  "type": "array",
43
49
  "items": {
44
50
  "type": "string"
45
51
  },
46
- "description": "List of packages that should always be added as peerDependencies"
52
+ "description": "A list of package names that should always be added to the 'peerDependencies' section.",
53
+ "examples": [["react", "react-dom"]]
47
54
  }
48
55
  },
49
56
  "required": []
@@ -9,21 +9,27 @@
9
9
  "type": "array",
10
10
  "items": {
11
11
  "type": "string"
12
- }
12
+ },
13
+ "description": "The list of projects to generate index exports for.",
14
+ "examples": [["my-lib", "another-lib"]]
13
15
  },
14
16
  "project": {
15
- "type": "string"
17
+ "type": "string",
18
+ "description": "The name of a single project to generate an index export for.",
19
+ "examples": ["my-lib"]
16
20
  },
17
21
  "generateRootExport": {
18
22
  "type": "boolean",
19
23
  "default": true,
20
- "description": "Generate index.ts in the source root of the project"
24
+ "description": "Whether to generate an 'index.ts' file in the source root of the project."
21
25
  },
22
26
  "additionalEntryPoints": {
23
27
  "type": "array",
24
28
  "items": {
25
29
  "type": "string"
26
- }
30
+ },
31
+ "description": "A list of additional sub-directory entry points to include in the index export.",
32
+ "examples": [["src/lib/components", "src/lib/services"]]
27
33
  }
28
34
  },
29
35
  "required": []
@@ -6,7 +6,8 @@
6
6
  "properties": {
7
7
  "project": {
8
8
  "type": "string",
9
- "description": "Name of the project"
9
+ "description": "The name of the project whose JSON schemas should be indexed.",
10
+ "examples": ["my-lib"]
10
11
  }
11
12
  },
12
13
  "required": ["project"]
@@ -5,48 +5,54 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "project": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "The name of the library project to initialize.",
10
+ "examples": ["my-lib"]
9
11
  },
10
12
  "projects": {
11
13
  "type": "array",
12
14
  "items": {
13
15
  "type": "string"
14
- }
16
+ },
17
+ "description": "The list of library projects to initialize.",
18
+ "examples": [["my-lib", "another-lib"]]
15
19
  },
16
20
  "skipFormat": {
17
21
  "type": "boolean",
18
- "default": false
22
+ "default": false,
23
+ "description": "Whether to skip formatting files with Prettier after initialization."
19
24
  },
20
25
  "overwrite": {
21
26
  "type": "boolean",
22
27
  "default": false,
23
- "description": "Whether to overwrite existing files"
28
+ "description": "Whether to overwrite existing files during initialization."
24
29
  },
25
30
  "skipProjects": {
26
31
  "type": "boolean",
27
32
  "default": false,
28
- "description": "Whether to skip executing project specific initialization"
33
+ "description": "Whether to skip executing project-specific initialization logic."
29
34
  },
30
35
  "indexExport": {
31
36
  "type": "boolean",
32
- "description": "Whether to add the index-export target to the library"
37
+ "description": "Whether to add the 'index-export' target to the library project configuration."
33
38
  },
34
39
  "targets": {
35
40
  "type": "object",
41
+ "description": "Configuration for specific project targets.",
36
42
  "properties": {
37
43
  "fixDependencies": {
38
44
  "type": "boolean",
39
- "description": "If set to false the target fix-dependencies will not be added to the project"
45
+ "description": "Whether to add the 'fix-dependencies' target to the project."
40
46
  },
41
47
  "indexExport": {
42
48
  "type": "boolean",
43
- "description": "If set to false the target index-export will not be added to the project"
49
+ "description": "Whether to add the 'index-export' target to the project."
44
50
  }
45
51
  }
46
52
  },
47
53
  "withInitGenerator": {
48
54
  "type": "boolean",
49
- "description": "Generate a init generator for the library",
55
+ "description": "Whether to generate an 'init' generator within the library itself.",
50
56
  "default": false
51
57
  }
52
58
  },
@@ -5,27 +5,32 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "project": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "The name of the buildable library project to initialize.",
10
+ "examples": ["my-lib"]
9
11
  },
10
12
  "projects": {
11
13
  "type": "array",
12
14
  "items": {
13
15
  "type": "string"
14
- }
16
+ },
17
+ "description": "The list of buildable library projects to initialize.",
18
+ "examples": [["my-lib", "another-lib"]]
15
19
  },
16
20
  "skipFormat": {
17
21
  "type": "boolean",
18
- "default": false
22
+ "default": false,
23
+ "description": "Whether to skip formatting files with Prettier after initialization."
19
24
  },
20
25
  "overwrite": {
21
26
  "type": "boolean",
22
27
  "default": false,
23
- "description": "Whether to overwrite existing files"
28
+ "description": "Whether to overwrite existing files during initialization."
24
29
  },
25
30
  "skipProjects": {
26
31
  "type": "boolean",
27
32
  "default": false,
28
- "description": "Whether to skip executing project specific initialization"
33
+ "description": "Whether to skip executing project-specific initialization logic."
29
34
  }
30
35
  },
31
36
  "required": []
@@ -5,27 +5,32 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "project": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "The name of the project to initialize as an Nx plugin.",
10
+ "examples": ["my-plugin"]
9
11
  },
10
12
  "projects": {
11
13
  "type": "array",
12
14
  "items": {
13
15
  "type": "string"
14
- }
16
+ },
17
+ "description": "The list of projects to initialize as Nx plugins.",
18
+ "examples": [["my-plugin", "another-plugin"]]
15
19
  },
16
20
  "skipFormat": {
17
21
  "type": "boolean",
18
- "default": false
22
+ "default": false,
23
+ "description": "Whether to skip formatting files with Prettier after initialization."
19
24
  },
20
25
  "overwrite": {
21
26
  "type": "boolean",
22
27
  "default": false,
23
- "description": "Whether to overwrite existing files"
28
+ "description": "Whether to overwrite existing files during initialization."
24
29
  },
25
30
  "skipProjects": {
26
31
  "type": "boolean",
27
32
  "default": false,
28
- "description": "Whether to skip executing project specific initialization"
33
+ "description": "Whether to skip executing project-specific initialization logic."
29
34
  }
30
35
  },
31
36
  "required": []
@@ -5,27 +5,32 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "project": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "The name of the library project to initialize with a preset.",
10
+ "examples": ["my-lib"]
9
11
  },
10
12
  "projects": {
11
13
  "type": "array",
12
14
  "items": {
13
15
  "type": "string"
14
- }
16
+ },
17
+ "description": "The list of library projects to initialize with a preset.",
18
+ "examples": [["my-lib", "another-lib"]]
15
19
  },
16
20
  "skipFormat": {
17
21
  "type": "boolean",
18
- "default": false
22
+ "default": false,
23
+ "description": "Whether to skip formatting files with Prettier after initialization."
19
24
  },
20
25
  "overwrite": {
21
26
  "type": "boolean",
22
27
  "default": false,
23
- "description": "Whether to overwrite existing files"
28
+ "description": "Whether to overwrite existing files during initialization."
24
29
  },
25
30
  "skipProjects": {
26
31
  "type": "boolean",
27
32
  "default": false,
28
- "description": "Whether to skip executing project specific initialization"
33
+ "description": "Whether to skip executing project-specific initialization logic."
29
34
  }
30
35
  },
31
36
  "required": []
@@ -5,41 +5,47 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "project": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "The name of the library project to initialize for publishing.",
10
+ "examples": ["my-lib"]
9
11
  },
10
12
  "projects": {
11
13
  "type": "array",
12
14
  "items": {
13
15
  "type": "string"
14
- }
16
+ },
17
+ "description": "The list of library projects to initialize for publishing.",
18
+ "examples": [["my-lib", "another-lib"]]
15
19
  },
16
20
  "skipFormat": {
17
21
  "type": "boolean",
18
- "default": false
22
+ "default": false,
23
+ "description": "Whether to skip formatting files with Prettier after initialization."
19
24
  },
20
25
  "overwrite": {
21
26
  "type": "boolean",
22
27
  "default": false,
23
- "description": "Whether to overwrite existing files"
28
+ "description": "Whether to overwrite existing files during initialization."
24
29
  },
25
30
  "skipProjects": {
26
31
  "type": "boolean",
27
32
  "default": false,
28
- "description": "Whether to skip executing project specific initialization"
33
+ "description": "Whether to skip executing project-specific initialization logic."
29
34
  },
30
35
  "targets": {
31
36
  "type": "object",
37
+ "description": "Configuration for specific project targets.",
32
38
  "properties": {
33
39
  "fixDependencies": {
34
40
  "type": "boolean",
35
41
  "default": true,
36
- "description": "If set to false the target fix-dependencies will not be added to the project"
42
+ "description": "Whether to add the 'fix-dependencies' target to the project."
37
43
  }
38
44
  }
39
45
  },
40
46
  "withInitGenerator": {
41
47
  "type": "boolean",
42
- "description": "Generate a init generator for the library",
48
+ "description": "Whether to generate an 'init' generator within the library itself.",
43
49
  "default": false
44
50
  }
45
51
  },
@@ -5,27 +5,32 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "project": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "The name of the project to initialize as a schematic library.",
10
+ "examples": ["my-schematic-lib"]
9
11
  },
10
12
  "projects": {
11
13
  "type": "array",
12
14
  "items": {
13
15
  "type": "string"
14
- }
16
+ },
17
+ "description": "The list of projects to initialize as schematic libraries.",
18
+ "examples": [["my-schematic-lib", "another-schematic-lib"]]
15
19
  },
16
20
  "skipFormat": {
17
21
  "type": "boolean",
18
- "default": false
22
+ "default": false,
23
+ "description": "Whether to skip formatting files with Prettier after initialization."
19
24
  },
20
25
  "overwrite": {
21
26
  "type": "boolean",
22
27
  "default": false,
23
- "description": "Whether to overwrite existing files"
28
+ "description": "Whether to overwrite existing files during initialization."
24
29
  },
25
30
  "skipProjects": {
26
31
  "type": "boolean",
27
32
  "default": false,
28
- "description": "Whether to skip executing project specific initialization"
33
+ "description": "Whether to skip executing project-specific initialization logic."
29
34
  }
30
35
  },
31
36
  "required": []
@@ -5,27 +5,32 @@
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "project": {
8
- "type": "string"
8
+ "type": "string",
9
+ "description": "The name of the library project to initialize with migrations support.",
10
+ "examples": ["my-lib"]
9
11
  },
10
12
  "projects": {
11
13
  "type": "array",
12
14
  "items": {
13
15
  "type": "string"
14
- }
16
+ },
17
+ "description": "The list of library projects to initialize with migrations support.",
18
+ "examples": [["my-lib", "another-lib"]]
15
19
  },
16
20
  "skipFormat": {
17
21
  "type": "boolean",
18
- "default": false
22
+ "default": false,
23
+ "description": "Whether to skip formatting files with Prettier after initialization."
19
24
  },
20
25
  "overwrite": {
21
26
  "type": "boolean",
22
27
  "default": false,
23
- "description": "Whether to overwrite existing files"
28
+ "description": "Whether to overwrite existing files during initialization."
24
29
  },
25
30
  "skipProjects": {
26
31
  "type": "boolean",
27
32
  "default": false,
28
- "description": "Whether to skip executing project specific initialization"
33
+ "description": "Whether to skip executing project-specific initialization logic."
29
34
  }
30
35
  },
31
36
  "required": []