@powerlines/nx 0.11.222 → 0.11.224

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 (287) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{src/base/base-executor.d.ts → base-executor-BKuqWAnc.d.mts} +14 -12
  3. package/dist/base-executor-BKuqWAnc.d.mts.map +1 -0
  4. package/dist/base-executor-CL9md5FK.d.cts +28 -0
  5. package/dist/base-executor-CL9md5FK.d.cts.map +1 -0
  6. package/dist/base-executor-DIVmWt0_.mjs +76 -0
  7. package/dist/base-executor-DIVmWt0_.mjs.map +1 -0
  8. package/dist/base-executor-hfeykVFL.cjs +83 -0
  9. package/dist/base-executor.schema-CH9f7UZz.d.cts +131 -0
  10. package/dist/base-executor.schema-CH9f7UZz.d.cts.map +1 -0
  11. package/dist/base-executor.schema-LJ14f-QU.d.mts +131 -0
  12. package/dist/base-executor.schema-LJ14f-QU.d.mts.map +1 -0
  13. package/dist/base-executor.untyped-Bet42T8_.mjs +139 -0
  14. package/dist/base-executor.untyped-Bet42T8_.mjs.map +1 -0
  15. package/dist/base-executor.untyped-DUgXmZji.cjs +144 -0
  16. package/dist/chunk-CbDLau6x.cjs +34 -0
  17. package/dist/constants-BHT2TeEj.cjs +39 -0
  18. package/dist/constants-DPeeG_si.mjs +34 -0
  19. package/dist/constants-DPeeG_si.mjs.map +1 -0
  20. package/dist/executor-9aTY5L1O.d.mts +155 -0
  21. package/dist/executor-9aTY5L1O.d.mts.map +1 -0
  22. package/dist/executor-BA-Xvw_2.cjs +23 -0
  23. package/dist/executor-BDu-MfKS.d.cts +155 -0
  24. package/dist/executor-BDu-MfKS.d.cts.map +1 -0
  25. package/dist/executor-BaJuosQ2.d.cts +139 -0
  26. package/dist/executor-BaJuosQ2.d.cts.map +1 -0
  27. package/dist/executor-BerELzzO.d.cts +165 -0
  28. package/dist/executor-BerELzzO.d.cts.map +1 -0
  29. package/dist/executor-C12a2R2m.d.mts +165 -0
  30. package/dist/executor-C12a2R2m.d.mts.map +1 -0
  31. package/dist/executor-CQoHBvIx.d.mts +155 -0
  32. package/dist/executor-CQoHBvIx.d.mts.map +1 -0
  33. package/dist/executor-CR4F9h0Q.mjs +13 -0
  34. package/dist/executor-CR4F9h0Q.mjs.map +1 -0
  35. package/dist/executor-CmOJDW7i.cjs +30 -0
  36. package/dist/executor-CsYeTG7f.d.mts +155 -0
  37. package/dist/executor-CsYeTG7f.d.mts.map +1 -0
  38. package/dist/executor-DXs-DQDq.cjs +23 -0
  39. package/dist/executor-DY3Q5btA.mjs +18 -0
  40. package/dist/executor-DY3Q5btA.mjs.map +1 -0
  41. package/dist/executor-DaM4shEF.d.mts +139 -0
  42. package/dist/executor-DaM4shEF.d.mts.map +1 -0
  43. package/dist/executor-DriX4F9a.mjs +13 -0
  44. package/dist/executor-DriX4F9a.mjs.map +1 -0
  45. package/dist/executor-DupYdy7P.cjs +23 -0
  46. package/dist/executor-_6Wimayo.d.cts +155 -0
  47. package/dist/executor-_6Wimayo.d.cts.map +1 -0
  48. package/dist/executor-dakLe5jY.mjs +13 -0
  49. package/dist/executor-dakLe5jY.mjs.map +1 -0
  50. package/dist/executor-gauQV_Qs.mjs +18 -0
  51. package/dist/executor-gauQV_Qs.mjs.map +1 -0
  52. package/dist/executor-q94V36zQ.d.cts +155 -0
  53. package/dist/executor-q94V36zQ.d.cts.map +1 -0
  54. package/dist/executor-tEMakUYi.cjs +30 -0
  55. package/dist/executors-C15iG1sF.mjs +1 -0
  56. package/dist/executors-D7478W2S.cjs +0 -0
  57. package/dist/executors-YbcSXKr5.d.mts +1 -0
  58. package/dist/executors-hX1C9GbI.d.cts +1 -0
  59. package/dist/executors.cjs +13 -0
  60. package/dist/executors.d.cts +9 -0
  61. package/dist/executors.d.mts +9 -11
  62. package/dist/executors.mjs +9 -9
  63. package/dist/generator-DeiwVUqC.mjs +11 -0
  64. package/dist/generator-DeiwVUqC.mjs.map +1 -0
  65. package/dist/generator-Dv37nXlF.d.cts +8 -0
  66. package/dist/generator-Dv37nXlF.d.cts.map +1 -0
  67. package/dist/generator-Uu2ErkQj.cjs +22 -0
  68. package/dist/generator-aA0eb35E.d.mts +8 -0
  69. package/dist/generator-aA0eb35E.d.mts.map +1 -0
  70. package/dist/generators-B8_tB0mD.d.cts +17 -0
  71. package/dist/generators-B8_tB0mD.d.cts.map +1 -0
  72. package/dist/generators-Bi9wzfNx.mjs +1 -0
  73. package/dist/generators-DymCAfYw.d.mts +17 -0
  74. package/dist/generators-DymCAfYw.d.mts.map +1 -0
  75. package/dist/generators-q39_jUCw.cjs +0 -0
  76. package/dist/generators.cjs +5 -0
  77. package/dist/generators.d.cts +3 -0
  78. package/dist/generators.d.mts +3 -19
  79. package/dist/generators.mjs +4 -3
  80. package/dist/index-BAMQksFF.d.mts +8 -0
  81. package/dist/index-BAMQksFF.d.mts.map +1 -0
  82. package/dist/index-C5yJ9lGj.d.cts +8 -0
  83. package/dist/index-C5yJ9lGj.d.cts.map +1 -0
  84. package/dist/index.cjs +21 -0
  85. package/dist/index.d.cts +13 -0
  86. package/dist/index.d.mts +13 -16
  87. package/dist/index.mjs +14 -14
  88. package/dist/plugin-A9gAUguP.cjs +12 -0
  89. package/dist/plugin-CODFOru1.d.cts +243 -0
  90. package/dist/plugin-CODFOru1.d.cts.map +1 -0
  91. package/dist/plugin-Dbr_Q4yi.mjs +8 -0
  92. package/dist/plugin-Dbr_Q4yi.mjs.map +1 -0
  93. package/dist/plugin-DpjoI0QS.d.mts +243 -0
  94. package/dist/plugin-DpjoI0QS.d.mts.map +1 -0
  95. package/dist/plugin-utilities-Ci8AHf-K.mjs +347 -0
  96. package/dist/plugin-utilities-Ci8AHf-K.mjs.map +1 -0
  97. package/dist/plugin-utilities-Ddlc3SiI.cjs +366 -0
  98. package/dist/src/base/base-executor.cjs +3 -0
  99. package/dist/src/base/base-executor.d.cts +3 -0
  100. package/dist/src/base/base-executor.d.mts +3 -26
  101. package/dist/src/base/base-executor.mjs +3 -3
  102. package/dist/src/base/base-executor.schema.d.cjs +0 -0
  103. package/dist/src/base/base-executor.schema.d.cts +2 -0
  104. package/dist/src/base/base-executor.schema.d.mts +2 -0
  105. package/dist/src/base/base-executor.untyped.cjs +3 -0
  106. package/dist/src/base/base-executor.untyped.d.cts +6 -0
  107. package/dist/src/base/base-executor.untyped.d.cts.map +1 -0
  108. package/dist/src/base/base-executor.untyped.d.mts +5 -3
  109. package/dist/src/base/base-executor.untyped.d.mts.map +1 -0
  110. package/dist/src/base/base-executor.untyped.mjs +3 -2
  111. package/dist/src/executors/build/executor.cjs +6 -0
  112. package/dist/src/executors/build/executor.d.cts +4 -0
  113. package/dist/src/executors/build/executor.d.mts +4 -7
  114. package/dist/src/executors/build/executor.mjs +4 -4
  115. package/dist/src/executors/build/untyped.cjs +26 -0
  116. package/dist/src/executors/build/untyped.d.cts +6 -0
  117. package/dist/src/executors/build/untyped.d.cts.map +1 -0
  118. package/dist/src/executors/build/untyped.d.mts +5 -3
  119. package/dist/src/executors/build/untyped.d.mts.map +1 -0
  120. package/dist/src/executors/build/untyped.mjs +23 -30
  121. package/dist/src/executors/build/untyped.mjs.map +1 -0
  122. package/dist/src/executors/clean/executor.cjs +6 -0
  123. package/dist/src/executors/clean/executor.d.cts +4 -0
  124. package/dist/src/executors/clean/executor.d.mts +4 -7
  125. package/dist/src/executors/clean/executor.mjs +4 -4
  126. package/dist/src/executors/clean/untyped.cjs +17 -0
  127. package/dist/src/executors/clean/untyped.d.cts +6 -0
  128. package/dist/src/executors/clean/untyped.d.cts.map +1 -0
  129. package/dist/src/executors/clean/untyped.d.mts +5 -3
  130. package/dist/src/executors/clean/untyped.d.mts.map +1 -0
  131. package/dist/src/executors/clean/untyped.mjs +12 -10
  132. package/dist/src/executors/clean/untyped.mjs.map +1 -0
  133. package/dist/src/executors/docs/executor.cjs +6 -0
  134. package/dist/src/executors/docs/executor.d.cts +4 -0
  135. package/dist/src/executors/docs/executor.d.mts +4 -7
  136. package/dist/src/executors/docs/executor.mjs +4 -4
  137. package/dist/src/executors/docs/untyped.cjs +18 -0
  138. package/dist/src/executors/docs/untyped.d.cts +6 -0
  139. package/dist/src/executors/docs/untyped.d.cts.map +1 -0
  140. package/dist/src/executors/docs/untyped.d.mts +5 -3
  141. package/dist/src/executors/docs/untyped.d.mts.map +1 -0
  142. package/dist/src/executors/docs/untyped.mjs +15 -13
  143. package/dist/src/executors/docs/untyped.mjs.map +1 -0
  144. package/dist/src/executors/lint/executor.cjs +6 -0
  145. package/dist/src/executors/lint/executor.d.cts +4 -0
  146. package/dist/src/executors/lint/executor.d.mts +4 -7
  147. package/dist/src/executors/lint/executor.mjs +4 -4
  148. package/dist/src/executors/lint/untyped.cjs +18 -0
  149. package/dist/src/executors/lint/untyped.d.cts +6 -0
  150. package/dist/src/executors/lint/untyped.d.cts.map +1 -0
  151. package/dist/src/executors/lint/untyped.d.mts +5 -3
  152. package/dist/src/executors/lint/untyped.d.mts.map +1 -0
  153. package/dist/src/executors/lint/untyped.mjs +15 -13
  154. package/dist/src/executors/lint/untyped.mjs.map +1 -0
  155. package/dist/src/executors/prepare/executor.cjs +6 -0
  156. package/dist/src/executors/prepare/executor.d.cts +4 -0
  157. package/dist/src/executors/prepare/executor.d.mts +4 -7
  158. package/dist/src/executors/prepare/executor.mjs +4 -4
  159. package/dist/src/executors/prepare/untyped.cjs +4 -0
  160. package/dist/src/executors/prepare/untyped.d.cts +6 -0
  161. package/dist/src/executors/prepare/untyped.d.cts.map +1 -0
  162. package/dist/src/executors/prepare/untyped.d.mts +5 -3
  163. package/dist/src/executors/prepare/untyped.d.mts.map +1 -0
  164. package/dist/src/executors/prepare/untyped.mjs +4 -3
  165. package/dist/src/generators/sync/generator.cjs +5 -0
  166. package/dist/src/generators/sync/generator.d.cts +2 -0
  167. package/dist/src/generators/sync/generator.d.mts +2 -6
  168. package/dist/src/generators/sync/generator.mjs +3 -2
  169. package/dist/src/generators/sync/untyped.cjs +23 -0
  170. package/dist/src/generators/sync/untyped.d.cts +6 -0
  171. package/dist/src/generators/sync/untyped.d.cts.map +1 -0
  172. package/dist/src/generators/sync/untyped.d.mts +5 -3
  173. package/dist/src/generators/sync/untyped.d.mts.map +1 -0
  174. package/dist/src/generators/sync/untyped.mjs +18 -16
  175. package/dist/src/generators/sync/untyped.mjs.map +1 -0
  176. package/dist/src/helpers/constants.cjs +3 -0
  177. package/dist/src/helpers/{constants.d.ts → constants.d.cts} +3 -1
  178. package/dist/src/helpers/constants.d.cts.map +1 -0
  179. package/dist/src/helpers/constants.d.mts +3 -1
  180. package/dist/src/helpers/constants.d.mts.map +1 -0
  181. package/dist/src/helpers/constants.mjs +3 -2
  182. package/dist/src/helpers/plugin-utilities.cjs +6 -0
  183. package/dist/src/helpers/plugin-utilities.d.cts +58 -0
  184. package/dist/src/helpers/plugin-utilities.d.cts.map +1 -0
  185. package/dist/src/helpers/plugin-utilities.d.mts +34 -31
  186. package/dist/src/helpers/plugin-utilities.d.mts.map +1 -0
  187. package/dist/src/helpers/plugin-utilities.mjs +4 -4
  188. package/dist/src/plugin/index.cjs +5 -0
  189. package/dist/src/plugin/index.d.cts +3 -0
  190. package/dist/src/plugin/index.d.mts +3 -6
  191. package/dist/src/plugin/index.mjs +5 -5
  192. package/dist/src/types/plugin.cjs +0 -0
  193. package/dist/src/types/plugin.d.cts +2 -0
  194. package/dist/src/types/plugin.d.mts +2 -241
  195. package/dist/src/types/plugin.mjs +1 -1
  196. package/dist/untyped-BIEzjl_J.mjs +27 -0
  197. package/dist/untyped-BIEzjl_J.mjs.map +1 -0
  198. package/dist/untyped-DKPJSDgJ.cjs +32 -0
  199. package/executors.json +1 -1
  200. package/generators.json +1 -1
  201. package/package.json +110 -93
  202. package/dist/chunk-23KFTIT2.mjs +0 -1
  203. package/dist/chunk-326QB2VK.mjs +0 -14
  204. package/dist/chunk-3BI2YVJ3.js +0 -156
  205. package/dist/chunk-3SNFDQEM.js +0 -26
  206. package/dist/chunk-4OMPO3GC.mjs +0 -154
  207. package/dist/chunk-5DJ7NANG.mjs +0 -15
  208. package/dist/chunk-5NTN2EU4.js +0 -18
  209. package/dist/chunk-7JSSYBGU.mjs +0 -15
  210. package/dist/chunk-ADMWJVSB.js +0 -374
  211. package/dist/chunk-GCIPEE4T.mjs +0 -28
  212. package/dist/chunk-IC47MFKB.mjs +0 -29
  213. package/dist/chunk-IOBDAGVL.js +0 -30
  214. package/dist/chunk-IQVSZEQ6.js +0 -31
  215. package/dist/chunk-JMPYKLTR.js +0 -18
  216. package/dist/chunk-JNVDFQTY.mjs +0 -4900
  217. package/dist/chunk-N2YKXZ5R.js +0 -2
  218. package/dist/chunk-NXR5JH7F.js +0 -10
  219. package/dist/chunk-O6YSETKJ.mjs +0 -4
  220. package/dist/chunk-O7Z4RX77.js +0 -4928
  221. package/dist/chunk-OFHFZ5IV.js +0 -18
  222. package/dist/chunk-PM55S4AK.mjs +0 -19
  223. package/dist/chunk-RLODK6TM.js +0 -281
  224. package/dist/chunk-RLYU2FOM.mjs +0 -366
  225. package/dist/chunk-SHUYVCID.js +0 -6
  226. package/dist/chunk-SQV3SFA4.mjs +0 -8
  227. package/dist/chunk-U4JIT4YZ.mjs +0 -19
  228. package/dist/chunk-UV4HQO3Y.mjs +0 -1
  229. package/dist/chunk-VYOHHZ4P.mjs +0 -15
  230. package/dist/chunk-W75JGXP2.mjs +0 -260
  231. package/dist/chunk-WUJKJGEW.js +0 -17
  232. package/dist/chunk-X666OUXC.js +0 -26
  233. package/dist/chunk-XO62WWX4.js +0 -2
  234. package/dist/executor-AQVlPFta.d.ts +0 -163
  235. package/dist/executor-BNmIhtpF.d.mts +0 -153
  236. package/dist/executor-C0A5mFLO.d.mts +0 -137
  237. package/dist/executor-Cep8-Y3A.d.mts +0 -153
  238. package/dist/executor-CkyahICv.d.ts +0 -137
  239. package/dist/executor-DOsxw-Ih.d.ts +0 -153
  240. package/dist/executor-DUQbjUVt.d.ts +0 -153
  241. package/dist/executor-O3MDQSFT.d.ts +0 -153
  242. package/dist/executor-U4mVkhQK.d.mts +0 -163
  243. package/dist/executor-Xt5qNzC5.d.mts +0 -153
  244. package/dist/executors.d.ts +0 -11
  245. package/dist/executors.js +0 -34
  246. package/dist/generators.d.ts +0 -19
  247. package/dist/generators.js +0 -16
  248. package/dist/index.d.ts +0 -16
  249. package/dist/index.js +0 -51
  250. package/dist/src/base/base-executor.js +0 -12
  251. package/dist/src/base/base-executor.schema.d.d.mts +0 -129
  252. package/dist/src/base/base-executor.schema.d.d.ts +0 -129
  253. package/dist/src/base/base-executor.schema.d.js +0 -2
  254. package/dist/src/base/base-executor.schema.d.mjs +0 -1
  255. package/dist/src/base/base-executor.untyped.d.ts +0 -5
  256. package/dist/src/base/base-executor.untyped.js +0 -10
  257. package/dist/src/executors/build/executor.d.ts +0 -7
  258. package/dist/src/executors/build/executor.js +0 -19
  259. package/dist/src/executors/build/untyped.d.ts +0 -5
  260. package/dist/src/executors/build/untyped.js +0 -37
  261. package/dist/src/executors/clean/executor.d.ts +0 -7
  262. package/dist/src/executors/clean/executor.js +0 -19
  263. package/dist/src/executors/clean/untyped.d.ts +0 -5
  264. package/dist/src/executors/clean/untyped.js +0 -19
  265. package/dist/src/executors/docs/executor.d.ts +0 -7
  266. package/dist/src/executors/docs/executor.js +0 -19
  267. package/dist/src/executors/docs/untyped.d.ts +0 -5
  268. package/dist/src/executors/docs/untyped.js +0 -20
  269. package/dist/src/executors/lint/executor.d.ts +0 -7
  270. package/dist/src/executors/lint/executor.js +0 -19
  271. package/dist/src/executors/lint/untyped.d.ts +0 -5
  272. package/dist/src/executors/lint/untyped.js +0 -20
  273. package/dist/src/executors/prepare/executor.d.ts +0 -7
  274. package/dist/src/executors/prepare/executor.js +0 -19
  275. package/dist/src/executors/prepare/untyped.d.ts +0 -5
  276. package/dist/src/executors/prepare/untyped.js +0 -11
  277. package/dist/src/generators/sync/generator.d.ts +0 -6
  278. package/dist/src/generators/sync/generator.js +0 -17
  279. package/dist/src/generators/sync/untyped.d.ts +0 -5
  280. package/dist/src/generators/sync/untyped.js +0 -25
  281. package/dist/src/helpers/constants.js +0 -11
  282. package/dist/src/helpers/plugin-utilities.d.ts +0 -55
  283. package/dist/src/helpers/plugin-utilities.js +0 -21
  284. package/dist/src/plugin/index.d.ts +0 -6
  285. package/dist/src/plugin/index.js +0 -14
  286. package/dist/src/types/plugin.d.ts +0 -241
  287. package/dist/src/types/plugin.js +0 -2
