@cbnventures/nova 0.14.0 → 0.15.1

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 (969) hide show
  1. package/README.md +48 -0
  2. package/bin/nova.mjs +16 -0
  3. package/build/package.json +33 -23
  4. package/build/src/api/node-releases.d.ts +4 -4
  5. package/build/src/api/node-releases.d.ts.map +1 -1
  6. package/build/src/api/node-releases.js +31 -26
  7. package/build/src/api/node-releases.js.map +1 -1
  8. package/build/src/api/spdx-licenses.d.ts +4 -4
  9. package/build/src/api/spdx-licenses.d.ts.map +1 -1
  10. package/build/src/api/spdx-licenses.js +21 -18
  11. package/build/src/api/spdx-licenses.js.map +1 -1
  12. package/build/src/cli/generate/github/funding.d.ts +5 -0
  13. package/build/src/cli/generate/github/funding.d.ts.map +1 -0
  14. package/build/src/cli/generate/github/funding.js +68 -0
  15. package/build/src/cli/generate/github/funding.js.map +1 -0
  16. package/build/src/cli/generate/github/issue-template.d.ts +5 -0
  17. package/build/src/cli/generate/github/issue-template.d.ts.map +1 -0
  18. package/build/src/cli/generate/github/issue-template.js +267 -0
  19. package/build/src/cli/generate/github/issue-template.js.map +1 -0
  20. package/build/src/cli/generate/github/workflows.d.ts +10 -0
  21. package/build/src/cli/generate/github/workflows.d.ts.map +1 -0
  22. package/build/src/cli/generate/github/workflows.js +464 -0
  23. package/build/src/cli/generate/github/workflows.js.map +1 -0
  24. package/build/src/cli/generate/must-haves/agent-conventions.d.ts +5 -0
  25. package/build/src/cli/generate/must-haves/agent-conventions.d.ts.map +1 -0
  26. package/build/src/cli/generate/must-haves/agent-conventions.js +114 -0
  27. package/build/src/cli/generate/must-haves/agent-conventions.js.map +1 -0
  28. package/build/src/cli/generate/must-haves/dotenv.d.ts +12 -0
  29. package/build/src/cli/generate/must-haves/dotenv.d.ts.map +1 -0
  30. package/build/src/cli/generate/must-haves/dotenv.js +490 -0
  31. package/build/src/cli/generate/must-haves/dotenv.js.map +1 -0
  32. package/build/src/cli/generate/must-haves/editorconfig.d.ts +5 -0
  33. package/build/src/cli/generate/must-haves/editorconfig.d.ts.map +1 -0
  34. package/build/src/cli/generate/must-haves/editorconfig.js +37 -0
  35. package/build/src/cli/generate/must-haves/editorconfig.js.map +1 -0
  36. package/build/src/cli/generate/must-haves/gitignore.d.ts +13 -0
  37. package/build/src/cli/generate/must-haves/gitignore.d.ts.map +1 -0
  38. package/build/src/cli/generate/must-haves/gitignore.js +439 -0
  39. package/build/src/cli/generate/must-haves/gitignore.js.map +1 -0
  40. package/build/src/cli/generate/must-haves/license.d.ts +5 -0
  41. package/build/src/cli/generate/must-haves/license.d.ts.map +1 -0
  42. package/build/src/cli/generate/must-haves/license.js +131 -0
  43. package/build/src/cli/generate/must-haves/license.js.map +1 -0
  44. package/build/src/cli/generate/must-haves/read-me.d.ts +8 -0
  45. package/build/src/cli/generate/must-haves/read-me.d.ts.map +1 -0
  46. package/build/src/cli/generate/must-haves/read-me.js +255 -0
  47. package/build/src/cli/generate/must-haves/read-me.js.map +1 -0
  48. package/build/src/cli/index.js +298 -100
  49. package/build/src/cli/index.js.map +1 -1
  50. package/build/src/cli/recipe/index.d.ts +2 -2
  51. package/build/src/cli/recipe/index.d.ts.map +1 -1
  52. package/build/src/cli/recipe/index.js +19 -19
  53. package/build/src/cli/recipe/index.js.map +1 -1
  54. package/build/src/cli/recipe/package-json/cleanup.d.ts +3 -3
  55. package/build/src/cli/recipe/package-json/cleanup.d.ts.map +1 -1
  56. package/build/src/cli/recipe/package-json/cleanup.js +59 -50
  57. package/build/src/cli/recipe/package-json/cleanup.js.map +1 -1
  58. package/build/src/cli/recipe/package-json/normalize-artifacts.d.ts +3 -3
  59. package/build/src/cli/recipe/package-json/normalize-artifacts.d.ts.map +1 -1
  60. package/build/src/cli/recipe/package-json/normalize-artifacts.js +120 -112
  61. package/build/src/cli/recipe/package-json/normalize-artifacts.js.map +1 -1
  62. package/build/src/cli/recipe/package-json/normalize-bundler.d.ts +3 -3
  63. package/build/src/cli/recipe/package-json/normalize-bundler.d.ts.map +1 -1
  64. package/build/src/cli/recipe/package-json/normalize-bundler.js +36 -35
  65. package/build/src/cli/recipe/package-json/normalize-bundler.js.map +1 -1
  66. package/build/src/cli/recipe/package-json/normalize-dependencies.d.ts +3 -3
  67. package/build/src/cli/recipe/package-json/normalize-dependencies.d.ts.map +1 -1
  68. package/build/src/cli/recipe/package-json/normalize-dependencies.js +70 -64
  69. package/build/src/cli/recipe/package-json/normalize-dependencies.js.map +1 -1
  70. package/build/src/cli/recipe/package-json/normalize-modules.d.ts +3 -3
  71. package/build/src/cli/recipe/package-json/normalize-modules.d.ts.map +1 -1
  72. package/build/src/cli/recipe/package-json/normalize-modules.js +156 -142
  73. package/build/src/cli/recipe/package-json/normalize-modules.js.map +1 -1
  74. package/build/src/cli/recipe/package-json/normalize-tooling.d.ts +3 -3
  75. package/build/src/cli/recipe/package-json/normalize-tooling.d.ts.map +1 -1
  76. package/build/src/cli/recipe/package-json/normalize-tooling.js +52 -57
  77. package/build/src/cli/recipe/package-json/normalize-tooling.js.map +1 -1
  78. package/build/src/cli/recipe/package-json/sync-environment.d.ts +3 -3
  79. package/build/src/cli/recipe/package-json/sync-environment.d.ts.map +1 -1
  80. package/build/src/cli/recipe/package-json/sync-environment.js +94 -97
  81. package/build/src/cli/recipe/package-json/sync-environment.js.map +1 -1
  82. package/build/src/cli/recipe/package-json/sync-identity.d.ts +3 -3
  83. package/build/src/cli/recipe/package-json/sync-identity.d.ts.map +1 -1
  84. package/build/src/cli/recipe/package-json/sync-identity.js +67 -62
  85. package/build/src/cli/recipe/package-json/sync-identity.js.map +1 -1
  86. package/build/src/cli/recipe/package-json/sync-ownership.d.ts +3 -3
  87. package/build/src/cli/recipe/package-json/sync-ownership.d.ts.map +1 -1
  88. package/build/src/cli/recipe/package-json/sync-ownership.js +106 -106
  89. package/build/src/cli/recipe/package-json/sync-ownership.js.map +1 -1
  90. package/build/src/cli/scaffold/app/expressjs.d.ts +5 -0
  91. package/build/src/cli/scaffold/app/expressjs.d.ts.map +1 -0
  92. package/build/src/cli/scaffold/app/expressjs.js +8 -0
  93. package/build/src/cli/scaffold/app/expressjs.js.map +1 -0
  94. package/build/src/cli/scaffold/app/nextjs.d.ts +5 -0
  95. package/build/src/cli/scaffold/app/nextjs.d.ts.map +1 -0
  96. package/build/src/cli/scaffold/app/nextjs.js +8 -0
  97. package/build/src/cli/scaffold/app/nextjs.js.map +1 -0
  98. package/build/src/cli/scaffold/app/vite.d.ts +5 -0
  99. package/build/src/cli/scaffold/app/vite.d.ts.map +1 -0
  100. package/build/src/cli/scaffold/app/vite.js +8 -0
  101. package/build/src/cli/scaffold/app/vite.js.map +1 -0
  102. package/build/src/cli/scaffold/app/workers.d.ts +5 -0
  103. package/build/src/cli/scaffold/app/workers.d.ts.map +1 -0
  104. package/build/src/cli/scaffold/app/workers.js +8 -0
  105. package/build/src/cli/scaffold/app/workers.js.map +1 -0
  106. package/build/src/cli/scaffold/docs/docusaurus.d.ts +5 -0
  107. package/build/src/cli/scaffold/docs/docusaurus.d.ts.map +1 -0
  108. package/build/src/cli/scaffold/docs/docusaurus.js +8 -0
  109. package/build/src/cli/scaffold/docs/docusaurus.js.map +1 -0
  110. package/build/src/cli/scaffold/starter/base.d.ts +5 -0
  111. package/build/src/cli/scaffold/starter/base.d.ts.map +1 -0
  112. package/build/src/cli/scaffold/starter/base.js +132 -0
  113. package/build/src/cli/scaffold/starter/base.js.map +1 -0
  114. package/build/src/cli/utility/changelog.d.ts +3 -3
  115. package/build/src/cli/utility/changelog.d.ts.map +1 -1
  116. package/build/src/cli/utility/changelog.js +206 -172
  117. package/build/src/cli/utility/changelog.js.map +1 -1
  118. package/build/src/cli/utility/initialize.d.ts +6 -3
  119. package/build/src/cli/utility/initialize.d.ts.map +1 -1
  120. package/build/src/cli/utility/initialize.js +990 -265
  121. package/build/src/cli/utility/initialize.js.map +1 -1
  122. package/build/src/cli/utility/run-recipes.d.ts +3 -3
  123. package/build/src/cli/utility/run-recipes.d.ts.map +1 -1
  124. package/build/src/cli/utility/run-recipes.js +15 -14
  125. package/build/src/cli/utility/run-recipes.js.map +1 -1
  126. package/build/src/cli/utility/run-scripts.d.ts +4 -4
  127. package/build/src/cli/utility/run-scripts.d.ts.map +1 -1
  128. package/build/src/cli/utility/run-scripts.js +167 -70
  129. package/build/src/cli/utility/run-scripts.js.map +1 -1
  130. package/build/src/cli/utility/transpile.d.ts +3 -3
  131. package/build/src/cli/utility/transpile.d.ts.map +1 -1
  132. package/build/src/cli/utility/transpile.js +24 -19
  133. package/build/src/cli/utility/transpile.js.map +1 -1
  134. package/build/src/cli/utility/type-check.d.ts +3 -3
  135. package/build/src/cli/utility/type-check.d.ts.map +1 -1
  136. package/build/src/cli/utility/type-check.js +24 -19
  137. package/build/src/cli/utility/type-check.js.map +1 -1
  138. package/build/src/cli/utility/version.d.ts +3 -3
  139. package/build/src/cli/utility/version.d.ts.map +1 -1
  140. package/build/src/cli/utility/version.js +126 -68
  141. package/build/src/cli/utility/version.js.map +1 -1
  142. package/build/src/lib/item.d.ts +31 -29
  143. package/build/src/lib/item.d.ts.map +1 -1
  144. package/build/src/lib/item.js +106 -43
  145. package/build/src/lib/item.js.map +1 -1
  146. package/build/src/lib/nova-config.d.ts +6 -5
  147. package/build/src/lib/nova-config.d.ts.map +1 -1
  148. package/build/src/lib/nova-config.js +217 -59
  149. package/build/src/lib/nova-config.js.map +1 -1
  150. package/build/src/lib/regex.d.ts +92 -26
  151. package/build/src/lib/regex.d.ts.map +1 -1
  152. package/build/src/lib/regex.js +92 -26
  153. package/build/src/lib/regex.js.map +1 -1
  154. package/build/src/lib/scaffold.d.ts +10 -0
  155. package/build/src/lib/scaffold.d.ts.map +1 -0
  156. package/build/src/lib/scaffold.js +542 -0
  157. package/build/src/lib/scaffold.js.map +1 -0
  158. package/build/src/lib/schema.d.ts +2 -9
  159. package/build/src/lib/schema.d.ts.map +1 -1
  160. package/build/src/lib/schema.js +6 -8
  161. package/build/src/lib/schema.js.map +1 -1
  162. package/build/src/lib/utility.d.ts +21 -18
  163. package/build/src/lib/utility.d.ts.map +1 -1
  164. package/build/src/lib/utility.js +173 -79
  165. package/build/src/lib/utility.js.map +1 -1
  166. package/build/src/lib/workflow-templates.d.ts +3 -0
  167. package/build/src/lib/workflow-templates.d.ts.map +1 -0
  168. package/build/src/lib/workflow-templates.js +187 -0
  169. package/build/src/lib/workflow-templates.js.map +1 -0
  170. package/build/src/presets/eslint/dx-code-style.d.ts +4 -0
  171. package/build/src/presets/eslint/dx-code-style.d.ts.map +1 -0
  172. package/build/src/presets/eslint/dx-code-style.js +523 -0
  173. package/build/src/presets/eslint/dx-code-style.js.map +1 -0
  174. package/build/src/presets/eslint/dx-ignore.d.ts +4 -0
  175. package/build/src/presets/eslint/dx-ignore.d.ts.map +1 -0
  176. package/build/src/presets/eslint/{dx-ignore.mjs → dx-ignore.js} +1 -1
  177. package/build/src/presets/eslint/dx-ignore.js.map +1 -0
  178. package/build/src/presets/eslint/fw-docusaurus.d.ts +4 -0
  179. package/build/src/presets/eslint/fw-docusaurus.d.ts.map +1 -0
  180. package/build/src/presets/eslint/fw-docusaurus.js +6 -0
  181. package/build/src/presets/eslint/fw-docusaurus.js.map +1 -0
  182. package/build/src/presets/eslint/fw-expressjs.d.ts +4 -0
  183. package/build/src/presets/eslint/fw-expressjs.d.ts.map +1 -0
  184. package/build/src/presets/eslint/{fw-expressjs.mjs → fw-expressjs.js} +3 -5
  185. package/build/src/presets/eslint/fw-expressjs.js.map +1 -0
  186. package/build/src/presets/eslint/fw-nextjs.d.ts +4 -0
  187. package/build/src/presets/eslint/fw-nextjs.d.ts.map +1 -0
  188. package/build/src/presets/eslint/{fw-nextjs.mjs → fw-nextjs.js} +3 -5
  189. package/build/src/presets/eslint/fw-nextjs.js.map +1 -0
  190. package/build/src/presets/eslint/index.d.ts +16 -0
  191. package/build/src/presets/eslint/index.d.ts.map +1 -0
  192. package/build/src/presets/eslint/index.js +16 -0
  193. package/build/src/presets/eslint/index.js.map +1 -0
  194. package/build/src/presets/eslint/lang-javascript.d.ts +4 -0
  195. package/build/src/presets/eslint/lang-javascript.d.ts.map +1 -0
  196. package/build/src/presets/eslint/lang-javascript.js +34 -0
  197. package/build/src/presets/eslint/lang-javascript.js.map +1 -0
  198. package/build/src/presets/eslint/lang-mdx.d.ts +4 -0
  199. package/build/src/presets/eslint/lang-mdx.d.ts.map +1 -0
  200. package/build/src/presets/eslint/{lang-mdx.mjs → lang-mdx.js} +4 -8
  201. package/build/src/presets/eslint/lang-mdx.js.map +1 -0
  202. package/build/src/presets/eslint/lang-typescript.d.ts +4 -0
  203. package/build/src/presets/eslint/lang-typescript.d.ts.map +1 -0
  204. package/build/src/presets/eslint/lang-typescript.js +148 -0
  205. package/build/src/presets/eslint/lang-typescript.js.map +1 -0
  206. package/build/src/presets/eslint/runtime-browser.d.ts +4 -0
  207. package/build/src/presets/eslint/runtime-browser.d.ts.map +1 -0
  208. package/build/src/presets/eslint/{env-web-worker.mjs → runtime-browser.js} +1 -1
  209. package/build/src/presets/eslint/runtime-browser.js.map +1 -0
  210. package/build/src/presets/eslint/runtime-cloudflare-workers.d.ts +4 -0
  211. package/build/src/presets/eslint/runtime-cloudflare-workers.d.ts.map +1 -0
  212. package/build/src/presets/eslint/runtime-cloudflare-workers.js +6 -0
  213. package/build/src/presets/eslint/runtime-cloudflare-workers.js.map +1 -0
  214. package/build/src/presets/eslint/runtime-edge.d.ts +4 -0
  215. package/build/src/presets/eslint/runtime-edge.d.ts.map +1 -0
  216. package/build/src/presets/eslint/{env-edge.mjs → runtime-edge.js} +1 -1
  217. package/build/src/presets/eslint/runtime-edge.js.map +1 -0
  218. package/build/src/presets/eslint/runtime-node.d.ts +4 -0
  219. package/build/src/presets/eslint/runtime-node.d.ts.map +1 -0
  220. package/build/src/presets/eslint/{env-node.mjs → runtime-node.js} +4 -4
  221. package/build/src/presets/eslint/runtime-node.js.map +1 -0
  222. package/build/src/presets/eslint/runtime-service-worker.d.ts +4 -0
  223. package/build/src/presets/eslint/runtime-service-worker.d.ts.map +1 -0
  224. package/build/src/presets/eslint/runtime-service-worker.js +3 -0
  225. package/build/src/presets/eslint/runtime-service-worker.js.map +1 -0
  226. package/build/src/presets/eslint/runtime-web-worker.d.ts +4 -0
  227. package/build/src/presets/eslint/runtime-web-worker.d.ts.map +1 -0
  228. package/build/src/presets/eslint/runtime-web-worker.js +3 -0
  229. package/build/src/presets/eslint/runtime-web-worker.js.map +1 -0
  230. package/build/src/presets/eslint/tool-vite.d.ts +4 -0
  231. package/build/src/presets/eslint/tool-vite.d.ts.map +1 -0
  232. package/build/src/presets/eslint/{tool-vite.mjs → tool-vite.js} +3 -5
  233. package/build/src/presets/eslint/tool-vite.js.map +1 -0
  234. package/build/src/presets/tsconfig/dx-strict.json +1 -0
  235. package/build/src/presets/tsconfig/runtime-cloudflare-workers.json +12 -0
  236. package/build/src/presets/tsconfig/{platform-cloudflare-workers.json → runtime-web-worker.json} +2 -2
  237. package/build/src/rules/eslint/conventions/no-default-export-declaration.d.ts +11 -0
  238. package/build/src/rules/eslint/conventions/no-default-export-declaration.d.ts.map +1 -0
  239. package/build/src/rules/eslint/conventions/no-default-export-declaration.js +73 -0
  240. package/build/src/rules/eslint/conventions/no-default-export-declaration.js.map +1 -0
  241. package/build/src/rules/eslint/conventions/no-implicit-boolean.d.ts +15 -0
  242. package/build/src/rules/eslint/conventions/no-implicit-boolean.d.ts.map +1 -0
  243. package/build/src/rules/eslint/conventions/no-implicit-boolean.js +140 -0
  244. package/build/src/rules/eslint/conventions/no-implicit-boolean.js.map +1 -0
  245. package/build/src/rules/eslint/conventions/require-explicit-return.d.ts +15 -0
  246. package/build/src/rules/eslint/conventions/require-explicit-return.d.ts.map +1 -0
  247. package/build/src/rules/eslint/conventions/require-explicit-return.js +184 -0
  248. package/build/src/rules/eslint/conventions/require-explicit-return.js.map +1 -0
  249. package/build/src/rules/eslint/conventions/require-hash-private.d.ts +12 -0
  250. package/build/src/rules/eslint/conventions/require-hash-private.d.ts.map +1 -0
  251. package/build/src/rules/eslint/conventions/require-hash-private.js +67 -0
  252. package/build/src/rules/eslint/conventions/require-hash-private.js.map +1 -0
  253. package/build/src/rules/eslint/conventions/require-kebab-case-filename.d.ts +14 -0
  254. package/build/src/rules/eslint/conventions/require-kebab-case-filename.d.ts.map +1 -0
  255. package/build/src/rules/eslint/conventions/require-kebab-case-filename.js +95 -0
  256. package/build/src/rules/eslint/conventions/require-kebab-case-filename.js.map +1 -0
  257. package/build/src/rules/eslint/conventions/require-naming-convention.d.ts +34 -0
  258. package/build/src/rules/eslint/conventions/require-naming-convention.d.ts.map +1 -0
  259. package/build/src/rules/eslint/conventions/require-naming-convention.js +382 -0
  260. package/build/src/rules/eslint/conventions/require-naming-convention.js.map +1 -0
  261. package/build/src/rules/eslint/conventions/require-undefined-init.d.ts +11 -0
  262. package/build/src/rules/eslint/conventions/require-undefined-init.d.ts.map +1 -0
  263. package/build/src/rules/eslint/conventions/require-undefined-init.js +71 -0
  264. package/build/src/rules/eslint/conventions/require-undefined-init.js.map +1 -0
  265. package/build/src/rules/eslint/conventions/switch-case-blocks.d.ts +13 -0
  266. package/build/src/rules/eslint/conventions/switch-case-blocks.d.ts.map +1 -0
  267. package/build/src/rules/eslint/conventions/switch-case-blocks.js +82 -0
  268. package/build/src/rules/eslint/conventions/switch-case-blocks.js.map +1 -0
  269. package/build/src/rules/eslint/formatting/no-complex-arrow-concise.d.ts +15 -0
  270. package/build/src/rules/eslint/formatting/no-complex-arrow-concise.d.ts.map +1 -0
  271. package/build/src/rules/eslint/formatting/no-complex-arrow-concise.js +166 -0
  272. package/build/src/rules/eslint/formatting/no-complex-arrow-concise.js.map +1 -0
  273. package/build/src/rules/eslint/formatting/no-multiline-strings.d.ts +15 -0
  274. package/build/src/rules/eslint/formatting/no-multiline-strings.d.ts.map +1 -0
  275. package/build/src/rules/eslint/formatting/no-multiline-strings.js +162 -0
  276. package/build/src/rules/eslint/formatting/no-multiline-strings.js.map +1 -0
  277. package/build/src/rules/eslint/formatting/no-raw-text-in-code.d.ts +9 -4
  278. package/build/src/rules/eslint/formatting/no-raw-text-in-code.d.ts.map +1 -1
  279. package/build/src/rules/eslint/formatting/no-raw-text-in-code.js +53 -30
  280. package/build/src/rules/eslint/formatting/no-raw-text-in-code.js.map +1 -1
  281. package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.d.ts +11 -0
  282. package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.d.ts.map +1 -0
  283. package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.js +55 -0
  284. package/build/src/rules/eslint/formatting/no-ternary-in-template-literal.js.map +1 -0
  285. package/build/src/rules/eslint/formatting/require-import-order.d.ts +14 -0
  286. package/build/src/rules/eslint/formatting/require-import-order.d.ts.map +1 -0
  287. package/build/src/rules/eslint/formatting/require-import-order.js +187 -0
  288. package/build/src/rules/eslint/formatting/require-import-order.js.map +1 -0
  289. package/build/src/rules/eslint/formatting/require-multiline-condition-groups.d.ts +13 -0
  290. package/build/src/rules/eslint/formatting/require-multiline-condition-groups.d.ts.map +1 -0
  291. package/build/src/rules/eslint/formatting/require-multiline-condition-groups.js +138 -0
  292. package/build/src/rules/eslint/formatting/require-multiline-condition-groups.js.map +1 -0
  293. package/build/src/rules/eslint/formatting/require-multiline-conditions.d.ts +13 -0
  294. package/build/src/rules/eslint/formatting/require-multiline-conditions.d.ts.map +1 -0
  295. package/build/src/rules/eslint/formatting/require-multiline-conditions.js +94 -0
  296. package/build/src/rules/eslint/formatting/require-multiline-conditions.js.map +1 -0
  297. package/build/src/rules/eslint/formatting/require-padding-lines.d.ts +23 -11
  298. package/build/src/rules/eslint/formatting/require-padding-lines.d.ts.map +1 -1
  299. package/build/src/rules/eslint/formatting/require-padding-lines.js +291 -155
  300. package/build/src/rules/eslint/formatting/require-padding-lines.js.map +1 -1
  301. package/build/src/rules/eslint/formatting/require-ternary-parens.d.ts +11 -0
  302. package/build/src/rules/eslint/formatting/require-ternary-parens.d.ts.map +1 -0
  303. package/build/src/rules/eslint/formatting/require-ternary-parens.js +76 -0
  304. package/build/src/rules/eslint/formatting/require-ternary-parens.js.map +1 -0
  305. package/build/src/rules/eslint/index.d.ts +44 -14
  306. package/build/src/rules/eslint/index.d.ts.map +1 -1
  307. package/build/src/rules/eslint/index.js +44 -14
  308. package/build/src/rules/eslint/index.js.map +1 -1
  309. package/build/src/rules/eslint/jsdoc/require-jsdoc-body.d.ts +15 -0
  310. package/build/src/rules/eslint/jsdoc/require-jsdoc-body.d.ts.map +1 -0
  311. package/build/src/rules/eslint/jsdoc/require-jsdoc-body.js +176 -0
  312. package/build/src/rules/eslint/jsdoc/require-jsdoc-body.js.map +1 -0
  313. package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.d.ts +26 -0
  314. package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.d.ts.map +1 -0
  315. package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.js +495 -0
  316. package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.js.map +1 -0
  317. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.d.ts +12 -0
  318. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.d.ts.map +1 -0
  319. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.js +144 -0
  320. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-alignment.js.map +1 -0
  321. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts +12 -0
  322. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts.map +1 -0
  323. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.js +97 -0
  324. package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.js.map +1 -0
  325. package/build/src/rules/eslint/jsdoc/require-jsdoc-private.d.ts +11 -0
  326. package/build/src/rules/eslint/jsdoc/require-jsdoc-private.d.ts.map +1 -0
  327. package/build/src/rules/eslint/jsdoc/require-jsdoc-private.js +90 -0
  328. package/build/src/rules/eslint/jsdoc/require-jsdoc-private.js.map +1 -0
  329. package/build/src/rules/eslint/jsdoc/require-jsdoc-since.d.ts +11 -0
  330. package/build/src/rules/eslint/jsdoc/require-jsdoc-since.d.ts.map +1 -0
  331. package/build/src/rules/eslint/jsdoc/require-jsdoc-since.js +88 -0
  332. package/build/src/rules/eslint/jsdoc/require-jsdoc-since.js.map +1 -0
  333. package/build/src/rules/eslint/nova/no-logger-dev.d.ts +11 -4
  334. package/build/src/rules/eslint/nova/no-logger-dev.d.ts.map +1 -1
  335. package/build/src/rules/eslint/nova/no-logger-dev.js +104 -82
  336. package/build/src/rules/eslint/nova/no-logger-dev.js.map +1 -1
  337. package/build/src/rules/eslint/patterns/no-assign-then-return.d.ts +9 -4
  338. package/build/src/rules/eslint/patterns/no-assign-then-return.d.ts.map +1 -1
  339. package/build/src/rules/eslint/patterns/no-assign-then-return.js +92 -51
  340. package/build/src/rules/eslint/patterns/no-assign-then-return.js.map +1 -1
  341. package/build/src/rules/eslint/patterns/no-await-in-loop.d.ts +17 -0
  342. package/build/src/rules/eslint/patterns/no-await-in-loop.d.ts.map +1 -0
  343. package/build/src/rules/eslint/patterns/no-await-in-loop.js +103 -0
  344. package/build/src/rules/eslint/patterns/no-await-in-loop.js.map +1 -0
  345. package/build/src/rules/eslint/patterns/no-boolean-var-for-if.d.ts +11 -0
  346. package/build/src/rules/eslint/patterns/no-boolean-var-for-if.d.ts.map +1 -0
  347. package/build/src/rules/eslint/patterns/no-boolean-var-for-if.js +100 -0
  348. package/build/src/rules/eslint/patterns/no-boolean-var-for-if.js.map +1 -0
  349. package/build/src/rules/eslint/patterns/no-bracket-assignment.d.ts +9 -4
  350. package/build/src/rules/eslint/patterns/no-bracket-assignment.d.ts.map +1 -1
  351. package/build/src/rules/eslint/patterns/no-bracket-assignment.js +60 -22
  352. package/build/src/rules/eslint/patterns/no-bracket-assignment.js.map +1 -1
  353. package/build/src/rules/eslint/patterns/no-bracket-method-call.d.ts +12 -0
  354. package/build/src/rules/eslint/patterns/no-bracket-method-call.d.ts.map +1 -0
  355. package/build/src/rules/eslint/patterns/no-bracket-method-call.js +86 -0
  356. package/build/src/rules/eslint/patterns/no-bracket-method-call.js.map +1 -0
  357. package/build/src/rules/eslint/patterns/no-template-curly-in-string.d.ts +11 -0
  358. package/build/src/rules/eslint/patterns/no-template-curly-in-string.d.ts.map +1 -0
  359. package/build/src/rules/eslint/patterns/no-template-curly-in-string.js +77 -0
  360. package/build/src/rules/eslint/patterns/no-template-curly-in-string.js.map +1 -0
  361. package/build/src/rules/eslint/patterns/no-use-before-define.d.ts +15 -0
  362. package/build/src/rules/eslint/patterns/no-use-before-define.d.ts.map +1 -0
  363. package/build/src/rules/eslint/patterns/no-use-before-define.js +148 -0
  364. package/build/src/rules/eslint/patterns/no-use-before-define.js.map +1 -0
  365. package/build/src/rules/eslint/regex/no-regex-literal-flags.d.ts +9 -4
  366. package/build/src/rules/eslint/regex/no-regex-literal-flags.d.ts.map +1 -1
  367. package/build/src/rules/eslint/regex/no-regex-literal-flags.js +51 -26
  368. package/build/src/rules/eslint/regex/no-regex-literal-flags.js.map +1 -1
  369. package/build/src/rules/eslint/regex/no-regex-literals.d.ts +10 -7
  370. package/build/src/rules/eslint/regex/no-regex-literals.d.ts.map +1 -1
  371. package/build/src/rules/eslint/regex/no-regex-literals.js +62 -45
  372. package/build/src/rules/eslint/regex/no-regex-literals.js.map +1 -1
  373. package/build/src/rules/eslint/safety/no-script-url.d.ts +12 -0
  374. package/build/src/rules/eslint/safety/no-script-url.d.ts.map +1 -0
  375. package/build/src/rules/eslint/safety/no-script-url.js +71 -0
  376. package/build/src/rules/eslint/safety/no-script-url.js.map +1 -0
  377. package/build/src/rules/eslint/syntax/no-destructuring.d.ts +21 -0
  378. package/build/src/rules/eslint/syntax/no-destructuring.d.ts.map +1 -0
  379. package/build/src/rules/eslint/syntax/no-destructuring.js +219 -0
  380. package/build/src/rules/eslint/syntax/no-destructuring.js.map +1 -0
  381. package/build/src/rules/eslint/syntax/no-numeric-literals.d.ts +14 -0
  382. package/build/src/rules/eslint/syntax/no-numeric-literals.d.ts.map +1 -0
  383. package/build/src/rules/eslint/syntax/no-numeric-literals.js +108 -0
  384. package/build/src/rules/eslint/syntax/no-numeric-literals.js.map +1 -0
  385. package/build/src/rules/eslint/syntax/no-optional-chaining.d.ts +11 -0
  386. package/build/src/rules/eslint/syntax/no-optional-chaining.d.ts.map +1 -0
  387. package/build/src/rules/eslint/syntax/no-optional-chaining.js +51 -0
  388. package/build/src/rules/eslint/syntax/no-optional-chaining.js.map +1 -0
  389. package/build/src/rules/eslint/syntax/no-rest-params.d.ts +15 -0
  390. package/build/src/rules/eslint/syntax/no-rest-params.d.ts.map +1 -0
  391. package/build/src/rules/eslint/syntax/no-rest-params.js +158 -0
  392. package/build/src/rules/eslint/syntax/no-rest-params.js.map +1 -0
  393. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.d.ts +9 -4
  394. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.d.ts.map +1 -1
  395. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.js +61 -34
  396. package/build/src/rules/eslint/typescript/no-catch-unknown-annotation.js.map +1 -1
  397. package/build/src/rules/eslint/typescript/no-explicit-any.d.ts +11 -0
  398. package/build/src/rules/eslint/typescript/no-explicit-any.d.ts.map +1 -0
  399. package/build/src/rules/eslint/typescript/no-explicit-any.js +51 -0
  400. package/build/src/rules/eslint/typescript/no-explicit-any.js.map +1 -0
  401. package/build/src/rules/eslint/typescript/no-inline-type-annotation.d.ts +14 -4
  402. package/build/src/rules/eslint/typescript/no-inline-type-annotation.d.ts.map +1 -1
  403. package/build/src/rules/eslint/typescript/no-inline-type-annotation.js +180 -30
  404. package/build/src/rules/eslint/typescript/no-inline-type-annotation.js.map +1 -1
  405. package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts +10 -7
  406. package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts.map +1 -1
  407. package/build/src/rules/eslint/typescript/no-shared-type-import.js +65 -51
  408. package/build/src/rules/eslint/typescript/no-shared-type-import.js.map +1 -1
  409. package/build/src/rules/eslint/typescript/require-bracket-property-access.d.ts +12 -0
  410. package/build/src/rules/eslint/typescript/require-bracket-property-access.d.ts.map +1 -0
  411. package/build/src/rules/eslint/typescript/require-bracket-property-access.js +115 -0
  412. package/build/src/rules/eslint/typescript/require-bracket-property-access.js.map +1 -0
  413. package/build/src/rules/eslint/typescript/require-type-naming.d.ts +12 -0
  414. package/build/src/rules/eslint/typescript/require-type-naming.d.ts.map +1 -0
  415. package/build/src/rules/eslint/typescript/require-type-naming.js +98 -0
  416. package/build/src/rules/eslint/typescript/require-type-naming.js.map +1 -0
  417. package/build/src/toolkit/bootstrap.d.ts +13 -0
  418. package/build/src/toolkit/bootstrap.d.ts.map +1 -0
  419. package/build/src/toolkit/bootstrap.js +175 -0
  420. package/build/src/toolkit/bootstrap.js.map +1 -0
  421. package/build/src/toolkit/cli-header.d.ts +5 -4
  422. package/build/src/toolkit/cli-header.d.ts.map +1 -1
  423. package/build/src/toolkit/cli-header.js +76 -62
  424. package/build/src/toolkit/cli-header.js.map +1 -1
  425. package/build/src/toolkit/index.d.ts +1 -0
  426. package/build/src/toolkit/index.d.ts.map +1 -1
  427. package/build/src/toolkit/index.js +1 -0
  428. package/build/src/toolkit/index.js.map +1 -1
  429. package/build/src/toolkit/logger.d.ts +9 -8
  430. package/build/src/toolkit/logger.d.ts.map +1 -1
  431. package/build/src/toolkit/logger.js +51 -32
  432. package/build/src/toolkit/logger.js.map +1 -1
  433. package/build/src/toolkit/markdown-table.d.ts +6 -5
  434. package/build/src/toolkit/markdown-table.d.ts.map +1 -1
  435. package/build/src/toolkit/markdown-table.js +36 -20
  436. package/build/src/toolkit/markdown-table.js.map +1 -1
  437. package/build/src/types/api/node-releases.d.ts +51 -0
  438. package/build/src/types/api/spdx-licenses.d.ts +41 -0
  439. package/build/src/types/cli/generate/github/funding.d.ts +59 -0
  440. package/build/src/types/cli/generate/github/issue-template.d.ts +142 -0
  441. package/build/src/types/cli/generate/github/workflows.d.ts +338 -0
  442. package/build/src/types/cli/generate/must-haves/agent-conventions.d.ts +45 -0
  443. package/build/src/types/cli/generate/must-haves/dotenv.d.ts +421 -0
  444. package/build/src/types/cli/generate/must-haves/editorconfig.d.ts +35 -0
  445. package/build/src/types/cli/generate/must-haves/gitignore.d.ts +346 -0
  446. package/build/src/types/cli/generate/must-haves/license.d.ts +72 -0
  447. package/build/src/types/cli/generate/must-haves/read-me.d.ts +176 -0
  448. package/build/src/types/cli/index.d.ts +182 -0
  449. package/build/src/types/cli/recipe/index.d.ts +36 -0
  450. package/build/src/types/cli/recipe/package-json/cleanup.d.ts +125 -0
  451. package/build/src/types/cli/recipe/package-json/normalize-artifacts.d.ts +104 -0
  452. package/build/src/types/cli/recipe/package-json/normalize-bundler.d.ts +78 -0
  453. package/build/src/types/cli/recipe/package-json/normalize-dependencies.d.ts +150 -0
  454. package/build/src/types/cli/recipe/package-json/normalize-modules.d.ts +76 -0
  455. package/build/src/types/cli/recipe/package-json/normalize-tooling.d.ts +89 -0
  456. package/build/src/types/cli/recipe/package-json/sync-environment.d.ts +140 -0
  457. package/build/src/types/cli/recipe/package-json/sync-identity.d.ts +107 -0
  458. package/build/src/types/cli/recipe/package-json/sync-ownership.d.ts +152 -0
  459. package/build/src/types/cli/scaffold/app/expressjs.d.ts +21 -0
  460. package/build/src/types/cli/scaffold/app/nextjs.d.ts +21 -0
  461. package/build/src/types/cli/scaffold/app/vite.d.ts +21 -0
  462. package/build/src/types/cli/scaffold/app/workers.d.ts +21 -0
  463. package/build/src/types/cli/scaffold/docs/docusaurus.d.ts +21 -0
  464. package/build/src/types/cli/scaffold/starter/base.d.ts +57 -0
  465. package/build/src/types/cli/utility/changelog.d.ts +381 -0
  466. package/build/src/types/cli/utility/initialize.d.ts +1185 -0
  467. package/build/src/types/cli/utility/run-recipes.d.ts +25 -0
  468. package/build/src/types/cli/utility/run-scripts.d.ts +133 -0
  469. package/build/src/types/cli/utility/transpile.d.ts +90 -0
  470. package/build/src/types/cli/utility/type-check.d.ts +88 -0
  471. package/build/src/types/cli/utility/version.d.ts +286 -0
  472. package/build/src/types/fetch-response.d.ts +12 -0
  473. package/build/src/types/lib/item.d.ts +536 -0
  474. package/build/src/types/lib/nova-config.d.ts +421 -0
  475. package/build/src/types/lib/scaffold.d.ts +344 -0
  476. package/build/src/types/lib/utility.d.ts +486 -0
  477. package/build/src/types/lib/workflow-templates.d.ts +48 -0
  478. package/build/src/types/presets/eslint/dx-code-style.d.ts +8 -0
  479. package/build/src/types/presets/eslint/dx-ignore.d.ts +8 -0
  480. package/build/src/types/presets/eslint/fw-docusaurus.d.ts +8 -0
  481. package/build/src/types/presets/eslint/fw-expressjs.d.ts +8 -0
  482. package/build/src/types/presets/eslint/fw-nextjs.d.ts +8 -0
  483. package/build/src/types/presets/eslint/lang-javascript.d.ts +8 -0
  484. package/build/src/types/presets/eslint/lang-mdx.d.ts +8 -0
  485. package/build/src/types/presets/eslint/lang-typescript.d.ts +8 -0
  486. package/build/src/types/presets/eslint/runtime-browser.d.ts +8 -0
  487. package/build/src/types/presets/eslint/runtime-cloudflare-workers.d.ts +8 -0
  488. package/build/src/types/presets/eslint/runtime-edge.d.ts +8 -0
  489. package/build/src/types/presets/eslint/runtime-node.d.ts +8 -0
  490. package/build/src/types/presets/eslint/runtime-service-worker.d.ts +8 -0
  491. package/build/src/types/presets/eslint/runtime-web-worker.d.ts +8 -0
  492. package/build/src/types/presets/eslint/tool-vite.d.ts +8 -0
  493. package/build/src/types/rules/eslint/conventions/no-default-export-declaration.d.ts +32 -0
  494. package/build/src/types/rules/eslint/conventions/no-implicit-boolean.d.ts +72 -0
  495. package/build/src/types/rules/eslint/conventions/require-explicit-return.d.ts +73 -0
  496. package/build/src/types/rules/eslint/conventions/require-hash-private.d.ts +31 -0
  497. package/build/src/types/rules/eslint/conventions/require-kebab-case-filename.d.ts +64 -0
  498. package/build/src/types/rules/eslint/conventions/require-naming-convention.d.ts +265 -0
  499. package/build/src/types/rules/eslint/conventions/require-undefined-init.d.ts +30 -0
  500. package/build/src/types/rules/eslint/conventions/switch-case-blocks.d.ts +48 -0
  501. package/build/src/types/rules/eslint/formatting/no-complex-arrow-concise.d.ts +74 -0
  502. package/build/src/types/rules/eslint/formatting/no-multiline-strings.d.ts +104 -0
  503. package/build/src/types/rules/eslint/formatting/no-raw-text-in-code.d.ts +28 -0
  504. package/build/src/types/rules/eslint/formatting/no-ternary-in-template-literal.d.ts +26 -0
  505. package/build/src/types/rules/eslint/formatting/require-import-order.d.ts +91 -0
  506. package/build/src/types/rules/eslint/formatting/require-multiline-condition-groups.d.ts +64 -0
  507. package/build/src/types/rules/eslint/formatting/require-multiline-conditions.d.ts +52 -0
  508. package/build/src/types/rules/eslint/formatting/require-padding-lines.d.ts +212 -0
  509. package/build/src/types/rules/eslint/formatting/require-ternary-parens.d.ts +32 -0
  510. package/build/src/types/rules/eslint/jsdoc/require-jsdoc-body.d.ts +56 -0
  511. package/build/src/types/rules/eslint/jsdoc/require-jsdoc-hierarchy.d.ts +302 -0
  512. package/build/src/types/rules/eslint/jsdoc/require-jsdoc-param-alignment.d.ts +108 -0
  513. package/build/src/types/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts +61 -0
  514. package/build/src/types/rules/eslint/jsdoc/require-jsdoc-private.d.ts +40 -0
  515. package/build/src/types/rules/eslint/jsdoc/require-jsdoc-since.d.ts +30 -0
  516. package/build/src/types/rules/eslint/nova/no-logger-dev.d.ts +60 -0
  517. package/build/src/types/rules/eslint/patterns/no-assign-then-return.d.ts +42 -0
  518. package/build/src/types/rules/eslint/patterns/no-await-in-loop.d.ts +87 -0
  519. package/build/src/types/rules/eslint/patterns/no-boolean-var-for-if.d.ts +48 -0
  520. package/build/src/types/rules/eslint/patterns/no-bracket-assignment.d.ts +34 -0
  521. package/build/src/types/rules/eslint/patterns/no-bracket-method-call.d.ts +46 -0
  522. package/build/src/types/rules/eslint/patterns/no-template-curly-in-string.d.ts +32 -0
  523. package/build/src/types/rules/eslint/patterns/no-use-before-define.d.ts +84 -0
  524. package/build/src/types/rules/eslint/regex/no-regex-literal-flags.d.ts +26 -0
  525. package/build/src/types/rules/eslint/regex/no-regex-literals.d.ts +40 -0
  526. package/build/src/types/rules/eslint/safety/no-script-url.d.ts +37 -0
  527. package/build/src/types/rules/eslint/syntax/no-destructuring.d.ts +131 -0
  528. package/build/src/types/rules/eslint/syntax/no-numeric-literals.d.ts +57 -0
  529. package/build/src/types/rules/eslint/syntax/no-optional-chaining.d.ts +26 -0
  530. package/build/src/types/rules/eslint/syntax/no-rest-params.d.ts +78 -0
  531. package/build/src/types/rules/eslint/typescript/no-catch-unknown-annotation.d.ts +30 -0
  532. package/build/src/types/rules/eslint/typescript/no-explicit-any.d.ts +26 -0
  533. package/build/src/types/rules/eslint/typescript/no-inline-type-annotation.d.ts +94 -0
  534. package/build/src/types/rules/eslint/typescript/no-shared-type-import.d.ts +43 -0
  535. package/build/src/types/rules/eslint/typescript/require-bracket-property-access.d.ts +53 -0
  536. package/build/src/types/rules/eslint/typescript/require-type-naming.d.ts +51 -0
  537. package/build/src/types/shared.d.ts +731 -0
  538. package/build/src/types/tests/api/node-releases.test.d.ts +14 -0
  539. package/build/src/types/tests/api/spdx-licenses.test.d.ts +18 -0
  540. package/build/src/types/tests/cli/generate/github/funding.test.d.ts +26 -0
  541. package/build/src/types/tests/cli/generate/github/issue-template.test.d.ts +14 -0
  542. package/build/src/types/tests/cli/generate/github/workflows.test.d.ts +38 -0
  543. package/build/src/types/tests/cli/generate/must-haves/agent-conventions.test.d.ts +32 -0
  544. package/build/src/types/tests/cli/generate/must-haves/dotenv.test.d.ts +14 -0
  545. package/build/src/types/tests/cli/generate/must-haves/editorconfig.test.d.ts +22 -0
  546. package/build/src/types/tests/cli/generate/must-haves/gitignore.test.d.ts +14 -0
  547. package/build/src/types/tests/cli/generate/must-haves/license.test.d.ts +26 -0
  548. package/build/src/types/tests/cli/generate/must-haves/read-me.test.d.ts +26 -0
  549. package/build/src/types/tests/cli/recipe/package-json/cleanup.test.d.ts +42 -0
  550. package/build/src/types/tests/cli/recipe/package-json/normalize-artifacts.test.d.ts +32 -0
  551. package/build/src/types/tests/cli/recipe/package-json/normalize-bundler.test.d.ts +32 -0
  552. package/build/src/types/tests/cli/recipe/package-json/normalize-dependencies.test.d.ts +40 -0
  553. package/build/src/types/tests/cli/recipe/package-json/normalize-modules.test.d.ts +32 -0
  554. package/build/src/types/tests/cli/recipe/package-json/normalize-tooling.test.d.ts +32 -0
  555. package/build/src/types/tests/cli/recipe/package-json/sync-environment.test.d.ts +32 -0
  556. package/build/src/types/tests/cli/recipe/package-json/sync-identity.test.d.ts +32 -0
  557. package/build/src/types/tests/cli/recipe/package-json/sync-ownership.test.d.ts +32 -0
  558. package/build/src/types/tests/cli/scaffold/app/expressjs.test.d.ts +40 -0
  559. package/build/src/types/tests/cli/scaffold/app/nextjs.test.d.ts +42 -0
  560. package/build/src/types/tests/cli/scaffold/app/vite.test.d.ts +42 -0
  561. package/build/src/types/tests/cli/scaffold/app/workers.test.d.ts +40 -0
  562. package/build/src/types/tests/cli/scaffold/docs/docusaurus.test.d.ts +40 -0
  563. package/build/src/types/tests/cli/scaffold/starter/base.test.d.ts +40 -0
  564. package/build/src/types/tests/cli/utility/changelog.test.d.ts +68 -0
  565. package/build/src/types/tests/cli/utility/initialize.test.d.ts +14 -0
  566. package/build/src/types/tests/cli/utility/run-recipes.test.d.ts +22 -0
  567. package/build/src/types/tests/cli/utility/run-scripts.test.d.ts +52 -0
  568. package/build/src/types/tests/cli/utility/transpile.test.d.ts +26 -0
  569. package/build/src/types/tests/cli/utility/type-check.test.d.ts +22 -0
  570. package/build/src/types/tests/cli/utility/version.test.d.ts +12 -0
  571. package/build/src/types/tests/lib/item.test.d.ts +88 -0
  572. package/build/src/types/tests/lib/nova-config.test.d.ts +138 -0
  573. package/build/src/types/tests/lib/regex.test.d.ts +122 -0
  574. package/build/src/types/tests/lib/scaffold.test.d.ts +26 -0
  575. package/build/src/types/tests/lib/schema.test.d.ts +36 -0
  576. package/build/src/types/tests/lib/utility.test.d.ts +324 -0
  577. package/build/src/types/tests/lib/workflow-templates.test.d.ts +77 -0
  578. package/build/src/types/tests/rules/eslint/conventions/no-default-export-declaration.test.d.ts +8 -0
  579. package/build/src/types/tests/rules/eslint/conventions/no-implicit-boolean.test.d.ts +8 -0
  580. package/build/src/types/tests/rules/eslint/conventions/require-explicit-return.test.d.ts +8 -0
  581. package/build/src/types/tests/rules/eslint/conventions/require-hash-private.test.d.ts +8 -0
  582. package/build/src/types/tests/rules/eslint/conventions/require-kebab-case-filename.test.d.ts +8 -0
  583. package/build/src/types/tests/rules/eslint/conventions/require-naming-convention.test.d.ts +8 -0
  584. package/build/src/types/tests/rules/eslint/conventions/require-undefined-init.test.d.ts +8 -0
  585. package/build/src/types/tests/rules/eslint/conventions/switch-case-blocks.test.d.ts +8 -0
  586. package/build/src/types/tests/rules/eslint/formatting/no-complex-arrow-concise.test.d.ts +8 -0
  587. package/build/src/types/tests/rules/eslint/formatting/no-multiline-strings.test.d.ts +8 -0
  588. package/build/src/types/tests/rules/eslint/formatting/no-raw-text-in-code.test.d.ts +8 -0
  589. package/build/src/types/tests/rules/eslint/formatting/no-ternary-in-template-literal.test.d.ts +8 -0
  590. package/build/src/types/tests/rules/eslint/formatting/require-import-order.test.d.ts +8 -0
  591. package/build/src/types/tests/rules/eslint/formatting/require-multiline-condition-groups.test.d.ts +8 -0
  592. package/build/src/types/tests/rules/eslint/formatting/require-multiline-conditions.test.d.ts +8 -0
  593. package/build/src/types/tests/rules/eslint/formatting/require-padding-lines.test.d.ts +8 -0
  594. package/build/src/types/tests/rules/eslint/formatting/require-ternary-parens.test.d.ts +8 -0
  595. package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-body.test.d.ts +8 -0
  596. package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-hierarchy.test.d.ts +8 -0
  597. package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-param-alignment.test.d.ts +8 -0
  598. package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-param-name.test.d.ts +8 -0
  599. package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-private.test.d.ts +8 -0
  600. package/build/src/types/tests/rules/eslint/jsdoc/require-jsdoc-since.test.d.ts +8 -0
  601. package/build/src/types/tests/rules/eslint/nova/no-logger-dev.test.d.ts +8 -0
  602. package/build/src/types/tests/rules/eslint/patterns/no-assign-then-return.test.d.ts +8 -0
  603. package/build/src/types/tests/rules/eslint/patterns/no-await-in-loop.test.d.ts +8 -0
  604. package/build/src/types/tests/rules/eslint/patterns/no-boolean-var-for-if.test.d.ts +8 -0
  605. package/build/src/types/tests/rules/eslint/patterns/no-bracket-assignment.test.d.ts +8 -0
  606. package/build/src/types/tests/rules/eslint/patterns/no-bracket-method-call.test.d.ts +8 -0
  607. package/build/src/types/tests/rules/eslint/patterns/no-template-curly-in-string.test.d.ts +8 -0
  608. package/build/src/types/tests/rules/eslint/patterns/no-use-before-define.test.d.ts +8 -0
  609. package/build/src/types/tests/rules/eslint/regex/no-regex-literal-flags.test.d.ts +8 -0
  610. package/build/src/types/tests/rules/eslint/regex/no-regex-literals.test.d.ts +8 -0
  611. package/build/src/types/tests/rules/eslint/safety/no-script-url.test.d.ts +8 -0
  612. package/build/src/types/tests/rules/eslint/syntax/no-destructuring.test.d.ts +8 -0
  613. package/build/src/types/tests/rules/eslint/syntax/no-numeric-literals.test.d.ts +8 -0
  614. package/build/src/types/tests/rules/eslint/syntax/no-optional-chaining.test.d.ts +8 -0
  615. package/build/src/types/tests/rules/eslint/syntax/no-rest-params.test.d.ts +8 -0
  616. package/build/src/types/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.d.ts +8 -0
  617. package/build/src/types/tests/rules/eslint/typescript/no-explicit-any.test.d.ts +8 -0
  618. package/build/src/types/tests/rules/eslint/typescript/no-inline-type-annotation.test.d.ts +8 -0
  619. package/build/src/types/tests/rules/eslint/typescript/no-shared-type-import.test.d.ts +8 -0
  620. package/build/src/types/tests/rules/eslint/typescript/require-bracket-property-access.test.d.ts +12 -0
  621. package/build/src/types/tests/rules/eslint/typescript/require-type-naming.test.d.ts +8 -0
  622. package/build/src/types/tests/toolkit/bootstrap.test.d.ts +108 -0
  623. package/build/src/types/tests/toolkit/cli-header.test.d.ts +46 -0
  624. package/build/src/types/tests/toolkit/logger.test.d.ts +20 -0
  625. package/build/src/types/tests/toolkit/markdown-table.test.d.ts +65 -0
  626. package/build/src/types/tests/type-declarations.test.d.ts +564 -0
  627. package/build/src/types/toolkit/bootstrap.d.ts +133 -0
  628. package/build/src/types/toolkit/cli-header.d.ts +203 -0
  629. package/build/src/types/toolkit/logger.d.ts +160 -0
  630. package/build/src/types/toolkit/markdown-table.d.ts +159 -0
  631. package/build/templates/generators/github/funding/FUNDING.yml +12 -0
  632. package/build/templates/generators/github/issue-template/BUG-REPORT.yml +86 -0
  633. package/build/templates/generators/github/issue-template/FEATURE-REQUEST.yml +61 -0
  634. package/build/templates/generators/github/issue-template/SUPPORT-REQUEST.yml +50 -0
  635. package/build/templates/generators/github/issue-template/bug-report-fields/android.yml +16 -0
  636. package/build/templates/generators/github/issue-template/bug-report-fields/apple.yml +23 -0
  637. package/build/templates/generators/github/issue-template/bug-report-fields/csharp.yml +20 -0
  638. package/build/templates/generators/github/issue-template/bug-report-fields/docker.yml +33 -0
  639. package/build/templates/generators/github/issue-template/bug-report-fields/homebridge.yml +16 -0
  640. package/build/templates/generators/github/issue-template/bug-report-fields/nodejs.yml +8 -0
  641. package/build/templates/generators/github/issue-template/bug-report-fields/pfsense.yml +8 -0
  642. package/build/templates/generators/github/issue-template/bug-report-fields/php.yml +8 -0
  643. package/build/templates/generators/github/issue-template/bug-report-fields/python.yml +8 -0
  644. package/build/templates/generators/github/issue-template/bug-report-fields/screenshots.yml +7 -0
  645. package/build/templates/generators/github/issue-template/bug-report-fields/synology.yml +8 -0
  646. package/build/templates/generators/github/issue-template/bug-report-fields/web.yml +21 -0
  647. package/build/templates/generators/github/issue-template/config.yml +1 -0
  648. package/build/templates/generators/github/issue-template/legal-agreements/bug-report.yml +8 -0
  649. package/build/templates/generators/github/issue-template/legal-agreements/feature-request.yml +8 -0
  650. package/build/templates/generators/github/issue-template/legal-agreements/support-request.yml +8 -0
  651. package/build/templates/generators/github/workflows/check-sponsor-gated-issues/base.yml +57 -0
  652. package/build/templates/generators/github/workflows/lock-inactive-issues/base.yml +43 -0
  653. package/build/templates/generators/github/workflows/lock-inactive-issues/triggers/schedule.yml +5 -0
  654. package/build/templates/generators/github/workflows/publish-to-aws-amplify-nextjs/base.yml +53 -0
  655. package/build/templates/generators/github/workflows/publish-to-aws-amplify-nextjs/triggers/push.yml +5 -0
  656. package/build/templates/generators/github/workflows/publish-to-aws-amplify-nextjs/triggers/release.yml +5 -0
  657. package/build/templates/generators/github/workflows/publish-to-cloudflare-pages-docusaurus/base.yml +62 -0
  658. package/build/templates/generators/github/workflows/publish-to-cloudflare-pages-docusaurus/triggers/push.yml +5 -0
  659. package/build/templates/generators/github/workflows/publish-to-cloudflare-pages-docusaurus/triggers/release.yml +5 -0
  660. package/build/templates/generators/github/workflows/publish-to-docker-hub/base.yml +58 -0
  661. package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/release.yml +5 -0
  662. package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/workflow-run-any.yml +7 -0
  663. package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/workflow-run-failure.yml +8 -0
  664. package/build/templates/generators/github/workflows/publish-to-docker-hub/triggers/workflow-run-success.yml +8 -0
  665. package/build/templates/generators/github/workflows/publish-to-github-packages/base.yml +108 -0
  666. package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/release.yml +5 -0
  667. package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/workflow-run-any.yml +7 -0
  668. package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/workflow-run-failure.yml +8 -0
  669. package/build/templates/generators/github/workflows/publish-to-github-packages/triggers/workflow-run-success.yml +8 -0
  670. package/build/templates/generators/github/workflows/publish-to-github-pages-docusaurus/base.yml +79 -0
  671. package/build/templates/generators/github/workflows/publish-to-github-pages-docusaurus/triggers/push.yml +5 -0
  672. package/build/templates/generators/github/workflows/publish-to-github-pages-docusaurus/triggers/release.yml +5 -0
  673. package/build/templates/generators/github/workflows/publish-to-npm/base.yml +91 -0
  674. package/build/templates/generators/github/workflows/publish-to-npm/triggers/release.yml +5 -0
  675. package/build/templates/generators/github/workflows/publish-to-npm/triggers/workflow-run-any.yml +7 -0
  676. package/build/templates/generators/github/workflows/publish-to-npm/triggers/workflow-run-failure.yml +8 -0
  677. package/build/templates/generators/github/workflows/publish-to-npm/triggers/workflow-run-success.yml +8 -0
  678. package/build/templates/generators/must-haves/agent-conventions/AGENTS.md +54 -0
  679. package/build/templates/generators/must-haves/agent-conventions/CLAUDE.md +54 -0
  680. package/build/templates/generators/must-haves/agent-conventions/PROJECT_RULES.md +290 -0
  681. package/build/templates/generators/must-haves/agent-conventions/VISION.md +62 -0
  682. package/build/templates/generators/must-haves/agent-conventions/conventions/csharp.md +317 -0
  683. package/build/templates/generators/must-haves/agent-conventions/conventions/css.md +188 -0
  684. package/build/templates/generators/must-haves/agent-conventions/conventions/docker.md +131 -0
  685. package/build/templates/generators/must-haves/agent-conventions/conventions/documentation.md +615 -0
  686. package/build/templates/generators/must-haves/agent-conventions/conventions/java.md +285 -0
  687. package/build/templates/generators/must-haves/agent-conventions/conventions/kotlin.md +297 -0
  688. package/build/templates/generators/must-haves/agent-conventions/conventions/php.md +257 -0
  689. package/build/templates/generators/must-haves/agent-conventions/conventions/python.md +260 -0
  690. package/build/templates/generators/must-haves/agent-conventions/conventions/shell.md +205 -0
  691. package/build/templates/generators/must-haves/agent-conventions/conventions/swift.md +312 -0
  692. package/build/templates/generators/must-haves/agent-conventions/conventions/typescript.md +1530 -0
  693. package/build/templates/generators/must-haves/agent-conventions/conventions/universal.md +202 -0
  694. package/build/templates/generators/must-haves/license/AGPL-3.0 +662 -0
  695. package/build/templates/generators/must-haves/license/Apache-2.0 +202 -0
  696. package/build/templates/generators/must-haves/license/BSD-2-Clause +25 -0
  697. package/build/templates/generators/must-haves/license/BSD-3-Clause +29 -0
  698. package/build/templates/generators/must-haves/license/BSL-1.0 +24 -0
  699. package/build/templates/generators/must-haves/license/CC0-1.0 +122 -0
  700. package/build/templates/generators/must-haves/license/EPL-2.0 +278 -0
  701. package/build/templates/generators/must-haves/license/GPL-2.0 +340 -0
  702. package/build/templates/generators/must-haves/license/GPL-3.0 +675 -0
  703. package/build/templates/generators/must-haves/license/LGPL-2.1 +505 -0
  704. package/build/templates/generators/must-haves/license/MIT +22 -0
  705. package/build/templates/generators/must-haves/license/MPL-2.0 +374 -0
  706. package/build/templates/generators/must-haves/license/Proprietary +22 -0
  707. package/build/templates/generators/must-haves/license/Unlicense +25 -0
  708. package/build/templates/generators/must-haves/read-me/README.md +17 -0
  709. package/build/templates/scaffold/app/express/package.json +20 -0
  710. package/build/templates/scaffold/app/express/src/index.ts +12 -0
  711. package/build/templates/scaffold/app/express/tsconfig.json +15 -0
  712. package/build/templates/scaffold/app/nextjs/next.config.mjs +4 -0
  713. package/build/templates/scaffold/app/nextjs/package.json +22 -0
  714. package/build/templates/scaffold/app/nextjs/src/app/globals.css +11 -0
  715. package/build/templates/scaffold/app/nextjs/src/app/layout.tsx +18 -0
  716. package/build/templates/scaffold/app/nextjs/src/app/page.tsx +8 -0
  717. package/build/templates/scaffold/app/nextjs/tsconfig.json +26 -0
  718. package/build/templates/scaffold/app/vite/index.html +12 -0
  719. package/build/templates/scaffold/app/vite/package.json +17 -0
  720. package/build/templates/scaffold/app/vite/src/main.ts +5 -0
  721. package/build/templates/scaffold/app/vite/tsconfig.json +16 -0
  722. package/build/templates/scaffold/app/vite/vite.config.mts +3 -0
  723. package/build/templates/scaffold/app/workers/package.json +16 -0
  724. package/build/templates/scaffold/app/workers/src/index.ts +13 -0
  725. package/build/templates/scaffold/app/workers/tsconfig.json +17 -0
  726. package/build/templates/scaffold/app/workers/wrangler.toml +3 -0
  727. package/build/templates/scaffold/docs/docusaurus/docs/intro.md +9 -0
  728. package/build/templates/scaffold/docs/docusaurus/docusaurus.config.ts +33 -0
  729. package/build/templates/scaffold/docs/docusaurus/package.json +20 -0
  730. package/build/templates/scaffold/docs/docusaurus/sidebars.ts +9 -0
  731. package/build/templates/scaffold/docs/docusaurus/tsconfig.json +8 -0
  732. package/package.json +33 -23
  733. package/build/src/presets/eslint/dx-code-style.d.mts +0 -4
  734. package/build/src/presets/eslint/dx-code-style.d.mts.map +0 -1
  735. package/build/src/presets/eslint/dx-code-style.mjs +0 -211
  736. package/build/src/presets/eslint/dx-code-style.mjs.map +0 -1
  737. package/build/src/presets/eslint/dx-ignore.d.mts +0 -4
  738. package/build/src/presets/eslint/dx-ignore.d.mts.map +0 -1
  739. package/build/src/presets/eslint/dx-ignore.mjs.map +0 -1
  740. package/build/src/presets/eslint/env-browser.d.mts +0 -4
  741. package/build/src/presets/eslint/env-browser.d.mts.map +0 -1
  742. package/build/src/presets/eslint/env-browser.mjs +0 -3
  743. package/build/src/presets/eslint/env-browser.mjs.map +0 -1
  744. package/build/src/presets/eslint/env-edge.d.mts +0 -4
  745. package/build/src/presets/eslint/env-edge.d.mts.map +0 -1
  746. package/build/src/presets/eslint/env-edge.mjs.map +0 -1
  747. package/build/src/presets/eslint/env-node.d.mts +0 -4
  748. package/build/src/presets/eslint/env-node.d.mts.map +0 -1
  749. package/build/src/presets/eslint/env-node.mjs.map +0 -1
  750. package/build/src/presets/eslint/env-service-worker.d.mts +0 -4
  751. package/build/src/presets/eslint/env-service-worker.d.mts.map +0 -1
  752. package/build/src/presets/eslint/env-service-worker.mjs +0 -3
  753. package/build/src/presets/eslint/env-service-worker.mjs.map +0 -1
  754. package/build/src/presets/eslint/env-web-worker.d.mts +0 -4
  755. package/build/src/presets/eslint/env-web-worker.d.mts.map +0 -1
  756. package/build/src/presets/eslint/env-web-worker.mjs.map +0 -1
  757. package/build/src/presets/eslint/fw-docusaurus.d.mts +0 -4
  758. package/build/src/presets/eslint/fw-docusaurus.d.mts.map +0 -1
  759. package/build/src/presets/eslint/fw-docusaurus.mjs +0 -10
  760. package/build/src/presets/eslint/fw-docusaurus.mjs.map +0 -1
  761. package/build/src/presets/eslint/fw-expressjs.d.mts +0 -4
  762. package/build/src/presets/eslint/fw-expressjs.d.mts.map +0 -1
  763. package/build/src/presets/eslint/fw-expressjs.mjs.map +0 -1
  764. package/build/src/presets/eslint/fw-nextjs.d.mts +0 -4
  765. package/build/src/presets/eslint/fw-nextjs.d.mts.map +0 -1
  766. package/build/src/presets/eslint/fw-nextjs.mjs.map +0 -1
  767. package/build/src/presets/eslint/index.d.mts +0 -16
  768. package/build/src/presets/eslint/index.d.mts.map +0 -1
  769. package/build/src/presets/eslint/index.mjs +0 -16
  770. package/build/src/presets/eslint/index.mjs.map +0 -1
  771. package/build/src/presets/eslint/lang-javascript.d.mts +0 -4
  772. package/build/src/presets/eslint/lang-javascript.d.mts.map +0 -1
  773. package/build/src/presets/eslint/lang-javascript.mjs +0 -3
  774. package/build/src/presets/eslint/lang-javascript.mjs.map +0 -1
  775. package/build/src/presets/eslint/lang-mdx.d.mts +0 -4
  776. package/build/src/presets/eslint/lang-mdx.d.mts.map +0 -1
  777. package/build/src/presets/eslint/lang-mdx.mjs.map +0 -1
  778. package/build/src/presets/eslint/lang-typescript.d.mts +0 -4
  779. package/build/src/presets/eslint/lang-typescript.d.mts.map +0 -1
  780. package/build/src/presets/eslint/lang-typescript.mjs +0 -88
  781. package/build/src/presets/eslint/lang-typescript.mjs.map +0 -1
  782. package/build/src/presets/eslint/platform-cloudflare-workers.d.mts +0 -4
  783. package/build/src/presets/eslint/platform-cloudflare-workers.d.mts.map +0 -1
  784. package/build/src/presets/eslint/platform-cloudflare-workers.mjs +0 -8
  785. package/build/src/presets/eslint/platform-cloudflare-workers.mjs.map +0 -1
  786. package/build/src/presets/eslint/tool-vite.d.mts +0 -4
  787. package/build/src/presets/eslint/tool-vite.d.mts.map +0 -1
  788. package/build/src/presets/eslint/tool-vite.mjs.map +0 -1
  789. package/build/src/presets/tsconfig/env-web-worker.json +0 -12
  790. package/build/src/rules/eslint/patterns/no-destructuring.d.ts +0 -13
  791. package/build/src/rules/eslint/patterns/no-destructuring.d.ts.map +0 -1
  792. package/build/src/rules/eslint/patterns/no-destructuring.js +0 -177
  793. package/build/src/rules/eslint/patterns/no-destructuring.js.map +0 -1
  794. package/build/src/rules/eslint/patterns/no-implicit-boolean.d.ts +0 -6
  795. package/build/src/rules/eslint/patterns/no-implicit-boolean.d.ts.map +0 -1
  796. package/build/src/rules/eslint/patterns/no-implicit-boolean.js +0 -62
  797. package/build/src/rules/eslint/patterns/no-implicit-boolean.js.map +0 -1
  798. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.d.ts +0 -6
  799. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.d.ts.map +0 -1
  800. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.js +0 -32
  801. package/build/src/rules/eslint/patterns/no-ternary-in-template-literal.js.map +0 -1
  802. package/build/src/rules/eslint/patterns/switch-case-blocks.d.ts +0 -6
  803. package/build/src/rules/eslint/patterns/switch-case-blocks.d.ts.map +0 -1
  804. package/build/src/rules/eslint/patterns/switch-case-blocks.js +0 -36
  805. package/build/src/rules/eslint/patterns/switch-case-blocks.js.map +0 -1
  806. package/build/src/tests/api/node-releases.test.d.ts +0 -2
  807. package/build/src/tests/api/node-releases.test.d.ts.map +0 -1
  808. package/build/src/tests/api/node-releases.test.js +0 -193
  809. package/build/src/tests/api/node-releases.test.js.map +0 -1
  810. package/build/src/tests/api/spdx-licenses.test.d.ts +0 -2
  811. package/build/src/tests/api/spdx-licenses.test.d.ts.map +0 -1
  812. package/build/src/tests/api/spdx-licenses.test.js +0 -91
  813. package/build/src/tests/api/spdx-licenses.test.js.map +0 -1
  814. package/build/src/tests/cli/recipe/package-json/cleanup.test.d.ts +0 -2
  815. package/build/src/tests/cli/recipe/package-json/cleanup.test.d.ts.map +0 -1
  816. package/build/src/tests/cli/recipe/package-json/cleanup.test.js +0 -240
  817. package/build/src/tests/cli/recipe/package-json/cleanup.test.js.map +0 -1
  818. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.d.ts +0 -2
  819. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.d.ts.map +0 -1
  820. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.js +0 -161
  821. package/build/src/tests/cli/recipe/package-json/normalize-artifacts.test.js.map +0 -1
  822. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.d.ts +0 -2
  823. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.d.ts.map +0 -1
  824. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.js +0 -161
  825. package/build/src/tests/cli/recipe/package-json/normalize-bundler.test.js.map +0 -1
  826. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.d.ts +0 -2
  827. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.d.ts.map +0 -1
  828. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.js +0 -175
  829. package/build/src/tests/cli/recipe/package-json/normalize-dependencies.test.js.map +0 -1
  830. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.d.ts +0 -2
  831. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.d.ts.map +0 -1
  832. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.js +0 -164
  833. package/build/src/tests/cli/recipe/package-json/normalize-modules.test.js.map +0 -1
  834. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.d.ts +0 -2
  835. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.d.ts.map +0 -1
  836. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.js +0 -193
  837. package/build/src/tests/cli/recipe/package-json/normalize-tooling.test.js.map +0 -1
  838. package/build/src/tests/cli/recipe/package-json/sync-environment.test.d.ts +0 -2
  839. package/build/src/tests/cli/recipe/package-json/sync-environment.test.d.ts.map +0 -1
  840. package/build/src/tests/cli/recipe/package-json/sync-environment.test.js +0 -158
  841. package/build/src/tests/cli/recipe/package-json/sync-environment.test.js.map +0 -1
  842. package/build/src/tests/cli/recipe/package-json/sync-identity.test.d.ts +0 -2
  843. package/build/src/tests/cli/recipe/package-json/sync-identity.test.d.ts.map +0 -1
  844. package/build/src/tests/cli/recipe/package-json/sync-identity.test.js +0 -156
  845. package/build/src/tests/cli/recipe/package-json/sync-identity.test.js.map +0 -1
  846. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.d.ts +0 -2
  847. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.d.ts.map +0 -1
  848. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.js +0 -164
  849. package/build/src/tests/cli/recipe/package-json/sync-ownership.test.js.map +0 -1
  850. package/build/src/tests/cli/utility/changelog.test.d.ts +0 -2
  851. package/build/src/tests/cli/utility/changelog.test.d.ts.map +0 -1
  852. package/build/src/tests/cli/utility/changelog.test.js +0 -274
  853. package/build/src/tests/cli/utility/changelog.test.js.map +0 -1
  854. package/build/src/tests/cli/utility/initialize.test.d.ts +0 -2
  855. package/build/src/tests/cli/utility/initialize.test.d.ts.map +0 -1
  856. package/build/src/tests/cli/utility/initialize.test.js +0 -27
  857. package/build/src/tests/cli/utility/initialize.test.js.map +0 -1
  858. package/build/src/tests/cli/utility/run-recipes.test.d.ts +0 -2
  859. package/build/src/tests/cli/utility/run-recipes.test.d.ts.map +0 -1
  860. package/build/src/tests/cli/utility/run-recipes.test.js +0 -41
  861. package/build/src/tests/cli/utility/run-recipes.test.js.map +0 -1
  862. package/build/src/tests/cli/utility/run-scripts.test.d.ts +0 -2
  863. package/build/src/tests/cli/utility/run-scripts.test.d.ts.map +0 -1
  864. package/build/src/tests/cli/utility/run-scripts.test.js +0 -153
  865. package/build/src/tests/cli/utility/run-scripts.test.js.map +0 -1
  866. package/build/src/tests/cli/utility/transpile.test.d.ts +0 -2
  867. package/build/src/tests/cli/utility/transpile.test.d.ts.map +0 -1
  868. package/build/src/tests/cli/utility/transpile.test.js +0 -65
  869. package/build/src/tests/cli/utility/transpile.test.js.map +0 -1
  870. package/build/src/tests/cli/utility/type-check.test.d.ts +0 -2
  871. package/build/src/tests/cli/utility/type-check.test.d.ts.map +0 -1
  872. package/build/src/tests/cli/utility/type-check.test.js +0 -63
  873. package/build/src/tests/cli/utility/type-check.test.js.map +0 -1
  874. package/build/src/tests/cli/utility/version.test.d.ts +0 -2
  875. package/build/src/tests/cli/utility/version.test.d.ts.map +0 -1
  876. package/build/src/tests/cli/utility/version.test.js +0 -38
  877. package/build/src/tests/cli/utility/version.test.js.map +0 -1
  878. package/build/src/tests/lib/item.test.d.ts +0 -2
  879. package/build/src/tests/lib/item.test.d.ts.map +0 -1
  880. package/build/src/tests/lib/item.test.js +0 -142
  881. package/build/src/tests/lib/item.test.js.map +0 -1
  882. package/build/src/tests/lib/nova-config.test.d.ts +0 -2
  883. package/build/src/tests/lib/nova-config.test.d.ts.map +0 -1
  884. package/build/src/tests/lib/nova-config.test.js +0 -516
  885. package/build/src/tests/lib/nova-config.test.js.map +0 -1
  886. package/build/src/tests/lib/regex.test.d.ts +0 -2
  887. package/build/src/tests/lib/regex.test.d.ts.map +0 -1
  888. package/build/src/tests/lib/regex.test.js +0 -342
  889. package/build/src/tests/lib/regex.test.js.map +0 -1
  890. package/build/src/tests/lib/schema.test.d.ts +0 -2
  891. package/build/src/tests/lib/schema.test.d.ts.map +0 -1
  892. package/build/src/tests/lib/schema.test.js +0 -260
  893. package/build/src/tests/lib/schema.test.js.map +0 -1
  894. package/build/src/tests/lib/utility.test.d.ts +0 -2
  895. package/build/src/tests/lib/utility.test.d.ts.map +0 -1
  896. package/build/src/tests/lib/utility.test.js +0 -744
  897. package/build/src/tests/lib/utility.test.js.map +0 -1
  898. package/build/src/tests/rules/eslint/formatting/no-raw-text-in-code.test.d.ts +0 -2
  899. package/build/src/tests/rules/eslint/formatting/no-raw-text-in-code.test.d.ts.map +0 -1
  900. package/build/src/tests/rules/eslint/formatting/no-raw-text-in-code.test.js +0 -47
  901. package/build/src/tests/rules/eslint/formatting/no-raw-text-in-code.test.js.map +0 -1
  902. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.d.ts +0 -2
  903. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.d.ts.map +0 -1
  904. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.js +0 -131
  905. package/build/src/tests/rules/eslint/formatting/require-padding-lines.test.js.map +0 -1
  906. package/build/src/tests/rules/eslint/nova/no-logger-dev.test.d.ts +0 -2
  907. package/build/src/tests/rules/eslint/nova/no-logger-dev.test.d.ts.map +0 -1
  908. package/build/src/tests/rules/eslint/nova/no-logger-dev.test.js +0 -55
  909. package/build/src/tests/rules/eslint/nova/no-logger-dev.test.js.map +0 -1
  910. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.d.ts +0 -2
  911. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.d.ts.map +0 -1
  912. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.js +0 -39
  913. package/build/src/tests/rules/eslint/patterns/no-assign-then-return.test.js.map +0 -1
  914. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.d.ts +0 -2
  915. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.d.ts.map +0 -1
  916. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.js +0 -40
  917. package/build/src/tests/rules/eslint/patterns/no-bracket-assignment.test.js.map +0 -1
  918. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.d.ts +0 -2
  919. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.d.ts.map +0 -1
  920. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.js +0 -86
  921. package/build/src/tests/rules/eslint/patterns/no-destructuring.test.js.map +0 -1
  922. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.d.ts +0 -2
  923. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.d.ts.map +0 -1
  924. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.js +0 -76
  925. package/build/src/tests/rules/eslint/patterns/no-implicit-boolean.test.js.map +0 -1
  926. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.d.ts +0 -2
  927. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.d.ts.map +0 -1
  928. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.js +0 -42
  929. package/build/src/tests/rules/eslint/patterns/no-ternary-in-template-literal.test.js.map +0 -1
  930. package/build/src/tests/rules/eslint/patterns/switch-case-blocks.test.d.ts +0 -2
  931. package/build/src/tests/rules/eslint/patterns/switch-case-blocks.test.d.ts.map +0 -1
  932. package/build/src/tests/rules/eslint/patterns/switch-case-blocks.test.js +0 -43
  933. package/build/src/tests/rules/eslint/patterns/switch-case-blocks.test.js.map +0 -1
  934. package/build/src/tests/rules/eslint/regex/no-regex-literal-flags.test.d.ts +0 -2
  935. package/build/src/tests/rules/eslint/regex/no-regex-literal-flags.test.d.ts.map +0 -1
  936. package/build/src/tests/rules/eslint/regex/no-regex-literal-flags.test.js +0 -47
  937. package/build/src/tests/rules/eslint/regex/no-regex-literal-flags.test.js.map +0 -1
  938. package/build/src/tests/rules/eslint/regex/no-regex-literals.test.d.ts +0 -2
  939. package/build/src/tests/rules/eslint/regex/no-regex-literals.test.d.ts.map +0 -1
  940. package/build/src/tests/rules/eslint/regex/no-regex-literals.test.js +0 -49
  941. package/build/src/tests/rules/eslint/regex/no-regex-literals.test.js.map +0 -1
  942. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.d.ts +0 -2
  943. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.d.ts.map +0 -1
  944. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.js +0 -34
  945. package/build/src/tests/rules/eslint/typescript/no-catch-unknown-annotation.test.js.map +0 -1
  946. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.d.ts +0 -2
  947. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.d.ts.map +0 -1
  948. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.js +0 -55
  949. package/build/src/tests/rules/eslint/typescript/no-inline-type-annotation.test.js.map +0 -1
  950. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.d.ts +0 -2
  951. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.d.ts.map +0 -1
  952. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.js +0 -51
  953. package/build/src/tests/rules/eslint/typescript/no-shared-type-import.test.js.map +0 -1
  954. package/build/src/tests/toolkit/cli-header.test.d.ts +0 -2
  955. package/build/src/tests/toolkit/cli-header.test.d.ts.map +0 -1
  956. package/build/src/tests/toolkit/cli-header.test.js +0 -143
  957. package/build/src/tests/toolkit/cli-header.test.js.map +0 -1
  958. package/build/src/tests/toolkit/logger.test.d.ts +0 -2
  959. package/build/src/tests/toolkit/logger.test.d.ts.map +0 -1
  960. package/build/src/tests/toolkit/logger.test.js +0 -96
  961. package/build/src/tests/toolkit/logger.test.js.map +0 -1
  962. package/build/src/tests/toolkit/markdown-table.test.d.ts +0 -2
  963. package/build/src/tests/toolkit/markdown-table.test.d.ts.map +0 -1
  964. package/build/src/tests/toolkit/markdown-table.test.js +0 -138
  965. package/build/src/tests/toolkit/markdown-table.test.js.map +0 -1
  966. /package/build/src/presets/tsconfig/{env-browser.json → runtime-browser.json} +0 -0
  967. /package/build/src/presets/tsconfig/{env-edge.json → runtime-edge.json} +0 -0
  968. /package/build/src/presets/tsconfig/{env-node.json → runtime-node.json} +0 -0
  969. /package/build/src/presets/tsconfig/{env-service-worker.json → runtime-service-worker.json} +0 -0
