@powerlines/nx 0.9.5 → 0.10.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.
Files changed (43) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +34 -32
  3. package/dist/{chunk-RLV2BDHW.mjs → chunk-3E654WM2.mjs} +1 -1
  4. package/dist/{chunk-JMPM6JPD.js → chunk-5BPEG52U.js} +2 -2
  5. package/dist/chunk-67ALH5AX.js +327 -0
  6. package/dist/{chunk-Y2I6ZDWH.js → chunk-DODH7R3U.js} +2 -2
  7. package/dist/{chunk-SV7QXBCB.mjs → chunk-DVGRVHRD.mjs} +51 -52
  8. package/dist/{chunk-EVC3CWDX.mjs → chunk-H4ROBXJM.mjs} +1 -1
  9. package/dist/{chunk-P5UNWOB6.js → chunk-IS2MEDGI.js} +2 -2
  10. package/dist/chunk-KBRKYARM.mjs +320 -0
  11. package/dist/{chunk-IXFAMU7J.js → chunk-MI5C7LYS.js} +2 -2
  12. package/dist/{chunk-TEBG7V3S.mjs → chunk-MSR5HSGP.mjs} +513 -481
  13. package/dist/{chunk-GW5UQFFS.js → chunk-NFAKPYKX.js} +2 -2
  14. package/dist/{chunk-HTYRXIRM.mjs → chunk-QEHHWZYD.mjs} +1 -1
  15. package/dist/{chunk-F3XVH3HG.mjs → chunk-QY2HEZSZ.mjs} +1 -1
  16. package/dist/{chunk-OVUCSGTD.mjs → chunk-RPI3PNLJ.mjs} +1 -1
  17. package/dist/{chunk-JTW7QFIT.js → chunk-SXA7B3TE.js} +533 -502
  18. package/dist/{chunk-4UWZOCEA.js → chunk-UOTRU26N.js} +51 -52
  19. package/dist/executors.js +12 -12
  20. package/dist/executors.mjs +7 -7
  21. package/dist/index.d.mts +1 -1
  22. package/dist/index.d.ts +1 -1
  23. package/dist/index.js +15 -15
  24. package/dist/index.mjs +8 -8
  25. package/dist/src/base/base-executor.js +3 -3
  26. package/dist/src/base/base-executor.mjs +2 -2
  27. package/dist/src/executors/build/executor.js +5 -5
  28. package/dist/src/executors/build/executor.mjs +3 -3
  29. package/dist/src/executors/clean/executor.js +5 -5
  30. package/dist/src/executors/clean/executor.mjs +3 -3
  31. package/dist/src/executors/docs/executor.js +5 -5
  32. package/dist/src/executors/docs/executor.mjs +3 -3
  33. package/dist/src/executors/lint/executor.js +5 -5
  34. package/dist/src/executors/lint/executor.mjs +3 -3
  35. package/dist/src/executors/prepare/executor.js +5 -5
  36. package/dist/src/executors/prepare/executor.mjs +3 -3
  37. package/dist/src/plugin/index.d.mts +173 -11
  38. package/dist/src/plugin/index.d.ts +173 -11
  39. package/dist/src/plugin/index.js +4 -4
  40. package/dist/src/plugin/index.mjs +2 -2
  41. package/package.json +18 -18
  42. package/dist/chunk-FFBOHADM.mjs +0 -286
  43. package/dist/chunk-IFMXBBI7.js +0 -293
@@ -1,17 +1,179 @@
1
1
  import { CreateNodesV2 } from '@nx/devkit';
2
2
 
