@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.
- package/CHANGELOG.md +15 -0
- package/dist/{rolldown-runtime-C_NdSu1c.js → _virtual/_rolldown/runtime.cjs} +2 -8
- package/dist/{base-executor-B48XZipC.js → base/base-executor.cjs} +1 -6
- package/dist/base/base-executor.d.cts +16 -0
- package/dist/base/base-executor.d.cts.map +1 -0
- package/dist/base/base-executor.d.ts +16 -0
- package/dist/base/base-executor.d.ts.map +1 -0
- package/dist/{base-executor-ChtjGl_i.mjs → base/base-executor.js} +2 -2
- package/dist/base/base-executor.js.map +1 -0
- package/dist/base/base-executor.schema.d.cts +166 -0
- package/dist/base/base-executor.schema.d.cts.map +1 -0
- package/dist/base/base-executor.schema.d.ts +2 -3
- package/dist/base/base-executor.schema.d.ts.map +1 -0
- package/dist/base/base-executor.schema.json +7 -19
- package/dist/base/base-executor.untyped.cjs +17 -0
- package/dist/{index.mjs → base/base-executor.untyped.js} +2 -3
- package/dist/base/base-executor.untyped.js.map +1 -0
- package/dist/base/index.cjs +4 -0
- package/dist/base/index.d.cts +2 -0
- package/dist/base/index.d.ts +2 -0
- package/dist/base/index.js +4 -0
- package/dist/executors/build/{executor.mjs → executor.cjs} +5 -6
- package/dist/executors/build/executor.d.cts +6 -0
- package/dist/executors/build/executor.d.cts.map +1 -0
- package/dist/executors/build/executor.d.ts +3 -181
- package/dist/executors/build/executor.d.ts.map +1 -1
- package/dist/executors/build/executor.js +6 -7
- package/dist/executors/build/executor.js.map +1 -0
- package/dist/executors/build/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/build/schema.d.cts.map +1 -0
- package/dist/executors/build/schema.d.ts +177 -191
- package/dist/executors/build/schema.d.ts.map +1 -0
- package/dist/executors/build/schema.json +7 -19
- package/dist/executors/clean/executor.cjs +11 -0
- package/dist/executors/clean/executor.d.cts +6 -0
- package/dist/executors/clean/executor.d.cts.map +1 -0
- package/dist/executors/clean/executor.d.ts +3 -181
- package/dist/executors/clean/executor.d.ts.map +1 -1
- package/dist/executors/clean/executor.js +4 -3
- package/dist/executors/clean/executor.js.map +1 -0
- package/dist/executors/clean/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/clean/schema.d.cts.map +1 -0
- package/dist/executors/clean/schema.d.ts +177 -191
- package/dist/executors/clean/schema.d.ts.map +1 -0
- package/dist/executors/clean/schema.json +7 -19
- package/dist/executors/docs/executor.cjs +11 -0
- package/dist/executors/docs/executor.d.cts +6 -0
- package/dist/executors/docs/executor.d.cts.map +1 -0
- package/dist/executors/docs/executor.d.ts +3 -181
- package/dist/executors/docs/executor.d.ts.map +1 -1
- package/dist/executors/docs/executor.js +4 -3
- package/dist/executors/docs/executor.js.map +1 -0
- package/dist/executors/docs/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/docs/schema.d.cts.map +1 -0
- package/dist/executors/docs/schema.d.ts +177 -191
- package/dist/executors/docs/schema.d.ts.map +1 -0
- package/dist/executors/docs/schema.json +7 -19
- package/dist/executors/lint/executor.cjs +11 -0
- package/dist/executors/lint/executor.d.cts +6 -0
- package/dist/executors/lint/executor.d.cts.map +1 -0
- package/dist/executors/lint/executor.d.ts +3 -181
- package/dist/executors/lint/executor.d.ts.map +1 -1
- package/dist/executors/lint/executor.js +4 -3
- package/dist/executors/lint/executor.js.map +1 -0
- package/dist/executors/lint/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/lint/schema.d.cts.map +1 -0
- package/dist/executors/lint/schema.d.ts +177 -191
- package/dist/executors/lint/schema.d.ts.map +1 -0
- package/dist/executors/lint/schema.json +7 -19
- package/dist/executors/prepare/{executor.mjs → executor.cjs} +5 -6
- package/dist/executors/prepare/executor.d.cts +6 -0
- package/dist/executors/prepare/executor.d.cts.map +1 -0
- package/dist/executors/prepare/executor.d.ts +3 -181
- package/dist/executors/prepare/executor.d.ts.map +1 -1
- package/dist/executors/prepare/executor.js +6 -7
- package/dist/executors/prepare/executor.js.map +1 -0
- package/dist/executors/prepare/{executor.d.mts → schema.d.cts} +76 -82
- package/dist/executors/prepare/schema.d.cts.map +1 -0
- package/dist/executors/prepare/schema.d.ts +177 -191
- package/dist/executors/prepare/schema.d.ts.map +1 -0
- package/dist/executors/prepare/schema.json +7 -19
- package/dist/index.cjs +5 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -181
- package/dist/index.js +3 -19
- package/dist/plugin/{index.mjs → index.cjs} +115 -83
- package/dist/plugin/index.d.cts +7 -0
- package/dist/plugin/index.d.cts.map +1 -0
- package/dist/plugin/index.d.ts +2 -3
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +85 -113
- package/dist/plugin/index.js.map +1 -0
- package/docs/api/{base-executor.schema.md → base/base-executor.schema.md} +3 -3
- package/docs/api/{build → executors/build}/schema.md +3 -3
- package/docs/api/{clean → executors/clean}/schema.md +3 -3
- package/docs/api/{docs → executors/docs}/schema.md +3 -3
- package/docs/api/{lint → executors/lint}/schema.md +3 -3
- package/docs/api/{prepare → executors/prepare}/schema.md +3 -3
- package/package.json +18 -18
- package/dist/base-executor-ChtjGl_i.mjs.map +0 -1
- package/dist/executors/build/executor.d.mts.map +0 -1
- package/dist/executors/build/executor.mjs.map +0 -1
- package/dist/executors/clean/executor.d.mts.map +0 -1
- package/dist/executors/clean/executor.mjs +0 -12
- package/dist/executors/clean/executor.mjs.map +0 -1
- package/dist/executors/docs/executor.d.mts.map +0 -1
- package/dist/executors/docs/executor.mjs +0 -12
- package/dist/executors/docs/executor.mjs.map +0 -1
- package/dist/executors/lint/executor.d.mts.map +0 -1
- package/dist/executors/lint/executor.mjs +0 -12
- package/dist/executors/lint/executor.mjs.map +0 -1
- package/dist/executors/prepare/executor.d.mts.map +0 -1
- package/dist/executors/prepare/executor.mjs.map +0 -1
- package/dist/index.d.mts +0 -181
- package/dist/index.d.mts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/plugin/index.d.mts +0 -8
- package/dist/plugin/index.d.mts.map +0 -1
- package/dist/plugin/index.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Shell Shock - Nx
|
|
4
4
|
|
|
5
|
+
## [0.0.96](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.96) (08/13/2026)
|
|
6
|
+
|
|
7
|
+
### Miscellaneous
|
|
8
|
+
|
|
9
|
+
- **monorepo:** Various formatting and linting clean ups ([f75fecd](https://github.com/storm-software/shell-shock/commit/f75fecd))
|
|
10
|
+
- **core:** Update framework to use Power Plant generators for codegen ([295bcc8](https://github.com/storm-software/shell-shock/commit/295bcc8))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- **monorepo:** Update packages to use latest Powerlines plugin structure ([5aed994](https://github.com/storm-software/shell-shock/commit/5aed994))
|
|
15
|
+
|
|
16
|
+
### Updated Dependencies
|
|
17
|
+
|
|
18
|
+
- Updated **core** to **v0.17.23**
|
|
19
|
+
|
|
5
20
|
## [0.0.95](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.95) (06/15/2026)
|
|
6
21
|
|
|
7
22
|
### Miscellaneous
|
|
@@ -19,16 +19,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
}
|
|
20
20
|
return to;
|
|
21
21
|
};
|
|
22
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
23
23
|
value: mod,
|
|
24
24
|
enumerable: true
|
|
25
25
|
}) : target, mod));
|
|
26
26
|
|
|
27
27
|
//#endregion
|
|
28
|
-
|
|
29
|
-
Object.defineProperty(exports, '__toESM', {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function () {
|
|
32
|
-
return __toESM;
|
|
33
|
-
}
|
|
34
|
-
});
|
|
28
|
+
exports.__toESM = __toESM;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseExecutorSchema } from "./base-executor.schema.cjs";
|
|
2
|
+
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
+
import { PowerlinesExecutorApi, PowerlinesExecutorContext } from "@powerlines/nx/base/base-executor";
|
|
4
|
+
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
5
|
+
//#region src/base/base-executor.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* A higher-order function that wraps a Powerlines executor function, providing a consistent interface for Nx executors in the Shell Shock project. This function abstracts away the integration details with Powerlines, allowing developers to focus on implementing the core logic of their executors.
|
|
8
|
+
*
|
|
9
|
+
* @param command - The name of the command that this executor will handle (e.g., "build", "lint").
|
|
10
|
+
* @param executorFn - The actual executor function that contains the logic to be executed. It receives a PowerlinesExecutorContext and PowerlinesExecutorApi as parameters.
|
|
11
|
+
* @returns A PromiseExecutor function that can be used as an Nx executor.
|
|
12
|
+
*/
|
|
13
|
+
declare function withExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { withExecutor };
|
|
16
|
+
//# sourceMappingURL=base-executor.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.d.cts","names":[],"sources":["../../src/base/base-executor.ts"],"mappings":";;;;;;;;;;;;iBAkCgB,aACd,wBAAwB,qBAAqB,oBAE7C,iBACA,aACE,SAAS,0BAA0B,kBACnC,KAAK,0BAEH,QAAQ,yCACR,wCAGH,gBAAgB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BaseExecutorSchema } from "./base-executor.schema.js";
|
|
2
|
+
import { PowerlinesExecutorApi, PowerlinesExecutorContext } from "@powerlines/nx/base/base-executor";
|
|
3
|
+
import { PromiseExecutor } from "@nx/devkit";
|
|
4
|
+
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
5
|
+
//#region src/base/base-executor.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* A higher-order function that wraps a Powerlines executor function, providing a consistent interface for Nx executors in the Shell Shock project. This function abstracts away the integration details with Powerlines, allowing developers to focus on implementing the core logic of their executors.
|
|
8
|
+
*
|
|
9
|
+
* @param command - The name of the command that this executor will handle (e.g., "build", "lint").
|
|
10
|
+
* @param executorFn - The actual executor function that contains the logic to be executed. It receives a PowerlinesExecutorContext and PowerlinesExecutorApi as parameters.
|
|
11
|
+
* @returns A PromiseExecutor function that can be used as an Nx executor.
|
|
12
|
+
*/
|
|
13
|
+
declare function withExecutor$1<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { withExecutor$1 as withExecutor };
|
|
16
|
+
//# sourceMappingURL=base-executor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.d.ts","names":[],"sources":["../../src/base/base-executor.ts"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.js","names":[],"sources":[],"mappings":""}
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
//#region src/base/base-executor.schema.d.ts
|
|
2
|
+
// Generated by powerlines
|
|
3
|
+
// Do not edit this file directly
|
|
4
|
+
interface BaseExecutorSchema {
|
|
5
|
+
/**
|
|
6
|
+
* Powerlines Configuration File
|
|
7
|
+
*
|
|
8
|
+
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* @format path
|
|
12
|
+
*/
|
|
13
|
+
config?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Powerlines Configuration File
|
|
16
|
+
*
|
|
17
|
+
* The path to the Powerlines configuration file. Alias for `config`.
|
|
18
|
+
*
|
|
19
|
+
*
|
|
20
|
+
* @format path
|
|
21
|
+
*/
|
|
22
|
+
configFile?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Powerlines Configuration Index
|
|
25
|
+
*
|
|
26
|
+
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
27
|
+
*
|
|
28
|
+
* @default 0
|
|
29
|
+
*/
|
|
30
|
+
configIndex?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Input Entry File(s)
|
|
33
|
+
*
|
|
34
|
+
* The entry file(s) that serve as the input for the project
|
|
35
|
+
*
|
|
36
|
+
*
|
|
37
|
+
* @format path
|
|
38
|
+
*/
|
|
39
|
+
input?: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
* TSConfig Path
|
|
42
|
+
*
|
|
43
|
+
* The path to the tsconfig file
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
* @format path
|
|
47
|
+
*/
|
|
48
|
+
tsconfig?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Output Path
|
|
51
|
+
*
|
|
52
|
+
* The path to the output directory for the build artifacts
|
|
53
|
+
*
|
|
54
|
+
*
|
|
55
|
+
* @format path
|
|
56
|
+
*/
|
|
57
|
+
outputPath?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Copy Path
|
|
60
|
+
*
|
|
61
|
+
* A directory path to copy the build artifacts into
|
|
62
|
+
*
|
|
63
|
+
*
|
|
64
|
+
* @oneOf [object Object],[object Object]
|
|
65
|
+
*/
|
|
66
|
+
copyPath?: any;
|
|
67
|
+
/**
|
|
68
|
+
* Sourcemap
|
|
69
|
+
*
|
|
70
|
+
* Generate a sourcemap
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
sourceMap?: boolean;
|
|
74
|
+
/**
|
|
75
|
+
* Minify
|
|
76
|
+
*
|
|
77
|
+
* Minify the output
|
|
78
|
+
*
|
|
79
|
+
*/
|
|
80
|
+
minify?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* Format
|
|
83
|
+
*
|
|
84
|
+
* The format to build
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
format?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
* Platform
|
|
90
|
+
*
|
|
91
|
+
* The platform to build
|
|
92
|
+
*
|
|
93
|
+
*
|
|
94
|
+
* @enum neutral,node,browser
|
|
95
|
+
*/
|
|
96
|
+
platform?: string;
|
|
97
|
+
/**
|
|
98
|
+
* External
|
|
99
|
+
*
|
|
100
|
+
* The external dependencies
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
external?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* No External
|
|
106
|
+
*
|
|
107
|
+
* The dependencies that should not be treated as external
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
noExternal?: Array<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Skip Node Modules Bundle
|
|
113
|
+
*
|
|
114
|
+
* Skip bundling node_modules during the build process (if required)
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
skipNodeModulesBundle?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Mode
|
|
120
|
+
*
|
|
121
|
+
* The build mode
|
|
122
|
+
*
|
|
123
|
+
*
|
|
124
|
+
* @enum development,test,production
|
|
125
|
+
*/
|
|
126
|
+
mode?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Log Level
|
|
129
|
+
*
|
|
130
|
+
* The log level to use for the build process
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
134
|
+
*/
|
|
135
|
+
logLevel?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Define
|
|
138
|
+
*
|
|
139
|
+
* The `define` values
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
define?: Record<string, string>;
|
|
143
|
+
/**
|
|
144
|
+
* Assets
|
|
145
|
+
*
|
|
146
|
+
* The `assets` values
|
|
147
|
+
*
|
|
148
|
+
*/
|
|
149
|
+
assets?: Array<{
|
|
150
|
+
input?: string;
|
|
151
|
+
output?: string;
|
|
152
|
+
glob: string;
|
|
153
|
+
ignore?: string[];
|
|
154
|
+
dot?: boolean;
|
|
155
|
+
}>;
|
|
156
|
+
/**
|
|
157
|
+
* Additional Arguments
|
|
158
|
+
*
|
|
159
|
+
* The additional arguments provided during execution of the command
|
|
160
|
+
*
|
|
161
|
+
*/
|
|
162
|
+
additionalArgs?: Record<string, string>;
|
|
163
|
+
}
|
|
164
|
+
//#endregion
|
|
165
|
+
export { BaseExecutorSchema };
|
|
166
|
+
//# sourceMappingURL=base-executor.schema.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.schema.d.cts","names":[],"sources":["../../src/base/base-executor.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"}
|
|
@@ -93,7 +93,6 @@ export interface BaseExecutorSchema {
|
|
|
93
93
|
*
|
|
94
94
|
* The format to build
|
|
95
95
|
*
|
|
96
|
-
* @default ["cjs","esm"]
|
|
97
96
|
*/
|
|
98
97
|
format?: Array<string>,
|
|
99
98
|
|
|
@@ -113,7 +112,7 @@ export interface BaseExecutorSchema {
|
|
|
113
112
|
* The external dependencies
|
|
114
113
|
*
|
|
115
114
|
*/
|
|
116
|
-
external?: Array<
|
|
115
|
+
external?: Array<string>,
|
|
117
116
|
|
|
118
117
|
/**
|
|
119
118
|
* No External
|
|
@@ -121,7 +120,7 @@ export interface BaseExecutorSchema {
|
|
|
121
120
|
* The dependencies that should not be treated as external
|
|
122
121
|
*
|
|
123
122
|
*/
|
|
124
|
-
noExternal?: Array<
|
|
123
|
+
noExternal?: Array<string>,
|
|
125
124
|
|
|
126
125
|
/**
|
|
127
126
|
* Skip Node Modules Bundle
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.schema.d.ts","names":[],"sources":["../../src/base/base-executor.schema.d.ts"],"mappings":""}
|
|
@@ -92,11 +92,7 @@
|
|
|
92
92
|
"iife"
|
|
93
93
|
]
|
|
94
94
|
},
|
|
95
|
-
"id": "#format"
|
|
96
|
-
"default": [
|
|
97
|
-
"cjs",
|
|
98
|
-
"esm"
|
|
99
|
-
]
|
|
95
|
+
"id": "#format"
|
|
100
96
|
},
|
|
101
97
|
"platform": {
|
|
102
98
|
"title": "Platform",
|
|
@@ -113,21 +109,19 @@
|
|
|
113
109
|
"title": "External",
|
|
114
110
|
"type": "array",
|
|
115
111
|
"description": "The external dependencies",
|
|
116
|
-
"id": "#external",
|
|
117
|
-
"default": [],
|
|
118
112
|
"items": {
|
|
119
|
-
"type": "
|
|
120
|
-
}
|
|
113
|
+
"type": "string"
|
|
114
|
+
},
|
|
115
|
+
"id": "#external"
|
|
121
116
|
},
|
|
122
117
|
"noExternal": {
|
|
123
118
|
"title": "No External",
|
|
124
119
|
"type": "array",
|
|
125
120
|
"description": "The dependencies that should not be treated as external",
|
|
126
|
-
"id": "#noExternal",
|
|
127
|
-
"default": [],
|
|
128
121
|
"items": {
|
|
129
|
-
"type": "
|
|
130
|
-
}
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"id": "#noExternal"
|
|
131
125
|
},
|
|
132
126
|
"skipNodeModulesBundle": {
|
|
133
127
|
"title": "Skip Node Modules Bundle",
|
|
@@ -191,12 +185,6 @@
|
|
|
191
185
|
"default": {
|
|
192
186
|
"configIndex": 0,
|
|
193
187
|
"copyPath": {},
|
|
194
|
-
"format": [
|
|
195
|
-
"cjs",
|
|
196
|
-
"esm"
|
|
197
|
-
],
|
|
198
|
-
"external": [],
|
|
199
|
-
"noExternal": [],
|
|
200
188
|
"define": {},
|
|
201
189
|
"assets": {},
|
|
202
190
|
"additionalArgs": {}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
2
|
+
let _powerlines_nx_base_base_executor_untyped = require("@powerlines/nx/base/base-executor.untyped");
|
|
3
|
+
_powerlines_nx_base_base_executor_untyped = require_runtime.__toESM(_powerlines_nx_base_base_executor_untyped, 1);
|
|
4
|
+
let untyped = require("untyped");
|
|
5
|
+
|
|
6
|
+
//#region src/base/base-executor.untyped.ts
|
|
7
|
+
var base_executor_untyped_default = (0, untyped.defineUntypedSchema)({
|
|
8
|
+
..._powerlines_nx_base_base_executor_untyped.default,
|
|
9
|
+
$schema: {
|
|
10
|
+
id: "BaseExecutorSchema",
|
|
11
|
+
title: "Base Executor",
|
|
12
|
+
description: "A shared/base schema type definition for Shell Shock executors",
|
|
13
|
+
required: []
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { t as withExecutor } from "./base-executor-ChtjGl_i.mjs";
|
|
2
1
|
import baseExecutorSchema from "@powerlines/nx/base/base-executor.untyped";
|
|
3
2
|
import { defineUntypedSchema } from "untyped";
|
|
4
3
|
|
|
@@ -14,5 +13,5 @@ var base_executor_untyped_default = defineUntypedSchema({
|
|
|
14
13
|
});
|
|
15
14
|
|
|
16
15
|
//#endregion
|
|
17
|
-
export {
|
|
18
|
-
//# sourceMappingURL=
|
|
16
|
+
export { };
|
|
17
|
+
//# sourceMappingURL=base-executor.untyped.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-executor.untyped.js","names":[],"sources":[],"mappings":""}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
const require_base_executor = require('../../base/base-executor.cjs');
|
|
2
|
+
let defu = require("defu");
|
|
3
3
|
|
|
4
4
|
//#region src/executors/build/executor.ts
|
|
5
5
|
async function executorFn(context, api) {
|
|
6
|
-
await api(defu({
|
|
6
|
+
await api((0, defu.defu)({
|
|
7
7
|
skipCache: context.options.skipCache,
|
|
8
8
|
autoInstall: context.options.autoInstall
|
|
9
9
|
}, context.inlineConfig));
|
|
10
10
|
return { success: true };
|
|
11
11
|
}
|
|
12
|
-
const executor = withExecutor("build", executorFn);
|
|
12
|
+
const executor = require_base_executor.withExecutor("build", executorFn);
|
|
13
13
|
|
|
14
14
|
//#endregion
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=executor.mjs.map
|
|
15
|
+
module.exports = executor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BuildExecutorSchema } from "./schema.cjs";
|
|
2
|
+
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
+
//#region src/executors/build/executor.d.ts
|
|
4
|
+
declare const executor: PromiseExecutor<BuildExecutorSchema>;
|
|
5
|
+
export = executor;
|
|
6
|
+
//# sourceMappingURL=executor.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.d.cts","names":[],"sources":["../../../src/executors/build/executor.ts"],"mappings":";;;cAgDM,UAAU,gBAAgB"}
|
|
@@ -1,185 +1,7 @@
|
|
|
1
|
+
import { BuildExecutorSchema } from "./schema.js";
|
|
1
2
|
import { PromiseExecutor } from "@nx/devkit";
|
|
2
|
-
|
|
3
|
-
//#region src/executors/build/schema.d.ts
|
|
4
|
-
// Generated by powerlines
|
|
5
|
-
// Do not edit this file directly
|
|
6
|
-
interface BuildExecutorSchema {
|
|
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/build/executor.d.ts
|
|
183
4
|
declare const executor: PromiseExecutor<BuildExecutorSchema>;
|
|
184
|
-
|
|
5
|
+
//#endregion
|
|
6
|
+
export { executor as default };
|
|
185
7
|
//# sourceMappingURL=executor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.ts","names":[
|
|
1
|
+
{"version":3,"file":"executor.d.ts","names":[],"sources":["../../../src/executors/build/executor.ts"],"mappings":""}
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
let defu = require("defu");
|
|
4
|
-
defu = require_rolldown_runtime.__toESM(defu);
|
|
1
|
+
import { withExecutor } from "../../base/base-executor.js";
|
|
2
|
+
import { defu } from "defu";
|
|
5
3
|
|
|
6
4
|
//#region src/executors/build/executor.ts
|
|
7
5
|
async function executorFn(context, api) {
|
|
8
|
-
await api(
|
|
6
|
+
await api(defu({
|
|
9
7
|
skipCache: context.options.skipCache,
|
|
10
8
|
autoInstall: context.options.autoInstall
|
|
11
9
|
}, context.inlineConfig));
|
|
12
10
|
return { success: true };
|
|
13
11
|
}
|
|
14
|
-
const executor =
|
|
12
|
+
const executor = withExecutor("build", executorFn);
|
|
15
13
|
|
|
16
14
|
//#endregion
|
|
17
|
-
|
|
15
|
+
export { executor as default };
|
|
16
|
+
//# sourceMappingURL=executor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.js","names":[],"sources":[],"mappings":""}
|