@cbnventures/nova 0.13.1 → 0.14.0

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 (332) hide show
  1. package/build/package.json +9 -13
  2. package/build/src/api/node-releases.d.ts +1 -1
  3. package/build/src/api/spdx-licenses.d.ts +1 -1
  4. package/build/src/cli/index.js +155 -39
  5. package/build/src/cli/index.js.map +1 -1
  6. package/build/src/cli/recipe/index.d.ts +3 -0
  7. package/build/src/cli/recipe/index.d.ts.map +1 -0
  8. package/build/src/cli/recipe/index.js +57 -0
  9. package/build/src/cli/recipe/index.js.map +1 -0
  10. package/build/src/cli/recipe/package-json/cleanup.d.ts +8 -0
  11. package/build/src/cli/recipe/package-json/cleanup.d.ts.map +1 -0
  12. package/build/src/cli/recipe/package-json/cleanup.js +174 -0
  13. package/build/src/cli/recipe/package-json/cleanup.js.map +1 -0
  14. package/build/src/cli/recipe/package-json/normalize-artifacts.d.ts +8 -0
  15. package/build/src/cli/recipe/package-json/normalize-artifacts.d.ts.map +1 -0
  16. package/build/src/cli/recipe/package-json/normalize-artifacts.js +242 -0
  17. package/build/src/cli/recipe/package-json/normalize-artifacts.js.map +1 -0
  18. package/build/src/cli/recipe/package-json/normalize-bundler.d.ts +6 -0
  19. package/build/src/cli/recipe/package-json/normalize-bundler.d.ts.map +1 -0
  20. package/build/src/cli/recipe/package-json/normalize-bundler.js +145 -0
  21. package/build/src/cli/recipe/package-json/normalize-bundler.js.map +1 -0
  22. package/build/src/cli/recipe/package-json/normalize-dependencies.d.ts +9 -0
  23. package/build/src/cli/recipe/package-json/normalize-dependencies.d.ts.map +1 -0
  24. package/build/src/cli/recipe/package-json/normalize-dependencies.js +262 -0
  25. package/build/src/cli/recipe/package-json/normalize-dependencies.js.map +1 -0
  26. package/build/src/cli/recipe/package-json/normalize-modules.d.ts +6 -0
  27. package/build/src/cli/recipe/package-json/normalize-modules.d.ts.map +1 -0
  28. package/build/src/cli/recipe/package-json/normalize-modules.js +249 -0
  29. package/build/src/cli/recipe/package-json/normalize-modules.js.map +1 -0
  30. package/build/src/cli/recipe/package-json/normalize-tooling.d.ts +7 -0
  31. package/build/src/cli/recipe/package-json/normalize-tooling.d.ts.map +1 -0
  32. package/build/src/cli/recipe/package-json/normalize-tooling.js +168 -0
  33. package/build/src/cli/recipe/package-json/normalize-tooling.js.map +1 -0
  34. package/build/src/cli/recipe/package-json/sync-environment.d.ts +9 -0
  35. package/build/src/cli/recipe/package-json/sync-environment.d.ts.map +1 -0
  36. package/build/src/cli/recipe/package-json/sync-environment.js +286 -0
  37. package/build/src/cli/recipe/package-json/sync-environment.js.map +1 -0
  38. package/build/src/cli/recipe/package-json/sync-identity.d.ts +6 -0
  39. package/build/src/cli/recipe/package-json/sync-identity.d.ts.map +1 -0
  40. package/build/src/cli/recipe/package-json/sync-identity.js +219 -0
  41. package/build/src/cli/recipe/package-json/sync-identity.js.map +1 -0
  42. package/build/src/cli/recipe/package-json/sync-ownership.d.ts +6 -0
  43. package/build/src/cli/recipe/package-json/sync-ownership.d.ts.map +1 -0
  44. package/build/src/cli/recipe/package-json/sync-ownership.js +349 -0
  45. package/build/src/cli/recipe/package-json/sync-ownership.js.map +1 -0
  46. package/build/src/cli/utility/changelog.d.ts +1 -1
  47. package/build/src/cli/utility/changelog.d.ts.map +1 -1
  48. package/build/src/cli/utility/changelog.js +10 -10
  49. package/build/src/cli/utility/changelog.js.map +1 -1
  50. package/build/src/cli/utility/initialize.d.ts +1 -1
  51. package/build/src/cli/utility/initialize.d.ts.map +1 -1
  52. package/build/src/cli/utility/initialize.js +259 -74
  53. package/build/src/cli/utility/initialize.js.map +1 -1
  54. package/build/src/cli/utility/run-recipes.d.ts +5 -0
  55. package/build/src/cli/utility/run-recipes.d.ts.map +1 -0
  56. package/build/src/cli/utility/run-recipes.js +42 -0
  57. package/build/src/cli/utility/run-recipes.js.map +1 -0
  58. package/build/src/cli/utility/run-scripts.d.ts +10 -0
  59. package/build/src/cli/utility/run-scripts.d.ts.map +1 -0
  60. package/build/src/cli/utility/run-scripts.js +160 -0
  61. package/build/src/cli/utility/run-scripts.js.map +1 -0
  62. package/build/src/cli/utility/transpile.d.ts +9 -0
  63. package/build/src/cli/utility/transpile.d.ts.map +1 -0
  64. package/build/src/cli/utility/transpile.js +59 -0
  65. package/build/src/cli/utility/transpile.js.map +1 -0
  66. package/build/src/cli/utility/type-check.d.ts +1 -1
  67. package/build/src/cli/utility/type-check.d.ts.map +1 -1
  68. package/build/src/cli/utility/type-check.js +3 -3
  69. package/build/src/cli/utility/type-check.js.map +1 -1
  70. package/build/src/cli/utility/version.d.ts +1 -1
  71. package/build/src/cli/utility/version.d.ts.map +1 -1
  72. package/build/src/cli/utility/version.js.map +1 -1
  73. package/build/src/lib/item.d.ts +7 -2
  74. package/build/src/lib/item.d.ts.map +1 -1
  75. package/build/src/lib/item.js +37 -10
  76. package/build/src/lib/item.js.map +1 -1
  77. package/build/src/lib/nova-config.d.ts +2 -2
  78. package/build/src/lib/nova-config.d.ts.map +1 -1
  79. package/build/src/lib/nova-config.js +46 -21
  80. package/build/src/lib/nova-config.js.map +1 -1
  81. package/build/src/lib/utility.d.ts +1 -1
  82. package/build/src/lib/utility.d.ts.map +1 -1
  83. package/build/src/lib/utility.js +9 -6
  84. package/build/src/lib/utility.js.map +1 -1
  85. package/build/src/presets/eslint/dx-code-style.d.mts +1 -1
  86. package/build/src/presets/eslint/dx-ignore.d.mts +1 -1
  87. package/build/src/presets/eslint/env-browser.d.mts +1 -1
  88. package/build/src/presets/eslint/env-edge.d.mts +1 -1
  89. package/build/src/presets/eslint/env-node.d.mts +1 -1
  90. package/build/src/presets/eslint/env-service-worker.d.mts +1 -1
  91. package/build/src/presets/eslint/env-web-worker.d.mts +1 -1
  92. package/build/src/presets/eslint/fw-docusaurus.d.mts +1 -1
  93. package/build/src/presets/eslint/fw-expressjs.d.mts +1 -1
  94. package/build/src/presets/eslint/fw-nextjs.d.mts +1 -1
  95. package/build/src/presets/eslint/lang-javascript.d.mts +1 -1
  96. package/build/src/presets/eslint/lang-mdx.d.mts +1 -1
  97. package/build/src/presets/eslint/lang-typescript.d.mts +1 -1
  98. package/build/src/presets/eslint/platform-cloudflare-workers.d.mts +1 -1
  99. package/build/src/presets/eslint/tool-vite.d.mts +1 -1
  100. package/build/src/rules/eslint/formatting/no-raw-text-in-code.d.ts.map +1 -0
  101. package/build/src/rules/eslint/{no-raw-text-in-code.js → formatting/no-raw-text-in-code.js} +1 -1
  102. package/build/src/rules/eslint/formatting/no-raw-text-in-code.js.map +1 -0
  103. package/build/src/rules/eslint/formatting/require-padding-lines.d.ts +13 -0
  104. package/build/src/rules/eslint/formatting/require-padding-lines.d.ts.map +1 -0
  105. package/build/src/rules/eslint/formatting/require-padding-lines.js +173 -0
  106. package/build/src/rules/eslint/formatting/require-padding-lines.js.map +1 -0
  107. package/build/src/rules/eslint/index.d.ts +14 -5
  108. package/build/src/rules/eslint/index.d.ts.map +1 -1
  109. package/build/src/rules/eslint/index.js +14 -5
  110. package/build/src/rules/eslint/index.js.map +1 -1
  111. package/build/src/rules/eslint/nova/no-logger-dev.d.ts.map +1 -0
  112. package/build/src/rules/eslint/{no-logger-dev.js → nova/no-logger-dev.js} +6 -4
  113. package/build/src/rules/eslint/nova/no-logger-dev.js.map +1 -0
  114. package/build/src/rules/eslint/patterns/no-assign-then-return.d.ts +6 -0
  115. package/build/src/rules/eslint/patterns/no-assign-then-return.d.ts.map +1 -0
  116. package/build/src/rules/eslint/patterns/no-assign-then-return.js +55 -0
  117. package/build/src/rules/eslint/patterns/no-assign-then-return.js.map +1 -0
  118. package/build/src/rules/eslint/patterns/no-bracket-assignment.d.ts +6 -0
  119. package/build/src/rules/eslint/patterns/no-bracket-assignment.d.ts.map +1 -0
  120. package/build/src/rules/eslint/patterns/no-bracket-assignment.js +31 -0
  121. package/build/src/rules/eslint/patterns/no-bracket-assignment.js.map +1 -0
  122. package/build/src/rules/eslint/patterns/no-destructuring.d.ts +13 -0
  123. package/build/src/rules/eslint/patterns/no-destructuring.d.ts.map +1 -0
  124. package/build/src/rules/eslint/patterns/no-destructuring.js +177 -0
  125. package/build/src/rules/eslint/patterns/no-destructuring.js.map +1 -0
  126. package/build/src/rules/eslint/patterns/no-implicit-boolean.d.ts +6 -0
  127. package/build/src/rules/eslint/patterns/no-implicit-boolean.d.ts.map +1 -0
  128. package/build/src/rules/eslint/patterns/no-implicit-boolean.js +62 -0
  129. package/build/src/rules/eslint/patterns/no-implicit-boolean.js.map +1 -0
  130. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.d.ts +6 -0
  131. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.d.ts.map +1 -0
  132. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.js +32 -0
  133. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.js.map +1 -0
  134. package/build/src/rules/eslint/patterns/switch-case-blocks.d.ts.map +1 -0
  135. package/build/src/rules/eslint/{switch-case-blocks.js → patterns/switch-case-blocks.js} +2 -2
  136. package/build/src/rules/eslint/patterns/switch-case-blocks.js.map +1 -0
  137. package/build/src/rules/eslint/regex/no-regex-literal-flags.d.ts.map +1 -0
  138. package/build/src/rules/eslint/regex/no-regex-literal-flags.js.map +1 -0
  139. package/build/src/rules/eslint/{no-regex-literals.d.ts → regex/no-regex-literals.d.ts} +1 -1
  140. package/build/src/rules/eslint/regex/no-regex-literals.d.ts.map +1 -0
  141. package/build/src/rules/eslint/{no-regex-literals.js → regex/no-regex-literals.js} +4 -4
  142. package/build/src/rules/eslint/regex/no-regex-literals.js.map +1 -0
  143. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.d.ts +6 -0
  144. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.d.ts.map +1 -0
  145. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.js +38 -0
  146. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.js.map +1 -0
  147. package/build/src/rules/eslint/typescript/no-inline-type-annotation.d.ts +6 -0
  148. package/build/src/rules/eslint/typescript/no-inline-type-annotation.d.ts.map +1 -0
  149. package/build/src/rules/eslint/typescript/no-inline-type-annotation.js +36 -0
  150. package/build/src/rules/eslint/typescript/no-inline-type-annotation.js.map +1 -0
  151. package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts +9 -0
  152. package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts.map +1 -0
  153. package/build/src/rules/eslint/typescript/no-shared-type-import.js +57 -0
  154. package/build/src/rules/eslint/typescript/no-shared-type-import.js.map +1 -0
  155. package/build/src/tests/cli/recipe/package-json/cleanup.test.d.ts +2 -0
  156. package/build/src/tests/cli/recipe/package-json/cleanup.test.d.ts.map +1 -0
  157. package/build/src/tests/cli/recipe/package-json/cleanup.test.js +240 -0
  158. package/build/src/tests/cli/recipe/package-json/cleanup.test.js.map +1 -0
  159. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.d.ts +2 -0
  160. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.d.ts.map +1 -0
  161. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.js +161 -0
  162. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.js.map +1 -0
  163. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.d.ts +2 -0
  164. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.d.ts.map +1 -0
  165. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.js +161 -0
  166. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.js.map +1 -0
  167. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.d.ts +2 -0
  168. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.d.ts.map +1 -0
  169. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.js +175 -0
  170. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.js.map +1 -0
  171. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.d.ts +2 -0
  172. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.d.ts.map +1 -0
  173. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.js +164 -0
  174. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.js.map +1 -0
  175. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.d.ts +2 -0
  176. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.d.ts.map +1 -0
  177. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.js +193 -0
  178. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.js.map +1 -0
  179. package/build/src/tests/cli/recipe/package-json/sync-environment.test.d.ts +2 -0
  180. package/build/src/tests/cli/recipe/package-json/sync-environment.test.d.ts.map +1 -0
  181. package/build/src/tests/cli/recipe/package-json/sync-environment.test.js +158 -0
  182. package/build/src/tests/cli/recipe/package-json/sync-environment.test.js.map +1 -0
  183. package/build/src/tests/cli/recipe/package-json/sync-identity.test.d.ts +2 -0
  184. package/build/src/tests/cli/recipe/package-json/sync-identity.test.d.ts.map +1 -0
  185. package/build/src/tests/cli/recipe/package-json/sync-identity.test.js +156 -0
  186. package/build/src/tests/cli/recipe/package-json/sync-identity.test.js.map +1 -0
  187. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.d.ts +2 -0
  188. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.d.ts.map +1 -0
  189. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.js +164 -0
  190. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.js.map +1 -0
  191. package/build/src/tests/cli/utility/changelog.test.d.ts +2 -0
  192. package/build/src/tests/cli/utility/changelog.test.d.ts.map +1 -0
  193. package/build/src/tests/cli/utility/changelog.test.js +274 -0
  194. package/build/src/tests/cli/utility/changelog.test.js.map +1 -0
  195. package/build/src/tests/cli/utility/initialize.test.d.ts +2 -0
  196. package/build/src/tests/cli/utility/initialize.test.d.ts.map +1 -0
  197. package/build/src/tests/cli/utility/initialize.test.js +27 -0
  198. package/build/src/tests/cli/utility/initialize.test.js.map +1 -0
  199. package/build/src/tests/cli/utility/run-recipes.test.d.ts +2 -0
  200. package/build/src/tests/cli/utility/run-recipes.test.d.ts.map +1 -0
  201. package/build/src/tests/cli/utility/run-recipes.test.js +41 -0
  202. package/build/src/tests/cli/utility/run-recipes.test.js.map +1 -0
  203. package/build/src/tests/cli/utility/run-scripts.test.d.ts +2 -0
  204. package/build/src/tests/cli/utility/run-scripts.test.d.ts.map +1 -0
  205. package/build/src/tests/cli/utility/run-scripts.test.js +153 -0
  206. package/build/src/tests/cli/utility/run-scripts.test.js.map +1 -0
  207. package/build/src/tests/cli/utility/transpile.test.d.ts +2 -0
  208. package/build/src/tests/cli/utility/transpile.test.d.ts.map +1 -0
  209. package/build/src/tests/cli/utility/transpile.test.js +65 -0
  210. package/build/src/tests/cli/utility/transpile.test.js.map +1 -0
  211. package/build/src/tests/cli/utility/type-check.test.d.ts +2 -0
  212. package/build/src/tests/cli/utility/type-check.test.d.ts.map +1 -0
  213. package/build/src/tests/cli/utility/type-check.test.js +63 -0
  214. package/build/src/tests/cli/utility/type-check.test.js.map +1 -0
  215. package/build/src/tests/cli/utility/version.test.d.ts +2 -0
  216. package/build/src/tests/cli/utility/version.test.d.ts.map +1 -0
  217. package/build/src/tests/cli/utility/version.test.js +38 -0
  218. package/build/src/tests/cli/utility/version.test.js.map +1 -0
  219. package/build/src/tests/lib/item.test.js +8 -8
  220. package/build/src/tests/lib/item.test.js.map +1 -1
  221. package/build/src/tests/lib/nova-config.test.js +53 -26
  222. package/build/src/tests/lib/nova-config.test.js.map +1 -1
  223. package/build/src/tests/rules/eslint/formatting/no-raw-text-in-code.test.d.ts.map +1 -0
  224. package/build/src/tests/rules/eslint/{no-raw-text-in-code.test.js → formatting/no-raw-text-in-code.test.js} +1 -1
  225. package/build/src/tests/rules/eslint/formatting/no-raw-text-in-code.test.js.map +1 -0
  226. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.d.ts +2 -0
  227. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.d.ts.map +1 -0
  228. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.js +131 -0
  229. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.js.map +1 -0
  230. package/build/src/tests/rules/eslint/nova/no-logger-dev.test.d.ts.map +1 -0
  231. package/build/src/tests/rules/eslint/{no-logger-dev.test.js → nova/no-logger-dev.test.js} +1 -1
  232. package/build/src/tests/rules/eslint/nova/no-logger-dev.test.js.map +1 -0
  233. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.d.ts +2 -0
  234. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.d.ts.map +1 -0
  235. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.js +39 -0
  236. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.js.map +1 -0
  237. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.d.ts +2 -0
  238. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.d.ts.map +1 -0
  239. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.js +40 -0
  240. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.js.map +1 -0
  241. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.d.ts +2 -0
  242. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.d.ts.map +1 -0
  243. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.js +86 -0
  244. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.js.map +1 -0
  245. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.d.ts +2 -0
  246. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.d.ts.map +1 -0
  247. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.js +76 -0
  248. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.js.map +1 -0
  249. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.d.ts +2 -0
  250. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.d.ts.map +1 -0
  251. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.js +42 -0
  252. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.js.map +1 -0
  253. package/build/src/tests/rules/eslint/patterns/switch-case-blocks.test.d.ts.map +1 -0
  254. package/build/src/tests/rules/eslint/{switch-case-blocks.test.js → patterns/switch-case-blocks.test.js} +1 -1
  255. package/build/src/tests/rules/eslint/patterns/switch-case-blocks.test.js.map +1 -0
  256. package/build/src/tests/rules/eslint/regex/no-regex-literal-flags.test.d.ts.map +1 -0
  257. package/build/src/tests/rules/eslint/{no-regex-literal-flags.test.js → regex/no-regex-literal-flags.test.js} +1 -1
  258. package/build/src/tests/rules/eslint/regex/no-regex-literal-flags.test.js.map +1 -0
  259. package/build/src/tests/rules/eslint/regex/no-regex-literals.test.d.ts.map +1 -0
  260. package/build/src/tests/rules/eslint/{no-regex-literals.test.js → regex/no-regex-literals.test.js} +1 -1
  261. package/build/src/tests/rules/eslint/regex/no-regex-literals.test.js.map +1 -0
  262. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.d.ts +2 -0
  263. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.d.ts.map +1 -0
  264. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.js +34 -0
  265. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.js.map +1 -0
  266. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.d.ts +2 -0
  267. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.d.ts.map +1 -0
  268. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.js +55 -0
  269. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.js.map +1 -0
  270. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.d.ts +2 -0
  271. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.d.ts.map +1 -0
  272. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.js +51 -0
  273. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.js.map +1 -0
  274. package/build/src/toolkit/cli-header.d.ts +1 -1
  275. package/build/src/toolkit/cli-header.js +1 -1
  276. package/build/src/toolkit/logger.d.ts +1 -1
  277. package/build/src/toolkit/markdown-table.d.ts +1 -1
  278. package/package.json +9 -13
  279. package/build/eslint.config.d.ts +0 -34
  280. package/build/eslint.config.d.ts.map +0 -1
  281. package/build/eslint.config.js +0 -40
  282. package/build/eslint.config.js.map +0 -1
  283. package/build/src/cli/recipe/pin-versions.d.ts +0 -7
  284. package/build/src/cli/recipe/pin-versions.d.ts.map +0 -1
  285. package/build/src/cli/recipe/pin-versions.js +0 -145
  286. package/build/src/cli/recipe/pin-versions.js.map +0 -1
  287. package/build/src/cli/recipe/sync-lts-engines.d.ts +0 -6
  288. package/build/src/cli/recipe/sync-lts-engines.d.ts.map +0 -1
  289. package/build/src/cli/recipe/sync-lts-engines.js +0 -118
  290. package/build/src/cli/recipe/sync-lts-engines.js.map +0 -1
  291. package/build/src/cli/recipe/sync-packages.d.ts +0 -18
  292. package/build/src/cli/recipe/sync-packages.d.ts.map +0 -1
  293. package/build/src/cli/recipe/sync-packages.js +0 -1212
  294. package/build/src/cli/recipe/sync-packages.js.map +0 -1
  295. package/build/src/rules/eslint/no-logger-dev.d.ts.map +0 -1
  296. package/build/src/rules/eslint/no-logger-dev.js.map +0 -1
  297. package/build/src/rules/eslint/no-raw-text-in-code.d.ts.map +0 -1
  298. package/build/src/rules/eslint/no-raw-text-in-code.js.map +0 -1
  299. package/build/src/rules/eslint/no-regex-literal-flags.d.ts.map +0 -1
  300. package/build/src/rules/eslint/no-regex-literal-flags.js.map +0 -1
  301. package/build/src/rules/eslint/no-regex-literals.d.ts.map +0 -1
  302. package/build/src/rules/eslint/no-regex-literals.js.map +0 -1
  303. package/build/src/rules/eslint/switch-case-blocks.d.ts.map +0 -1
  304. package/build/src/rules/eslint/switch-case-blocks.js.map +0 -1
  305. package/build/src/tests/cli/recipe/pin-versions.test.d.ts +0 -2
  306. package/build/src/tests/cli/recipe/pin-versions.test.d.ts.map +0 -1
  307. package/build/src/tests/cli/recipe/pin-versions.test.js +0 -197
  308. package/build/src/tests/cli/recipe/pin-versions.test.js.map +0 -1
  309. package/build/src/tests/cli/recipe/sync-lts-engines.test.d.ts +0 -2
  310. package/build/src/tests/cli/recipe/sync-lts-engines.test.d.ts.map +0 -1
  311. package/build/src/tests/cli/recipe/sync-lts-engines.test.js +0 -131
  312. package/build/src/tests/cli/recipe/sync-lts-engines.test.js.map +0 -1
  313. package/build/src/tests/rules/eslint/no-logger-dev.test.d.ts.map +0 -1
  314. package/build/src/tests/rules/eslint/no-logger-dev.test.js.map +0 -1
  315. package/build/src/tests/rules/eslint/no-raw-text-in-code.test.d.ts.map +0 -1
  316. package/build/src/tests/rules/eslint/no-raw-text-in-code.test.js.map +0 -1
  317. package/build/src/tests/rules/eslint/no-regex-literal-flags.test.d.ts.map +0 -1
  318. package/build/src/tests/rules/eslint/no-regex-literal-flags.test.js.map +0 -1
  319. package/build/src/tests/rules/eslint/no-regex-literals.test.d.ts.map +0 -1
  320. package/build/src/tests/rules/eslint/no-regex-literals.test.js.map +0 -1
  321. package/build/src/tests/rules/eslint/switch-case-blocks.test.d.ts.map +0 -1
  322. package/build/src/tests/rules/eslint/switch-case-blocks.test.js.map +0 -1
  323. /package/build/src/rules/eslint/{no-raw-text-in-code.d.ts → formatting/no-raw-text-in-code.d.ts} +0 -0
  324. /package/build/src/rules/eslint/{no-logger-dev.d.ts → nova/no-logger-dev.d.ts} +0 -0
  325. /package/build/src/rules/eslint/{switch-case-blocks.d.ts → patterns/switch-case-blocks.d.ts} +0 -0
  326. /package/build/src/rules/eslint/{no-regex-literal-flags.d.ts → regex/no-regex-literal-flags.d.ts} +0 -0
  327. /package/build/src/rules/eslint/{no-regex-literal-flags.js → regex/no-regex-literal-flags.js} +0 -0
  328. /package/build/src/tests/rules/eslint/{no-raw-text-in-code.test.d.ts → formatting/no-raw-text-in-code.test.d.ts} +0 -0
  329. /package/build/src/tests/rules/eslint/{no-logger-dev.test.d.ts → nova/no-logger-dev.test.d.ts} +0 -0
  330. /package/build/src/tests/rules/eslint/{switch-case-blocks.test.d.ts → patterns/switch-case-blocks.test.d.ts} +0 -0
  331. /package/build/src/tests/rules/eslint/{no-regex-literal-flags.test.d.ts → regex/no-regex-literal-flags.test.d.ts} +0 -0
  332. /package/build/src/tests/rules/eslint/{no-regex-literals.test.d.ts → regex/no-regex-literals.test.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbnventures/nova",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "description": "Scripts, templates, and project configuration for the common JavaScript and TypeScript developer",
5
5
  "keywords": [
6
6
  "eslint",
@@ -74,21 +74,19 @@
74
74
  },
75
75
  "private": false,
76
76
  "scripts": {
77
- "dev": "npm-run-all --parallel dev:*",
77
+ "dev": "node ../../scripts/run-scripts.mjs --parallel 'dev:*'",
78
78
  "dev:watch": "tsc --project tsconfig.json --watch",
79
- "dev:fix-alias": "tsc-alias -p tsconfig.json -w",
80
- "build": "npm-run-all --sequential build:*",
81
- "build:clean": "npm run clean",
82
- "build:build": "tsc --project tsconfig.json --outDir ./build",
83
- "build:fix-alias": "tsc-alias -p tsconfig.json",
79
+ "build": "node ../../scripts/run-scripts.mjs --sequential 'build:*'",
80
+ "build:transpile": "tsc --project tsconfig.json --outDir ./build --skipLibCheck",
81
+ "build:fix-aliases": "node ../../scripts/fix-aliases.mjs",
84
82
  "build:fix-perms": "shx chmod +x ./build/src/cli/index.js",
85
83
  "build:copy-tsconfig": "shx cp -r \"./src/presets/tsconfig\" \"./build/src/presets/tsconfig\"",
86
- "check": "npm-run-all --sequential check:*",
84
+ "check": "node ../../scripts/run-scripts.mjs --sequential 'check:*'",
87
85
  "check:lint": "eslint ./ --max-warnings=0",
88
- "check:types": "nova utility type-check",
86
+ "check:types": "tsc --noEmit --skipLibCheck",
89
87
  "check:test": "node --test ./build/src/tests/**/*.test.js",
90
- "clean": "npm-run-all --parallel clean:*",
91
- "clean:clear": "shx rm -rf ./build"
88
+ "clean": "node ../../scripts/run-scripts.mjs --parallel 'clean:*'",
89
+ "clean:build": "shx rm -rf ./build"
92
90
  },
93
91
  "engines": {
94
92
  "node": "^20 || ^22 || ^24"
@@ -118,9 +116,7 @@
118
116
  "@typescript-eslint/rule-tester": "8.56.1",
119
117
  "eslint": "9.39.3",
120
118
  "eslint-import-resolver-typescript": "4.4.4",
121
- "npm-run-all": "4.1.5",
122
119
  "shx": "0.4.0",
123
- "tsc-alias": "1.8.16",
124
120
  "typescript": "5.9.3"
125
121
  },
126
122
  "peerDependencies": {
@@ -1,34 +0,0 @@
1
- declare const _default: (import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig> | {
2
- name: string;
3
- files: string[];
4
- plugins: {
5
- '@cbnventures/nova': {
6
- rules: {
7
- 'no-logger-dev': import("@typescript-eslint/utils/ts-eslint").RuleModule<"removeDev", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
8
- name: string;
9
- };
10
- 'no-regex-literal-flags': import("@typescript-eslint/utils/ts-eslint").RuleModule<"noRegexFlags", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
11
- name: string;
12
- };
13
- 'no-regex-literals': import("@typescript-eslint/utils/ts-eslint").RuleModule<"noRegexLiteral", [{
14
- allowedFiles: import("./src/types/rules/eslint/no-regex-literals.js").NoRegexLiteralsDefaultOptionsAllowedFiles;
15
- }], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
16
- name: string;
17
- };
18
- 'switch-case-blocks': import("@typescript-eslint/utils/ts-eslint").RuleModule<"requireBlock", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
19
- name: string;
20
- };
21
- };
22
- };
23
- };
24
- rules: {
25
- '@cbnventures/nova/no-logger-dev': string[];
26
- '@cbnventures/nova/no-regex-literal-flags': string[];
27
- '@cbnventures/nova/no-regex-literals': (string | {
28
- allowedFiles: string[];
29
- })[];
30
- '@cbnventures/nova/switch-case-blocks': string[];
31
- };
32
- })[];
33
- export default _default;
34
- //# sourceMappingURL=eslint.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.d.ts","sourceRoot":"","sources":["../eslint.config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,wBA2CE"}
@@ -1,40 +0,0 @@
1
- import { dxCodeStyle, dxIgnore, envNode, langTypescript, } from './src/presets/eslint/index.mjs';
2
- import { noLoggerDev, noRegexLiteralFlags, noRegexLiterals, switchCaseBlocks, } from './src/rules/eslint/index.js';
3
- export default [
4
- ...dxIgnore,
5
- ...dxCodeStyle,
6
- ...langTypescript,
7
- ...envNode,
8
- {
9
- name: 'custom-rules',
10
- files: [
11
- '**/*.js',
12
- '**/*.ts',
13
- '**/*.jsx',
14
- '**/*.tsx',
15
- '**/*.cjs',
16
- '**/*.cts',
17
- '**/*.mjs',
18
- '**/*.mts',
19
- ],
20
- plugins: {
21
- '@cbnventures/nova': {
22
- rules: {
23
- 'no-logger-dev': noLoggerDev,
24
- 'no-regex-literal-flags': noRegexLiteralFlags,
25
- 'no-regex-literals': noRegexLiterals,
26
- 'switch-case-blocks': switchCaseBlocks,
27
- },
28
- },
29
- },
30
- rules: {
31
- '@cbnventures/nova/no-logger-dev': ['warn'],
32
- '@cbnventures/nova/no-regex-literal-flags': ['error'],
33
- '@cbnventures/nova/no-regex-literals': ['error', {
34
- allowedFiles: ['regex.ts'],
35
- }],
36
- '@cbnventures/nova/switch-case-blocks': ['error'],
37
- },
38
- },
39
- ];
40
- //# sourceMappingURL=eslint.config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"eslint.config.js","sourceRoot":"","sources":["../eslint.config.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,OAAO,EACP,cAAc,GACf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,eAAe,EACf,gBAAgB,GACjB,MAAM,6BAA6B,CAAC;AAErC,eAAe;IACb,GAAG,QAAQ;IACX,GAAG,WAAW;IACd,GAAG,cAAc;IACjB,GAAG,OAAO;IACV;QACE,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE;YACL,SAAS;YACT,SAAS;YACT,UAAU;YACV,UAAU;YACV,UAAU;YACV,UAAU;YACV,UAAU;YACV,UAAU;SACX;QACD,OAAO,EAAE;YACP,mBAAmB,EAAE;gBACnB,KAAK,EAAE;oBACL,eAAe,EAAE,WAAW;oBAC5B,wBAAwB,EAAE,mBAAmB;oBAC7C,mBAAmB,EAAE,eAAe;oBACpC,oBAAoB,EAAE,gBAAgB;iBACvC;aACF;SACF;QACD,KAAK,EAAE;YAEL,iCAAiC,EAAE,CAAC,MAAM,CAAC;YAG3C,0CAA0C,EAAE,CAAC,OAAO,CAAC;YAGrD,qCAAqC,EAAE,CAAC,OAAO,EAAE;oBAC/C,YAAY,EAAE,CAAC,UAAU,CAAC;iBAC3B,CAAC;YAGF,sCAAsC,EAAE,CAAC,OAAO,CAAC;SAClD;KACF;CACF,CAAC"}
@@ -1,7 +0,0 @@
1
- import type { CLIRecipePinVersionsRunOptions, CLIRecipePinVersionsRunReturns } from '@/types/cli/recipe/pin-versions.d.ts';
2
- export declare class CLIRecipePinVersions {
3
- static run(options: CLIRecipePinVersionsRunOptions): CLIRecipePinVersionsRunReturns;
4
- private static pinDependencies;
5
- private static stripPrefix;
6
- }
7
- //# sourceMappingURL=pin-versions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pin-versions.d.ts","sourceRoot":"","sources":["../../../../src/cli/recipe/pin-versions.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAGV,8BAA8B,EAC9B,8BAA8B,EAG/B,MAAM,sCAAsC,CAAC;AAO9C,qBAAa,oBAAoB;WAUX,GAAG,CAAC,OAAO,EAAE,8BAA8B,GAAG,8BAA8B;IAmHhG,OAAO,CAAC,MAAM,CAAC,eAAe;IA8E9B,OAAO,CAAC,MAAM,CAAC,WAAW;CAqB3B"}
@@ -1,145 +0,0 @@
1
- import chalk from 'chalk';
2
- import { NovaConfig } from '../../lib/nova-config.js';
3
- import { PATTERN_RANGE_CAPTURE_REMAINDER } from '../../lib/regex.js';
4
- import { isPlainObject, isProjectRoot, loadWorkspaceManifests, saveWorkspaceManifest, } from '../../lib/utility.js';
5
- import { Logger } from '../../toolkit/index.js';
6
- export class CLIRecipePinVersions {
7
- static async run(options) {
8
- const currentDirectory = process.cwd();
9
- const isAtProjectRoot = await isProjectRoot(currentDirectory);
10
- if (isAtProjectRoot !== true) {
11
- process.exitCode = 1;
12
- return;
13
- }
14
- const isDryRun = options.dryRun === true;
15
- const isReplaceFile = options.replaceFile === true;
16
- if (isDryRun === true) {
17
- Logger.customize({
18
- name: 'CLIRecipePinVersions.run',
19
- purpose: 'options',
20
- }).warn('Dry run enabled. File changes will not be made in this session.');
21
- }
22
- if (isReplaceFile === true) {
23
- const replaceFileNotice = (isDryRun) ? 'This option has no effect during a dry run session.' : 'Backup file will not be created.';
24
- Logger.customize({
25
- name: 'CLIRecipePinVersions.run',
26
- purpose: 'options',
27
- }).warn(`Replace file enabled. ${replaceFileNotice}`);
28
- }
29
- const novaConfig = new NovaConfig();
30
- const workingFile = await novaConfig.load();
31
- const workingFileWorkspaces = Object.entries(workingFile.workspaces ?? {});
32
- if (workingFileWorkspaces.length === 0) {
33
- Logger.customize({
34
- name: 'CLIRecipePinVersions.run',
35
- purpose: 'workspaces',
36
- }).warn('Skipping version pinning. No workspaces detected in the "nova.config.json" file.');
37
- return;
38
- }
39
- const eligibleWorkspaces = workingFileWorkspaces.filter((workspace) => {
40
- const workspaceConfig = workspace[1];
41
- return workspaceConfig.pinVersions === true;
42
- });
43
- if (eligibleWorkspaces.length === 0) {
44
- Logger.customize({
45
- name: 'CLIRecipePinVersions.run',
46
- purpose: 'workspaces',
47
- }).warn('Skipping version pinning. No workspaces have "pinVersions" enabled in the "nova.config.json" file.');
48
- return;
49
- }
50
- const workspaces = await loadWorkspaceManifests({
51
- projectRoot: currentDirectory,
52
- workspaces: eligibleWorkspaces,
53
- });
54
- if (workspaces.length === 0) {
55
- Logger.customize({
56
- name: 'CLIRecipePinVersions.run',
57
- purpose: 'workspaces',
58
- }).warn('Skipping version pinning. No accessible "package.json" files were found for the configured workspaces.');
59
- return;
60
- }
61
- Logger.customize({
62
- name: 'CLIRecipePinVersions.run',
63
- purpose: 'summary',
64
- }).info(`Prepared ${workspaces.length} workspace "package.json" file(s) for version pinning.`);
65
- let hasUnpinnable = false;
66
- for (const workspace of workspaces) {
67
- Logger.customize({
68
- name: 'CLIRecipePinVersions.run',
69
- purpose: 'iteration',
70
- }).info(`Pinning versions for the "${workspace.manifest.name}" workspace ...`);
71
- const count = CLIRecipePinVersions.pinDependencies(workspace);
72
- if (count < 0) {
73
- hasUnpinnable = true;
74
- }
75
- if (isDryRun === true) {
76
- continue;
77
- }
78
- await saveWorkspaceManifest(workspace, isReplaceFile);
79
- }
80
- if (hasUnpinnable === true) {
81
- process.exitCode = 1;
82
- }
83
- }
84
- static pinDependencies(workspace) {
85
- const depGroups = [
86
- 'dependencies',
87
- 'devDependencies',
88
- ];
89
- let pinned = 0;
90
- let unpinnable = 0;
91
- for (const depGroup of depGroups) {
92
- const deps = workspace.fileContents[depGroup];
93
- if (!isPlainObject(deps)) {
94
- continue;
95
- }
96
- for (const [depName, depVersion] of Object.entries(deps)) {
97
- if (typeof depVersion !== 'string') {
98
- continue;
99
- }
100
- const stripped = CLIRecipePinVersions.stripPrefix(depVersion);
101
- if (stripped === undefined) {
102
- Logger.customize({
103
- name: 'CLIRecipePinVersions.pinDependencies',
104
- purpose: depGroup,
105
- }).error(`${chalk.magenta(`"${workspace.manifest.name}" workspace`)} → "${depName}" has unpinnable version "${depVersion}".`);
106
- unpinnable += 1;
107
- continue;
108
- }
109
- if (stripped === depVersion) {
110
- continue;
111
- }
112
- Reflect.set(deps, depName, stripped);
113
- Logger.customize({
114
- name: 'CLIRecipePinVersions.pinDependencies',
115
- purpose: depGroup,
116
- }).info(`${chalk.magenta(`"${workspace.manifest.name}" workspace`)} → Pinned "${depName}" from "${depVersion}" to "${stripped}".`);
117
- pinned += 1;
118
- }
119
- }
120
- if (pinned === 0 && unpinnable === 0) {
121
- Logger.customize({
122
- name: 'CLIRecipePinVersions.pinDependencies',
123
- purpose: 'summary',
124
- }).info(`${chalk.magenta(`"${workspace.manifest.name}" workspace`)} → All versions are already pinned.`);
125
- }
126
- if (unpinnable > 0) {
127
- return -unpinnable;
128
- }
129
- return pinned;
130
- }
131
- static stripPrefix(version) {
132
- if (version.startsWith('file:')) {
133
- return version;
134
- }
135
- if (version === '*' || version === 'latest') {
136
- return undefined;
137
- }
138
- const match = version.match(PATTERN_RANGE_CAPTURE_REMAINDER);
139
- if (match !== null && match[1] !== undefined) {
140
- return match[1];
141
- }
142
- return version;
143
- }
144
- }
145
- //# sourceMappingURL=pin-versions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"pin-versions.js","sourceRoot":"","sources":["../../../../src/cli/recipe/pin-versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EACL,aAAa,EACb,aAAa,EACb,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAgB5C,MAAM,OAAO,oBAAoB;IAUxB,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,OAAuC;QAC7D,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;QACvC,MAAM,eAAe,GAAG,MAAM,aAAa,CA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CAAC;YAC7C,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QAGD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF"}
@@ -1,6 +0,0 @@
1
- import type { CLIRecipeSyncLtsEnginesRunOptions, CLIRecipeSyncLtsEnginesRunReturns } from '@/types/cli/recipe/sync-lts-engines.d.ts';
2
- export declare class CLIRecipeSyncLtsEngines {
3
- static run(options: CLIRecipeSyncLtsEnginesRunOptions): CLIRecipeSyncLtsEnginesRunReturns;
4
- private static syncNodeConstraint;
5
- }
6
- //# sourceMappingURL=sync-lts-engines.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync-lts-engines.d.ts","sourceRoot":"","sources":["../../../../src/cli/recipe/sync-lts-engines.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,iCAAiC,EACjC,iCAAiC,EAIlC,MAAM,0CAA0C,CAAC;AAOlD,qBAAa,uBAAuB;WAUd,GAAG,CAAC,OAAO,EAAE,iCAAiC,GAAG,iCAAiC;IAsHtG,OAAO,CAAC,MAAM,CAAC,kBAAkB;CA+ClC"}
@@ -1,118 +0,0 @@
1
- import chalk from 'chalk';
2
- import { NodeReleases } from '../../api/node-releases.js';
3
- import { NovaConfig } from '../../lib/nova-config.js';
4
- import { isPlainObject, isProjectRoot, loadWorkspaceManifests, saveWorkspaceManifest, } from '../../lib/utility.js';
5
- import { Logger } from '../../toolkit/index.js';
6
- export class CLIRecipeSyncLtsEngines {
7
- static async run(options) {
8
- const currentDirectory = process.cwd();
9
- const isAtProjectRoot = await isProjectRoot(currentDirectory);
10
- if (isAtProjectRoot !== true) {
11
- process.exitCode = 1;
12
- return;
13
- }
14
- const isDryRun = options.dryRun === true;
15
- const isReplaceFile = options.replaceFile === true;
16
- if (isDryRun === true) {
17
- Logger.customize({
18
- name: 'CLIRecipeSyncLtsEngines.run',
19
- purpose: 'options',
20
- }).warn('Dry run enabled. File changes will not be made in this session.');
21
- }
22
- if (isReplaceFile === true) {
23
- const replaceFileNotice = (isDryRun) ? 'This option has no effect during a dry run session.' : 'Backup file will not be created.';
24
- Logger.customize({
25
- name: 'CLIRecipeSyncLtsEngines.run',
26
- purpose: 'options',
27
- }).warn(`Replace file enabled. ${replaceFileNotice}`);
28
- }
29
- const novaConfig = new NovaConfig();
30
- const workingFile = await novaConfig.load();
31
- const workingFileWorkspaces = Object.entries(workingFile.workspaces ?? {});
32
- if (workingFileWorkspaces.length === 0) {
33
- Logger.customize({
34
- name: 'CLIRecipeSyncLtsEngines.run',
35
- purpose: 'workspaces',
36
- }).warn('Skipping LTS engine sync. No workspaces detected in the "nova.config.json" file.');
37
- return;
38
- }
39
- const eligibleWorkspaces = workingFileWorkspaces.filter((workspace) => {
40
- const workspaceConfig = workspace[1];
41
- return workspaceConfig.syncLtsEngines === true;
42
- });
43
- if (eligibleWorkspaces.length === 0) {
44
- Logger.customize({
45
- name: 'CLIRecipeSyncLtsEngines.run',
46
- purpose: 'workspaces',
47
- }).warn('Skipping LTS engine sync. No workspaces have "syncLtsEngines" enabled in the "nova.config.json" file.');
48
- return;
49
- }
50
- const constraint = await NodeReleases.fetchLtsVersions();
51
- if (constraint === undefined) {
52
- Logger.customize({
53
- name: 'CLIRecipeSyncLtsEngines.run',
54
- purpose: 'constraint',
55
- }).warn('Skipping LTS engine sync. Unable to determine active Node.js LTS versions.');
56
- return;
57
- }
58
- const workspaces = await loadWorkspaceManifests({
59
- projectRoot: currentDirectory,
60
- workspaces: eligibleWorkspaces,
61
- });
62
- if (workspaces.length === 0) {
63
- Logger.customize({
64
- name: 'CLIRecipeSyncLtsEngines.run',
65
- purpose: 'workspaces',
66
- }).warn('Skipping LTS engine sync. No accessible "package.json" files were found for the configured workspaces.');
67
- return;
68
- }
69
- Logger.customize({
70
- name: 'CLIRecipeSyncLtsEngines.run',
71
- purpose: 'summary',
72
- }).info(`Prepared ${workspaces.length} workspace "package.json" file(s) for LTS engine sync.`);
73
- for (const workspace of workspaces) {
74
- Logger.customize({
75
- name: 'CLIRecipeSyncLtsEngines.run',
76
- purpose: 'iteration',
77
- }).info(`Syncing LTS engine constraint for the "${workspace.manifest.name}" workspace ...`);
78
- CLIRecipeSyncLtsEngines.syncNodeConstraint(workspace, constraint);
79
- if (isDryRun === true) {
80
- continue;
81
- }
82
- await saveWorkspaceManifest(workspace, isReplaceFile);
83
- }
84
- }
85
- static syncNodeConstraint(workspace, constraint) {
86
- const engines = workspace.fileContents['engines'];
87
- if (engines === undefined) {
88
- Reflect.set(workspace.fileContents, 'engines', { node: constraint });
89
- Logger.customize({
90
- name: 'CLIRecipeSyncLtsEngines.syncNodeConstraint',
91
- purpose: 'engines',
92
- }).info(`${chalk.magenta(`"${workspace.manifest.name}" workspace`)} → Created "engines.node" with "${constraint}".`);
93
- return;
94
- }
95
- if (!isPlainObject(engines)) {
96
- Logger.customize({
97
- name: 'CLIRecipeSyncLtsEngines.syncNodeConstraint',
98
- purpose: 'engines',
99
- }).warn(`${chalk.magenta(`"${workspace.manifest.name}" workspace`)} → "engines" is not a plain object. Skipping.`);
100
- return;
101
- }
102
- const currentNode = engines['node'];
103
- if (currentNode === constraint) {
104
- Logger.customize({
105
- name: 'CLIRecipeSyncLtsEngines.syncNodeConstraint',
106
- purpose: 'engines',
107
- }).info(`${chalk.magenta(`"${workspace.manifest.name}" workspace`)} → "engines.node" is already up to date.`);
108
- return;
109
- }
110
- Reflect.set(engines, 'node', constraint);
111
- const previous = (typeof currentNode === 'string') ? currentNode : String(currentNode ?? 'undefined');
112
- Logger.customize({
113
- name: 'CLIRecipeSyncLtsEngines.syncNodeConstraint',
114
- purpose: 'engines',
115
- }).info(`${chalk.magenta(`"${workspace.manifest.name}" workspace`)} → Updated "engines.node" from "${previous}" to "${constraint}".`);
116
- }
117
- }
118
- //# sourceMappingURL=sync-lts-engines.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync-lts-engines.js","sourceRoot":"","sources":["../../../../src/cli/recipe/sync-lts-engines.ts"],"names":[],"mappings":"AAAA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';
2
- export declare class CLIRecipeSyncPackages {
3
- static run(options: CLIRecipeSyncPackagesRunOptions): CLIRecipeSyncPackagesRunReturns;
4
- private static handleIdentity;
5
- private static handleArtifacts;
6
- private static handlePublish;
7
- private static handleTooling;
8
- private static handleEnvironment;
9
- private static handleDependencies;
10
- private static handleUnknown;
11
- private static handleOwnership;
12
- private static handleRuntime;
13
- private static handleCorepack;
14
- private static handleBundler;
15
- private static handleReorder;
16
- private static isEmpty;
17
- }
18
- //# sourceMappingURL=sync-packages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync-packages.d.ts","sourceRoot":"","sources":["../../../../src/cli/recipe/sync-packages.ts"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAiCV,+BAA+B,EAC/B,+BAA+B,EAChC,MAAM,uCAAuC,CAAC;AAO/C,qBAAa,qBAAqB;WAUZ,GAAG,CAAC,OAAO,EAAE,+BAA+B,GAAG,+BAA+B;mBAiH7E,cAAc;mBAuMd,eAAe;mBAqJf,aAAa;mBAkEb,aAAa;mBAyGb,iBAAiB;mBAkLjB,kBAAkB;IAuKvC,OAAO,CAAC,MAAM,CAAC,aAAa;IAgD5B,OAAO,CAAC,MAAM,CAAC,eAAe;IA2X9B,OAAO,CAAC,MAAM,CAAC,aAAa;IA4O5B,OAAO,CAAC,MAAM,CAAC,cAAc;IA8C7B,OAAO,CAAC,MAAM,CAAC,aAAa;IAkG5B,OAAO,CAAC,MAAM,CAAC,aAAa;IAsD5B,OAAO,CAAC,MAAM,CAAC,OAAO;CAmBvB"}