3
- declare const name = "powerlines/nx/plugin";
4
3
  interface NxPluginOptions {
5
- /**
6
- * The folder where the generated runtime modules/builtins will be located. This path should be relative to the project root.
7
- *
8
- * @remarks
9
- * This folder will contain all runtime modules and builtins generated during the "prepare" phase.
10
- *
11
- * @defaultValue ".powerlines"
12
- */
13
- runtimeFolder?: string;
4
+ clean?: false | {
5
+ /**
6
+ * The name of the clean target to use when cleaning the project
7
+ *
8
+ * @defaultValue "clean"
9
+ */
10
+ targetName?: string;
11
+ /**
12
+ * The name of the clean configuration to use when cleaning the project
13
+ *
14
+ * @defaultValue "production"
15
+ */
16
+ defaultConfiguration?: "production" | "test" | "development";
17
+ /**
18
+ * An array specifying any other target identifiers the clean target depends on
19
+ *
20
+ * @defaultValue ["^clean"]
21
+ */
22
+ dependsOn?: string[];
23
+ /**
24
+ * An array specifying any input files or globs to consider when determining if the clean target needs to be re-run
25
+ */
26
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
27
+ /**
28
+ * An array specifying the output files or globs generated by the clean target
29
+ */
30
+ outputs?: string[];
31
+ /**
32
+ * The executor to use for the clean target
33
+ *
34
+ * @defaultValue "\@powerlines/nx:clean"
35
+ */
36
+ executor?: string;
37
+ };
38
+ prepare?: false | {
39
+ /**
40
+ * The name of the prepare target to use when preparing the project
41
+ *
42
+ * @defaultValue "prepare"
43
+ */
44
+ targetName?: string;
45
+ /**
46
+ * The name of the prepare configuration to use when preparing the project
47
+ *
48
+ * @defaultValue "production"
49
+ */
50
+ defaultConfiguration?: "production" | "test" | "development";
51
+ /**
52
+ * An array specifying any other target identifiers the prepare target depends on
53
+ *
54
+ * @defaultValue ["^prepare", "clean"]
55
+ */
56
+ dependsOn?: string[];
57
+ /**
58
+ * An array specifying any input files or globs to consider when determining if the prepare target needs to be re-run
59
+ */
60
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
61
+ /**
62
+ * An array specifying the output files or globs generated by the prepare target
63
+ */
64
+ outputs?: string[];
65
+ /**
66
+ * The executor to use for the prepare target
67
+ *
68
+ * @defaultValue "\@powerlines/nx:prepare"
69
+ */
70
+ executor?: string;
71
+ };
72
+ lint?: false | {
73
+ /**
74
+ * The name of the lint target to use when linting the project
75
+ *
76
+ * @defaultValue "lint"
77
+ */
78
+ targetName?: string;
79
+ /**
80
+ * The name of the lint configuration to use when linting the project
81
+ *
82
+ * @defaultValue "production"
83
+ */
84
+ defaultConfiguration?: "production" | "test" | "development";
85
+ /**
86
+ * An array specifying any other target identifiers the lint target depends on
87
+ *
88
+ * @defaultValue ["^lint", "prepare"]
89
+ */
90
+ dependsOn?: string[];
91
+ /**
92
+ * An array specifying any input files or globs to consider when determining if the lint target needs to be re-run
93
+ */
94
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
95
+ /**
96
+ * An array specifying the output files or globs generated by the lint target
97
+ */
98
+ outputs?: string[];
99
+ /**
100
+ * The executor to use for the lint target
101
+ *
102
+ * @defaultValue "\@powerlines/nx:lint"
103
+ */
104
+ executor?: string;
105
+ };
106
+ build?: false | {
107
+ /**
108
+ * The name of the build target to use when building the project
109
+ *
110
+ * @defaultValue "build"
111
+ */
112
+ targetName?: string;
113
+ /**
114
+ * The name of the build configuration to use when building the project
115
+ *
116
+ * @defaultValue "production"
117
+ */
118
+ defaultConfiguration?: "production" | "test" | "development";
119
+ /**
120
+ * An array specifying any other target identifiers the build target depends on
121
+ *
122
+ * @defaultValue ["^build", "prepare"]
123
+ */
124
+ dependsOn?: string[];
125
+ /**
126
+ * An array specifying any input files or globs to consider when determining if the build target needs to be re-run
127
+ */
128
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
129
+ /**
130
+ * An array specifying the output files or globs generated by the build target
131
+ */
132
+ outputs?: string[];
133
+ /**
134
+ * The executor to use for the build target
135
+ *
136
+ * @defaultValue "\@powerlines/nx:build"
137
+ */
138
+ executor?: string;
139
+ };
140
+ docs?: false | {
141
+ /**
142
+ * The name of the docs target to use when generating documentation for the project
143
+ *
144
+ * @defaultValue "docs"
145
+ */
146
+ targetName?: string;
147
+ /**
148
+ * The name of the docs configuration to use when generating documentation for the project
149
+ *
150
+ * @defaultValue "production"
151
+ */
152
+ defaultConfiguration?: "production" | "test" | "development";
153
+ /**
154
+ * An array specifying any other target identifiers the docs target depends on
155
+ *
156
+ * @defaultValue ["^docs", "build"]
157
+ */
158
+ dependsOn?: string[];
159
+ /**
160
+ * An array specifying any input files or globs to consider when determining if the docs target needs to be re-run
161
+ */
162
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
163
+ /**
164
+ * An array specifying the output files or globs generated by the docs target
165
+ */
166
+ outputs?: string[];
167
+ /**
168
+ * The executor to use for the docs target
169
+ *
170
+ * @defaultValue "\@powerlines/nx:docs"
171
+ */
172
+ executor?: string;
173
+ };
14
174
  }
