@shell-shock/nx 0.0.95 → 0.0.97

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 (120) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{rolldown-runtime-C_NdSu1c.js → _virtual/_rolldown/runtime.cjs} +2 -8
  3. package/dist/{base-executor-B48XZipC.js → base/base-executor.cjs} +1 -6
  4. package/dist/base/base-executor.d.cts +16 -0
  5. package/dist/base/base-executor.d.cts.map +1 -0
  6. package/dist/base/base-executor.d.ts +16 -0
  7. package/dist/base/base-executor.d.ts.map +1 -0
  8. package/dist/{base-executor-ChtjGl_i.mjs → base/base-executor.js} +2 -2
  9. package/dist/base/base-executor.js.map +1 -0
  10. package/dist/base/base-executor.schema.d.cts +166 -0
  11. package/dist/base/base-executor.schema.d.cts.map +1 -0
  12. package/dist/base/base-executor.schema.d.ts +2 -3
  13. package/dist/base/base-executor.schema.d.ts.map +1 -0
  14. package/dist/base/base-executor.schema.json +7 -19
  15. package/dist/base/base-executor.untyped.cjs +17 -0
  16. package/dist/{index.mjs → base/base-executor.untyped.js} +2 -3
  17. package/dist/base/base-executor.untyped.js.map +1 -0
  18. package/dist/base/index.cjs +4 -0
  19. package/dist/base/index.d.cts +2 -0
  20. package/dist/base/index.d.ts +2 -0
  21. package/dist/base/index.js +4 -0
  22. package/dist/executors/build/{executor.mjs → executor.cjs} +5 -6
  23. package/dist/executors/build/executor.d.cts +6 -0
  24. package/dist/executors/build/executor.d.cts.map +1 -0
  25. package/dist/executors/build/executor.d.ts +3 -181
  26. package/dist/executors/build/executor.d.ts.map +1 -1
  27. package/dist/executors/build/executor.js +6 -7
  28. package/dist/executors/build/executor.js.map +1 -0
  29. package/dist/executors/build/{executor.d.mts → schema.d.cts} +76 -82
  30. package/dist/executors/build/schema.d.cts.map +1 -0
  31. package/dist/executors/build/schema.d.ts +177 -191
  32. package/dist/executors/build/schema.d.ts.map +1 -0
  33. package/dist/executors/build/schema.json +7 -19
  34. package/dist/executors/clean/executor.cjs +11 -0
  35. package/dist/executors/clean/executor.d.cts +6 -0
  36. package/dist/executors/clean/executor.d.cts.map +1 -0
  37. package/dist/executors/clean/executor.d.ts +3 -181
  38. package/dist/executors/clean/executor.d.ts.map +1 -1
  39. package/dist/executors/clean/executor.js +4 -3
  40. package/dist/executors/clean/executor.js.map +1 -0
  41. package/dist/executors/clean/{executor.d.mts → schema.d.cts} +76 -82
  42. package/dist/executors/clean/schema.d.cts.map +1 -0
  43. package/dist/executors/clean/schema.d.ts +177 -191
  44. package/dist/executors/clean/schema.d.ts.map +1 -0
  45. package/dist/executors/clean/schema.json +7 -19
  46. package/dist/executors/docs/executor.cjs +11 -0
  47. package/dist/executors/docs/executor.d.cts +6 -0
  48. package/dist/executors/docs/executor.d.cts.map +1 -0
  49. package/dist/executors/docs/executor.d.ts +3 -181
  50. package/dist/executors/docs/executor.d.ts.map +1 -1
  51. package/dist/executors/docs/executor.js +4 -3
  52. package/dist/executors/docs/executor.js.map +1 -0
  53. package/dist/executors/docs/{executor.d.mts → schema.d.cts} +76 -82
  54. package/dist/executors/docs/schema.d.cts.map +1 -0
  55. package/dist/executors/docs/schema.d.ts +177 -191
  56. package/dist/executors/docs/schema.d.ts.map +1 -0
  57. package/dist/executors/docs/schema.json +7 -19
  58. package/dist/executors/lint/executor.cjs +11 -0
  59. package/dist/executors/lint/executor.d.cts +6 -0
  60. package/dist/executors/lint/executor.d.cts.map +1 -0
  61. package/dist/executors/lint/executor.d.ts +3 -181
  62. package/dist/executors/lint/executor.d.ts.map +1 -1
  63. package/dist/executors/lint/executor.js +4 -3
  64. package/dist/executors/lint/executor.js.map +1 -0
  65. package/dist/executors/lint/{executor.d.mts → schema.d.cts} +76 -82
  66. package/dist/executors/lint/schema.d.cts.map +1 -0
  67. package/dist/executors/lint/schema.d.ts +177 -191
  68. package/dist/executors/lint/schema.d.ts.map +1 -0
  69. package/dist/executors/lint/schema.json +7 -19
  70. package/dist/executors/prepare/{executor.mjs → executor.cjs} +5 -6
  71. package/dist/executors/prepare/executor.d.cts +6 -0
  72. package/dist/executors/prepare/executor.d.cts.map +1 -0
  73. package/dist/executors/prepare/executor.d.ts +3 -181
  74. package/dist/executors/prepare/executor.d.ts.map +1 -1
  75. package/dist/executors/prepare/executor.js +6 -7
  76. package/dist/executors/prepare/executor.js.map +1 -0
  77. package/dist/executors/prepare/{executor.d.mts → schema.d.cts} +76 -82
  78. package/dist/executors/prepare/schema.d.cts.map +1 -0
  79. package/dist/executors/prepare/schema.d.ts +177 -191
  80. package/dist/executors/prepare/schema.d.ts.map +1 -0
  81. package/dist/executors/prepare/schema.json +7 -19
  82. package/dist/index.cjs +5 -0
  83. package/dist/index.d.cts +3 -0
  84. package/dist/index.d.ts +3 -181
  85. package/dist/index.js +3 -19
  86. package/dist/plugin/{index.mjs → index.cjs} +115 -83
  87. package/dist/plugin/index.d.cts +7 -0
  88. package/dist/plugin/index.d.cts.map +1 -0
  89. package/dist/plugin/index.d.ts +2 -3
  90. package/dist/plugin/index.d.ts.map +1 -1
  91. package/dist/plugin/index.js +85 -113
  92. package/dist/plugin/index.js.map +1 -0
  93. package/docs/api/{base-executor.schema.md → base/base-executor.schema.md} +3 -3
  94. package/docs/api/{build → executors/build}/schema.md +3 -3
  95. package/docs/api/{clean → executors/clean}/schema.md +3 -3
  96. package/docs/api/{docs → executors/docs}/schema.md +3 -3
  97. package/docs/api/{lint → executors/lint}/schema.md +3 -3
  98. package/docs/api/{prepare → executors/prepare}/schema.md +3 -3
  99. package/package.json +18 -18
  100. package/dist/base-executor-ChtjGl_i.mjs.map +0 -1
  101. package/dist/executors/build/executor.d.mts.map +0 -1
  102. package/dist/executors/build/executor.mjs.map +0 -1
  103. package/dist/executors/clean/executor.d.mts.map +0 -1
  104. package/dist/executors/clean/executor.mjs +0 -12
  105. package/dist/executors/clean/executor.mjs.map +0 -1
  106. package/dist/executors/docs/executor.d.mts.map +0 -1
  107. package/dist/executors/docs/executor.mjs +0 -12
  108. package/dist/executors/docs/executor.mjs.map +0 -1
  109. package/dist/executors/lint/executor.d.mts.map +0 -1
  110. package/dist/executors/lint/executor.mjs +0 -12
  111. package/dist/executors/lint/executor.mjs.map +0 -1
  112. package/dist/executors/prepare/executor.d.mts.map +0 -1
  113. package/dist/executors/prepare/executor.mjs.map +0 -1
  114. package/dist/index.d.mts +0 -181
  115. package/dist/index.d.mts.map +0 -1
  116. package/dist/index.d.ts.map +0 -1
  117. package/dist/index.mjs.map +0 -1
  118. package/dist/plugin/index.d.mts +0 -8
  119. package/dist/plugin/index.d.mts.map +0 -1
  120. package/dist/plugin/index.mjs.map +0 -1
