@shell-shock/nx 0.0.68 → 0.0.69
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 +10 -0
- package/dist/{base-executor-B1EoXB-T.mjs → base-executor-CXGfAvut.mjs} +5 -4
- package/dist/{base-executor-B1EoXB-T.mjs.map → base-executor-CXGfAvut.mjs.map} +1 -1
- package/dist/{base-executor-BxpIt0ZA.js → base-executor-CjzYhdJI.js} +4 -3
- package/dist/executors/build/executor.js +1 -1
- package/dist/executors/build/executor.mjs +1 -1
- package/dist/executors/clean/executor.js +1 -1
- package/dist/executors/clean/executor.mjs +1 -1
- package/dist/executors/docs/executor.js +1 -1
- package/dist/executors/docs/executor.mjs +1 -1
- package/dist/executors/lint/executor.js +1 -1
- package/dist/executors/lint/executor.mjs +1 -1
- package/dist/executors/prepare/executor.js +1 -1
- package/dist/executors/prepare/executor.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/plugin/index.d.mts +46 -1
- package/dist/plugin/index.d.mts.map +1 -1
- package/dist/plugin/index.d.ts +46 -1
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +27 -25
- package/dist/plugin/index.mjs +27 -25
- package/dist/plugin/index.mjs.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog for Shell Shock - Nx
|
|
4
4
|
|
|
5
|
+
## [0.0.69](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.69) (04/07/2026)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
- **core:** Added the `state` built-in module ([47bea93](https://github.com/storm-software/shell-shock/commit/47bea93))
|
|
10
|
+
|
|
11
|
+
### Updated Dependencies
|
|
12
|
+
|
|
13
|
+
- Updated **core** to **v0.16.0**
|
|
14
|
+
|
|
5
15
|
## [0.0.68](https://github.com/storm-software/shell-shock/releases/tag/nx%400.0.68) (04/03/2026)
|
|
6
16
|
|
|
7
17
|
### Updated Dependencies
|
|
@@ -20,15 +20,16 @@ function withExecutor(command, executorFn) {
|
|
|
20
20
|
if (!context.projectName) throw new Error("The executor requires `projectName` on the context object.");
|
|
21
21
|
if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error("The executor requires `projectsConfigurations` on the context object.");
|
|
22
22
|
const projectConfig = context.projectsConfigurations.projects[context.projectName];
|
|
23
|
-
const
|
|
24
|
-
const
|
|
23
|
+
const jiti = createJiti(context.root, { cache: false });
|
|
24
|
+
const { ShellShockAPI } = await jiti.import(jiti.esmResolve("@shell-shock/core"));
|
|
25
|
+
const api = await ShellShockAPI.from(defu({
|
|
25
26
|
name: projectConfig.name,
|
|
26
27
|
root: projectConfig.root,
|
|
27
28
|
sourceRoot: projectConfig.sourceRoot,
|
|
28
29
|
description: projectConfig.metadata?.description,
|
|
29
30
|
projectType: projectConfig.projectType,
|
|
30
31
|
output: { path: options.outputPath }
|
|
31
|
-
}, options));
|
|
32
|
+
}, options, workspaceConfig.workspaceRoot));
|
|
32
33
|
try {
|
|
33
34
|
return await Promise.resolve(executorFn(defu({
|
|
34
35
|
projectName: context.projectName,
|
|
@@ -60,4 +61,4 @@ ${error.stack}` : "Unknown error"}`);
|
|
|
60
61
|
|
|
61
62
|
//#endregion
|
|
62
63
|
export { withExecutor as t };
|
|
63
|
-
//# sourceMappingURL=base-executor-
|
|
64
|
+
//# sourceMappingURL=base-executor-CXGfAvut.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-executor-
|
|
1
|
+
{"version":3,"file":"base-executor-CXGfAvut.mjs","names":[],"sources":["../src/base/base-executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport type { ExecutorContext, PromiseExecutor } from \"@nx/devkit\";\nimport type { ShellShockAPI, UserConfig } from \"@shell-shock/core\";\nimport { writeError } from \"@storm-software/config-tools/logger\";\nimport type { StormWorkspaceConfig } from \"@storm-software/config/types\";\nimport { withRunExecutor } from \"@storm-software/workspace-tools/base/base-executor\";\nimport type { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport { isError } from \"@stryke/type-checks/is-error\";\nimport defu from \"defu\";\nimport { createJiti } from \"jiti\";\nimport type { InlineConfig, PowerlinesCommand } from \"powerlines\";\nimport type { BaseExecutorSchema } from \"./base-executor.schema\";\n\nexport type ShellShockExecutorContext<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n> = ExecutorContext & {\n projectName: string;\n command: TCommand;\n options: TExecutorSchema;\n inlineConfig: InlineConfig;\n workspaceConfig: StormWorkspaceConfig;\n};\n\n/**\n * A utility function to create a Shell Shock executor that can be used with the `withRunExecutor` function.\n *\n * @remarks\n * This function is designed to simplify the creation of Shell Shock executors by providing a consistent interface and error handling.\n *\n * @param command - The command that the executor will handle (e.g., \"new\", \"prepare\", \"build\", etc.).\n * @param executorFn - The function that will be executed when the command is run.\n * @returns A Promise that resolves to the result of the executor function.\n */\nexport function withExecutor<\n TCommand extends PowerlinesCommand = PowerlinesCommand,\n TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema\n>(\n command: TCommand,\n executorFn: (\n context: ShellShockExecutorContext<TCommand, TExecutorSchema>,\n api: ShellShockAPI\n ) =>\n | Promise<BaseExecutorResult | null | undefined>\n | BaseExecutorResult\n | null\n | undefined\n): PromiseExecutor<TExecutorSchema> {\n return withRunExecutor(\n `Shell Shock ${command} command executor`,\n async (\n options: TExecutorSchema,\n context: ExecutorContext,\n workspaceConfig: StormWorkspaceConfig\n ): Promise<BaseExecutorResult | null | undefined> => {\n if (!context.projectName) {\n throw new Error(\n \"The executor requires `projectName` on the context object.\"\n );\n }\n\n if (\n !context.projectName ||\n !context.projectsConfigurations?.projects ||\n !context.projectsConfigurations.projects[context.projectName] ||\n !context.projectsConfigurations.projects[context.projectName]?.root\n ) {\n throw new Error(\n \"The executor requires `projectsConfigurations` on the context object.\"\n );\n }\n\n const projectConfig =\n context.projectsConfigurations.projects[context.projectName]!;\n\n const jiti = createJiti(context.root, { cache: false });\n const { ShellShockAPI } = await jiti.import<{\n ShellShockAPI: typeof import(\"@shell-shock/core\").ShellShockAPI;\n }>(jiti.esmResolve(\"@shell-shock/core\"));\n\n const api = await ShellShockAPI.from(\n defu(\n {\n name: projectConfig.name,\n root: projectConfig.root,\n sourceRoot: projectConfig.sourceRoot,\n description: projectConfig.metadata?.description,\n projectType: projectConfig.projectType,\n output: {\n path: options.outputPath\n }\n },\n options,\n workspaceConfig.workspaceRoot\n ) as UserConfig\n );\n\n try {\n return await Promise.resolve(\n executorFn(\n defu(\n {\n projectName: context.projectName,\n options,\n workspaceConfig,\n inlineConfig: {\n command,\n configFile: options.configFile\n },\n command\n },\n context\n ),\n api\n )\n );\n } catch (error) {\n writeError(\n `An error occurred while executing the Shell Shock ${\n command\n } command executor: ${\n isError(error)\n ? `${error.message}\n\n${error.stack}`\n : \"Unknown error\"\n }`\n );\n\n return { success: false };\n } finally {\n await api.finalize();\n }\n },\n {\n skipReadingConfig: false,\n hooks: {\n applyDefaultOptions: (options: Partial<TExecutorSchema>) => {\n options.outputPath ??= \"dist/{projectRoot}\";\n options.configFile ??= \"{projectRoot}/shell-shock.config.ts\";\n\n return options as TExecutorSchema;\n }\n }\n }\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;AAmDA,SAAgB,aAId,SACA,YAQkC;AAClC,QAAO,gBACL,eAAe,QAAQ,oBACvB,OACE,SACA,SACA,oBACmD;AACnD,MAAI,CAAC,QAAQ,YACX,OAAM,IAAI,MACR,6DACD;AAGH,MACE,CAAC,QAAQ,eACT,CAAC,QAAQ,wBAAwB,YACjC,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,gBACjD,CAAC,QAAQ,uBAAuB,SAAS,QAAQ,cAAc,KAE/D,OAAM,IAAI,MACR,wEACD;EAGH,MAAM,gBACJ,QAAQ,uBAAuB,SAAS,QAAQ;EAElD,MAAM,OAAO,WAAW,QAAQ,MAAM,EAAE,OAAO,OAAO,CAAC;EACvD,MAAM,EAAE,kBAAkB,MAAM,KAAK,OAElC,KAAK,WAAW,oBAAoB,CAAC;EAExC,MAAM,MAAM,MAAM,cAAc,KAC9B,KACE;GACE,MAAM,cAAc;GACpB,MAAM,cAAc;GACpB,YAAY,cAAc;GAC1B,aAAa,cAAc,UAAU;GACrC,aAAa,cAAc;GAC3B,QAAQ,EACN,MAAM,QAAQ,YACf;GACF,EACD,SACA,gBAAgB,cACjB,CACF;AAED,MAAI;AACF,UAAO,MAAM,QAAQ,QACnB,WACE,KACE;IACE,aAAa,QAAQ;IACrB;IACA;IACA,cAAc;KACZ;KACA,YAAY,QAAQ;KACrB;IACD;IACD,EACD,QACD,EACD,IACD,CACF;WACM,OAAO;AACd,cACE,qDACE,QACD,qBACC,QAAQ,MAAM,GACV,GAAG,MAAM,QAAQ;;EAE/B,MAAM,UACQ,kBAEP;AAED,UAAO,EAAE,SAAS,OAAO;YACjB;AACR,SAAM,IAAI,UAAU;;IAGxB;EACE,mBAAmB;EACnB,OAAO,EACL,sBAAsB,YAAsC;AAC1D,WAAQ,eAAe;AACvB,WAAQ,eAAe;AAEvB,UAAO;KAEV;EACF,CACF"}
|
|
@@ -48,15 +48,16 @@ function withExecutor(command, executorFn) {
|
|
|
48
48
|
if (!context.projectName) throw new Error("The executor requires `projectName` on the context object.");
|
|
49
49
|
if (!context.projectName || !context.projectsConfigurations?.projects || !context.projectsConfigurations.projects[context.projectName] || !context.projectsConfigurations.projects[context.projectName]?.root) throw new Error("The executor requires `projectsConfigurations` on the context object.");
|
|
50
50
|
const projectConfig = context.projectsConfigurations.projects[context.projectName];
|
|
51
|
-
const
|
|
52
|
-
const
|
|
51
|
+
const jiti$1 = (0, jiti.createJiti)(context.root, { cache: false });
|
|
52
|
+
const { ShellShockAPI } = await jiti$1.import(jiti$1.esmResolve("@shell-shock/core"));
|
|
53
|
+
const api = await ShellShockAPI.from((0, defu.default)({
|
|
53
54
|
name: projectConfig.name,
|
|
54
55
|
root: projectConfig.root,
|
|
55
56
|
sourceRoot: projectConfig.sourceRoot,
|
|
56
57
|
description: projectConfig.metadata?.description,
|
|
57
58
|
projectType: projectConfig.projectType,
|
|
58
59
|
output: { path: options.outputPath }
|
|
59
|
-
}, options));
|
|
60
|
+
}, options, workspaceConfig.workspaceRoot));
|
|
60
61
|
try {
|
|
61
62
|
return await Promise.resolve(executorFn((0, defu.default)({
|
|
62
63
|
projectName: context.projectName,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_base_executor = require('./base-executor-
|
|
2
|
+
const require_base_executor = require('./base-executor-CjzYhdJI.js');
|
|
3
3
|
let _powerlines_nx_base_base_executor_untyped = require("@powerlines/nx/base/base-executor.untyped");
|
|
4
4
|
_powerlines_nx_base_base_executor_untyped = require_base_executor.__toESM(_powerlines_nx_base_base_executor_untyped);
|
|
5
5
|
let untyped = require("untyped");
|
package/dist/index.mjs
CHANGED
package/dist/plugin/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateNodesV2 } from "@nx/devkit";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@powerlines+nx@0.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@powerlines+nx@0.12.6_557091af903c2e0976da65b5bc598025/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts
|
|
3
3
|
//#region src/types/plugin.d.ts
|
|
4
4
|
interface NxPluginOptions {
|
|
5
5
|
/**
|
|
@@ -12,6 +12,12 @@ interface NxPluginOptions {
|
|
|
12
12
|
* @defaultValue "clean"
|
|
13
13
|
*/
|
|
14
14
|
targetName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
17
|
+
*
|
|
18
|
+
* @defaultValue true
|
|
19
|
+
*/
|
|
20
|
+
cache?: boolean;
|
|
15
21
|
/**
|
|
16
22
|
* The name of the clean configuration to use when cleaning the project
|
|
17
23
|
*
|
|
@@ -49,6 +55,12 @@ interface NxPluginOptions {
|
|
|
49
55
|
* @defaultValue "prepare"
|
|
50
56
|
*/
|
|
51
57
|
targetName?: string;
|
|
58
|
+
/**
|
|
59
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
60
|
+
*
|
|
61
|
+
* @defaultValue true
|
|
62
|
+
*/
|
|
63
|
+
cache?: boolean;
|
|
52
64
|
/**
|
|
53
65
|
* The name of the prepare configuration to use when preparing the project
|
|
54
66
|
*
|
|
@@ -86,6 +98,12 @@ interface NxPluginOptions {
|
|
|
86
98
|
* @defaultValue "lint"
|
|
87
99
|
*/
|
|
88
100
|
targetName?: string;
|
|
101
|
+
/**
|
|
102
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
103
|
+
*
|
|
104
|
+
* @defaultValue true
|
|
105
|
+
*/
|
|
106
|
+
cache?: boolean;
|
|
89
107
|
/**
|
|
90
108
|
* The name of the lint configuration to use when linting the project
|
|
91
109
|
*
|
|
@@ -123,6 +141,12 @@ interface NxPluginOptions {
|
|
|
123
141
|
* @defaultValue "build"
|
|
124
142
|
*/
|
|
125
143
|
targetName?: string;
|
|
144
|
+
/**
|
|
145
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
146
|
+
*
|
|
147
|
+
* @defaultValue true
|
|
148
|
+
*/
|
|
149
|
+
cache?: boolean;
|
|
126
150
|
/**
|
|
127
151
|
* The name of the build configuration to use when building the project
|
|
128
152
|
*
|
|
@@ -160,6 +184,12 @@ interface NxPluginOptions {
|
|
|
160
184
|
* @defaultValue "docs"
|
|
161
185
|
*/
|
|
162
186
|
targetName?: string;
|
|
187
|
+
/**
|
|
188
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
189
|
+
*
|
|
190
|
+
* @defaultValue true
|
|
191
|
+
*/
|
|
192
|
+
cache?: boolean;
|
|
163
193
|
/**
|
|
164
194
|
* The name of the docs configuration to use when generating documentation for the project
|
|
165
195
|
*
|
|
@@ -197,6 +227,12 @@ interface NxPluginOptions {
|
|
|
197
227
|
* @defaultValue "deploy"
|
|
198
228
|
*/
|
|
199
229
|
targetName?: string;
|
|
230
|
+
/**
|
|
231
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
232
|
+
*
|
|
233
|
+
* @defaultValue false
|
|
234
|
+
*/
|
|
235
|
+
cache?: boolean;
|
|
200
236
|
/**
|
|
201
237
|
* The name of the deploy configuration to use when deploying the project
|
|
202
238
|
*
|
|
@@ -239,6 +275,15 @@ interface NxPluginOptions {
|
|
|
239
275
|
* @defaultValue false
|
|
240
276
|
*/
|
|
241
277
|
debug?: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* An indicator to control the behavior of Nx caching for all of the targets
|
|
280
|
+
*
|
|
281
|
+
* @remarks
|
|
282
|
+
* The `cache` value on the target specific options will override the value provided in this field.
|
|
283
|
+
*
|
|
284
|
+
* @defaultValue true
|
|
285
|
+
*/
|
|
286
|
+
cache?: boolean;
|
|
242
287
|
} //#endregion
|
|
243
288
|
//#endregion
|
|
244
289
|
//#region src/plugin/index.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":["NxPluginOptions","clean","targetName","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":["NxPluginOptions","clean","targetName","cache","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.12.6_557091af903c2e0976da65b5bc598025/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts","../../src/plugin/index.ts"],"x_google_ignoreList":[0],"mappings":";;;UACUA,eAAAA;;;;EAIRC,KAAAA;IAJQD;;;;;IAUNE,UAAAA;IAMAC;;;;;IAAAA,KAAAA;IA+BFM;;;;;IAzBEL,oBAAAA;IAyDAG;;;;;IAnDAF,SAAAA;IAsFAA;;;IAlFAC,MAAAA;IAqGFK;;;IAjGEJ,OAAAA;IAyHAF;;;;;IAnHAG,QAAAA;EAAAA;EAwJAJ;;;EAnJFK,OAAAA;IAuKED;;;;;IAjKAN,UAAAA;IAkMAI;;;;;IA5LAH,KAAAA;IA+NG;;;;;IAzNHC,oBAAAA;ICzCA;;;;;ID+CAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFE,IAAAA;;;;;;IAMER,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFG,KAAAA;;;;;;IAMET,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFI,IAAAA;;;;;;IAMEV,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFK,MAAAA;;;;;;IAMEX,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;;;;;;EAUFM,aAAAA;;;;;;EAMAC,KAAAA;;;;;;;;;EASAZ,KAAAA;AAAAA;;;cCrQW,aAAA,EAAe,aAAA,CAAc,eAAA"}
|
package/dist/plugin/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateNodesV2 } from "@nx/devkit";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@powerlines+nx@0.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@powerlines+nx@0.12.6_557091af903c2e0976da65b5bc598025/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts
|
|
3
3
|
//#region src/types/plugin.d.ts
|
|
4
4
|
interface NxPluginOptions {
|
|
5
5
|
/**
|
|
@@ -12,6 +12,12 @@ interface NxPluginOptions {
|
|
|
12
12
|
* @defaultValue "clean"
|
|
13
13
|
*/
|
|
14
14
|
targetName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
17
|
+
*
|
|
18
|
+
* @defaultValue true
|
|
19
|
+
*/
|
|
20
|
+
cache?: boolean;
|
|
15
21
|
/**
|
|
16
22
|
* The name of the clean configuration to use when cleaning the project
|
|
17
23
|
*
|
|
@@ -49,6 +55,12 @@ interface NxPluginOptions {
|
|
|
49
55
|
* @defaultValue "prepare"
|
|
50
56
|
*/
|
|
51
57
|
targetName?: string;
|
|
58
|
+
/**
|
|
59
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
60
|
+
*
|
|
61
|
+
* @defaultValue true
|
|
62
|
+
*/
|
|
63
|
+
cache?: boolean;
|
|
52
64
|
/**
|
|
53
65
|
* The name of the prepare configuration to use when preparing the project
|
|
54
66
|
*
|
|
@@ -86,6 +98,12 @@ interface NxPluginOptions {
|
|
|
86
98
|
* @defaultValue "lint"
|
|
87
99
|
*/
|
|
88
100
|
targetName?: string;
|
|
101
|
+
/**
|
|
102
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
103
|
+
*
|
|
104
|
+
* @defaultValue true
|
|
105
|
+
*/
|
|
106
|
+
cache?: boolean;
|
|
89
107
|
/**
|
|
90
108
|
* The name of the lint configuration to use when linting the project
|
|
91
109
|
*
|
|
@@ -123,6 +141,12 @@ interface NxPluginOptions {
|
|
|
123
141
|
* @defaultValue "build"
|
|
124
142
|
*/
|
|
125
143
|
targetName?: string;
|
|
144
|
+
/**
|
|
145
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
146
|
+
*
|
|
147
|
+
* @defaultValue true
|
|
148
|
+
*/
|
|
149
|
+
cache?: boolean;
|
|
126
150
|
/**
|
|
127
151
|
* The name of the build configuration to use when building the project
|
|
128
152
|
*
|
|
@@ -160,6 +184,12 @@ interface NxPluginOptions {
|
|
|
160
184
|
* @defaultValue "docs"
|
|
161
185
|
*/
|
|
162
186
|
targetName?: string;
|
|
187
|
+
/**
|
|
188
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
189
|
+
*
|
|
190
|
+
* @defaultValue true
|
|
191
|
+
*/
|
|
192
|
+
cache?: boolean;
|
|
163
193
|
/**
|
|
164
194
|
* The name of the docs configuration to use when generating documentation for the project
|
|
165
195
|
*
|
|
@@ -197,6 +227,12 @@ interface NxPluginOptions {
|
|
|
197
227
|
* @defaultValue "deploy"
|
|
198
228
|
*/
|
|
199
229
|
targetName?: string;
|
|
230
|
+
/**
|
|
231
|
+
* An indicator to control the behavior of Nx caching for the target
|
|
232
|
+
*
|
|
233
|
+
* @defaultValue false
|
|
234
|
+
*/
|
|
235
|
+
cache?: boolean;
|
|
200
236
|
/**
|
|
201
237
|
* The name of the deploy configuration to use when deploying the project
|
|
202
238
|
*
|
|
@@ -239,6 +275,15 @@ interface NxPluginOptions {
|
|
|
239
275
|
* @defaultValue false
|
|
240
276
|
*/
|
|
241
277
|
debug?: boolean;
|
|
278
|
+
/**
|
|
279
|
+
* An indicator to control the behavior of Nx caching for all of the targets
|
|
280
|
+
*
|
|
281
|
+
* @remarks
|
|
282
|
+
* The `cache` value on the target specific options will override the value provided in this field.
|
|
283
|
+
*
|
|
284
|
+
* @defaultValue true
|
|
285
|
+
*/
|
|
286
|
+
cache?: boolean;
|
|
242
287
|
} //#endregion
|
|
243
288
|
//#endregion
|
|
244
289
|
//#region src/plugin/index.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["NxPluginOptions","clean","targetName","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["NxPluginOptions","clean","targetName","cache","defaultConfiguration","dependsOn","inputs","outputs","executor","prepare","lint","build","docs","deploy","verboseOutput","debug"],"sources":["../../../../node_modules/.pnpm/@powerlines+nx@0.12.6_557091af903c2e0976da65b5bc598025/node_modules/@powerlines/nx/dist/src/types/plugin.d.mts","../../src/plugin/index.ts"],"x_google_ignoreList":[0],"mappings":";;;UACUA,eAAAA;;;;EAIRC,KAAAA;IAJQD;;;;;IAUNE,UAAAA;IAMAC;;;;;IAAAA,KAAAA;IA+BFM;;;;;IAzBEL,oBAAAA;IAyDAG;;;;;IAnDAF,SAAAA;IAsFAA;;;IAlFAC,MAAAA;IAqGFK;;;IAjGEJ,OAAAA;IAyHAF;;;;;IAnHAG,QAAAA;EAAAA;EAwJAJ;;;EAnJFK,OAAAA;IAuKED;;;;;IAjKAN,UAAAA;IAkMAI;;;;;IA5LAH,KAAAA;IA+NG;;;;;IAzNHC,oBAAAA;ICzCA;;;;;ID+CAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFE,IAAAA;;;;;;IAMER,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFG,KAAAA;;;;;;IAMET,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFI,IAAAA;;;;;;IAMEV,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;EAKFK,MAAAA;;;;;;IAMEX,UAAAA;;;;;;IAMAC,KAAAA;;;;;;IAMAC,oBAAAA;;;;;;IAMAC,SAAAA;;;;IAIAC,MAAAA;;;;IAIAC,OAAAA;;;;;;IAMAC,QAAAA;EAAAA;;;;;;;;;EAUFM,aAAAA;;;;;;EAMAC,KAAAA;;;;;;;;;EASAZ,KAAAA;AAAAA;;;cCrQW,aAAA,EAAe,aAAA,CAAc,eAAA"}
|