@powerlines/nx 0.11.294 → 0.11.296

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/src/_virtual/_rolldown/runtime.js +29 -0
  2. package/dist/src/base/base-executor.d.mts +28 -2
  3. package/dist/src/base/base-executor.d.mts.map +1 -0
  4. package/dist/src/base/base-executor.d.ts +28 -2
  5. package/dist/src/base/base-executor.d.ts.map +1 -0
  6. package/dist/src/base/base-executor.js +3 -3
  7. package/dist/src/base/base-executor.untyped.d.mts +7 -2
  8. package/dist/src/base/base-executor.untyped.d.mts.map +1 -0
  9. package/dist/src/base/base-executor.untyped.d.ts +6 -2
  10. package/dist/src/base/base-executor.untyped.d.ts.map +1 -0
  11. package/dist/src/base/base-executor.untyped.js +1 -1
  12. package/dist/src/base/index.d.mts +1 -1
  13. package/dist/src/base/index.d.ts +1 -1
  14. package/dist/src/base-executor-BOTlYnaD.d.mts +163 -0
  15. package/dist/src/base-executor-BOTlYnaD.d.mts.map +1 -0
  16. package/dist/src/base-executor-DH33Fd1U.js +79 -0
  17. package/dist/src/base-executor-N_ZgvzpA.d.ts +163 -0
  18. package/dist/src/base-executor-N_ZgvzpA.d.ts.map +1 -0
  19. package/dist/src/base-executor-dn4QVqZ4.mjs +72 -0
  20. package/dist/src/base-executor-dn4QVqZ4.mjs.map +1 -0
  21. package/dist/src/base-executor.untyped-CWwiE6fo.mjs +162 -0
  22. package/dist/src/base-executor.untyped-CWwiE6fo.mjs.map +1 -0
  23. package/dist/src/base-executor.untyped-DwcuTgJP.js +167 -0
  24. package/dist/src/executors/build/executor.d.mts +2 -2
  25. package/dist/src/executors/build/executor.d.ts +1 -1
  26. package/dist/src/executors/build/executor.js +2 -2
  27. package/dist/src/executors/build/executor.mjs +1 -1
  28. package/dist/src/executors/build/untyped.js +1 -0
  29. package/dist/src/executors/build/untyped.mjs +1 -0
  30. package/dist/src/executors/build/untyped.mjs.map +1 -1
  31. package/dist/src/executors/clean/executor.d.mts +2 -2
  32. package/dist/src/executors/clean/executor.d.ts +1 -1
  33. package/dist/src/executors/clean/executor.js +2 -2
  34. package/dist/src/executors/clean/executor.mjs +1 -1
  35. package/dist/src/executors/clean/untyped.js +2 -2
  36. package/dist/src/executors/clean/untyped.mjs +1 -1
  37. package/dist/src/executors/docs/executor.d.mts +2 -2
  38. package/dist/src/executors/docs/executor.d.ts +1 -1
  39. package/dist/src/executors/docs/executor.js +2 -2
  40. package/dist/src/executors/docs/executor.mjs +1 -1
  41. package/dist/src/executors/docs/untyped.js +1 -0
  42. package/dist/src/executors/docs/untyped.mjs +1 -0
  43. package/dist/src/executors/docs/untyped.mjs.map +1 -1
  44. package/dist/src/executors/lint/executor.d.mts +2 -2
  45. package/dist/src/executors/lint/executor.d.ts +1 -1
  46. package/dist/src/executors/lint/executor.js +2 -2
  47. package/dist/src/executors/lint/executor.mjs +1 -1
  48. package/dist/src/executors/lint/untyped.js +1 -0
  49. package/dist/src/executors/lint/untyped.mjs +1 -0
  50. package/dist/src/executors/lint/untyped.mjs.map +1 -1
  51. package/dist/src/executors/prepare/executor.d.mts +2 -2
  52. package/dist/src/executors/prepare/executor.d.ts +1 -1
  53. package/dist/src/executors/prepare/executor.js +2 -2
  54. package/dist/src/executors/prepare/executor.mjs +1 -1
  55. package/dist/src/executors/prepare/untyped.js +2 -2
  56. package/dist/src/executors/prepare/untyped.mjs +1 -1
  57. package/dist/src/helpers/constants.d.mts +8 -2
  58. package/dist/src/helpers/constants.d.mts.map +1 -0
  59. package/dist/src/helpers/constants.d.ts +8 -2
  60. package/dist/src/helpers/constants.d.ts.map +1 -0
  61. package/dist/src/helpers/index.d.mts +2 -2
  62. package/dist/src/helpers/index.d.ts +2 -2
  63. package/dist/src/helpers/plugin-utilities.d.mts +57 -2
  64. package/dist/src/helpers/plugin-utilities.d.mts.map +1 -0
  65. package/dist/src/helpers/plugin-utilities.d.ts +57 -2
  66. package/dist/src/helpers/plugin-utilities.d.ts.map +1 -0
  67. package/dist/src/helpers/plugin-utilities.js +2 -2
  68. package/dist/src/helpers/plugin-utilities.mjs +2 -2
  69. package/dist/src/helpers/plugin-utilities.mjs.map +1 -1
  70. package/dist/src/index.d.mts +4 -4
  71. package/dist/src/index.d.ts +4 -4
  72. package/dist/src/index.js +0 -1
  73. package/dist/src/index.mjs +0 -1
  74. package/dist/src/plugin/index.d.mts +241 -1
  75. package/dist/src/plugin/index.d.mts.map +1 -1
  76. package/dist/src/plugin/index.d.ts +241 -1
  77. package/dist/src/plugin/index.d.ts.map +1 -1
  78. package/dist/src/plugin/index.js +296 -2
  79. package/dist/src/plugin/index.mjs +293 -1
  80. package/dist/src/plugin/index.mjs.map +1 -1
  81. package/dist/src/types/index.d.mts +1 -1
  82. package/dist/src/types/index.d.ts +1 -1
  83. package/dist/src/types/plugin.d.mts +243 -2
  84. package/dist/src/types/plugin.d.mts.map +1 -0
  85. package/dist/src/types/plugin.d.ts +243 -2
  86. package/dist/src/types/plugin.d.ts.map +1 -0
  87. package/package.json +13 -13
  88. package/dist/src/base-executor-Bj63x9OE.d.ts +0 -28
  89. package/dist/src/base-executor-Bj63x9OE.d.ts.map +0 -1
  90. package/dist/src/base-executor-D6POztG2.d.mts +0 -28
  91. package/dist/src/base-executor-D6POztG2.d.mts.map +0 -1
  92. package/dist/src/base-executor.untyped-D4R6pki2.d.ts +0 -7
  93. package/dist/src/base-executor.untyped-D4R6pki2.d.ts.map +0 -1
  94. package/dist/src/base-executor.untyped-hmlG6oyC.d.mts +0 -7
  95. package/dist/src/base-executor.untyped-hmlG6oyC.d.mts.map +0 -1
  96. package/dist/src/constants-CbG11Mby.d.ts +0 -8
  97. package/dist/src/constants-CbG11Mby.d.ts.map +0 -1
  98. package/dist/src/constants-VDvVnoLC.d.mts +0 -8
  99. package/dist/src/constants-VDvVnoLC.d.mts.map +0 -1
  100. package/dist/src/plugin-B_ZGdX7U.d.mts +0 -243
  101. package/dist/src/plugin-B_ZGdX7U.d.mts.map +0 -1
  102. package/dist/src/plugin-DpyutMl2.d.ts +0 -243
  103. package/dist/src/plugin-DpyutMl2.d.ts.map +0 -1
  104. package/dist/src/plugin-utilities-Cg-Ccp4C.d.mts +0 -57
  105. package/dist/src/plugin-utilities-Cg-Ccp4C.d.mts.map +0 -1
  106. package/dist/src/plugin-utilities-CmfuC3TZ.d.ts +0 -57
  107. package/dist/src/plugin-utilities-CmfuC3TZ.d.ts.map +0 -1