@@ -0,0 +1,11 @@
1
+ const require_base_executor = require('../../base/base-executor.cjs');
2
+
3
+ //#region src/executors/lint/executor.ts
4
+ async function executorFn(context, api) {
5
+ await api(context.inlineConfig);
6
+ return { success: true };
7
+ }
8
+ const executor = require_base_executor.withExecutor("lint", executorFn);
9
+
10
+ //#endregion
11
+ module.exports = executor;
@@ -0,0 +1,6 @@
1
+ import { LintExecutorSchema } from "./schema.cjs";
2
+ import { PromiseExecutor } from "@nx/devkit";
3
+ //#region src/executors/lint/executor.d.ts
4
+ declare const executor: PromiseExecutor<LintExecutorSchema>;
5
+ export = executor;
6
+ //# sourceMappingURL=executor.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.d.cts","names":[],"sources":["../../../src/executors/lint/executor.ts"],"mappings":";;;cAsCM,UAAU,gBAAgB"}
@@ -1,185 +1,7 @@
1
+ import { LintExecutorSchema } from "./schema.js";
1
2
  import { PromiseExecutor } from "@nx/devkit";
2
-
3
- //#region src/executors/lint/schema.d.ts
4
- // Generated by powerlines
5
- // Do not edit this file directly
6
- interface LintExecutorSchema {
7
- /**
8
- * Powerlines Configuration File
9
- *
10
- * The path to the Powerlines configuration file. Alias for `configFile`.
11
- *
12
- *
13
- * @format path
14
- */
15
- config?: string;
16
- /**
17
- * Powerlines Configuration File
18
- *
19
- * The path to the Powerlines configuration file. Alias for `config`.
20
- *
21
- *
22
- * @format path
23
- */
24
- configFile?: string;
25
- /**
26
- * Powerlines Configuration Index
27
- *
28
- * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
- *
30
- * @default 0
31
- */
32
- configIndex?: number;
33
- /**
34
- * Input Entry File(s)
35
- *
36
- * The entry file(s) that serve as the input for the project
37
- *
38
- *
39
- * @format path
40
- */
41
- input?: Array<string>;
42
- /**
43
- * TSConfig Path
44
- *
45
- * The path to the tsconfig file
46
- *
47
- *
48
- * @format path
49
- */
50
- tsconfig?: string;
51
- /**
52
- * Output Path
53
- *
54
- * The path to the output directory for the build artifacts
55
- *
56
- *
57
- * @format path
58
- */
59
- outputPath?: string;
60
- /**
61
- * Copy Path
62
- *
63
- * A directory path to copy the build artifacts into
64
- *
65
- *
66
- * @oneOf [object Object],[object Object]
67
- */
68
- copyPath?: any;
69
- /**
70
- * Sourcemap
71
- *
72
- * Generate a sourcemap
73
- *
74
- */
75
- sourceMap?: boolean;
76
- /**
77
- * Minify
78
- *
79
- * Minify the output
80
- *
81
- */
82
- minify?: boolean;
83
- /**
84
- * Format
85
- *
86
- * The format to build
87
- *
88
- * @default ["cjs","esm"]
89
- */
90
- format?: Array<string>;
91
- /**
92
- * Platform
93
- *
94
- * The platform to build
95
- *
96
- *
97
- * @enum neutral,node,browser
98
- */
99
- platform?: string;
100
- /**
101
- * External
102
- *
103
- * The external dependencies
104
- *
105
- */
106
- external?: Array<any>;
107
- /**
108
- * No External
109
- *
110
- * The dependencies that should not be treated as external
111
- *
112
- */
113
- noExternal?: Array<any>;
114
- /**
115
- * Skip Node Modules Bundle
116
- *
117
- * Skip bundling node_modules during the build process (if required)
118
- *
119
- */
120
- skipNodeModulesBundle?: boolean;
121
- /**
122
- * Mode
123
- *
124
- * The build mode
125
- *
126
- *
127
- * @enum development,test,production
128
- */
129
- mode?: string;
130
- /**
131
- * Log Level
132
- *
133
- * The log level to use for the build process
134
- *
135
- *
136
- * @enum fatal,error,warn,success,info,debug,trace,silent
137
- */
138
- logLevel?: string;
139
- /**
140
- * Define
141
- *
142
- * The `define` values
143
- *
144
- */
145
- define?: Record<string, string>;
146
- /**
147
- * Assets
148
- *
149
- * The `assets` values
150
- *
151
- */
152
- assets?: Array<{
153
- input?: string;
154
- output?: string;
155
- glob: string;
156
- ignore?: string[];
157
- dot?: boolean;
158
- }>;
159
- /**
160
- * Additional Arguments
161
- *
162
- * The additional arguments provided during execution of the command
163
- *
164
- */
165
- additionalArgs?: Record<string, string>;
166
- /**
167
- * Auto Install
168
- *
169
- * Automatically install dependencies during prepare stage
170
- *
171
- */
172
- autoInstall?: boolean;
173
- /**
174
- * Skip Cache
175
- *
176
- * Skip the caching mechanism during the build process (if required)
177
- *
178
- */
179
- skipCache?: boolean;
180
- }
181
- //#endregion
182
3
  //#region src/executors/lint/executor.d.ts
