@powerlines/nx 0.10.15 → 0.10.17

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 (54) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/{chunk-FZWXH2M7.js → chunk-27KELMBV.js} +2 -2
  3. package/dist/chunk-7R5TX4YB.js +10 -0
  4. package/dist/{chunk-32RH3DSY.js → chunk-AACX73LZ.js} +30 -10
  5. package/dist/chunk-BV7STZ4C.mjs +8 -0
  6. package/dist/{chunk-KJAIPQKC.js → chunk-CRYBCEUK.js} +2 -2
  7. package/dist/{chunk-NSFCCGL7.mjs → chunk-GEUX6C2D.mjs} +1 -1
  8. package/dist/{chunk-K7X3KSVW.mjs → chunk-HGW2SJKK.mjs} +1 -1
  9. package/dist/{chunk-WMZ45WVV.mjs → chunk-HJUTLWTM.mjs} +30 -10
  10. package/dist/{chunk-IWLY4VEK.mjs → chunk-IJ4ZTZ37.mjs} +1 -1
  11. package/dist/{chunk-7SWNXVZN.js → chunk-LICQCU2V.js} +2 -2
  12. package/dist/{chunk-KNIZUAS5.mjs → chunk-LQMWWP4O.mjs} +1 -1
  13. package/dist/chunk-LQU7XWFP.mjs +30 -0
  14. package/dist/{chunk-TGJAQNLH.mjs → chunk-NNGDKZCW.mjs} +10 -41
  15. package/dist/{chunk-RIB65IPA.mjs → chunk-NY2KTOVC.mjs} +1 -1
  16. package/dist/{chunk-DKRIOFPB.js → chunk-UA5767MK.js} +2 -2
  17. package/dist/chunk-VIU4CXA3.js +32 -0
  18. package/dist/{chunk-QJLAFC2D.js → chunk-WECZYTJT.js} +2 -2
  19. package/dist/{chunk-FD6PSWBL.js → chunk-Y67CZUIQ.js} +13 -42
  20. package/dist/executors.js +16 -16
  21. package/dist/executors.mjs +6 -6
  22. package/dist/index.d.mts +1 -0
  23. package/dist/index.d.ts +1 -0
  24. package/dist/index.js +25 -23
  25. package/dist/index.mjs +9 -7
  26. package/dist/src/base/base-executor.js +2 -2
  27. package/dist/src/base/base-executor.mjs +1 -1
  28. package/dist/src/executors/build/executor.js +4 -4
  29. package/dist/src/executors/build/executor.mjs +2 -2
  30. package/dist/src/executors/clean/executor.js +4 -4
  31. package/dist/src/executors/clean/executor.mjs +2 -2
  32. package/dist/src/executors/docs/executor.js +4 -4
  33. package/dist/src/executors/docs/executor.mjs +2 -2
  34. package/dist/src/executors/lint/executor.js +4 -4
  35. package/dist/src/executors/lint/executor.mjs +2 -2
  36. package/dist/src/executors/prepare/executor.js +4 -4
  37. package/dist/src/executors/prepare/executor.mjs +2 -2
  38. package/dist/src/helpers/constants.d.mts +6 -0
  39. package/dist/src/helpers/constants.d.ts +6 -0
  40. package/dist/src/helpers/constants.js +11 -0
  41. package/dist/src/helpers/constants.mjs +2 -0
  42. package/dist/src/helpers/plugin-utilities.d.mts +55 -0
  43. package/dist/src/helpers/plugin-utilities.d.ts +55 -0
  44. package/dist/src/helpers/plugin-utilities.js +21 -0
  45. package/dist/src/helpers/plugin-utilities.mjs +4 -0
  46. package/dist/src/plugin/index.d.mts +1 -173
  47. package/dist/src/plugin/index.d.ts +1 -173
  48. package/dist/src/plugin/index.js +4 -2
  49. package/dist/src/plugin/index.mjs +3 -1
  50. package/dist/src/types/plugin.d.mts +174 -0
  51. package/dist/src/types/plugin.d.ts +174 -0
  52. package/dist/src/types/plugin.js +2 -0
  53. package/dist/src/types/plugin.mjs +1 -0
  54. package/package.json +45 -3
