@shell-shock/nx 0.0.95 → 0.0.96
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/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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","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/docs/schema.d.ts","../../../src/executors/docs/executor.ts"],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { t as withExecutor } from "../../base-executor-ChtjGl_i.mjs";
|
|
2
|
-
|
|
3
|
-
//#region src/executors/docs/executor.ts
|
|
4
|
-
async function executorFn(context, api) {
|
|
5
|
-
await api(context.inlineConfig);
|
|
6
|
-
return { success: true };
|
|
7
|
-
}
|
|
8
|
-
const executor = withExecutor("docs", executorFn);
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { executor as default };
|
|
12
|
-
//# sourceMappingURL=executor.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","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":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { t as withExecutor } from "../../base-executor-ChtjGl_i.mjs";
|
|
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 = withExecutor("lint", executorFn);
|
|
9
|
-
|
|
10
|
-
//#endregion
|
|
11
|
-
export { executor as default };
|
|
12
|
-
//# sourceMappingURL=executor.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.d.mts","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/prepare/schema.d.ts","../../../src/executors/prepare/executor.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"executor.mjs","names":[],"sources":[],"mappings":""}
|
package/dist/index.d.mts
DELETED
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
import { PowerlinesExecutorApi, PowerlinesExecutorContext } from "@powerlines/nx/base/base-executor";
|
|
2
|
-
import { PromiseExecutor } from "@nx/devkit";
|
|
3
|
-
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
4
|
-
|
|
5
|
-
//#region src/base/base-executor.schema.d.ts
|
|
6
|
-
// Generated by powerlines
|
|
7
|
-
// Do not edit this file directly
|
|
8
|
-
interface BaseExecutorSchema {
|
|
9
|
-
/**
|
|
10
|
-
* Powerlines Configuration File
|
|
11
|
-
*
|
|
12
|
-
* The path to the Powerlines configuration file. Alias for `configFile`.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* @format path
|
|
16
|
-
*/
|
|
17
|
-
config?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Powerlines Configuration File
|
|
20
|
-
*
|
|
21
|
-
* The path to the Powerlines configuration file. Alias for `config`.
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* @format path
|
|
25
|
-
*/
|
|
26
|
-
configFile?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Powerlines Configuration Index
|
|
29
|
-
*
|
|
30
|
-
* The index in the Powerlines configuration file to use (if an array of configurations are provided).
|
|
31
|
-
*
|
|
32
|
-
* @default 0
|
|
33
|
-
*/
|
|
34
|
-
configIndex?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Input Entry File(s)
|
|
37
|
-
*
|
|
38
|
-
* The entry file(s) that serve as the input for the project
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* @format path
|
|
42
|
-
*/
|
|
43
|
-
input?: Array<string>;
|
|
44
|
-
/**
|
|
45
|
-
* TSConfig Path
|
|
46
|
-
*
|
|
47
|
-
* The path to the tsconfig file
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* @format path
|
|
51
|
-
*/
|
|
52
|
-
tsconfig?: string;
|
|
53
|
-
/**
|
|
54
|
-
* Output Path
|
|
55
|
-
*
|
|
56
|
-
* The path to the output directory for the build artifacts
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* @format path
|
|
60
|
-
*/
|
|
61
|
-
outputPath?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Copy Path
|
|
64
|
-
*
|
|
65
|
-
* A directory path to copy the build artifacts into
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* @oneOf [object Object],[object Object]
|
|
69
|
-
*/
|
|
70
|
-
copyPath?: any;
|
|
71
|
-
/**
|
|
72
|
-
* Sourcemap
|
|
73
|
-
*
|
|
74
|
-
* Generate a sourcemap
|
|
75
|
-
*
|
|
76
|
-
*/
|
|
77
|
-
sourceMap?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Minify
|
|
80
|
-
*
|
|
81
|
-
* Minify the output
|
|
82
|
-
*
|
|
83
|
-
*/
|
|
84
|
-
minify?: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Format
|
|
87
|
-
*
|
|
88
|
-
* The format to build
|
|
89
|
-
*
|
|
90
|
-
* @default ["cjs","esm"]
|
|
91
|
-
*/
|
|
92
|
-
format?: Array<string>;
|
|
93
|
-
/**
|
|
94
|
-
* Platform
|
|
95
|
-
*
|
|
96
|
-
* The platform to build
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @enum neutral,node,browser
|
|
100
|
-
*/
|
|
101
|
-
platform?: string;
|
|
102
|
-
/**
|
|
103
|
-
* External
|
|
104
|
-
*
|
|
105
|
-
* The external dependencies
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
external?: Array<any>;
|
|
109
|
-
/**
|
|
110
|
-
* No External
|
|
111
|
-
*
|
|
112
|
-
* The dependencies that should not be treated as external
|
|
113
|
-
*
|
|
114
|
-
*/
|
|
115
|
-
noExternal?: Array<any>;
|
|
116
|
-
/**
|
|
117
|
-
* Skip Node Modules Bundle
|
|
118
|
-
*
|
|
119
|
-
* Skip bundling node_modules during the build process (if required)
|
|
120
|
-
*
|
|
121
|
-
*/
|
|
122
|
-
skipNodeModulesBundle?: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Mode
|
|
125
|
-
*
|
|
126
|
-
* The build mode
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
* @enum development,test,production
|
|
130
|
-
*/
|
|
131
|
-
mode?: string;
|
|
132
|
-
/**
|
|
133
|
-
* Log Level
|
|
134
|
-
*
|
|
135
|
-
* The log level to use for the build process
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
139
|
-
*/
|
|
140
|
-
logLevel?: string;
|
|
141
|
-
/**
|
|
142
|
-
* Define
|
|
143
|
-
*
|
|
144
|
-
* The `define` values
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
147
|
-
define?: Record<string, string>;
|
|
148
|
-
/**
|
|
149
|
-
* Assets
|
|
150
|
-
*
|
|
151
|
-
* The `assets` values
|
|
152
|
-
*
|
|
153
|
-
*/
|
|
154
|
-
assets?: Array<{
|
|
155
|
-
input?: string;
|
|
156
|
-
output?: string;
|
|
157
|
-
glob: string;
|
|
158
|
-
ignore?: string[];
|
|
159
|
-
dot?: boolean;
|
|
160
|
-
}>;
|
|
161
|
-
/**
|
|
162
|
-
* Additional Arguments
|
|
163
|
-
*
|
|
164
|
-
* The additional arguments provided during execution of the command
|
|
165
|
-
*
|
|
166
|
-
*/
|
|
167
|
-
additionalArgs?: Record<string, string>;
|
|
168
|
-
}
|
|
169
|
-
//#endregion
|
|
170
|
-
//#region src/base/base-executor.d.ts
|
|
171
|
-
/**
|
|
172
|
-
* 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.
|
|
173
|
-
*
|
|
174
|
-
* @param command - The name of the command that this executor will handle (e.g., "build", "lint").
|
|
175
|
-
* @param executorFn - The actual executor function that contains the logic to be executed. It receives a PowerlinesExecutorContext and PowerlinesExecutorApi as parameters.
|
|
176
|
-
* @returns A PromiseExecutor function that can be used as an Nx executor.
|
|
177
|
-
*/
|
|
178
|
-
declare function withExecutor<TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: string, executorFn: (context: PowerlinesExecutorContext<TExecutorSchema>, api: PowerlinesExecutorApi) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
|
|
179
|
-
//#endregion
|
|
180
|
-
export { withExecutor };
|
|
181
|
-
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","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"],"sources":["../src/base/base-executor.schema.d.ts","../src/base/base-executor.ts"],"mappings":""}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.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"],"sources":["../src/base/base-executor.schema.d.ts","../src/base/base-executor.ts"],"mappings":";;;;;;;UAIiB,kBAAA;EAAjB;;;;;;;;EASCA,MAAAA;EAkKuB;;;;;;;;EAxJvBC,UAAAA;;;;;;;;EASAC,WAAAA;;;;;;;;;EAUAC,KAAAA,GAAQ,KAAA;;;;;;AAqIe;;;EA3HvBE,QAAAA;EClB2B;;;;;;;;ED4B3BC,UAAAA;;;;;;;;;EAUAC,QAAAA;;;;;;;EAQAC,SAAAA;;;AClCiC;;;;ED0CjCC,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;AAAA;;;;AA3KlB;;;;;;iBC8BgB,YAAA,yBACU,kBAAA,GAAqB,kBAAA,EAE7C,OAAA,UACA,UAAA,GACE,OAAA,EAAS,yBAAA,CAA0B,eAAA,GACnC,GAAA,EAAK,qBAAA,KAEH,OAAA,CAAQ,kBAAA,uBACR,kBAAA,sBAGH,eAAA,CAAgB,eAAA"}
|
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
|
package/dist/plugin/index.d.mts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CreateNodesV2 } from "@nx/devkit";
|
|
2
|
-
import { NxPluginOptions } from "@powerlines/nx";
|
|
3
|
-
|
|
4
|
-
//#region src/plugin/index.d.ts
|
|
5
|
-
declare const createNodesV2: CreateNodesV2<NxPluginOptions>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { createNodesV2 };
|
|
8
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../../src/plugin/index.ts"],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":[],"mappings":""}
|