@@ -1,161 +0,0 @@
1
- import { deepStrictEqual, strictEqual, } from 'node:assert/strict';
2
- import { mkdir, mkdtemp, readFile, rm, writeFile, } from 'node:fs/promises';
3
- import { tmpdir } from 'node:os';
4
- import { join } from 'node:path';
5
- import { test } from 'node:test';
6
- import { CLIRecipePackageJsonNormalizeArtifacts } from '../../../../cli/recipe/package-json/normalize-artifacts.js';
7
- test('CLIRecipePackageJsonNormalizeArtifacts.run', async (context) => {
8
- const originalCwd = process.cwd();
9
- const sandboxRoot = await mkdtemp(join(tmpdir(), `nova-${context.name}-`));
10
- context.after(async () => {
11
- process.chdir(originalCwd);
12
- process.exitCode = undefined;
13
- await rm(sandboxRoot, {
14
- recursive: true,
15
- force: true,
16
- });
17
- });
18
- await context.test('sets exit code when not at project root', async () => {
19
- const projectDir = join(sandboxRoot, 'not-project-root');
20
- await mkdir(projectDir, { recursive: true });
21
- process.chdir(projectDir);
22
- process.exitCode = undefined;
23
- await CLIRecipePackageJsonNormalizeArtifacts.run({});
24
- strictEqual(process.exitCode, 1);
25
- });
26
- await context.test('skips when no workspaces have the recipe enabled', async () => {
27
- const projectDir = join(sandboxRoot, 'no-recipe');
28
- const workspaceDir = join(projectDir, 'packages', 'core');
29
- await mkdir(workspaceDir, { recursive: true });
30
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
31
- name: 'test-no-recipe',
32
- }, null, 2), 'utf-8');
33
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
34
- workspaces: {
35
- './packages/core': {
36
- name: '@test/core',
37
- role: 'package',
38
- policy: 'distributable',
39
- },
40
- },
41
- }, null, 2), 'utf-8');
42
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
43
- name: '@test/core',
44
- version: '1.0.0',
45
- bin: './build/cli.js',
46
- }, null, 2), 'utf-8');
47
- process.chdir(projectDir);
48
- process.exitCode = undefined;
49
- await CLIRecipePackageJsonNormalizeArtifacts.run({
50
- replaceFile: true,
51
- });
52
- strictEqual(process.exitCode, undefined);
53
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
54
- const parsed = JSON.parse(output);
55
- strictEqual(parsed['bin'], './build/cli.js');
56
- });
57
- await context.test('normalizes string bin to object for package role', async () => {
58
- const projectDir = join(sandboxRoot, 'normalize-bin');
59
- const workspaceDir = join(projectDir, 'packages', 'core');
60
- await mkdir(workspaceDir, { recursive: true });
61
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
62
- name: 'test-normalize-bin',
63
- }, null, 2), 'utf-8');
64
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
65
- workspaces: {
66
- './packages/core': {
67
- name: '@test/core',
68
- role: 'package',
69
- policy: 'distributable',
70
- recipes: {
71
- 'normalize-artifacts': [true],
72
- },
73
- },
74
- },
75
- }, null, 2), 'utf-8');
76
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
77
- name: '@test/core',
78
- version: '1.0.0',
79
- bin: './build/cli.js',
80
- }, null, 2), 'utf-8');
81
- process.chdir(projectDir);
82
- process.exitCode = undefined;
83
- await CLIRecipePackageJsonNormalizeArtifacts.run({
84
- replaceFile: true,
85
- });
86
- strictEqual(process.exitCode, undefined);
87
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
88
- const parsed = JSON.parse(output);
89
- deepStrictEqual(parsed['bin'], {
90
- core: './build/cli.js',
91
- });
92
- });
93
- await context.test('sets private to true for non-distributable workspace', async () => {
94
- const projectDir = join(sandboxRoot, 'sync-private');
95
- const workspaceDir = join(projectDir, 'apps', 'docs');
96
- await mkdir(workspaceDir, { recursive: true });
97
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
98
- name: 'test-sync-private',
99
- }, null, 2), 'utf-8');
100
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
101
- workspaces: {
102
- './apps/docs': {
103
- name: 'test-docs',
104
- role: 'docs',
105
- policy: 'freezable',
106
- recipes: {
107
- 'normalize-artifacts': [true],
108
- },
109
- },
110
- },
111
- }, null, 2), 'utf-8');
112
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
113
- name: 'test-docs',
114
- version: '0.0.0',
115
- }, null, 2), 'utf-8');
116
- process.chdir(projectDir);
117
- process.exitCode = undefined;
118
- await CLIRecipePackageJsonNormalizeArtifacts.run({
119
- replaceFile: true,
120
- });
121
- strictEqual(process.exitCode, undefined);
122
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
123
- const parsed = JSON.parse(output);
124
- strictEqual(parsed['private'], true);
125
- });
126
- await context.test('does not modify files during dry run', async () => {
127
- const projectDir = join(sandboxRoot, 'dry-run');
128
- const workspaceDir = join(projectDir, 'packages', 'core');
129
- await mkdir(workspaceDir, { recursive: true });
130
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
131
- name: 'test-dry-run',
132
- }, null, 2), 'utf-8');
133
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
134
- workspaces: {
135
- './packages/core': {
136
- name: '@test/core',
137
- role: 'package',
138
- policy: 'distributable',
139
- recipes: {
140
- 'normalize-artifacts': [true],
141
- },
142
- },
143
- },
144
- }, null, 2), 'utf-8');
145
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
146
- name: '@test/core',
147
- version: '1.0.0',
148
- bin: './build/cli.js',
149
- }, null, 2), 'utf-8');
150
- process.chdir(projectDir);
151
- process.exitCode = undefined;
152
- await CLIRecipePackageJsonNormalizeArtifacts.run({
153
- dryRun: true,
154
- });
155
- strictEqual(process.exitCode, undefined);
156
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
157
- const parsed = JSON.parse(output);
158
- strictEqual(parsed['bin'], './build/cli.js');
159
- });
160
- });
161
- //# sourceMappingURL=normalize-artifacts.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-artifacts.test.js","sourceRoot":"","sources":["../../../../../../src/tests/cli/recipe/package-json/normalize-artifacts.test.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,WAAW,GACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,EAAE,EACF,SAAS,GACV,MAA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AS,CACb,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,EACpC,IAAI,CAAC,SAAS,CAAC;YACb,UAAU,EAAE;gBACV,iBAAiB,EAAE;oBACjB,IAAI,EAAE,YAAY;oBAClB,IAAI,EAAE,SAAS;oBACf,MAAM,EAAE,eAAe;oBACvB,OAAO,EAAE;wBACP,qBAAqB,EAAE,CAAC,IAAI,CAAC;qBAC9B;iBACF;aACF;SACF,EAAE,IAAI,EAAE,CAAC,CAAC,EACX,OAAO,CACR,CAAC;QAEF,MAAM,SAAS,CACb,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,EAClC,IAAI,CAAC,SAAS,CAAC;YACb,IAAI,EAAE,YAAY;YAClB,OAAO,EAAE,OAAO;YAChB,GAAG,EAAE,gBAAgB;SACtB,EAAE,IAAI,EAAE,CAAC,CAAC,EACX,OAAO,CACR,CAAC;QAEF,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAE1B,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC;QAE7B,MAAM,sCAAsC,CAAC,GAAG,CAAC;YAC/C,MAAM,EAAE,IAAI;SACb,CAAC,CAAC;QAEH,WAAW,CAAC,OAAO,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;QAGzC,MAAM,MAAM,GAAG,MAAM,QAAQ,CAAC,IAAI,CAAC,YAAY,EAAE,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAElC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,gBAAgB,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=normalize-bundler.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-bundler.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tests/cli/recipe/package-json/normalize-bundler.test.ts"],"names":[],"mappings":""}
@@ -1,161 +0,0 @@
1
- import { strictEqual } from 'node:assert/strict';
2
- import { mkdir, mkdtemp, readFile, rm, writeFile, } from 'node:fs/promises';
3
- import { tmpdir } from 'node:os';
4
- import { join } from 'node:path';
5
- import { test } from 'node:test';
6
- import { CLIRecipePackageJsonNormalizeBundler } from '../../../../cli/recipe/package-json/normalize-bundler.js';
7
- test('CLIRecipePackageJsonNormalizeBundler.run', async (context) => {
8
- const originalCwd = process.cwd();
9
- const sandboxRoot = await mkdtemp(join(tmpdir(), `nova-${context.name}-`));
10
- context.after(async () => {
11
- process.chdir(originalCwd);
12
- process.exitCode = undefined;
13
- await rm(sandboxRoot, {
14
- recursive: true,
15
- force: true,
16
- });
17
- });
18
- await context.test('sets exit code when not at project root', async () => {
19
- const projectDir = join(sandboxRoot, 'not-project-root');
20
- await mkdir(projectDir, { recursive: true });
21
- process.chdir(projectDir);
22
- process.exitCode = undefined;
23
- await CLIRecipePackageJsonNormalizeBundler.run({});
24
- strictEqual(process.exitCode, 1);
25
- });
26
- await context.test('skips when no workspaces have the recipe enabled', async () => {
27
- const projectDir = join(sandboxRoot, 'no-recipe');
28
- const workspaceDir = join(projectDir, 'packages', 'core');
29
- await mkdir(workspaceDir, { recursive: true });
30
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
31
- name: 'test-no-recipe',
32
- }, null, 2), 'utf-8');
33
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
34
- workspaces: {
35
- './packages/core': {
36
- name: '@test/core',
37
- role: 'package',
38
- policy: 'distributable',
39
- },
40
- },
41
- }, null, 2), 'utf-8');
42
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
43
- name: '@test/core',
44
- version: '1.0.0',
45
- typings: './build/index.d.ts',
46
- }, null, 2), 'utf-8');
47
- process.chdir(projectDir);
48
- process.exitCode = undefined;
49
- await CLIRecipePackageJsonNormalizeBundler.run({
50
- replaceFile: true,
51
- });
52
- strictEqual(process.exitCode, undefined);
53
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
54
- const parsed = JSON.parse(output);
55
- strictEqual(parsed['typings'], './build/index.d.ts');
56
- });
57
- await context.test('renames typings to types', async () => {
58
- const projectDir = join(sandboxRoot, 'rename-typings');
59
- const workspaceDir = join(projectDir, 'packages', 'core');
60
- await mkdir(workspaceDir, { recursive: true });
61
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
62
- name: 'test-rename-typings',
63
- }, null, 2), 'utf-8');
64
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
65
- workspaces: {
66
- './packages/core': {
67
- name: '@test/core',
68
- role: 'package',
69
- policy: 'distributable',
70
- recipes: {
71
- 'normalize-bundler': [true],
72
- },
73
- },
74
- },
75
- }, null, 2), 'utf-8');
76
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
77
- name: '@test/core',
78
- version: '1.0.0',
79
- typings: './build/index.d.ts',
80
- }, null, 2), 'utf-8');
81
- process.chdir(projectDir);
82
- process.exitCode = undefined;
83
- await CLIRecipePackageJsonNormalizeBundler.run({
84
- replaceFile: true,
85
- });
86
- strictEqual(process.exitCode, undefined);
87
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
88
- const parsed = JSON.parse(output);
89
- strictEqual(parsed['typings'], undefined);
90
- strictEqual(parsed['types'], './build/index.d.ts');
91
- });
92
- await context.test('removes sideEffects from non-package role', async () => {
93
- const projectDir = join(sandboxRoot, 'remove-side-effects');
94
- const workspaceDir = join(projectDir, 'apps', 'docs');
95
- await mkdir(workspaceDir, { recursive: true });
96
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
97
- name: 'test-remove-side-effects',
98
- }, null, 2), 'utf-8');
99
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
100
- workspaces: {
101
- './apps/docs': {
102
- name: 'test-docs',
103
- role: 'docs',
104
- policy: 'freezable',
105
- recipes: {
106
- 'normalize-bundler': [true],
107
- },
108
- },
109
- },
110
- }, null, 2), 'utf-8');
111
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
112
- name: 'test-docs',
113
- version: '0.0.0',
114
- sideEffects: false,
115
- }, null, 2), 'utf-8');
116
- process.chdir(projectDir);
117
- process.exitCode = undefined;
118
- await CLIRecipePackageJsonNormalizeBundler.run({
119
- replaceFile: true,
120
- });
121
- strictEqual(process.exitCode, undefined);
122
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
123
- const parsed = JSON.parse(output);
124
- strictEqual(parsed['sideEffects'], undefined);
125
- });
126
- await context.test('does not modify files during dry run', async () => {
127
- const projectDir = join(sandboxRoot, 'dry-run');
128
- const workspaceDir = join(projectDir, 'packages', 'core');
129
- await mkdir(workspaceDir, { recursive: true });
130
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
131
- name: 'test-dry-run',
132
- }, null, 2), 'utf-8');
133
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
134
- workspaces: {
135
- './packages/core': {
136
- name: '@test/core',
137
- role: 'package',
138
- policy: 'distributable',
139
- recipes: {
140
- 'normalize-bundler': [true],
141
- },
142
- },
143
- },
144
- }, null, 2), 'utf-8');
145
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
146
- name: '@test/core',
147
- version: '1.0.0',
148
- typings: './build/index.d.ts',
149
- }, null, 2), 'utf-8');
150
- process.chdir(projectDir);
151
- process.exitCode = undefined;
152
- await CLIRecipePackageJsonNormalizeBundler.run({
153
- dryRun: true,
154
- });
155
- strictEqual(process.exitCode, undefined);
156
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
157
- const parsed = JSON.parse(output);
158
- strictEqual(parsed['typings'], './build/index.d.ts');
159
- });
160
- });
161
- //# sourceMappingURL=normalize-bundler.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-bundler.test.js","sourceRoot":"","sources":["../../../../../../src/tests/cli/recipe/package-json/normalize-bundler.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAA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AC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=normalize-dependencies.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-dependencies.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tests/cli/recipe/package-json/normalize-dependencies.test.ts"],"names":[],"mappings":""}
@@ -1,175 +0,0 @@
1
- import { strictEqual } from 'node:assert/strict';
2
- import { mkdir, mkdtemp, readFile, rm, writeFile, } from 'node:fs/promises';
3
- import { tmpdir } from 'node:os';
4
- import { join } from 'node:path';
5
- import { test } from 'node:test';
6
- import { CLIRecipePackageJsonNormalizeDependencies } from '../../../../cli/recipe/package-json/normalize-dependencies.js';
7
- test('CLIRecipePackageJsonNormalizeDependencies.run', async (context) => {
8
- const originalCwd = process.cwd();
9
- const sandboxRoot = await mkdtemp(join(tmpdir(), `nova-${context.name}-`));
10
- context.after(async () => {
11
- process.chdir(originalCwd);
12
- process.exitCode = undefined;
13
- await rm(sandboxRoot, {
14
- recursive: true,
15
- force: true,
16
- });
17
- });
18
- await context.test('sets exit code when not at project root', async () => {
19
- const projectDir = join(sandboxRoot, 'not-project-root');
20
- await mkdir(projectDir, { recursive: true });
21
- process.chdir(projectDir);
22
- process.exitCode = undefined;
23
- await CLIRecipePackageJsonNormalizeDependencies.run({});
24
- strictEqual(process.exitCode, 1);
25
- });
26
- await context.test('skips when no workspaces have the recipe enabled', async () => {
27
- const projectDir = join(sandboxRoot, 'no-recipe');
28
- const workspaceDir = join(projectDir, 'packages', 'core');
29
- await mkdir(workspaceDir, { recursive: true });
30
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
31
- name: 'test-no-recipe',
32
- }, null, 2), 'utf-8');
33
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
34
- workspaces: {
35
- './packages/core': {
36
- name: '@test/core',
37
- role: 'package',
38
- policy: 'distributable',
39
- },
40
- },
41
- }, null, 2), 'utf-8');
42
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
43
- name: '@test/core',
44
- version: '1.0.0',
45
- dependencies: {},
46
- }, null, 2), 'utf-8');
47
- process.chdir(projectDir);
48
- process.exitCode = undefined;
49
- await CLIRecipePackageJsonNormalizeDependencies.run({
50
- replaceFile: true,
51
- });
52
- strictEqual(process.exitCode, undefined);
53
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
54
- const parsed = JSON.parse(output);
55
- strictEqual(typeof parsed['dependencies'], 'object');
56
- });
57
- await context.test('removes empty dependency fields', async () => {
58
- const projectDir = join(sandboxRoot, 'remove-empty');
59
- const workspaceDir = join(projectDir, 'packages', 'core');
60
- await mkdir(workspaceDir, { recursive: true });
61
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
62
- name: 'test-remove-empty',
63
- }, null, 2), 'utf-8');
64
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
65
- workspaces: {
66
- './packages/core': {
67
- name: '@test/core',
68
- role: 'package',
69
- policy: 'distributable',
70
- recipes: {
71
- 'normalize-dependencies': [true],
72
- },
73
- },
74
- },
75
- }, null, 2), 'utf-8');
76
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
77
- name: '@test/core',
78
- version: '1.0.0',
79
- dependencies: {},
80
- devDependencies: {},
81
- peerDependencies: {},
82
- optionalDependencies: {},
83
- overrides: {},
84
- }, null, 2), 'utf-8');
85
- process.chdir(projectDir);
86
- process.exitCode = undefined;
87
- await CLIRecipePackageJsonNormalizeDependencies.run({
88
- replaceFile: true,
89
- });
90
- strictEqual(process.exitCode, undefined);
91
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
92
- const parsed = JSON.parse(output);
93
- strictEqual(parsed['dependencies'], undefined);
94
- strictEqual(parsed['devDependencies'], undefined);
95
- strictEqual(parsed['peerDependencies'], undefined);
96
- strictEqual(parsed['optionalDependencies'], undefined);
97
- strictEqual(parsed['overrides'], undefined);
98
- });
99
- await context.test('merges bundledDependencies into bundleDependencies', async () => {
100
- const projectDir = join(sandboxRoot, 'merge-bundled');
101
- const workspaceDir = join(projectDir, 'packages', 'core');
102
- await mkdir(workspaceDir, { recursive: true });
103
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
104
- name: 'test-merge-bundled',
105
- }, null, 2), 'utf-8');
106
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
107
- workspaces: {
108
- './packages/core': {
109
- name: '@test/core',
110
- role: 'package',
111
- policy: 'distributable',
112
- recipes: {
113
- 'normalize-dependencies': [true],
114
- },
115
- },
116
- },
117
- }, null, 2), 'utf-8');
118
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
119
- name: '@test/core',
120
- version: '1.0.0',
121
- dependencies: {
122
- lodash: '4.17.21',
123
- },
124
- bundleDependencies: ['lodash'],
125
- bundledDependencies: ['chalk'],
126
- }, null, 2), 'utf-8');
127
- process.chdir(projectDir);
128
- process.exitCode = undefined;
129
- await CLIRecipePackageJsonNormalizeDependencies.run({
130
- replaceFile: true,
131
- });
132
- strictEqual(process.exitCode, undefined);
133
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
134
- const parsed = JSON.parse(output);
135
- strictEqual(parsed['bundledDependencies'], undefined);
136
- strictEqual(Array.isArray(parsed['bundleDependencies']), true);
137
- strictEqual(parsed['bundleDependencies'].includes('lodash'), true);
138
- strictEqual(parsed['bundleDependencies'].includes('chalk'), true);
139
- });
140
- await context.test('does not modify files during dry run', async () => {
141
- const projectDir = join(sandboxRoot, 'dry-run');
142
- const workspaceDir = join(projectDir, 'packages', 'core');
143
- await mkdir(workspaceDir, { recursive: true });
144
- await writeFile(join(projectDir, 'package.json'), JSON.stringify({
145
- name: 'test-dry-run',
146
- }, null, 2), 'utf-8');
147
- await writeFile(join(projectDir, 'nova.config.json'), JSON.stringify({
148
- workspaces: {
149
- './packages/core': {
150
- name: '@test/core',
151
- role: 'package',
152
- policy: 'distributable',
153
- recipes: {
154
- 'normalize-dependencies': [true],
155
- },
156
- },
157
- },
158
- }, null, 2), 'utf-8');
159
- await writeFile(join(workspaceDir, 'package.json'), JSON.stringify({
160
- name: '@test/core',
161
- version: '1.0.0',
162
- dependencies: {},
163
- }, null, 2), 'utf-8');
164
- process.chdir(projectDir);
165
- process.exitCode = undefined;
166
- await CLIRecipePackageJsonNormalizeDependencies.run({
167
- dryRun: true,
168
- });
169
- strictEqual(process.exitCode, undefined);
170
- const output = await readFile(join(workspaceDir, 'package.json'), 'utf-8');
171
- const parsed = JSON.parse(output);
172
- strictEqual(typeof parsed['dependencies'], 'object');
173
- });
174
- });
175
- //# sourceMappingURL=normalize-dependencies.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-dependencies.test.js","sourceRoot":"","sources":["../../../../../../src/tests/cli/recipe/package-json/normalize-dependencies.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,EAAE,EACF,SAAS,GACV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,OAAO,EAAE,yCAAyC,EAAE,MAAM,qDAAqD,CAAC;AAYhH,IAAI,CAAC,+CAA+C,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;IACtE,MAAM,WAAW,GAA6D,OAAO,CAAC,GAAG,EAAE,CAAC;IAC5F,MAAM,WAAW,GAA6D,MAAM,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,QAAQ,OAAO,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IAErI,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,EAAE;QACvB,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAE3B,OAAO,CAAC,QAAQ,GAAG,SAAS,CAAC;QAE7B,MAA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}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=normalize-modules.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"normalize-modules.test.d.ts","sourceRoot":"","sources":["../../../../../../src/tests/cli/recipe/package-json/normalize-modules.test.ts"],"names":[],"mappings":""}