@@ -0,0 +1,4 @@
1
+ export { createNxPlugin, getNxPluginInputs, getNxTargetInputs } from '../../chunk-NNGDKZCW.mjs';
2
+ import '../../chunk-FMYWKI25.mjs';
3
+ import '../../chunk-LQU7XWFP.mjs';
4
+ import '../../chunk-O6YSETKJ.mjs';
@@ -1,177 +1,5 @@
1
1
  import * as _nx_devkit from '@nx/devkit';
2
-
3
- interface NxPluginOptions {
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
- };
174
- }
2
+ import { NxPluginOptions } from '../types/plugin.mjs';
175
3
 
176
4
  declare const createNodesV2: _nx_devkit.CreateNodesV2<NxPluginOptions>;
177
5
 
@@ -1,177 +1,5 @@
1
1
  import * as _nx_devkit from '@nx/devkit';
2
-
3
- interface NxPluginOptions {
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
- };
174
- }
2
+ import { NxPluginOptions } from '../types/plugin.js';
175
3
 
176
4
  declare const createNodesV2: _nx_devkit.CreateNodesV2<NxPluginOptions>;
177
5
 
@@ -1,12 +1,14 @@
1
1
  'use strict';
2
2
 
3
- var chunkFD6PSWBL_js = require('../../chunk-FD6PSWBL.js');
3
+ var chunk7R5TX4YB_js = require('../../chunk-7R5TX4YB.js');
4
+ require('../../chunk-Y67CZUIQ.js');
4
5
  require('../../chunk-LTCZN4I4.js');
6
+ require('../../chunk-VIU4CXA3.js');
5
7
  require('../../chunk-SHUYVCID.js');
6
8
 
7
9
 
8
10
 
9
11
  Object.defineProperty(exports, "createNodesV2", {
10
12
  enumerable: true,
11
- get: function () { return chunkFD6PSWBL_js.createNodesV2; }
13
+ get: function () { return chunk7R5TX4YB_js.createNodesV2; }
12
14
  });
@@ -1,3 +1,5 @@
1
- export { createNodesV2 } from '../../chunk-TGJAQNLH.mjs';
1
+ export { createNodesV2 } from '../../chunk-BV7STZ4C.mjs';
2
+ import '../../chunk-NNGDKZCW.mjs';
2
3
  import '../../chunk-FMYWKI25.mjs';
4
+ import '../../chunk-LQU7XWFP.mjs';
3
5
  import '../../chunk-O6YSETKJ.mjs';