175
+
176
+ declare const name = "powerlines/nx/plugin";
15
177
  declare const createNodesV2: CreateNodesV2<NxPluginOptions>;
16
178
 
17
- export { type NxPluginOptions, createNodesV2, name };
179
+ export { createNodesV2, name };
@@ -1,17 +1,179 @@
1
1
  import { CreateNodesV2 } from '@nx/devkit';
2
2
 
3
- declare const name = "powerlines/nx/plugin";
4
3
  interface NxPluginOptions {
5
- /**
6
- * The folder where the generated runtime modules/builtins will be located. This path should be relative to the project root.
7
- *
8
- * @remarks
9
- * This folder will contain all runtime modules and builtins generated during the "prepare" phase.
10
- *
11
- * @defaultValue ".powerlines"
12
- */
13
- runtimeFolder?: string;
4
+ clean?: false | {
5
+ /**
6
+ * The name of the clean target to use when cleaning the project
7
+ *
8
+ * @defaultValue "clean"
9
+ */
10
+ targetName?: string;
11
+ /**
12
+ * The name of the clean configuration to use when cleaning the project
13
+ *
14
+ * @defaultValue "production"
15
+ */
16
+ defaultConfiguration?: "production" | "test" | "development";
17
+ /**
18
+ * An array specifying any other target identifiers the clean target depends on
19
+ *
20
+ * @defaultValue ["^clean"]
21
+ */
22
+ dependsOn?: string[];
23
+ /**
24
+ * An array specifying any input files or globs to consider when determining if the clean target needs to be re-run
25
+ */
26
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
27
+ /**
28
+ * An array specifying the output files or globs generated by the clean target
29
+ */
30
+ outputs?: string[];
31
+ /**
32
+ * The executor to use for the clean target
33
+ *
34
+ * @defaultValue "\@powerlines/nx:clean"
35
+ */
36
+ executor?: string;
37
+ };
38
+ prepare?: false | {
39
+ /**
40
+ * The name of the prepare target to use when preparing the project
41
+ *
42
+ * @defaultValue "prepare"
43
+ */
44
+ targetName?: string;
45
+ /**
46
+ * The name of the prepare configuration to use when preparing the project
47
+ *
48
+ * @defaultValue "production"
49
+ */
50
+ defaultConfiguration?: "production" | "test" | "development";
51
+ /**
52
+ * An array specifying any other target identifiers the prepare target depends on
53
+ *
54
+ * @defaultValue ["^prepare", "clean"]
55
+ */
56
+ dependsOn?: string[];
57
+ /**
58
+ * An array specifying any input files or globs to consider when determining if the prepare target needs to be re-run
59
+ */
60
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
61
+ /**
62
+ * An array specifying the output files or globs generated by the prepare target
63
+ */
64
+ outputs?: string[];
65
+ /**
66
+ * The executor to use for the prepare target
67
+ *
68
+ * @defaultValue "\@powerlines/nx:prepare"
69
+ */
70
+ executor?: string;
71
+ };
72
+ lint?: false | {
73
+ /**
74
+ * The name of the lint target to use when linting the project
75
+ *
76
+ * @defaultValue "lint"
77
+ */
78
+ targetName?: string;
79
+ /**
80
+ * The name of the lint configuration to use when linting the project
81
+ *
82
+ * @defaultValue "production"
83
+ */
84
+ defaultConfiguration?: "production" | "test" | "development";
85
+ /**
86
+ * An array specifying any other target identifiers the lint target depends on
87
+ *
88
+ * @defaultValue ["^lint", "prepare"]
89
+ */
90
+ dependsOn?: string[];
91
+ /**
92
+ * An array specifying any input files or globs to consider when determining if the lint target needs to be re-run
93
+ */
94
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
95
+ /**
96
+ * An array specifying the output files or globs generated by the lint target
97
+ */
98
+ outputs?: string[];
99
+ /**
100
+ * The executor to use for the lint target
101
+ *
102
+ * @defaultValue "\@powerlines/nx:lint"
103
+ */
104
+ executor?: string;
105
+ };
106
+ build?: false | {
107
+ /**
108
+ * The name of the build target to use when building the project
109
+ *
110
+ * @defaultValue "build"
111
+ */
112
+ targetName?: string;
113
+ /**
114
+ * The name of the build configuration to use when building the project
115
+ *
116
+ * @defaultValue "production"
117
+ */
118
+ defaultConfiguration?: "production" | "test" | "development";
119
+ /**
120
+ * An array specifying any other target identifiers the build target depends on
121
+ *
122
+ * @defaultValue ["^build", "prepare"]
123
+ */
124
+ dependsOn?: string[];
125
+ /**
126
+ * An array specifying any input files or globs to consider when determining if the build target needs to be re-run
127
+ */
128
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
129
+ /**
130
+ * An array specifying the output files or globs generated by the build target
131
+ */
132
+ outputs?: string[];
133
+ /**
134
+ * The executor to use for the build target
135
+ *
136
+ * @defaultValue "\@powerlines/nx:build"
137
+ */
138
+ executor?: string;
139
+ };
140
+ docs?: false | {
141
+ /**
142
+ * The name of the docs target to use when generating documentation for the project
143
+ *
144
+ * @defaultValue "docs"
145
+ */
146
+ targetName?: string;
147
+ /**
148
+ * The name of the docs configuration to use when generating documentation for the project
149
+ *
150
+ * @defaultValue "production"
151
+ */
152
+ defaultConfiguration?: "production" | "test" | "development";
153
+ /**
154
+ * An array specifying any other target identifiers the docs target depends on
155
+ *
156
+ * @defaultValue ["^docs", "build"]
157
+ */
158
+ dependsOn?: string[];
159
+ /**
160
+ * An array specifying any input files or globs to consider when determining if the docs target needs to be re-run
161
+ */
162
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
163
+ /**
164
+ * An array specifying the output files or globs generated by the docs target
165
+ */
166
+ outputs?: string[];
167
+ /**
168
+ * The executor to use for the docs target
169
+ *
170
+ * @defaultValue "\@powerlines/nx:docs"
171
+ */
172
+ executor?: string;
173
+ };
14
174
  }