183
4
  declare const executor: PromiseExecutor<LintExecutorSchema>;
184
- export = executor;
5
+ //#endregion
6
+ export { executor as default };
185
7
  //# sourceMappingURL=executor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executor.d.ts","names":["config","configFile","configIndex","input","Array","tsconfig","outputPath","copyPath","sourceMap","minify","format","platform","external","noExternal","skipNodeModulesBundle","mode","logLevel","define","Record","assets","output","glob","ignore","dot","additionalArgs","autoInstall","skipCache"],"sources":["../../../src/executors/lint/schema.d.ts","../../../src/executors/lint/executor.ts"],"mappings":";;;;;UAIiB,kBAAA;;;;;;;;;EAShBA,MAAAA;;;;;;;;;EAUAC,UAAAA;;;;;;;;EASAC,WAAAA;;;;;;;;;EAUAC,KAAAA,GAAQ,KAAA;;;;;;AAqJC;;;EA3ITE,QAAAA;ECbqD;;;AADJ;;;;;EDwBjDC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;;;;;EAQAC,MAAAA;;;;;;;;EASAC,MAAAA,GAAS,KAAA;;;;;;;;;EAUTC,QAAAA;;;;;;;EAQAC,QAAAA,GAAW,KAAA;;;;;;;EAQXC,UAAAA,GAAa,KAAA;;;;;;;EAQbC,qBAAAA;;;;;;;;;EAUAC,IAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,MAAAA,GAAS,MAAA;;;;;;;EAQTE,MAAAA,GAAS,KAAA;IAAQhB,KAAAA;IAAgBiB,MAAAA;IAAiBC,IAAAA;IAAcC,MAAAA;IAAmBC,GAAAA;EAAAA;;;;;;;EAQnFC,cAAAA,GAAiB,MAAA;;;;;;;EAQjBC,WAAAA;;;;;;;EAQAC,SAAAA;AAAAA;;;cCzJK,QAAA,EAAU,eAAe,CAAC,kBAAA;AAAA"}
