@powerlines/nx 0.10.16 → 0.10.18
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 +25 -0
- package/dist/{chunk-WMZ45WVV.mjs → chunk-5KEIBGFG.mjs} +31 -11
- package/dist/{chunk-7SWNXVZN.js → chunk-AD2EUZQL.js} +2 -2
- package/dist/{chunk-NSFCCGL7.mjs → chunk-E7EIMG6J.mjs} +1 -1
- package/dist/{chunk-IWLY4VEK.mjs → chunk-EMPB7IUD.mjs} +1 -1
- package/dist/{chunk-DKRIOFPB.js → chunk-EOBEXUZ2.js} +2 -2
- package/dist/chunk-EX3O7O2B.js +10 -0
- package/dist/{chunk-32RH3DSY.js → chunk-FBZEUICY.js} +31 -11
- package/dist/chunk-FEJ2ZSZP.mjs +8 -0
- package/dist/{chunk-KJAIPQKC.js → chunk-HANZV54P.js} +2 -2
- package/dist/{chunk-K7X3KSVW.mjs → chunk-J66W6WPB.mjs} +1 -1
- package/dist/chunk-LQU7XWFP.mjs +30 -0
- package/dist/{chunk-RIB65IPA.mjs → chunk-OFWFMQU2.mjs} +1 -1
- package/dist/{chunk-GUAUB4A5.mjs → chunk-OS7UD4XD.mjs} +3 -37
- package/dist/{chunk-QJLAFC2D.js → chunk-P5LV56CI.js} +2 -2
- package/dist/{chunk-LG4AFV5G.js → chunk-TO3WM5BR.js} +6 -38
- package/dist/{chunk-KNIZUAS5.mjs → chunk-VD72KMTO.mjs} +1 -1
- package/dist/chunk-VIU4CXA3.js +32 -0
- package/dist/{chunk-FZWXH2M7.js → chunk-VW4AOJ4M.js} +2 -2
- package/dist/executors.js +16 -16
- package/dist/executors.mjs +6 -6
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +25 -23
- package/dist/index.mjs +9 -7
- package/dist/src/base/base-executor.js +2 -2
- package/dist/src/base/base-executor.mjs +1 -1
- package/dist/src/executors/build/executor.js +4 -4
- package/dist/src/executors/build/executor.mjs +2 -2
- package/dist/src/executors/clean/executor.js +4 -4
- package/dist/src/executors/clean/executor.mjs +2 -2
- package/dist/src/executors/docs/executor.js +4 -4
- package/dist/src/executors/docs/executor.mjs +2 -2
- package/dist/src/executors/lint/executor.js +4 -4
- package/dist/src/executors/lint/executor.mjs +2 -2
- package/dist/src/executors/prepare/executor.js +4 -4
- package/dist/src/executors/prepare/executor.mjs +2 -2
- package/dist/src/helpers/constants.d.mts +6 -0
- package/dist/src/helpers/constants.d.ts +6 -0
- package/dist/src/helpers/constants.js +11 -0
- package/dist/src/helpers/constants.mjs +2 -0
- package/dist/src/helpers/plugin-utilities.d.mts +55 -0
- package/dist/src/helpers/plugin-utilities.d.ts +55 -0
- package/dist/src/helpers/plugin-utilities.js +21 -0
- package/dist/src/helpers/plugin-utilities.mjs +4 -0
- package/dist/src/plugin/index.d.mts +1 -173
- package/dist/src/plugin/index.d.ts +1 -173
- package/dist/src/plugin/index.js +4 -2
- package/dist/src/plugin/index.mjs +3 -1
- package/dist/src/types/plugin.d.mts +174 -0
- package/dist/src/types/plugin.d.ts +174 -0
- package/dist/src/types/plugin.js +2 -0
- package/dist/src/types/plugin.mjs +1 -0
- package/package.json +45 -3
|
@@ -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
|
|
package/dist/src/plugin/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkEX3O7O2B_js = require('../../chunk-EX3O7O2B.js');
|
|
4
|
+
require('../../chunk-TO3WM5BR.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
|
|
13
|
+
get: function () { return chunkEX3O7O2B_js.createNodesV2; }
|
|
12
14
|
});
|
|
@@ -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 };
|