175
+
176
+ declare const name = "powerlines/nx/plugin";
15
177
  declare const createNodesV2: CreateNodesV2<NxPluginOptions>;
16
178
 
17
- export { type NxPluginOptions, createNodesV2, name };
179
+ export { createNodesV2, name };
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkIFMXBBI7_js = require('../../chunk-IFMXBBI7.js');
4
- require('../../chunk-4UWZOCEA.js');
3
+ var chunk67ALH5AX_js = require('../../chunk-67ALH5AX.js');
4
+ require('../../chunk-UOTRU26N.js');
5
5
  require('../../chunk-SHUYVCID.js');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "createNodesV2", {
10
10
  enumerable: true,
11
- get: function () { return chunkIFMXBBI7_js.createNodesV2; }
11
+ get: function () { return chunk67ALH5AX_js.createNodesV2; }
12
12
  });
13
13
  Object.defineProperty(exports, "name", {
14
14
  enumerable: true,
15
- get: function () { return chunkIFMXBBI7_js.name; }
15
+ get: function () { return chunk67ALH5AX_js.name; }
16
16
  });
@@ -1,3 +1,3 @@
1
- export { createNodesV2, name } from '../../chunk-FFBOHADM.mjs';
2
- import '../../chunk-SV7QXBCB.mjs';
1
+ export { createNodesV2, name } from '../../chunk-KBRKYARM.mjs';
2
+ import '../../chunk-DVGRVHRD.mjs';
3
3
  import '../../chunk-O6YSETKJ.mjs';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/nx",
