@powerlines/nx 0.11.231 → 0.11.232
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/src/base/base-executor.cjs +2 -1
- package/dist/src/base/base-executor.d.cts +2 -2
- package/dist/src/base/base-executor.d.mts +2 -2
- package/dist/src/base/base-executor.mjs +2 -1
- package/dist/src/base/base-executor.schema.d.cts +1 -1
- package/dist/src/base/base-executor.schema.d.mts +1 -1
- package/dist/src/base/base-executor.untyped.cjs +1 -1
- package/dist/src/base/base-executor.untyped.d.cts +2 -6
- package/dist/src/base/base-executor.untyped.d.mts +2 -7
- package/dist/src/base/base-executor.untyped.mjs +1 -1
- package/dist/src/base/index.cjs +6 -0
- package/dist/src/base/index.d.cts +5 -0
- package/dist/src/base/index.d.mts +5 -0
- package/dist/src/base/index.mjs +6 -0
- package/dist/src/base-executor-BwNEuJr4.d.mts +2152 -0
- package/dist/src/base-executor-BwNEuJr4.d.mts.map +1 -0
- package/dist/src/base-executor-BxwoTM0e.d.cts +2150 -0
- package/dist/src/base-executor-BxwoTM0e.d.cts.map +1 -0
- package/dist/src/base-executor-D0PC7G0V.cjs +4646 -0
- package/dist/src/base-executor-ZxlpQ-df.mjs +4628 -0
- package/dist/src/base-executor-ZxlpQ-df.mjs.map +1 -0
- package/dist/{base-executor.schema-LJ14f-QU.d.mts → src/base-executor.schema-CZPuauLj.d.cts} +1 -1
- package/dist/src/base-executor.schema-CZPuauLj.d.cts.map +1 -0
- package/dist/{base-executor.schema-CH9f7UZz.d.cts → src/base-executor.schema-DiDI-Jcs.d.mts} +1 -1
- package/dist/src/base-executor.schema-DiDI-Jcs.d.mts.map +1 -0
- package/dist/src/base-executor.untyped-5iZFoBFu.d.mts +7 -0
- package/dist/src/base-executor.untyped-5iZFoBFu.d.mts.map +1 -0
- package/dist/{base-executor.untyped-Bet42T8_.mjs → src/base-executor.untyped-BKF-oUZS.mjs} +1 -1
- package/dist/src/base-executor.untyped-BKF-oUZS.mjs.map +1 -0
- package/dist/{base-executor.untyped-DUgXmZji.cjs → src/base-executor.untyped-CDbDTHgS.cjs} +1 -1
- package/dist/src/base-executor.untyped-DsIwfUqm.d.cts +7 -0
- package/dist/src/base-executor.untyped-DsIwfUqm.d.cts.map +1 -0
- package/dist/src/config-Dkb72RJI.cjs +239 -0
- package/dist/src/config-LoR-NIJg.mjs +147 -0
- package/dist/src/config-LoR-NIJg.mjs.map +1 -0
- package/dist/src/constants-BvU9n9qR.d.mts +8 -0
- package/dist/src/constants-BvU9n9qR.d.mts.map +1 -0
- package/dist/src/constants-CPcygc7m.d.cts +8 -0
- package/dist/src/constants-CPcygc7m.d.cts.map +1 -0
- package/dist/{constants-DPeeG_si.mjs → src/constants-DzvoYj5w.mjs} +1 -1
- package/dist/src/constants-DzvoYj5w.mjs.map +1 -0
- package/dist/src/executors/build/executor.cjs +19 -4
- package/dist/src/executors/build/executor.d.cts +165 -4
- package/dist/src/executors/build/executor.d.cts.map +1 -0
- package/dist/src/executors/build/executor.d.mts +165 -4
- package/dist/src/executors/build/executor.d.mts.map +1 -0
- package/dist/src/executors/build/executor.mjs +18 -3
- package/dist/src/executors/build/executor.mjs.map +1 -0
- package/dist/src/executors/build/untyped.cjs +3 -3
- package/dist/src/executors/build/untyped.d.cts +2 -2
- package/dist/src/executors/build/untyped.d.mts +2 -2
- package/dist/src/executors/build/untyped.mjs +2 -2
- package/dist/src/executors/clean/executor.cjs +13 -4
- package/dist/src/executors/clean/executor.d.cts +139 -4
- package/dist/src/executors/clean/executor.d.cts.map +1 -0
- package/dist/src/executors/clean/executor.d.mts +139 -4
- package/dist/src/executors/clean/executor.d.mts.map +1 -0
- package/dist/src/executors/clean/executor.mjs +13 -3
- package/dist/{executor-DriX4F9a.mjs.map → src/executors/clean/executor.mjs.map} +1 -1
- package/dist/src/executors/clean/untyped.cjs +2 -2
- package/dist/src/executors/clean/untyped.d.cts +2 -2
- package/dist/src/executors/clean/untyped.d.mts +2 -2
- package/dist/src/executors/clean/untyped.mjs +1 -1
- package/dist/src/executors/docs/executor.cjs +13 -4
- package/dist/src/executors/docs/executor.d.cts +155 -4
- package/dist/src/executors/docs/executor.d.cts.map +1 -0
- package/dist/src/executors/docs/executor.d.mts +155 -4
- package/dist/src/executors/docs/executor.d.mts.map +1 -0
- package/dist/src/executors/docs/executor.mjs +13 -3
- package/dist/{executor-CR4F9h0Q.mjs.map → src/executors/docs/executor.mjs.map} +1 -1
- package/dist/src/executors/docs/untyped.cjs +3 -3
- package/dist/src/executors/docs/untyped.d.cts +2 -2
- package/dist/src/executors/docs/untyped.d.mts +2 -2
- package/dist/src/executors/docs/untyped.mjs +2 -2
- package/dist/src/executors/lint/executor.cjs +13 -4
- package/dist/src/executors/lint/executor.d.cts +155 -4
- package/dist/src/executors/lint/executor.d.cts.map +1 -0
- package/dist/src/executors/lint/executor.d.mts +155 -4
- package/dist/src/executors/lint/executor.d.mts.map +1 -0
- package/dist/src/executors/lint/executor.mjs +13 -3
- package/dist/{executor-dakLe5jY.mjs.map → src/executors/lint/executor.mjs.map} +1 -1
- package/dist/src/executors/lint/untyped.cjs +3 -3
- package/dist/src/executors/lint/untyped.d.cts +2 -2
- package/dist/src/executors/lint/untyped.d.mts +2 -2
- package/dist/src/executors/lint/untyped.mjs +2 -2
- package/dist/src/executors/prepare/executor.cjs +19 -4
- package/dist/src/executors/prepare/executor.d.cts +155 -4
- package/dist/src/executors/prepare/executor.d.cts.map +1 -0
- package/dist/src/executors/prepare/executor.d.mts +155 -4
- package/dist/src/executors/prepare/executor.d.mts.map +1 -0
- package/dist/src/executors/prepare/executor.mjs +18 -3
- package/dist/src/executors/prepare/executor.mjs.map +1 -0
- package/dist/src/executors/prepare/untyped.cjs +2 -2
- package/dist/src/executors/prepare/untyped.d.cts +2 -2
- package/dist/src/executors/prepare/untyped.d.mts +2 -2
- package/dist/src/executors/prepare/untyped.mjs +2 -2
- package/dist/src/generators/sync/generator.cjs +11 -3
- package/dist/src/generators/sync/generator.d.cts +8 -2
- package/dist/src/generators/sync/generator.d.cts.map +1 -0
- package/dist/src/generators/sync/generator.d.mts +8 -2
- package/dist/src/generators/sync/generator.d.mts.map +1 -0
- package/dist/src/generators/sync/generator.mjs +10 -2
- package/dist/{generator-DeiwVUqC.mjs.map → src/generators/sync/generator.mjs.map} +1 -1
- package/dist/src/generators/sync/untyped.cjs +1 -1
- package/dist/src/generators/sync/untyped.d.cts +2 -2
- package/dist/src/generators/sync/untyped.d.mts +2 -2
- package/dist/src/helpers/constants.cjs +1 -1
- package/dist/src/helpers/constants.d.cts +2 -8
- package/dist/src/helpers/constants.d.mts +2 -8
- package/dist/src/helpers/constants.mjs +1 -1
- package/dist/src/helpers/index.cjs +9 -0
- package/dist/src/helpers/index.d.cts +5 -0
- package/dist/src/helpers/index.d.mts +5 -0
- package/dist/src/helpers/index.mjs +6 -0
- package/dist/src/helpers/plugin-utilities.cjs +3 -2
- package/dist/src/helpers/plugin-utilities.d.cts +3 -58
- package/dist/src/helpers/plugin-utilities.d.mts +3 -58
- package/dist/src/helpers/plugin-utilities.mjs +3 -2
- package/dist/src/index-DOvrmvAP.d.cts +1 -0
- package/dist/src/index-Dh6J9gb5.d.cts +1 -0
- package/dist/src/index-QAtBiMxG.d.cts +1 -0
- package/dist/src/index-c55Utzva.d.mts +1 -0
- package/dist/src/index.cjs +15 -0
- package/dist/src/index.d.cts +10 -0
- package/dist/src/index.d.mts +10 -0
- package/dist/src/index.mjs +11 -0
- package/dist/src/plugin/index.cjs +8 -4
- package/dist/src/plugin/index.d.cts +8 -3
- package/dist/src/plugin/index.d.cts.map +1 -0
- package/dist/src/plugin/index.d.mts +8 -3
- package/dist/src/plugin/index.d.mts.map +1 -0
- package/dist/src/plugin/index.mjs +9 -4
- package/dist/src/plugin/index.mjs.map +1 -0
- package/dist/src/plugin-BSBH78mm.cjs +0 -0
- package/dist/{plugin-CODFOru1.d.cts → src/plugin-Bpm6rlvQ.d.cts} +1 -1
- package/dist/src/plugin-Bpm6rlvQ.d.cts.map +1 -0
- package/dist/{plugin-DpjoI0QS.d.mts → src/plugin-DK05gCB5.d.mts} +1 -1
- package/dist/src/plugin-DK05gCB5.d.mts.map +1 -0
- package/dist/src/plugin-DRjpXVSI.mjs +1 -0
- package/dist/{plugin-utilities-CuJ0wEZS.cjs → src/plugin-utilities-B6thBT59.cjs} +16 -135
- package/dist/src/plugin-utilities-CYqug_T4.d.mts +58 -0
- package/dist/src/plugin-utilities-CYqug_T4.d.mts.map +1 -0
- package/dist/{plugin-utilities-DpjLrWCz.mjs → src/plugin-utilities-DGw6LPZ0.mjs} +15 -133
- package/dist/src/plugin-utilities-DGw6LPZ0.mjs.map +1 -0
- package/dist/src/plugin-utilities-rlfzc3UW.d.cts +58 -0
- package/dist/src/plugin-utilities-rlfzc3UW.d.cts.map +1 -0
- package/dist/src/types/index.cjs +2 -0
- package/dist/src/types/index.d.cts +3 -0
- package/dist/src/types/index.d.mts +3 -0
- package/dist/src/types/index.mjs +4 -0
- package/dist/src/types/plugin.cjs +1 -0
- package/dist/src/types/plugin.d.cts +1 -1
- package/dist/src/types/plugin.d.mts +1 -1
- package/dist/src/types/plugin.mjs +2 -0
- package/dist/src/types-CKPddlfS.cjs +0 -0
- package/dist/src/types-SpBueMV7.mjs +1 -0
- package/dist/{untyped-DKPJSDgJ.cjs → src/untyped-BgrXugMs.cjs} +2 -2
- package/dist/{untyped-BIEzjl_J.mjs → src/untyped-DCpTmHDS.mjs} +2 -2
- package/dist/src/untyped-DCpTmHDS.mjs.map +1 -0
- package/package.json +18 -46
- package/dist/base-executor-BKuqWAnc.d.mts +0 -28
- package/dist/base-executor-BKuqWAnc.d.mts.map +0 -1
- package/dist/base-executor-CL9md5FK.d.cts +0 -28
- package/dist/base-executor-CL9md5FK.d.cts.map +0 -1
- package/dist/base-executor-DIVmWt0_.mjs +0 -76
- package/dist/base-executor-DIVmWt0_.mjs.map +0 -1
- package/dist/base-executor-hfeykVFL.cjs +0 -83
- package/dist/base-executor.schema-CH9f7UZz.d.cts.map +0 -1
- package/dist/base-executor.schema-LJ14f-QU.d.mts.map +0 -1
- package/dist/base-executor.untyped-Bet42T8_.mjs.map +0 -1
- package/dist/chunk-CbDLau6x.cjs +0 -34
- package/dist/constants-DPeeG_si.mjs.map +0 -1
- package/dist/executor-9aTY5L1O.d.mts +0 -155
- package/dist/executor-9aTY5L1O.d.mts.map +0 -1
- package/dist/executor-BA-Xvw_2.cjs +0 -23
- package/dist/executor-BDu-MfKS.d.cts +0 -155
- package/dist/executor-BDu-MfKS.d.cts.map +0 -1
- package/dist/executor-BaJuosQ2.d.cts +0 -139
- package/dist/executor-BaJuosQ2.d.cts.map +0 -1
- package/dist/executor-BerELzzO.d.cts +0 -165
- package/dist/executor-BerELzzO.d.cts.map +0 -1
- package/dist/executor-C12a2R2m.d.mts +0 -165
- package/dist/executor-C12a2R2m.d.mts.map +0 -1
- package/dist/executor-CQoHBvIx.d.mts +0 -155
- package/dist/executor-CQoHBvIx.d.mts.map +0 -1
- package/dist/executor-CR4F9h0Q.mjs +0 -13
- package/dist/executor-CmOJDW7i.cjs +0 -30
- package/dist/executor-CsYeTG7f.d.mts +0 -155
- package/dist/executor-CsYeTG7f.d.mts.map +0 -1
- package/dist/executor-DXs-DQDq.cjs +0 -23
- package/dist/executor-DY3Q5btA.mjs +0 -18
- package/dist/executor-DY3Q5btA.mjs.map +0 -1
- package/dist/executor-DaM4shEF.d.mts +0 -139
- package/dist/executor-DaM4shEF.d.mts.map +0 -1
- package/dist/executor-DriX4F9a.mjs +0 -13
- package/dist/executor-DupYdy7P.cjs +0 -23
- package/dist/executor-_6Wimayo.d.cts +0 -155
- package/dist/executor-_6Wimayo.d.cts.map +0 -1
- package/dist/executor-dakLe5jY.mjs +0 -13
- package/dist/executor-gauQV_Qs.mjs +0 -18
- package/dist/executor-gauQV_Qs.mjs.map +0 -1
- package/dist/executor-q94V36zQ.d.cts +0 -155
- package/dist/executor-q94V36zQ.d.cts.map +0 -1
- package/dist/executor-tEMakUYi.cjs +0 -30
- package/dist/executors.cjs +0 -13
- package/dist/executors.d.cts +0 -9
- package/dist/executors.d.mts +0 -9
- package/dist/executors.mjs +0 -9
- package/dist/generator-DeiwVUqC.mjs +0 -11
- package/dist/generator-Dv37nXlF.d.cts +0 -8
- package/dist/generator-Dv37nXlF.d.cts.map +0 -1
- package/dist/generator-Uu2ErkQj.cjs +0 -22
- package/dist/generator-aA0eb35E.d.mts +0 -8
- package/dist/generator-aA0eb35E.d.mts.map +0 -1
- package/dist/generators-B8_tB0mD.d.cts +0 -17
- package/dist/generators-B8_tB0mD.d.cts.map +0 -1
- package/dist/generators-DymCAfYw.d.mts +0 -17
- package/dist/generators-DymCAfYw.d.mts.map +0 -1
- package/dist/generators.cjs +0 -5
- package/dist/generators.d.cts +0 -3
- package/dist/generators.d.mts +0 -3
- package/dist/generators.mjs +0 -4
- package/dist/index-BAMQksFF.d.mts +0 -8
- package/dist/index-BAMQksFF.d.mts.map +0 -1
- package/dist/index-C5yJ9lGj.d.cts +0 -8
- package/dist/index-C5yJ9lGj.d.cts.map +0 -1
- package/dist/index.cjs +0 -21
- package/dist/index.d.cts +0 -13
- package/dist/index.d.mts +0 -13
- package/dist/index.mjs +0 -14
- package/dist/plugin-B-zUI527.cjs +0 -12
- package/dist/plugin-BheScrsg.mjs +0 -8
- package/dist/plugin-BheScrsg.mjs.map +0 -1
- package/dist/plugin-CODFOru1.d.cts.map +0 -1
- package/dist/plugin-DpjoI0QS.d.mts.map +0 -1
- package/dist/plugin-utilities-DpjLrWCz.mjs.map +0 -1
- package/dist/src/base/base-executor.untyped.d.cts.map +0 -1
- package/dist/src/base/base-executor.untyped.d.mts.map +0 -1
- package/dist/src/helpers/constants.d.cts.map +0 -1
- package/dist/src/helpers/constants.d.mts.map +0 -1
- package/dist/src/helpers/plugin-utilities.d.cts.map +0 -1
- package/dist/src/helpers/plugin-utilities.d.mts.map +0 -1
- package/dist/untyped-BIEzjl_J.mjs.map +0 -1
- /package/dist/{executors-D7478W2S.cjs → src/base-BHJKI_1R.cjs} +0 -0
- /package/dist/{executors-C15iG1sF.mjs → src/base-BRSa-clf.mjs} +0 -0
- /package/dist/{constants-BHT2TeEj.cjs → src/constants-Dpoi7x5C.cjs} +0 -0
- /package/dist/{generators-q39_jUCw.cjs → src/helpers-Bx2yBrpn.cjs} +0 -0
- /package/dist/{generators-Bi9wzfNx.mjs → src/helpers-j01T2doK.mjs} +0 -0
- /package/dist/{executors-YbcSXKr5.d.mts → src/index-7rWKHdox.d.mts} +0 -0
- /package/dist/{executors-hX1C9GbI.d.cts → src/index-CRo77wc3.d.mts} +0 -0
|
@@ -1,4 +1,155 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import "../../base-executor.schema-DiDI-Jcs.mjs";
|
|
2
|
+
import { r as PowerlinesAPI, t as PowerlinesExecutorContext } from "../../base-executor-BwNEuJr4.mjs";
|
|
3
|
+
import { PromiseExecutor } from "@nx/devkit";
|
|
4
|
+
import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
|
|
5
|
+
|
|
6
|
+
//#region src/executors/prepare/schema.d.ts
|
|
7
|
+
// Generated by @storm-software/untyped
|
|
8
|
+
// Do not edit this file directly
|
|
9
|
+
interface PrepareExecutorSchema {
|
|
10
|
+
/**
|
|
11
|
+
* Powerlines Configuration File
|
|
12
|
+
*
|
|
13
|
+
* The path to the Powerlines configuration file
|
|
14
|
+
*
|
|
15
|
+
* @default "{projectRoot}/powerlines.config.ts"
|
|
16
|
+
*
|
|
17
|
+
* @format path
|
|
18
|
+
*/
|
|
19
|
+
configFile?: string;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Input Entry File(s)
|
|
23
|
+
*
|
|
24
|
+
* The entry file(s) that serve as the input for the project
|
|
25
|
+
*
|
|
26
|
+
* @default ["{sourceRoot}/index.ts"]
|
|
27
|
+
*
|
|
28
|
+
* @format path
|
|
29
|
+
*/
|
|
30
|
+
input?: Array<string>;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* TSConfig Path
|
|
34
|
+
*
|
|
35
|
+
* The path to the tsconfig file
|
|
36
|
+
*
|
|
37
|
+
* @default "{projectRoot}/tsconfig.json"
|
|
38
|
+
*
|
|
39
|
+
* @format path
|
|
40
|
+
*/
|
|
41
|
+
tsconfig?: string;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Output Path
|
|
45
|
+
*
|
|
46
|
+
* The path to the output directory for the build artifacts
|
|
47
|
+
*
|
|
48
|
+
*
|
|
49
|
+
* @format path
|
|
50
|
+
*/
|
|
51
|
+
outputPath?: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Sourcemap
|
|
55
|
+
*
|
|
56
|
+
* Generate a sourcemap
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
sourceMap?: boolean;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Format
|
|
63
|
+
*
|
|
64
|
+
* The format to build
|
|
65
|
+
*
|
|
66
|
+
* @default ["cjs","esm"]
|
|
67
|
+
*/
|
|
68
|
+
format?: Array<string>;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Platform
|
|
72
|
+
*
|
|
73
|
+
* The platform to build
|
|
74
|
+
*
|
|
75
|
+
* @default "neutral"
|
|
76
|
+
*
|
|
77
|
+
* @enum neutral,node,browser
|
|
78
|
+
*/
|
|
79
|
+
platform?: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* External
|
|
83
|
+
*
|
|
84
|
+
* The external dependencies
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
external?: Array<any>;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* No External
|
|
91
|
+
*
|
|
92
|
+
* The dependencies that should not be treated as external
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
noExternal?: Array<any>;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Skip Node Modules Bundle
|
|
99
|
+
*
|
|
100
|
+
* Skip bundling node_modules during the build process (if required)
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
skipNodeModulesBundle?: boolean;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Mode
|
|
107
|
+
*
|
|
108
|
+
* The build mode
|
|
109
|
+
*
|
|
110
|
+
*
|
|
111
|
+
* @enum development,test,production
|
|
112
|
+
*/
|
|
113
|
+
mode?: string;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Log Level
|
|
117
|
+
*
|
|
118
|
+
* The log level to use for the build process
|
|
119
|
+
*
|
|
120
|
+
*
|
|
121
|
+
* @enum fatal,error,warn,success,info,debug,trace,silent
|
|
122
|
+
*/
|
|
123
|
+
logLevel?: string;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Define
|
|
127
|
+
*
|
|
128
|
+
* The `define` values
|
|
129
|
+
*
|
|
130
|
+
*/
|
|
131
|
+
define?: Record<string, string>;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Auto Install
|
|
135
|
+
*
|
|
136
|
+
* Automatically install dependencies during prepare stage
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
autoInstall?: boolean;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Skip Cache
|
|
143
|
+
*
|
|
144
|
+
* Skip the caching mechanism during the build process (if required)
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
skipCache?: boolean;
|
|
148
|
+
}
|
|
149
|
+
//#endregion
|
|
150
|
+
//#region src/executors/prepare/executor.d.ts
|
|
151
|
+
declare function executorFn(context: PowerlinesExecutorContext<"prepare", PrepareExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
|
|
152
|
+
declare const executor: PromiseExecutor<PrepareExecutorSchema>;
|
|
153
|
+
//#endregion
|
|
154
|
+
export { executor as default, executorFn };
|
|
155
|
+
//# sourceMappingURL=executor.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.d.mts","names":["PrepareExecutorSchema","Array","Record"],"sources":["../../../../src/executors/prepare/schema.d.ts","../../../../src/executors/prepare/executor.ts"],"sourcesContent":["\n// Generated by @storm-software/untyped\n// Do not edit this file directly\n\nexport interface PrepareExecutorSchema {\n /**\n * Powerlines Configuration File\n * \n * The path to the Powerlines configuration file\n * \n * @default \"{projectRoot}/powerlines.config.ts\"\n * \n * @format path\n */\n configFile?: string,\n\n /**\n * Input Entry File(s)\n * \n * The entry file(s) that serve as the input for the project\n * \n * @default [\"{sourceRoot}/index.ts\"]\n * \n * @format path\n */\n input?: Array<string>,\n\n /**\n * TSConfig Path\n * \n * The path to the tsconfig file\n * \n * @default \"{projectRoot}/tsconfig.json\"\n * \n * @format path\n */\n tsconfig?: string,\n\n /**\n * Output Path\n * \n * The path to the output directory for the build artifacts\n * \n * \n * @format path\n */\n outputPath?: string,\n\n /**\n * Sourcemap\n * \n * Generate a sourcemap\n * \n */\n sourceMap?: boolean,\n\n /**\n * Format\n * \n * The format to build\n * \n * @default [\"cjs\",\"esm\"]\n */\n format?: Array<string>,\n\n /**\n * Platform\n * \n * The platform to build\n * \n * @default \"neutral\"\n * \n * @enum neutral,node,browser\n */\n platform?: string,\n\n /**\n * External\n * \n * The external dependencies\n * \n */\n external?: Array<any>,\n\n /**\n * No External\n * \n * The dependencies that should not be treated as external\n * \n */\n noExternal?: Array<any>,\n\n /**\n * Skip Node Modules Bundle\n * \n * Skip bundling node_modules during the build process (if required)\n * \n */\n skipNodeModulesBundle?: boolean,\n\n /**\n * Mode\n * \n * The build mode\n * \n * \n * @enum development,test,production\n */\n mode?: string,\n\n /**\n * Log Level\n * \n * The log level to use for the build process\n * \n * \n * @enum fatal,error,warn,success,info,debug,trace,silent\n */\n logLevel?: string,\n\n /**\n * Define\n * \n * The `define` values\n * \n */\n define?: Record<string, string>,\n\n /**\n * Auto Install\n * \n * Automatically install dependencies during prepare stage\n * \n */\n autoInstall?: boolean,\n\n /**\n * Skip Cache\n * \n * Skip the caching mechanism during the build process (if required)\n * \n */\n skipCache?: boolean,\n}\n\n"],"mappings":";;;;;;;;UAIiBA,qBAAAA;;AAAjB;;;;;;;;;;ECyBA;;;;;;;AAkBC;;UDtBQC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;;;;;;;;;;;;;;;;;iBCjGY,UAAA,UACX,qCAAqC,6BACzC,gBACJ,QAAQ;AD5BX,cC6CM,QD7CWF,EC6CD,eD7CsB,CC6CN,qBD7CM,CAAA"}
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import
|
|
1
|
+
import { t as withExecutor } from "../../base-executor-ZxlpQ-df.mjs";
|
|
2
|
+
import "../../config-LoR-NIJg.mjs";
|
|
3
|
+
import defu$1 from "defu";
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
//#region src/executors/prepare/executor.ts
|
|
6
|
+
async function executorFn(context, api) {
|
|
7
|
+
await api.prepare(defu$1({
|
|
8
|
+
command: "prepare",
|
|
9
|
+
skipCache: context.options.skipCache,
|
|
10
|
+
autoInstall: context.options.autoInstall
|
|
11
|
+
}, context.inlineConfig));
|
|
12
|
+
return { success: true };
|
|
13
|
+
}
|
|
14
|
+
const executor = withExecutor("prepare", executorFn);
|
|
15
|
+
var executor_default = executor;
|
|
16
|
+
|
|
17
|
+
//#endregion
|
|
18
|
+
export { executor_default as default, executorFn };
|
|
19
|
+
//# sourceMappingURL=executor.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"executor.mjs","names":["defu","executor: PromiseExecutor<PrepareExecutorSchema>"],"sources":["../../../../src/executors/prepare/executor.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\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/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { PromiseExecutor } from \"@nx/devkit\";\nimport { BaseExecutorResult } from \"@storm-software/workspace-tools/types\";\nimport defu from \"defu\";\nimport PowerlinesAPI from \"powerlines\";\nimport { PrepareInlineConfig } from \"powerlines/types\";\nimport {\n PowerlinesExecutorContext,\n withExecutor\n} from \"../../base/base-executor\";\nimport { PrepareExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: PowerlinesExecutorContext<\"prepare\", PrepareExecutorSchema>,\n api: PowerlinesAPI\n): Promise<BaseExecutorResult> {\n await api.prepare(\n defu(\n {\n command: \"prepare\",\n skipCache: context.options.skipCache,\n autoInstall: context.options.autoInstall\n },\n context.inlineConfig\n ) as PrepareInlineConfig\n );\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<PrepareExecutorSchema> = withExecutor<\n \"prepare\",\n PrepareExecutorSchema\n>(\"prepare\", executorFn);\n\nexport default executor;\n"],"mappings":";;;;;AA6BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,QACRA,OACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAMC,WAAmD,aAGvD,WAAW,WAAW;AAExB,uBAAe"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
require('
|
|
2
|
-
const require_untyped = require('
|
|
1
|
+
require('../../base-executor.untyped-CDbDTHgS.cjs');
|
|
2
|
+
const require_untyped = require('../../untyped-BgrXugMs.cjs');
|
|
3
3
|
|
|
4
4
|
module.exports = require_untyped.untyped_default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped2 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/prepare/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped2.SchemaDefinition;
|
|
5
5
|
export = _default;
|
|
6
6
|
//# sourceMappingURL=untyped.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped3 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/executors/prepare/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped3.SchemaDefinition;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
7
7
|
//# sourceMappingURL=untyped.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { t as untyped_default } from "
|
|
1
|
+
import "../../base-executor.untyped-BKF-oUZS.mjs";
|
|
2
|
+
import { t as untyped_default } from "../../untyped-DCpTmHDS.mjs";
|
|
3
3
|
|
|
4
4
|
export { untyped_default as default };
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const
|
|
2
|
+
const require_config = require('../../config-Dkb72RJI.cjs');
|
|
3
|
+
let __nx_devkit = require("@nx/devkit");
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
//#region src/generators/sync/generator.ts
|
|
6
|
+
async function generatorFn(tree) {
|
|
7
|
+
return { outOfSyncMessage: ((0, __nx_devkit.readNxJson)(tree)?.sync?.generatorOptions?.["@powerlines/nx:sync"])?.outOfSyncMessage || "The legal-message.txt file needs to be created" };
|
|
8
|
+
}
|
|
9
|
+
var generator_default = generatorFn;
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
exports.default = generator_default;
|
|
13
|
+
exports.generatorFn = generatorFn;
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Tree } from "@nx/devkit";
|
|
2
|
+
import { SyncGeneratorResult } from "nx/src/utils/sync-generators";
|
|
3
|
+
|
|
4
|
+
//#region src/generators/sync/generator.d.ts
|
|
5
|
+
declare function generatorFn(tree: Tree): Promise<SyncGeneratorResult>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { generatorFn as default, generatorFn };
|
|
8
|
+
//# sourceMappingURL=generator.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.d.cts","names":[],"sources":["../../../../src/generators/sync/generator.ts"],"sourcesContent":[],"mappings":";;;;iBAsBsB,WAAA,OAAkB,OAAO,QAAQ"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Tree } from "@nx/devkit";
|
|
2
|
+
import { SyncGeneratorResult } from "nx/src/utils/sync-generators";
|
|
3
|
+
|
|
4
|
+
//#region src/generators/sync/generator.d.ts
|
|
5
|
+
declare function generatorFn(tree: Tree): Promise<SyncGeneratorResult>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { generatorFn as default, generatorFn };
|
|
8
|
+
//# sourceMappingURL=generator.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generator.d.mts","names":[],"sources":["../../../../src/generators/sync/generator.ts"],"sourcesContent":[],"mappings":";;;;iBAsBsB,WAAA,OAAkB,OAAO,QAAQ"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { readNxJson } from "@nx/devkit";
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
//#region src/generators/sync/generator.ts
|
|
4
|
+
async function generatorFn(tree) {
|
|
5
|
+
return { outOfSyncMessage: (readNxJson(tree)?.sync?.generatorOptions?.["@powerlines/nx:sync"])?.outOfSyncMessage || "The legal-message.txt file needs to be created" };
|
|
6
|
+
}
|
|
7
|
+
var generator_default = generatorFn;
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { generator_default as default, generatorFn };
|
|
11
|
+
//# sourceMappingURL=generator.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generator
|
|
1
|
+
{"version":3,"file":"generator.mjs","names":[],"sources":["../../../../src/generators/sync/generator.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\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/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { readNxJson, Tree } from \"@nx/devkit\";\nimport { SyncGeneratorResult } from \"nx/src/utils/sync-generators\";\nimport type { SyncGeneratorSchema } from \"./schema\";\n\nexport async function generatorFn(tree: Tree): Promise<SyncGeneratorResult> {\n // if (\n // !tree.exists(\"/legal-message.txt\") ||\n // tree.read(\"/legal-message.txt\").toString() !==\n // \"This is an important legal message.\"\n // ) {\n // tree.write(\"/legal-message.txt\", \"This is an important legal message.\");\n // }\n\n // const persistedMeta = await getPersistedMeta(this.context);\n // const checksum = await getChecksum(this.context.options.projectRoot);\n\n // const projectGraph = await createProjectGraphAsync();\n // Object.values(projectGraph.nodes).forEach(project => {\n // tree.write(\n // joinPathFragments(project.data.root, \"license.txt\"),\n // `${project.name} uses the Acme Corp license.`\n // );\n // });\n\n const nxJson = readNxJson(tree);\n const userOptions = nxJson?.sync?.generatorOptions?.[\n \"@powerlines/nx:sync\"\n ] as SyncGeneratorSchema;\n\n // const projectGraph = await createProjectGraphAsync();\n // const projectRoots = new Set<string>();\n\n return {\n outOfSyncMessage:\n userOptions?.outOfSyncMessage ||\n \"The legal-message.txt file needs to be created\"\n };\n}\n\nexport default generatorFn;\n\n// export default withRunGenerator(\"Powerlines sync generator\", generatorFn, {\n// skipReadingConfig: true\n// });\n"],"mappings":";;;AAsBA,eAAsB,YAAY,MAA0C;AA4B1E,QAAO,EACL,mBATa,WAAW,KAAK,EACH,MAAM,mBAChC,yBAQe,oBACb,kDACH;;AAGH,wBAAe"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped3 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/sync/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped3.SchemaDefinition;
|
|
5
5
|
export = _default;
|
|
6
6
|
//# sourceMappingURL=untyped.d.cts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as untyped2 from "untyped";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/sync/untyped.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: untyped2.SchemaDefinition;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
7
7
|
//# sourceMappingURL=untyped.d.mts.map
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* A list of Nx input strings that describe the Powerlines configuration file
|
|
4
|
-
*/
|
|
5
|
-
declare const CONFIG_INPUTS: readonly ["{projectRoot}/{framework}.json", "{projectRoot}/{framework}.*.json", "{projectRoot}/{framework}.jsonc", "{projectRoot}/{framework}.*.jsonc", "{projectRoot}/{framework}.json5", "{projectRoot}/{framework}.*.json5", "{projectRoot}/{framework}.yaml", "{projectRoot}/{framework}.*.yaml", "{projectRoot}/{framework}.yml", "{projectRoot}/{framework}.*.yml", "{projectRoot}/{framework}.toml", "{projectRoot}/{framework}.*.toml", "{projectRoot}/{framework}.config.js", "{projectRoot}/{framework}.*.config.js", "{projectRoot}/{framework}.config.cjs", "{projectRoot}/{framework}.*.config.cjs", "{projectRoot}/{framework}.config.mjs", "{projectRoot}/{framework}.*.config.mjs", "{projectRoot}/{framework}.config.ts", "{projectRoot}/{framework}.*.config.ts", "{projectRoot}/{framework}.config.cts", "{projectRoot}/{framework}.*.config.cts", "{projectRoot}/{framework}.config.mts", "{projectRoot}/{framework}.*.config.mts"];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { CONFIG_INPUTS };
|
|
8
|
-
//# sourceMappingURL=constants.d.cts.map
|
|
1
|
+
import { t as CONFIG_INPUTS } from "../constants-CPcygc7m.cjs";
|
|
2
|
+
export { CONFIG_INPUTS };
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* A list of Nx input strings that describe the Powerlines configuration file
|
|
4
|
-
*/
|
|
5
|
-
declare const CONFIG_INPUTS: readonly ["{projectRoot}/{framework}.json", "{projectRoot}/{framework}.*.json", "{projectRoot}/{framework}.jsonc", "{projectRoot}/{framework}.*.jsonc", "{projectRoot}/{framework}.json5", "{projectRoot}/{framework}.*.json5", "{projectRoot}/{framework}.yaml", "{projectRoot}/{framework}.*.yaml", "{projectRoot}/{framework}.yml", "{projectRoot}/{framework}.*.yml", "{projectRoot}/{framework}.toml", "{projectRoot}/{framework}.*.toml", "{projectRoot}/{framework}.config.js", "{projectRoot}/{framework}.*.config.js", "{projectRoot}/{framework}.config.cjs", "{projectRoot}/{framework}.*.config.cjs", "{projectRoot}/{framework}.config.mjs", "{projectRoot}/{framework}.*.config.mjs", "{projectRoot}/{framework}.config.ts", "{projectRoot}/{framework}.*.config.ts", "{projectRoot}/{framework}.config.cts", "{projectRoot}/{framework}.*.config.cts", "{projectRoot}/{framework}.config.mts", "{projectRoot}/{framework}.*.config.mts"];
|
|
6
|
-
//#endregion
|
|
7
|
-
export { CONFIG_INPUTS };
|
|
8
|
-
//# sourceMappingURL=constants.d.mts.map
|
|
1
|
+
import { t as CONFIG_INPUTS } from "../constants-BvU9n9qR.mjs";
|
|
2
|
+
export { CONFIG_INPUTS };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
require('../config-Dkb72RJI.cjs');
|
|
2
|
+
const require_constants = require('../constants-Dpoi7x5C.cjs');
|
|
3
|
+
const require_plugin_utilities = require('../plugin-utilities-B6thBT59.cjs');
|
|
4
|
+
require('../helpers-Bx2yBrpn.cjs');
|
|
5
|
+
|
|
6
|
+
exports.CONFIG_INPUTS = require_constants.CONFIG_INPUTS;
|
|
7
|
+
exports.createNxPlugin = require_plugin_utilities.createNxPlugin;
|
|
8
|
+
exports.getNxPluginInputs = require_plugin_utilities.getNxPluginInputs;
|
|
9
|
+
exports.getNxTargetInputs = require_plugin_utilities.getNxTargetInputs;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { t as CONFIG_INPUTS } from "../constants-CPcygc7m.cjs";
|
|
2
|
+
import "../plugin-Bpm6rlvQ.cjs";
|
|
3
|
+
import { i as getNxTargetInputs, n as createNxPlugin, r as getNxPluginInputs, t as CreateNxPluginOptions } from "../plugin-utilities-rlfzc3UW.cjs";
|
|
4
|
+
import "../index-QAtBiMxG.cjs";
|
|
5
|
+
export { CONFIG_INPUTS, CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { t as CONFIG_INPUTS } from "../constants-BvU9n9qR.mjs";
|
|
2
|
+
import "../plugin-DK05gCB5.mjs";
|
|
3
|
+
import { i as getNxTargetInputs, n as createNxPlugin, r as getNxPluginInputs, t as CreateNxPluginOptions } from "../plugin-utilities-CYqug_T4.mjs";
|
|
4
|
+
import "../index-7rWKHdox.mjs";
|
|
5
|
+
export { CONFIG_INPUTS, CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "../config-LoR-NIJg.mjs";
|
|
2
|
+
import { t as CONFIG_INPUTS } from "../constants-DzvoYj5w.mjs";
|
|
3
|
+
import { n as getNxPluginInputs, r as getNxTargetInputs, t as createNxPlugin } from "../plugin-utilities-DGw6LPZ0.mjs";
|
|
4
|
+
import "../helpers-j01T2doK.mjs";
|
|
5
|
+
|
|
6
|
+
export { CONFIG_INPUTS, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
require('
|
|
1
|
+
require('../config-Dkb72RJI.cjs');
|
|
2
|
+
require('../constants-Dpoi7x5C.cjs');
|
|
3
|
+
const require_plugin_utilities = require('../plugin-utilities-B6thBT59.cjs');
|
|
3
4
|
|
|
4
5
|
exports.createNxPlugin = require_plugin_utilities.createNxPlugin;
|
|
5
6
|
exports.getNxPluginInputs = require_plugin_utilities.getNxPluginInputs;
|
|
@@ -1,58 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/plugin-utilities.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
8
|
-
*
|
|
9
|
-
* @param framework - The framework name to use in the input strings
|
|
10
|
-
* @returns An array of Nx input strings for the configuration file
|
|
11
|
-
*/
|
|
12
|
-
declare function getNxTargetInputs(framework: string): string[];
|
|
13
|
-
/**
|
|
14
|
-
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
15
|
-
*
|
|
16
|
-
* @param framework - The framework name to use in the input strings
|
|
17
|
-
* @returns An array of Nx input strings for the configuration file
|
|
18
|
-
*/
|
|
19
|
-
declare function getNxPluginInputs(framework: string): string;
|
|
20
|
-
interface CreateNxPluginOptions {
|
|
21
|
-
/**
|
|
22
|
-
* The name of the Nx plugin to create
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* This will be used in logging and project tagging.
|
|
26
|
-
*
|
|
27
|
-
* @defaultValue "\{framework\}/plugin/nx"
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The folder where the generated runtime artifacts will be located
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
|
|
35
|
-
*
|
|
36
|
-
* @defaultValue "\{projectRoot\}/.powerlines"
|
|
37
|
-
*/
|
|
38
|
-
artifactsFolder?: string;
|
|
39
|
-
/**
|
|
40
|
-
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsFolder | output.artifactsFolder}, this value will be used as the default.
|
|
44
|
-
*
|
|
45
|
-
* @defaultValue "powerlines"
|
|
46
|
-
*/
|
|
47
|
-
framework?: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Creates an Nx plugin that integrates Powerlines into the Nx build process.
|
|
51
|
-
*
|
|
52
|
-
* @param opts - Options for creating the Nx plugin
|
|
53
|
-
* @returns A CreateNodesV2 function that can be used as an Nx plugin
|
|
54
|
-
*/
|
|
55
|
-
declare function createNxPlugin<TOptions extends NxPluginOptions = NxPluginOptions>(opts?: CreateNxPluginOptions): CreateNodesV2<TOptions>;
|
|
56
|
-
//#endregion
|
|
57
|
-
export { CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
58
|
-
//# sourceMappingURL=plugin-utilities.d.cts.map
|
|
1
|
+
import "../plugin-Bpm6rlvQ.cjs";
|
|
2
|
+
import { i as getNxTargetInputs, n as createNxPlugin, r as getNxPluginInputs, t as CreateNxPluginOptions } from "../plugin-utilities-rlfzc3UW.cjs";
|
|
3
|
+
export { CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -1,58 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
//#region src/helpers/plugin-utilities.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
8
|
-
*
|
|
9
|
-
* @param framework - The framework name to use in the input strings
|
|
10
|
-
* @returns An array of Nx input strings for the configuration file
|
|
11
|
-
*/
|
|
12
|
-
declare function getNxTargetInputs(framework: string): string[];
|
|
13
|
-
/**
|
|
14
|
-
* Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
|
|
15
|
-
*
|
|
16
|
-
* @param framework - The framework name to use in the input strings
|
|
17
|
-
* @returns An array of Nx input strings for the configuration file
|
|
18
|
-
*/
|
|
19
|
-
declare function getNxPluginInputs(framework: string): string;
|
|
20
|
-
interface CreateNxPluginOptions {
|
|
21
|
-
/**
|
|
22
|
-
* The name of the Nx plugin to create
|
|
23
|
-
*
|
|
24
|
-
* @remarks
|
|
25
|
-
* This will be used in logging and project tagging.
|
|
26
|
-
*
|
|
27
|
-
* @defaultValue "\{framework\}/plugin/nx"
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The folder where the generated runtime artifacts will be located
|
|
32
|
-
*
|
|
33
|
-
* @remarks
|
|
34
|
-
* This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
|
|
35
|
-
*
|
|
36
|
-
* @defaultValue "\{projectRoot\}/.powerlines"
|
|
37
|
-
*/
|
|
38
|
-
artifactsFolder?: string;
|
|
39
|
-
/**
|
|
40
|
-
* A string identifier that allows a child framework or tool to identify itself when using Powerlines.
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsFolder | output.artifactsFolder}, this value will be used as the default.
|
|
44
|
-
*
|
|
45
|
-
* @defaultValue "powerlines"
|
|
46
|
-
*/
|
|
47
|
-
framework?: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Creates an Nx plugin that integrates Powerlines into the Nx build process.
|
|
51
|
-
*
|
|
52
|
-
* @param opts - Options for creating the Nx plugin
|
|
53
|
-
* @returns A CreateNodesV2 function that can be used as an Nx plugin
|
|
54
|
-
*/
|
|
55
|
-
declare function createNxPlugin<TOptions extends NxPluginOptions = NxPluginOptions>(opts?: CreateNxPluginOptions): CreateNodesV2<TOptions>;
|
|
56
|
-
//#endregion
|
|
57
|
-
export { CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
58
|
-
//# sourceMappingURL=plugin-utilities.d.mts.map
|
|
1
|
+
import "../plugin-DK05gCB5.mjs";
|
|
2
|
+
import { i as getNxTargetInputs, n as createNxPlugin, r as getNxPluginInputs, t as CreateNxPluginOptions } from "../plugin-utilities-CYqug_T4.mjs";
|
|
3
|
+
export { CreateNxPluginOptions, createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "
|
|
1
|
+
import "../config-LoR-NIJg.mjs";
|
|
2
|
+
import "../constants-DzvoYj5w.mjs";
|
|
3
|
+
import { n as getNxPluginInputs, r as getNxTargetInputs, t as createNxPlugin } from "../plugin-utilities-DGw6LPZ0.mjs";
|
|
3
4
|
|
|
4
5
|
export { createNxPlugin, getNxPluginInputs, getNxTargetInputs };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require('./config-Dkb72RJI.cjs');
|
|
2
|
+
const require_base_executor = require('./base-executor-D0PC7G0V.cjs');
|
|
3
|
+
require('./base-executor.untyped-CDbDTHgS.cjs');
|
|
4
|
+
require('./base-BHJKI_1R.cjs');
|
|
5
|
+
const require_constants = require('./constants-Dpoi7x5C.cjs');
|
|
6
|
+
const require_plugin_utilities = require('./plugin-utilities-B6thBT59.cjs');
|
|
7
|
+
require('./helpers-Bx2yBrpn.cjs');
|
|
8
|
+
require('./plugin-BSBH78mm.cjs');
|
|
9
|
+
require('./types-CKPddlfS.cjs');
|
|
10
|
+
|
|
11
|
+
exports.CONFIG_INPUTS = require_constants.CONFIG_INPUTS;
|
|
12
|
+
exports.createNxPlugin = require_plugin_utilities.createNxPlugin;
|
|
13
|
+
exports.getNxPluginInputs = require_plugin_utilities.getNxPluginInputs;
|
|
14
|
+
exports.getNxTargetInputs = require_plugin_utilities.getNxTargetInputs;
|
|
15
|
+
exports.withExecutor = require_base_executor.withExecutor;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./base-executor.schema-CZPuauLj.cjs";
|
|
2
|
+
import { n as withExecutor, t as PowerlinesExecutorContext } from "./base-executor-BxwoTM0e.cjs";
|
|
3
|
+
import "./base-executor.untyped-DsIwfUqm.cjs";
|
|
4
|
+
import "./index-DOvrmvAP.cjs";
|
|
5
|
+
import { t as CONFIG_INPUTS } from "./constants-CPcygc7m.cjs";
|
|
6
|
+
import { t as NxPluginOptions } from "./plugin-Bpm6rlvQ.cjs";
|
|
7
|
+
import { i as getNxTargetInputs, n as createNxPlugin, r as getNxPluginInputs, t as CreateNxPluginOptions } from "./plugin-utilities-rlfzc3UW.cjs";
|
|
8
|
+
import "./index-QAtBiMxG.cjs";
|
|
9
|
+
import "./index-Dh6J9gb5.cjs";
|
|
10
|
+
export { CONFIG_INPUTS, CreateNxPluginOptions, NxPluginOptions, PowerlinesExecutorContext, createNxPlugin, getNxPluginInputs, getNxTargetInputs, withExecutor };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./base-executor.schema-DiDI-Jcs.mjs";
|
|
2
|
+
import { n as withExecutor, t as PowerlinesExecutorContext } from "./base-executor-BwNEuJr4.mjs";
|
|
3
|
+
import "./base-executor.untyped-5iZFoBFu.mjs";
|
|
4
|
+
import "./index-c55Utzva.mjs";
|
|
5
|
+
import { t as CONFIG_INPUTS } from "./constants-BvU9n9qR.mjs";
|
|
6
|
+
import { t as NxPluginOptions } from "./plugin-DK05gCB5.mjs";
|
|
7
|
+
import { i as getNxTargetInputs, n as createNxPlugin, r as getNxPluginInputs, t as CreateNxPluginOptions } from "./plugin-utilities-CYqug_T4.mjs";
|
|
8
|
+
import "./index-7rWKHdox.mjs";
|
|
9
|
+
import "./index-CRo77wc3.mjs";
|
|
10
|
+
export { CONFIG_INPUTS, CreateNxPluginOptions, NxPluginOptions, PowerlinesExecutorContext, createNxPlugin, getNxPluginInputs, getNxTargetInputs, withExecutor };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { t as withExecutor } from "./base-executor-ZxlpQ-df.mjs";
|
|
2
|
+
import "./config-LoR-NIJg.mjs";
|
|
3
|
+
import "./base-executor.untyped-BKF-oUZS.mjs";
|
|
4
|
+
import "./base-BRSa-clf.mjs";
|
|
5
|
+
import { t as CONFIG_INPUTS } from "./constants-DzvoYj5w.mjs";
|
|
6
|
+
import { n as getNxPluginInputs, r as getNxTargetInputs, t as createNxPlugin } from "./plugin-utilities-DGw6LPZ0.mjs";
|
|
7
|
+
import "./helpers-j01T2doK.mjs";
|
|
8
|
+
import "./plugin-DRjpXVSI.mjs";
|
|
9
|
+
import "./types-SpBueMV7.mjs";
|
|
10
|
+
|
|
11
|
+
export { CONFIG_INPUTS, createNxPlugin, getNxPluginInputs, getNxTargetInputs, withExecutor };
|