@shell-shock/nx 0.0.95 → 0.0.97

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