@@ -0,0 +1,155 @@
1
+ import { t as PowerlinesExecutorContext } from "./base-executor-CL9md5FK.cjs";
2
+ import { PromiseExecutor } from "@nx/devkit";
3
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
4
+ import PowerlinesAPI from "powerlines";
5
+
6
+ //#region src/executors/lint/schema.d.ts
7
+ // Generated by @storm-software/untyped
8
+ // Do not edit this file directly
9
+ interface LintExecutorSchema {
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/lint/executor.d.ts
151
+ declare function executorFn(context: PowerlinesExecutorContext<"lint", LintExecutorSchema>, api: PowerlinesAPI): Promise<BaseExecutorResult>;
152
+ declare const executor: PromiseExecutor<LintExecutorSchema>;
153
+ //#endregion
154
+ export { executorFn as n, LintExecutorSchema as r, executor as t };
155
+ //# sourceMappingURL=executor-_6Wimayo.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-_6Wimayo.d.cts","names":["LintExecutorSchema","Array","Record"],"sources":["../src/executors/lint/schema.d.ts","../src/executors/lint/executor.ts"],"sourcesContent":["\n// Generated by @storm-software/untyped\n// Do not edit this file directly\n\nexport interface LintExecutorSchema {\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,kBAAAA;;AAAjB;;;;;;;;;;ECwBA;;;;;;;AASC;;UDZQC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCCA;;;;;;;;;;;;;;;;;;;aAmBEA;;;;;;;;eAQEA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCJC;;;;;;;;;;;;;;;;;;;;iBClGY,UAAA,UACX,kCAAkC,0BACtC,gBACJ,QAAQ;AD3BX,cCmCM,QDnCWF,ECmCD,eDnCmB,CCmCH,kBDnCG,CAAA"}
@@ -0,0 +1,13 @@
1
+ import { t as withExecutor } from "./base-executor-DIVmWt0_.mjs";
2
+
3
+ //#region src/executors/lint/executor.ts
4
+ async function executorFn(context, api) {
5
+ await api.lint(context.inlineConfig);
6
+ return { success: true };
7
+ }
8
+ const executor = withExecutor("lint", executorFn);
9
+ var executor_default = executor;
10
+
11
+ //#endregion
12
+ export { executor_default as n, executorFn as t };
13
+ //# sourceMappingURL=executor-dakLe5jY.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-dakLe5jY.mjs","names":["executor: PromiseExecutor<LintExecutorSchema>"],"sources":["../src/executors/lint/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 PowerlinesAPI from \"powerlines\";\nimport { LintInlineConfig } from \"powerlines/types\";\nimport {\n PowerlinesExecutorContext,\n withExecutor\n} from \"../../base/base-executor\";\nimport type { LintExecutorSchema } from \"./schema\";\n\nexport async function executorFn(\n context: PowerlinesExecutorContext<\"lint\", LintExecutorSchema>,\n api: PowerlinesAPI\n): Promise<BaseExecutorResult> {\n await api.lint(context.inlineConfig as LintInlineConfig);\n\n return {\n success: true\n };\n}\n\nconst executor: PromiseExecutor<LintExecutorSchema> = withExecutor<\n \"lint\",\n LintExecutorSchema\n>(\"lint\", executorFn);\n\nexport default executor;\n"],"mappings":";;;AA4BA,eAAsB,WACpB,SACA,KAC6B;AAC7B,OAAM,IAAI,KAAK,QAAQ,aAAiC;AAExD,QAAO,EACL,SAAS,MACV;;AAGH,MAAMA,WAAgD,aAGpD,QAAQ,WAAW;AAErB,uBAAe"}
@@ -0,0 +1,18 @@
1
+ import { t as withExecutor } from "./base-executor-DIVmWt0_.mjs";
2
+ import defu from "defu";
3
+
4
+ //#region src/executors/prepare/executor.ts
5
+ async function executorFn(context, api) {
6
+ await api.prepare(defu({
7
+ command: "prepare",
8
+ skipCache: context.options.skipCache,
9
+ autoInstall: context.options.autoInstall
10
+ }, context.inlineConfig));
11
+ return { success: true };
12
+ }
13
+ const executor = withExecutor("prepare", executorFn);
14
+ var executor_default = executor;
15
+
16
+ //#endregion
17
+ export { executor_default as n, executorFn as t };
18
+ //# sourceMappingURL=executor-gauQV_Qs.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-gauQV_Qs.mjs","names":["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,QACR,KACE;EACE,SAAS;EACT,WAAW,QAAQ,QAAQ;EAC3B,aAAa,QAAQ,QAAQ;EAC9B,EACD,QAAQ,aACT,CACF;AAED,QAAO,EACL,SAAS,MACV;;AAGH,MAAMA,WAAmD,aAGvD,WAAW,WAAW;AAExB,uBAAe"}
@@ -0,0 +1,155 @@
1
+ import { t as PowerlinesExecutorContext } from "./base-executor-CL9md5FK.cjs";
2
+ import { PromiseExecutor } from "@nx/devkit";
3
+ import { BaseExecutorResult } from "@storm-software/workspace-tools/types";
4
+ import PowerlinesAPI from "powerlines";
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 { executorFn as n, PrepareExecutorSchema as r, executor as t };
155
+ //# sourceMappingURL=executor-q94V36zQ.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executor-q94V36zQ.d.cts","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"}
@@ -0,0 +1,30 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ const require_base_executor = require('./base-executor-hfeykVFL.cjs');
3
+ let defu = require("defu");
4
+ defu = require_chunk.__toESM(defu);
5
+
6
+ //#region src/executors/prepare/executor.ts
7
+ async function executorFn(context, api) {
8
+ await api.prepare((0, defu.default)({
9
+ command: "prepare",
10
+ skipCache: context.options.skipCache,
11
+ autoInstall: context.options.autoInstall
12
+ }, context.inlineConfig));
13
+ return { success: true };
14
+ }
15
+ const executor = require_base_executor.withExecutor("prepare", executorFn);
16
+ var executor_default = executor;
17
+
18
+ //#endregion
19
+ Object.defineProperty(exports, 'executorFn', {
20
+ enumerable: true,
21
+ get: function () {
22
+ return executorFn;
23
+ }
24
+ });
25
+ Object.defineProperty(exports, 'executor_default', {
26
+ enumerable: true,
27
+ get: function () {
28
+ return executor_default;
29
+ }
30
+ });
@@ -0,0 +1 @@
1
+ export { };
File without changes
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,13 @@
1
+ require('./base-executor-hfeykVFL.cjs');
2
+ const require_executor = require('./executor-CmOJDW7i.cjs');
3
+ const require_executor$1 = require('./executor-DXs-DQDq.cjs');
4
+ const require_executor$2 = require('./executor-BA-Xvw_2.cjs');
5
+ const require_executor$3 = require('./executor-DupYdy7P.cjs');
6
+ const require_executor$4 = require('./executor-tEMakUYi.cjs');
7
+ require('./executors-D7478W2S.cjs');
8
+
9
+ exports.build = require_executor.executor_default;
10
+ exports.clean = require_executor$1.executor_default;
11
+ exports.docs = require_executor$2.executor_default;
12
+ exports.lint = require_executor$3.executor_default;
13
+ exports.prepare = require_executor$4.executor_default;
@@ -0,0 +1,9 @@
1
+ import "./base-executor.schema-CH9f7UZz.cjs";
2
+ import "./base-executor-CL9md5FK.cjs";
3
+ import { r as BuildExecutorSchema, t as executor } from "./executor-BerELzzO.cjs";
4
+ import { r as CleanExecutorSchema, t as executor$1 } from "./executor-BaJuosQ2.cjs";
5
+ import { r as DocsExecutorSchema, t as executor$2 } from "./executor-BDu-MfKS.cjs";
6
+ import { r as LintExecutorSchema, t as executor$3 } from "./executor-_6Wimayo.cjs";
7
+ import { r as PrepareExecutorSchema, t as executor$4 } from "./executor-q94V36zQ.cjs";
8
+ import "./executors-hX1C9GbI.cjs";
9
+ export { BuildExecutorSchema, CleanExecutorSchema, DocsExecutorSchema, LintExecutorSchema, PrepareExecutorSchema, executor as build, executor$1 as clean, executor$2 as docs, executor$3 as lint, executor$4 as prepare };
@@ -1,11 +1,9 @@
1
- export { B as BuildExecutorSchema, e as build } from './executor-U4mVkhQK.mjs';
2
- export { C as CleanExecutorSchema, e as clean } from './executor-C0A5mFLO.mjs';
3
- export { D as DocsExecutorSchema, e as docs } from './executor-BNmIhtpF.mjs';
4
- export { L as LintExecutorSchema, e as lint } from './executor-Cep8-Y3A.mjs';
5
- export { P as PrepareExecutorSchema, e as prepare } from './executor-Xt5qNzC5.mjs';
6
- import '@nx/devkit';
7
- import '@storm-software/workspace-tools/types';
8
- import 'powerlines';
9
- import './src/base/base-executor.mjs';
10
- import '@storm-software/config/types';
11
- import './src/base/base-executor.schema.d.mjs';
1
+ import "./base-executor.schema-LJ14f-QU.mjs";
2
+ import "./base-executor-BKuqWAnc.mjs";
3
+ import { r as BuildExecutorSchema, t as executor } from "./executor-C12a2R2m.mjs";
4
+ import { r as CleanExecutorSchema, t as executor$1 } from "./executor-DaM4shEF.mjs";
5
+ import { r as DocsExecutorSchema, t as executor$2 } from "./executor-9aTY5L1O.mjs";
6
+ import { r as LintExecutorSchema, t as executor$3 } from "./executor-CQoHBvIx.mjs";
7
+ import { r as PrepareExecutorSchema, t as executor$4 } from "./executor-CsYeTG7f.mjs";
8
+ import "./executors-YbcSXKr5.mjs";
9
+ export { BuildExecutorSchema, CleanExecutorSchema, DocsExecutorSchema, LintExecutorSchema, PrepareExecutorSchema, executor as build, executor$1 as clean, executor$2 as docs, executor$3 as lint, executor$4 as prepare };
@@ -1,9 +1,9 @@
1
- import './chunk-UV4HQO3Y.mjs';
2
- export { executor_default as lint } from './chunk-VYOHHZ4P.mjs';
3
- export { executor_default as prepare } from './chunk-U4JIT4YZ.mjs';
4
- export { executor_default as build } from './chunk-PM55S4AK.mjs';
5
- export { executor_default as clean } from './chunk-5DJ7NANG.mjs';
6
- export { executor_default as docs } from './chunk-7JSSYBGU.mjs';
7
- import './chunk-JNVDFQTY.mjs';
8
- import './chunk-W75JGXP2.mjs';
9
- import './chunk-O6YSETKJ.mjs';
1
+ import "./base-executor-DIVmWt0_.mjs";
2
+ import { n as executor_default } from "./executor-DY3Q5btA.mjs";
3
+ import { n as executor_default$1 } from "./executor-DriX4F9a.mjs";
4
+ import { n as executor_default$2 } from "./executor-CR4F9h0Q.mjs";
5
+ import { n as executor_default$3 } from "./executor-dakLe5jY.mjs";
6
+ import { n as executor_default$4 } from "./executor-gauQV_Qs.mjs";
7
+ import "./executors-C15iG1sF.mjs";
8
+
9
+ export { executor_default as build, executor_default$1 as clean, executor_default$2 as docs, executor_default$3 as lint, executor_default$4 as prepare };
@@ -0,0 +1,11 @@
1
+ import { readNxJson } from "@nx/devkit";
2
+
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 n, generatorFn as t };
11
+ //# sourceMappingURL=generator-DeiwVUqC.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator-DeiwVUqC.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"}
@@ -0,0 +1,8 @@
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 t };
8
+ //# sourceMappingURL=generator-Dv37nXlF.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator-Dv37nXlF.d.cts","names":[],"sources":["../src/generators/sync/generator.ts"],"sourcesContent":[],"mappings":";;;;iBAsBsB,WAAA,OAAkB,OAAO,QAAQ"}
@@ -0,0 +1,22 @@
1
+ const require_chunk = require('./chunk-CbDLau6x.cjs');
2
+ let __nx_devkit = require("@nx/devkit");
3
+
4
+ //#region src/generators/sync/generator.ts
5
+ async function generatorFn(tree) {
6
+ return { outOfSyncMessage: ((0, __nx_devkit.readNxJson)(tree)?.sync?.generatorOptions?.["@powerlines/nx:sync"])?.outOfSyncMessage || "The legal-message.txt file needs to be created" };
7
+ }
8
+ var generator_default = generatorFn;
9
+
10
+ //#endregion
11
+ Object.defineProperty(exports, 'generatorFn', {
12
+ enumerable: true,
13
+ get: function () {
14
+ return generatorFn;
15
+ }
16
+ });
17
+ Object.defineProperty(exports, 'generator_default', {
18
+ enumerable: true,
19
+ get: function () {
20
+ return generator_default;
21
+ }
22
+ });
@@ -0,0 +1,8 @@
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 t };
8
+ //# sourceMappingURL=generator-aA0eb35E.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generator-aA0eb35E.d.mts","names":[],"sources":["../src/generators/sync/generator.ts"],"sourcesContent":[],"mappings":";;;;iBAsBsB,WAAA,OAAkB,OAAO,QAAQ"}
@@ -0,0 +1,17 @@
1
+ //#region src/generators/sync/schema.d.ts
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ interface SyncGeneratorSchema {
6
+ /**
7
+ * Out of Sync Message
8
+ *
9
+ * The message to display when the project is out of sync with the legal-message.txt file
10
+ *
11
+ * @default "The legal-message.txt file needs to be created"
12
+ */
13
+ outOfSyncMessage?: string;
14
+ }
15
+ //#endregion
16
+ export { SyncGeneratorSchema as t };
17
+ //# sourceMappingURL=generators-B8_tB0mD.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generators-B8_tB0mD.d.cts","names":["SyncGeneratorSchema"],"sources":["../src/generators/sync/schema.d.ts"],"sourcesContent":["\n// Generated by @storm-software/untyped\n// Do not edit this file directly\n\nexport interface SyncGeneratorSchema {\n /**\n * Out of Sync Message\n * \n * The message to display when the project is out of sync with the legal-message.txt file\n * \n * @default \"The legal-message.txt file needs to be created\"\n */\n outOfSyncMessage?: string,\n}\n\n"],"mappings":";AAIA;;;UAAiBA,mBAAAA"}
@@ -0,0 +1 @@
1
+ export { };
@@ -0,0 +1,17 @@
1
+ //#region src/generators/sync/schema.d.ts
2
+ // Generated by @storm-software/untyped
3
+ // Do not edit this file directly
4
+
5
+ interface SyncGeneratorSchema {
6
+ /**
7
+ * Out of Sync Message
8
+ *
9
+ * The message to display when the project is out of sync with the legal-message.txt file
10
+ *
11
+ * @default "The legal-message.txt file needs to be created"
12
+ */
13
+ outOfSyncMessage?: string;
14
+ }
15
+ //#endregion
16
+ export { SyncGeneratorSchema as t };
17
+ //# sourceMappingURL=generators-DymCAfYw.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generators-DymCAfYw.d.mts","names":["SyncGeneratorSchema"],"sources":["../src/generators/sync/schema.d.ts"],"sourcesContent":["\n// Generated by @storm-software/untyped\n// Do not edit this file directly\n\nexport interface SyncGeneratorSchema {\n /**\n * Out of Sync Message\n * \n * The message to display when the project is out of sync with the legal-message.txt file\n * \n * @default \"The legal-message.txt file needs to be created\"\n */\n outOfSyncMessage?: string,\n}\n\n"],"mappings":";AAIA;;;UAAiBA,mBAAAA"}
File without changes
@@ -0,0 +1,5 @@
1
+ const require_generator = require('./generator-Uu2ErkQj.cjs');
2
+ require('./generators-q39_jUCw.cjs');
3
+
4
+ exports.sync = require_generator.generator_default;
5
+ exports.syncGenerator = require_generator.generatorFn;
@@ -0,0 +1,3 @@
1
+ import { t as generatorFn } from "./generator-Dv37nXlF.cjs";
2
+ import { t as SyncGeneratorSchema } from "./generators-B8_tB0mD.cjs";
3
+ export { SyncGeneratorSchema, generatorFn as sync, generatorFn as syncGenerator };
@@ -1,19 +1,3 @@
1
- export { default as sync, default as syncGenerator } from './src/generators/sync/generator.mjs';
2
- import '@nx/devkit';
3
- import 'nx/src/utils/sync-generators';
4
-
5
- // Generated by @storm-software/untyped
6
- // Do not edit this file directly
7
-
8
- interface SyncGeneratorSchema {
9
- /**
10
- * Out of Sync Message
11
- *
12
- * The message to display when the project is out of sync with the legal-message.txt file
13
- *
14
- * @default "The legal-message.txt file needs to be created"
15
- */
16
- outOfSyncMessage?: string,
17
- }
18
-
19
- export type { SyncGeneratorSchema };
1
+ import { t as generatorFn } from "./generator-aA0eb35E.mjs";
2
+ import { t as SyncGeneratorSchema } from "./generators-DymCAfYw.mjs";
3
+ export { SyncGeneratorSchema, generatorFn as sync, generatorFn as syncGenerator };
@@ -1,3 +1,4 @@
1
- import './chunk-23KFTIT2.mjs';
2
- export { generator_default as sync, generatorFn as syncGenerator } from './chunk-326QB2VK.mjs';
3
- import './chunk-O6YSETKJ.mjs';
1
+ import { n as generator_default, t as generatorFn } from "./generator-DeiwVUqC.mjs";
2
+ import "./generators-Bi9wzfNx.mjs";
3
+
4
+ export { generator_default as sync, generatorFn as syncGenerator };