3
- "version": "0.9.5",
3
+ "version": "0.10.0",
4
4
  "description": "A Nx plugin to support Powerlines development in Nx monorepos.",
5
5
  "repository": {
6
6
  "type": "github",
@@ -139,34 +139,34 @@
139
139
  },
140
140
  "typings": "dist/index.d.ts",
141
141
  "dependencies": {
142
- "@nx/devkit": "^21.6.6",
143
- "@storm-software/build-tools": "^0.158.13",
144
- "@storm-software/config": "^1.134.13",
145
- "@storm-software/config-tools": "^1.188.13",
146
- "@storm-software/esbuild": "^0.53.13",
147
- "@storm-software/unbuild": "^0.57.13",
148
- "@storm-software/workspace-tools": "^1.292.13",
149
- "@stryke/fs": "^0.32.3",
142
+ "@nx/devkit": "^22.0.2",
143
+ "@storm-software/build-tools": "^0.158.19",
144
+ "@storm-software/config": "^1.134.19",
145
+ "@storm-software/config-tools": "^1.188.19",
146
+ "@storm-software/esbuild": "^0.53.19",
147
+ "@storm-software/unbuild": "^0.57.19",
148
+ "@storm-software/workspace-tools": "^1.292.19",
149
+ "@stryke/fs": "^0.32.10",
150
150
  "@stryke/hash": "^0.12.0",
151
- "@stryke/path": "^0.17.0",
151
+ "@stryke/path": "^0.18.5",
152
152
  "@stryke/string-format": "^0.12.0",
153
153
  "@stryke/type-checks": "^0.3.10",
154
154
  "defu": "^6.1.4",
155
155
  "jiti": "^2.6.1",
156
- "nx": "21.6.6",
157
- "powerlines": "^0.14.1"
156
+ "nx": "^22.0.2",
157
+ "powerlines": "^0.15.0"
158
158
  },
159
159
  "devDependencies": {
160
- "@nx/workspace": "21.6.6",
161
- "@storm-software/testing-tools": "^1.119.13",
162
- "@types/node": "^22.18.12",
163
- "eslint-flat-config-utils": "2.1.0",
164
- "jsonc-eslint-parser": "2.4.0",
160
+ "@nx/workspace": "^22.0.2",
161
+ "@storm-software/testing-tools": "^1.119.19",
162
+ "@types/node": "^22.19.0",
163
+ "eslint-flat-config-utils": "^2.1.4",
164
+ "jsonc-eslint-parser": "^2.4.1",
165
165
  "tsup": "8.4.0",
166
166
  "untyped": "1.5.2"
167
167
  },
168
168
  "publishConfig": { "access": "public" },
169
169
  "executors": "./executors.json",
170
170
  "generators": "./generators.json",
171
- "gitHead": "a634cc7d8753c9f558df0016bf5b3222a2c1a2e4"
171
+ "gitHead": "b64f9a9d53b6eb8054c361da347f6623a7ba9e45"
172
172
  }