1
+ {"version":3,"file":"executor.d.ts","names":[],"sources":["../../../src/executors/lint/executor.ts"],"mappings":""}
@@ -1,11 +1,12 @@
1
- const require_base_executor = require('../../base-executor-B48XZipC.js');
1
+ import { withExecutor } from "../../base/base-executor.js";
2
2
 
3
3
  //#region src/executors/lint/executor.ts
4
4
  async function executorFn(context, api) {
5
5
  await api(context.inlineConfig);
6
6
  return { success: true };
7
7
  }
8
- const executor = require_base_executor.withExecutor("lint", executorFn);
8
+ const executor = withExecutor("lint", executorFn);
9
9
 
10
10
  //#endregion
11
- module.exports = executor;
11
+ export { executor as default };
12
+ //# sourceMappingURL=executor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor.js","names":[],"sources":[],"mappings":""}
@@ -1,154 +1,151 @@
1
- import { PromiseExecutor } from "@nx/devkit";
2
-
3
1
  //#region src/executors/lint/schema.d.ts
4
2
  // Generated by powerlines
5
3
  // Do not edit this file directly
6
4
  interface LintExecutorSchema {
7
5
  /**
8
6
  * Powerlines Configuration File
9
- *
7
+ *
10
8
  * The path to the Powerlines configuration file. Alias for `configFile`.
11
- *
12
- *
9
+ *
10
+ *
13
11
  * @format path
14
- */
12
+ */
15
13
  config?: string;
16
14
  /**
17
15
  * Powerlines Configuration File
18
- *
16
+ *
19
17
  * The path to the Powerlines configuration file. Alias for `config`.
20
- *
21
- *
18
+ *
19
+ *
22
20
  * @format path
23
- */
21
+ */
24
22
  configFile?: string;
25
23
  /**
26
24
  * Powerlines Configuration Index
27
- *
25
+ *
28
26
  * The index in the Powerlines configuration file to use (if an array of configurations are provided).
29
- *
27
+ *
30
28
  * @default 0
31
- */
29
+ */
32
30
  configIndex?: number;
33
31
  /**
34
32
  * Input Entry File(s)
35
- *
33
+ *
36
34
  * The entry file(s) that serve as the input for the project
37
- *
38
- *
35
+ *
36
+ *
39
37
  * @format path
40
- */
38
+ */
41
39
  input?: Array<string>;
42
40
  /**
43
41
  * TSConfig Path
44
- *
42
+ *
45
43
  * The path to the tsconfig file
46
- *
47
- *
44
+ *
45
+ *
48
46
  * @format path
49
- */
47
+ */
50
48
  tsconfig?: string;
51
49
  /**
52
50
  * Output Path
53
- *
51
+ *
54
52
  * The path to the output directory for the build artifacts
55
- *
56
- *
53
+ *
54
+ *
57
55
  * @format path
58
- */
56
+ */
59
57
  outputPath?: string;
60
58
  /**
61
59
  * Copy Path
62
- *
60
+ *
63
61
  * A directory path to copy the build artifacts into
64
- *
65
- *
62
+ *
63
+ *
66
64
  * @oneOf [object Object],[object Object]
67
- */
65
+ */
68
66
  copyPath?: any;
69
67
  /**
70
68
  * Sourcemap
71
- *
69
+ *
72
70
  * Generate a sourcemap
73
- *
74
- */
71
+ *
72
+ */
75
73
  sourceMap?: boolean;
76
74
  /**
77
75
  * Minify
78
- *
76
+ *
79
77
  * Minify the output
80
- *
81
- */
78
+ *
79
+ */
82
80
  minify?: boolean;
83
81
  /**
84
82
  * Format
85
- *
83
+ *
86
84
  * The format to build
87
- *
88
- * @default ["cjs","esm"]
89
- */
85
+ *
86
+ */
90
87
  format?: Array<string>;
91
88
  /**
92
89
  * Platform
93
- *
90
+ *
94
91
  * The platform to build
95
- *
96
- *
92
+ *
93
+ *
97
94
  * @enum neutral,node,browser
98
- */
95
+ */
99
96
  platform?: string;
100
97
  /**
101
98
  * External
102
- *
99
+ *
103
100
  * The external dependencies
104
- *
105
- */
106
- external?: Array<any>;
101
+ *
102
+ */
103
+ external?: Array<string>;
107
104
  /**
108
105
  * No External
109
- *
106
+ *
110
107
  * The dependencies that should not be treated as external
111
- *
112
- */
113
- noExternal?: Array<any>;
108
+ *
109
+ */
110
+ noExternal?: Array<string>;
114
111
  /**
115
112
  * Skip Node Modules Bundle
116
- *
113
+ *
117
114
  * Skip bundling node_modules during the build process (if required)
118
- *
119
- */
115
+ *
116
+ */
120
117
  skipNodeModulesBundle?: boolean;
121
118
  /**
122
119
  * Mode
123
- *
120
+ *
124
121
  * The build mode
125
- *
126
- *
122
+ *
123
+ *
127
124
  * @enum development,test,production
128
- */
125
+ */
129
126
  mode?: string;
130
127
  /**
131
128
  * Log Level
132
- *
129
+ *
133
130
  * The log level to use for the build process
134
- *
135
- *
131
+ *
132
+ *
136
133
  * @enum fatal,error,warn,success,info,debug,trace,silent
137
- */
134
+ */
138
135
  logLevel?: string;
139
136
  /**
140
137
  * Define
141
- *
138
+ *
142
139
  * The `define` values
143
- *
144
- */
140
+ *
141
+ */
145
142
  define?: Record<string, string>;
146
143
  /**
147
144
  * Assets
148
- *
145
+ *
149
146
  * The `assets` values
150
- *
151
- */
147
+ *
148
+ */
152
149
  assets?: Array<{
153
150
  input?: string;
154
151
  output?: string;
@@ -158,29 +155,26 @@ interface LintExecutorSchema {
158
155
  }>;
159
156
  /**
160
157
  * Additional Arguments
161
- *
158
+ *
162
159
  * The additional arguments provided during execution of the command
163
- *
164
- */
160
+ *
161
+ */
165
162
  additionalArgs?: Record<string, string>;
166
163
  /**
167
164
  * Auto Install
168
- *
165
+ *
169
166
  * Automatically install dependencies during prepare stage
170
- *
171
- */
167
+ *
168
+ */
172
169
  autoInstall?: boolean;
173
170
  /**
174
171
  * Skip Cache
175
- *
172
+ *
176
173
  * Skip the caching mechanism during the build process (if required)
177
- *
178
- */
174
+ *
175
+ */
179
176
  skipCache?: boolean;
180
177
  }
181
178
  //#endregion
182
- //#region src/executors/lint/executor.d.ts
183
- declare const executor: PromiseExecutor<LintExecutorSchema>;
184
- //#endregion
185
- export { executor as default };
186
- //# sourceMappingURL=executor.d.mts.map
179
+ export { LintExecutorSchema };
180
+ //# sourceMappingURL=schema.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.cts","names":[],"sources":["../../../src/executors/lint/schema.d.ts"],"mappings":";;;UAIiB;;;;;;;;;EAShB;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;;;;EAUA,QAAQ;;;;;;;;;EAUR;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;EAQA,SAAS;;;;;;;;;EAUT;;;;;;;EAQA,WAAW;;;;;;;EAQX,aAAa;;;;;;;EAQb;;;;;;;;;EAUA;;;;;;;;;EAUA;;;;;;;EAQA,SAAS;;;;;;;EAQT,SAAS;IAAQ;IAAgB;IAAiB;IAAc;IAAmB;;;;;;;;EAQnF,iBAAiB;;;;;;;EAQjB;;;;;;;EAQA"}