@@ -1,28 +0,0 @@
1
- import { BaseExecutorSchema } from "./base/base-executor.schema.js";
2
- import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
3
- import { StormWorkspaceConfig } from "@storm-software/config/types";
4
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
5
- import PowerlinesAPI, { InlineConfig, PowerlinesCommand } from "powerlines";
6
-
7
- //#region src/base/base-executor.d.ts
8
- type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
9
- projectName: string;
10
- command: TCommand;
11
- options: TExecutorSchema;
12
- inlineConfig: InlineConfig;
13
- workspaceConfig: StormWorkspaceConfig;
14
- };
15
- /**
16
- * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
17
- *
18
- * @remarks
19
- * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
20
- *
21
- * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
22
- * @param executorFn - The function that will be executed when the command is run.
23
- * @returns A Promise that resolves to the result of the executor function.
24
- */
25
- declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: PowerlinesExecutorContext<TCommand, TExecutorSchema>, api: PowerlinesAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
26
- //#endregion
27
- export { withExecutor as n, PowerlinesExecutorContext as t };
28
- //# sourceMappingURL=base-executor-Bj63x9OE.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-executor-Bj63x9OE.d.ts","names":[],"sources":["../../src/base/base-executor.ts"],"mappings":";;;;;;;KAiCY,yBAAA,kBACO,iBAAA,GAAoB,iBAAA,0BACb,kBAAA,GAAqB,kBAAA,IAC3C,eAAA;EACF,WAAA;EACA,OAAA,EAAS,QAAA;EACT,OAAA,EAAS,eAAA;EACT,YAAA,EAAc,YAAA;EACd,eAAA,EAAiB,oBAAA;AAAA;;;;;;;;;;;iBAaH,YAAA,kBACG,iBAAA,GAAoB,iBAAA,0BACb,kBAAA,GAAqB,kBAAA,CAAA,CAE7C,OAAA,EAAS,QAAA,EACT,UAAA,GACE,OAAA,EAAS,yBAAA,CAA0B,QAAA,EAAU,eAAA,GAC7C,GAAA,EAAK,aAAA,KAEH,OAAA,CAAQ,kBAAA,uBACR,kBAAA,sBAGH,eAAA,CAAgB,eAAA"}
@@ -1,28 +0,0 @@
1
- import { BaseExecutorSchema } from "./base/base-executor.schema.mjs";
2
- import PowerlinesAPI, { InlineConfig, PowerlinesCommand } from "powerlines";
3
- import { ExecutorContext, PromiseExecutor } from "@nx/devkit";
4
- import { StormWorkspaceConfig } from "@storm-software/config/types";
5
- import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
6
-
7
- //#region src/base/base-executor.d.ts
8
- type PowerlinesExecutorContext<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema> = ExecutorContext & {
9
- projectName: string;
10
- command: TCommand;
11
- options: TExecutorSchema;
12
- inlineConfig: InlineConfig;
13
- workspaceConfig: StormWorkspaceConfig;
14
- };
15
- /**
16
- * A utility function to create a Powerlines executor that can be used with the `withRunExecutor` function.
17
- *
18
- * @remarks
19
- * This function is designed to simplify the creation of Powerlines executors by providing a consistent interface and error handling.
20
- *
21
- * @param command - The command that the executor will handle (e.g., "new", "prepare", "build", etc.).
22
- * @param executorFn - The function that will be executed when the command is run.
23
- * @returns A Promise that resolves to the result of the executor function.
24
- */
25
- declare function withExecutor<TCommand extends PowerlinesCommand = PowerlinesCommand, TExecutorSchema extends BaseExecutorSchema = BaseExecutorSchema>(command: TCommand, executorFn: (context: PowerlinesExecutorContext<TCommand, TExecutorSchema>, api: PowerlinesAPI) => Promise<BaseExecutorResult | null | undefined> | BaseExecutorResult | null | undefined): PromiseExecutor<TExecutorSchema>;
26
- //#endregion
27
- export { withExecutor as n, PowerlinesExecutorContext as t };
28
- //# sourceMappingURL=base-executor-D6POztG2.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-executor-D6POztG2.d.mts","names":[],"sources":["../../src/base/base-executor.ts"],"mappings":";;;;;;;KAiCY,yBAAA,kBACO,iBAAA,GAAoB,iBAAA,0BACb,kBAAA,GAAqB,kBAAA,IAC3C,eAAA;EACF,WAAA;EACA,OAAA,EAAS,QAAA;EACT,OAAA,EAAS,eAAA;EACT,YAAA,EAAc,YAAA;EACd,eAAA,EAAiB,oBAAA;AAAA;;;;;;;;;;;iBAaH,YAAA,kBACG,iBAAA,GAAoB,iBAAA,0BACb,kBAAA,GAAqB,kBAAA,CAAA,CAE7C,OAAA,EAAS,QAAA,EACT,UAAA,GACE,OAAA,EAAS,yBAAA,CAA0B,QAAA,EAAU,eAAA,GAC7C,GAAA,EAAK,aAAA,KAEH,OAAA,CAAQ,kBAAA,uBACR,kBAAA,sBAGH,eAAA,CAAgB,eAAA"}
@@ -1,7 +0,0 @@
1
- import * as untyped from "untyped";
2
-
3
- //#region src/base/base-executor.untyped.d.ts
4
- declare const _default: untyped.SchemaDefinition;
5
- //#endregion
6
- export { _default as t };
7
- //# sourceMappingURL=base-executor.untyped-D4R6pki2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-executor.untyped-D4R6pki2.d.ts","names":[],"sources":["../../src/base/base-executor.untyped.ts"],"mappings":""}
@@ -1,7 +0,0 @@
1
- import * as untyped from "untyped";
2
-
3
- //#region src/base/base-executor.untyped.d.ts
4
- declare const _default: untyped.SchemaDefinition;
5
- //#endregion
6
- export { _default as t };
7
- //# sourceMappingURL=base-executor.untyped-hmlG6oyC.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-executor.untyped-hmlG6oyC.d.mts","names":[],"sources":["../../src/base/base-executor.untyped.ts"],"mappings":""}
@@ -1,8 +0,0 @@
1
- //#region src/helpers/constants.d.ts
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 as t };
8
- //# sourceMappingURL=constants-CbG11Mby.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants-CbG11Mby.d.ts","names":[],"sources":["../../src/helpers/constants.ts"],"mappings":";;AAqBA;;cAAa,aAAA"}
@@ -1,8 +0,0 @@
1
- //#region src/helpers/constants.d.ts
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 as t };
8
- //# sourceMappingURL=constants-VDvVnoLC.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants-VDvVnoLC.d.mts","names":[],"sources":["../../src/helpers/constants.ts"],"mappings":";;AAqBA;;cAAa,aAAA"}
@@ -1,243 +0,0 @@
1
- //#region src/types/plugin.d.ts
2
- interface NxPluginOptions {
3
- /**
4
- * Configuration options for the clean target added by the Nx plugin
5
- */
6
- clean?: false | {
7
- /**
8
- * The name of the clean target to use when cleaning the project
9
- *
10
- * @defaultValue "clean"
11
- */
12
- targetName?: string;
13
- /**
14
- * The name of the clean configuration to use when cleaning the project
15
- *
16
- * @defaultValue "production"
17
- */
18
- defaultConfiguration?: "production" | "test" | "development";
19
- /**
20
- * An array specifying any other target identifiers the clean target depends on
21
- *
22
- * @defaultValue ["^clean"]
23
- */
24
- dependsOn?: string[];
25
- /**
26
- * An array specifying any input files or globs to consider when determining if the clean target needs to be re-run
27
- */
28
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
29
- /**
30
- * An array specifying the output files or globs generated by the clean target
31
- */
32
- outputs?: string[];
33
- /**
34
- * The executor to use for the clean target
35
- *
36
- * @defaultValue "\@powerlines/nx:clean"
37
- */
38
- executor?: string;
39
- };
40
- /**
41
- * Configuration options for the prepare target added by the Nx plugin
42
- */
43
- prepare?: false | {
44
- /**
45
- * The name of the prepare target to use when preparing the project
46
- *
47
- * @defaultValue "prepare"
48
- */
49
- targetName?: string;
50
- /**
51
- * The name of the prepare configuration to use when preparing the project
52
- *
53
- * @defaultValue "production"
54
- */
55
- defaultConfiguration?: "production" | "test" | "development";
56
- /**
57
- * An array specifying any other target identifiers the prepare target depends on
58
- *
59
- * @defaultValue ["^build", "clean"]
60
- */
61
- dependsOn?: string[];
62
- /**
63
- * An array specifying any input files or globs to consider when determining if the prepare target needs to be re-run
64
- */
65
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
66
- /**
67
- * An array specifying the output files or globs generated by the prepare target
68
- */
69
- outputs?: string[];
70
- /**
71
- * The executor to use for the prepare target
72
- *
73
- * @defaultValue "\@powerlines/nx:prepare"
74
- */
75
- executor?: string;
76
- };
77
- /**
78
- * Configuration options for the lint target added by the Nx plugin
79
- */
80
- lint?: false | {
81
- /**
82
- * The name of the lint target to use when linting the project
83
- *
84
- * @defaultValue "lint"
85
- */
86
- targetName?: string;
87
- /**
88
- * The name of the lint configuration to use when linting the project
89
- *
90
- * @defaultValue "production"
91
- */
92
- defaultConfiguration?: "production" | "test" | "development";
93
- /**
94
- * An array specifying any other target identifiers the lint target depends on
95
- *
96
- * @defaultValue ["^lint"]
97
- */
98
- dependsOn?: string[];
99
- /**
100
- * An array specifying any input files or globs to consider when determining if the lint target needs to be re-run
101
- */
102
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
103
- /**
104
- * An array specifying the output files or globs generated by the lint target
105
- */
106
- outputs?: string[];
107
- /**
108
- * The executor to use for the lint target
109
- *
110
- * @defaultValue "\@powerlines/nx:lint"
111
- */
112
- executor?: string;
113
- };
114
- /**
115
- * Configuration options for the build target added by the Nx plugin
116
- */
117
- build?: false | {
118
- /**
119
- * The name of the build target to use when building the project
120
- *
121
- * @defaultValue "build"
122
- */
123
- targetName?: string;
124
- /**
125
- * The name of the build configuration to use when building the project
126
- *
127
- * @defaultValue "production"
128
- */
129
- defaultConfiguration?: "production" | "test" | "development";
130
- /**
131
- * An array specifying any other target identifiers the build target depends on
132
- *
133
- * @defaultValue ["^build"]
134
- */
135
- dependsOn?: string[];
136
- /**
137
- * An array specifying any input files or globs to consider when determining if the build target needs to be re-run
138
- */
139
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
140
- /**
141
- * An array specifying the output files or globs generated by the build target
142
- */
143
- outputs?: string[];
144
- /**
145
- * The executor to use for the build target
146
- *
147
- * @defaultValue "\@powerlines/nx:build"
148
- */
149
- executor?: string;
150
- };
151
- /**
152
- * Configuration options for the docs target added by the Nx plugin
153
- */
154
- docs?: false | {
155
- /**
156
- * The name of the docs target to use when generating documentation for the project
157
- *
158
- * @defaultValue "docs"
159
- */
160
- targetName?: string;
161
- /**
162
- * The name of the docs configuration to use when generating documentation for the project
163
- *
164
- * @defaultValue "production"
165
- */
166
- defaultConfiguration?: "production" | "test" | "development";
167
- /**
168
- * An array specifying any other target identifiers the docs target depends on
169
- *
170
- * @defaultValue ["^docs", "build"]
171
- */
172
- dependsOn?: string[];
173
- /**
174
- * An array specifying any input files or globs to consider when determining if the docs target needs to be re-run
175
- */
176
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
177
- /**
178
- * An array specifying the output files or globs generated by the docs target
179
- */
180
- outputs?: string[];
181
- /**
182
- * The executor to use for the docs target
183
- *
184
- * @defaultValue "\@powerlines/nx:docs"
185
- */
186
- executor?: string;
187
- };
188
- /**
189
- * Configuration options for the deploy target added by the Nx plugin
190
- */
191
- deploy?: false | {
192
- /**
193
- * The name of the deploy target to use when deploying the project
194
- *
195
- * @defaultValue "deploy"
196
- */
197
- targetName?: string;
198
- /**
199
- * The name of the deploy configuration to use when deploying the project
200
- *
201
- * @defaultValue "production"
202
- */
203
- defaultConfiguration?: "production" | "test" | "development";
204
- /**
205
- * An array specifying any other target identifiers the deploy target depends on
206
- *
207
- * @defaultValue ["^deploy", "build"]
208
- */
209
- dependsOn?: string[];
210
- /**
211
- * An array specifying any input files or globs to consider when determining if the deploy target needs to be re-run
212
- */
213
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "rust" | "typescript";
214
- /**
215
- * An array specifying the output files or globs generated by the deploy target
216
- */
217
- outputs?: string[];
218
- /**
219
- * The executor to use for the deploy target
220
- *
221
- * @defaultValue "\@powerlines/nx:deploy"
222
- */
223
- executor?: string;
224
- };
225
- /**
226
- * Whether to enable verbose logging for the Nx plugin.
227
- *
228
- * @remarks
229
- * If enabled, the plugin will log more detailed information about its operations, which can be useful for debugging and troubleshooting.
230
- *
231
- * @defaultValue false
232
- */
233
- verboseOutput?: boolean;
234
- /**
235
- * Enable resolver debug logging for the plugin
236
- *
237
- * @defaultValue false
238
- */
239
- debug?: boolean;
240
- }
241
- //#endregion
242
- export { NxPluginOptions as t };
243
- //# sourceMappingURL=plugin-B_ZGdX7U.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-B_ZGdX7U.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";UAkBiB,eAAA;EAAA;;;EAIf,KAAA;IAAA;;;;;IAQM,UAAA;IAwCA;;;;;IAjCA,oBAAA;IAgFA;;;;;IAzEA,SAAA;IAiHA;;;IA5GA,MAAA;IA+IA;;;IAjIA,OAAA;IAkKA;;;;;IA3JA,QAAA;EAAA;EAiNA;;;EA3MN,OAAA;IAuOM;;;;;IA/NA,UAAA;IA+QN;;;;;IAxQM,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,IAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,KAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,IAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,MAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAWA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;;;;;;EAWN,aAAA;;;;;;EAOA,KAAA;AAAA"}
@@ -1,243 +0,0 @@
1
- //#region src/types/plugin.d.ts
2
- interface NxPluginOptions {
3
- /**
4
- * Configuration options for the clean target added by the Nx plugin
5
- */
6
- clean?: false | {
7
- /**
8
- * The name of the clean target to use when cleaning the project
9
- *
10
- * @defaultValue "clean"
11
- */
12
- targetName?: string;
13
- /**
14
- * The name of the clean configuration to use when cleaning the project
15
- *
16
- * @defaultValue "production"
17
- */
18
- defaultConfiguration?: "production" | "test" | "development";
19
- /**
20
- * An array specifying any other target identifiers the clean target depends on
21
- *
22
- * @defaultValue ["^clean"]
23
- */
24
- dependsOn?: string[];
25
- /**
26
- * An array specifying any input files or globs to consider when determining if the clean target needs to be re-run
27
- */
28
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
29
- /**
30
- * An array specifying the output files or globs generated by the clean target
31
- */
32
- outputs?: string[];
33
- /**
34
- * The executor to use for the clean target
35
- *
36
- * @defaultValue "\@powerlines/nx:clean"
37
- */
38
- executor?: string;
39
- };
40
- /**
41
- * Configuration options for the prepare target added by the Nx plugin
42
- */
43
- prepare?: false | {
44
- /**
45
- * The name of the prepare target to use when preparing the project
46
- *
47
- * @defaultValue "prepare"
48
- */
49
- targetName?: string;
50
- /**
51
- * The name of the prepare configuration to use when preparing the project
52
- *
53
- * @defaultValue "production"
54
- */
55
- defaultConfiguration?: "production" | "test" | "development";
56
- /**
57
- * An array specifying any other target identifiers the prepare target depends on
58
- *
59
- * @defaultValue ["^build", "clean"]
60
- */
61
- dependsOn?: string[];
62
- /**
63
- * An array specifying any input files or globs to consider when determining if the prepare target needs to be re-run
64
- */
65
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
66
- /**
67
- * An array specifying the output files or globs generated by the prepare target
68
- */
69
- outputs?: string[];
70
- /**
71
- * The executor to use for the prepare target
72
- *
73
- * @defaultValue "\@powerlines/nx:prepare"
74
- */
75
- executor?: string;
76
- };
77
- /**
78
- * Configuration options for the lint target added by the Nx plugin
79
- */
80
- lint?: false | {
81
- /**
82
- * The name of the lint target to use when linting the project
83
- *
84
- * @defaultValue "lint"
85
- */
86
- targetName?: string;
87
- /**
88
- * The name of the lint configuration to use when linting the project
89
- *
90
- * @defaultValue "production"
91
- */
92
- defaultConfiguration?: "production" | "test" | "development";
93
- /**
94
- * An array specifying any other target identifiers the lint target depends on
95
- *
96
- * @defaultValue ["^lint"]
97
- */
98
- dependsOn?: string[];
99
- /**
100
- * An array specifying any input files or globs to consider when determining if the lint target needs to be re-run
101
- */
102
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
103
- /**
104
- * An array specifying the output files or globs generated by the lint target
105
- */
106
- outputs?: string[];
107
- /**
108
- * The executor to use for the lint target
109
- *
110
- * @defaultValue "\@powerlines/nx:lint"
111
- */
112
- executor?: string;
113
- };
114
- /**
115
- * Configuration options for the build target added by the Nx plugin
116
- */
117
- build?: false | {
118
- /**
119
- * The name of the build target to use when building the project
120
- *
121
- * @defaultValue "build"
122
- */
123
- targetName?: string;
124
- /**
125
- * The name of the build configuration to use when building the project
126
- *
127
- * @defaultValue "production"
128
- */
129
- defaultConfiguration?: "production" | "test" | "development";
130
- /**
131
- * An array specifying any other target identifiers the build target depends on
132
- *
133
- * @defaultValue ["^build"]
134
- */
135
- dependsOn?: string[];
136
- /**
137
- * An array specifying any input files or globs to consider when determining if the build target needs to be re-run
138
- */
139
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
140
- /**
141
- * An array specifying the output files or globs generated by the build target
142
- */
143
- outputs?: string[];
144
- /**
145
- * The executor to use for the build target
146
- *
147
- * @defaultValue "\@powerlines/nx:build"
148
- */
149
- executor?: string;
150
- };
151
- /**
152
- * Configuration options for the docs target added by the Nx plugin
153
- */
154
- docs?: false | {
155
- /**
156
- * The name of the docs target to use when generating documentation for the project
157
- *
158
- * @defaultValue "docs"
159
- */
160
- targetName?: string;
161
- /**
162
- * The name of the docs configuration to use when generating documentation for the project
163
- *
164
- * @defaultValue "production"
165
- */
166
- defaultConfiguration?: "production" | "test" | "development";
167
- /**
168
- * An array specifying any other target identifiers the docs target depends on
169
- *
170
- * @defaultValue ["^docs", "build"]
171
- */
172
- dependsOn?: string[];
173
- /**
174
- * An array specifying any input files or globs to consider when determining if the docs target needs to be re-run
175
- */
176
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "testing" | "linting" | "documentation" | "rust" | "typescript";
177
- /**
178
- * An array specifying the output files or globs generated by the docs target
179
- */
180
- outputs?: string[];
181
- /**
182
- * The executor to use for the docs target
183
- *
184
- * @defaultValue "\@powerlines/nx:docs"
185
- */
186
- executor?: string;
187
- };
188
- /**
189
- * Configuration options for the deploy target added by the Nx plugin
190
- */
191
- deploy?: false | {
192
- /**
193
- * The name of the deploy target to use when deploying the project
194
- *
195
- * @defaultValue "deploy"
196
- */
197
- targetName?: string;
198
- /**
199
- * The name of the deploy configuration to use when deploying the project
200
- *
201
- * @defaultValue "production"
202
- */
203
- defaultConfiguration?: "production" | "test" | "development";
204
- /**
205
- * An array specifying any other target identifiers the deploy target depends on
206
- *
207
- * @defaultValue ["^deploy", "build"]
208
- */
209
- dependsOn?: string[];
210
- /**
211
- * An array specifying any input files or globs to consider when determining if the deploy target needs to be re-run
212
- */
213
- inputs?: string[] | "production" | "allProjectFiles" | "sharedGlobals" | "rust" | "typescript";
214
- /**
215
- * An array specifying the output files or globs generated by the deploy target
216
- */
217
- outputs?: string[];
218
- /**
219
- * The executor to use for the deploy target
220
- *
221
- * @defaultValue "\@powerlines/nx:deploy"
222
- */
223
- executor?: string;
224
- };
225
- /**
226
- * Whether to enable verbose logging for the Nx plugin.
227
- *
228
- * @remarks
229
- * If enabled, the plugin will log more detailed information about its operations, which can be useful for debugging and troubleshooting.
230
- *
231
- * @defaultValue false
232
- */
233
- verboseOutput?: boolean;
234
- /**
235
- * Enable resolver debug logging for the plugin
236
- *
237
- * @defaultValue false
238
- */
239
- debug?: boolean;
240
- }
241
- //#endregion
242
- export { NxPluginOptions as t };
243
- //# sourceMappingURL=plugin-DpyutMl2.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-DpyutMl2.d.ts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";UAkBiB,eAAA;EAAA;;;EAIf,KAAA;IAAA;;;;;IAQM,UAAA;IAwCA;;;;;IAjCA,oBAAA;IAgFA;;;;;IAzEA,SAAA;IAiHA;;;IA5GA,MAAA;IA+IA;;;IAjIA,OAAA;IAkKA;;;;;IA3JA,QAAA;EAAA;EAiNA;;;EA3MN,OAAA;IAuOM;;;;;IA/NA,UAAA;IA+QN;;;;;IAxQM,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,IAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,KAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,IAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAcA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;EAMN,MAAA;;;;;;IAQM,UAAA;;;;;;IAOA,oBAAA;;;;;;IAOA,SAAA;;;;IAKA,MAAA;;;;IAWA,OAAA;;;;;;IAOA,QAAA;EAAA;;;;;;;;;EAWN,aAAA;;;;;;EAOA,KAAA;AAAA"}
@@ -1,57 +0,0 @@
1
- import { t as NxPluginOptions } from "./plugin-B_ZGdX7U.mjs";
2
- import { CreateNodesV2 } from "@nx/devkit";
3
-
4
- //#region src/helpers/plugin-utilities.d.ts
5
- /**
6
- * Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
7
- *
8
- * @param framework - The framework name to use in the input strings
9
- * @returns An array of Nx input strings for the configuration file
10
- */
11
- declare function getNxTargetInputs(framework: string): string[];
12
- /**
13
- * Generates Nx input strings for the Powerlines configuration file, replacing the `{framework}` placeholder with the specified framework name.
14
- *
15
- * @param framework - The framework name to use in the input strings
16
- * @returns An array of Nx input strings for the configuration file
17
- */
18
- declare function getNxPluginInputs(framework: string): string;
19
- interface CreateNxPluginOptions {
20
- /**
21
- * The name of the Nx plugin to create
22
- *
23
- * @remarks
24
- * This will be used in logging and project tagging.
25
- *
26
- * @defaultValue "\{framework\}/plugin/nx"
27
- */
28
- name?: string;
29
- /**
30
- * The folder where the generated runtime artifacts will be located
31
- *
32
- * @remarks
33
- * This folder will contain all runtime artifacts and builtins generated during the "prepare" phase.
34
- *
35
- * @defaultValue "\{projectRoot\}/.powerlines"
36
- */
37
- artifactsFolder?: string;
38
- /**
39
- * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
40
- *
41
- * @remarks
42
- * 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.
43
- *
44
- * @defaultValue "powerlines"
45
- */
46
- framework?: string;
47
- }
48
- /**
49
- * Creates an Nx plugin that integrates Powerlines into the Nx build process.
50
- *
51
- * @param opts - Options for creating the Nx plugin
52
- * @returns A CreateNodesV2 function that can be used as an Nx plugin
53
- */
54
- declare function createNxPlugin<TOptions extends NxPluginOptions = NxPluginOptions>(opts?: CreateNxPluginOptions): CreateNodesV2<TOptions>;
55
- //#endregion
56
- export { getNxTargetInputs as i, createNxPlugin as n, getNxPluginInputs as r, CreateNxPluginOptions as t };
57
- //# sourceMappingURL=plugin-utilities-Cg-Ccp4C.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"plugin-utilities-Cg-Ccp4C.d.mts","names":[],"sources":["../../src/helpers/plugin-utilities.ts"],"mappings":";;;;;;AAkEA;;;;iBAAgB,iBAAA,CAAkB,SAAA;AAUlC;;;;;AAMA;AANA,iBAAgB,iBAAA,CAAkB,SAAA;AAAA,UAMjB,qBAAA;EAAqB;;;;;;AAsCtC;;EA7BE,IAAA;EA8BiB;;;;;;;;EApBjB,eAAA;EAoBmC;;;;;;;;EAVnC,SAAA;AAAA;;;;;;;iBASc,cAAA,kBACG,eAAA,GAAkB,eAAA,CAAA,CACnC,IAAA,GAAO,qBAAA,GAAwB,aAAA,CAAc,QAAA"}