@@ -0,0 +1,174 @@
1
+ interface NxPluginOptions {
2
+ clean?: false | {
3
+ /**
4
+ * The name of the clean target to use when cleaning the project
5
+ *
6
+ * @defaultValue "clean"
7
+ */
8
+ targetName?: string;
9
+ /**
10
+ * The name of the clean configuration to use when cleaning the project
11
+ *
12
+ * @defaultValue "production"
13
+ */
14
+ defaultConfiguration?: "production" | "test" | "development";
15
+ /**
16
+ * An array specifying any other target identifiers the clean target depends on
17
+ *
18
+ * @defaultValue ["^clean"]
19
+ */
20
+ dependsOn?: string[];
21
+ /**
22
+ * An array specifying any input files or globs to consider when determining if the clean target needs to be re-run
23
+ */
24
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
25
+ /**
26
+ * An array specifying the output files or globs generated by the clean target
27
+ */
28
+ outputs?: string[];
29
+ /**
30
+ * The executor to use for the clean target
31
+ *
32
+ * @defaultValue "\@powerlines/nx:clean"
33
+ */
34
+ executor?: string;
35
+ };
36
+ prepare?: false | {
37
+ /**
38
+ * The name of the prepare target to use when preparing the project
39
+ *
40
+ * @defaultValue "prepare"
41
+ */
42
+ targetName?: string;
43
+ /**
44
+ * The name of the prepare configuration to use when preparing the project
45
+ *
46
+ * @defaultValue "production"
47
+ */
48
+ defaultConfiguration?: "production" | "test" | "development";
49
+ /**
50
+ * An array specifying any other target identifiers the prepare target depends on
51
+ *
52
+ * @defaultValue ["^prepare", "clean"]
53
+ */
54
+ dependsOn?: string[];
55
+ /**
56
+ * An array specifying any input files or globs to consider when determining if the prepare target needs to be re-run
57
+ */
58
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
59
+ /**
60
+ * An array specifying the output files or globs generated by the prepare target
61
+ */
62
+ outputs?: string[];
63
+ /**
64
+ * The executor to use for the prepare target
65
+ *
66
+ * @defaultValue "\@powerlines/nx:prepare"
67
+ */
68
+ executor?: string;
69
+ };
70
+ lint?: false | {
71
+ /**
72
+ * The name of the lint target to use when linting the project
73
+ *
74
+ * @defaultValue "lint"
75
+ */
76
+ targetName?: string;
77
+ /**
78
+ * The name of the lint configuration to use when linting the project
79
+ *
80
+ * @defaultValue "production"
81
+ */
82
+ defaultConfiguration?: "production" | "test" | "development";
83
+ /**
84
+ * An array specifying any other target identifiers the lint target depends on
85
+ *
86
+ * @defaultValue ["^lint", "prepare"]
87
+ */
88
+ dependsOn?: string[];
89
+ /**
90
+ * An array specifying any input files or globs to consider when determining if the lint target needs to be re-run
91
+ */
92
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
93
+ /**
94
+ * An array specifying the output files or globs generated by the lint target
95
+ */
96
+ outputs?: string[];
97
+ /**
98
+ * The executor to use for the lint target
99
+ *
100
+ * @defaultValue "\@powerlines/nx:lint"
101
+ */
102
+ executor?: string;
103
+ };
104
+ build?: false | {
105
+ /**
106
+ * The name of the build target to use when building the project
107
+ *
108
+ * @defaultValue "build"
109
+ */
110
+ targetName?: string;
111
+ /**
112
+ * The name of the build configuration to use when building the project
113
+ *
114
+ * @defaultValue "production"
115
+ */
116
+ defaultConfiguration?: "production" | "test" | "development";
117
+ /**
118
+ * An array specifying any other target identifiers the build target depends on
119
+ *
120
+ * @defaultValue ["^build", "prepare"]
121
+ */
122
+ dependsOn?: string[];
123
+ /**
124
+ * An array specifying any input files or globs to consider when determining if the build target needs to be re-run
125
+ */
126
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
127
+ /**
128
+ * An array specifying the output files or globs generated by the build target
129
+ */
130
+ outputs?: string[];
131
+ /**
132
+ * The executor to use for the build target
133
+ *
134
+ * @defaultValue "\@powerlines/nx:build"
135
+ */
136
+ executor?: string;
137
+ };
138
+ docs?: false | {
139
+ /**
140
+ * The name of the docs target to use when generating documentation for the project
141
+ *
142
+ * @defaultValue "docs"
143
+ */
144
+ targetName?: string;
145
+ /**
146
+ * The name of the docs configuration to use when generating documentation for the project
147
+ *
148
+ * @defaultValue "production"
149
+ */
150
+ defaultConfiguration?: "production" | "test" | "development";
151
+ /**
152
+ * An array specifying any other target identifiers the docs target depends on
153
+ *
154
+ * @defaultValue ["^docs", "build"]
155
+ */
156
+ dependsOn?: string[];
157
+ /**
158
+ * An array specifying any input files or globs to consider when determining if the docs target needs to be re-run
159
+ */
160
+ inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
161
+ /**
162
+ * An array specifying the output files or globs generated by the docs target
163
+ */
164
+ outputs?: string[];
165
+ /**
166
+ * The executor to use for the docs target
167
+ *
168
+ * @defaultValue "\@powerlines/nx:docs"
169
+ */
170
+ executor?: string;
171
+ };
172
+ }
173
+
174
+ export type { NxPluginOptions };