@theholocron/cli 5.0.0-alpha.245 → 5.0.0-alpha.246

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.
package/dist/cli.mjs CHANGED
@@ -7307,15 +7307,17 @@ function parseTopics(raw) {
7307
7307
  }
7308
7308
  /**
7309
7309
  * Generate the content of `holocron.config.ts` for a newly-scaffolded repo.
7310
- * Uses the `node()` preset from `@theholocron/holocron-config` as the baseline
7310
+ * Composes the `withNode()` and `withTypecheck()` capabilities from `@theholocron/cli/presets` as the baseline
7311
7311
  * and layers in the provider/agent choices made during the wizard.
7312
7312
  */
7313
7313
  function generateHolocronConfig(opts) {
7314
7314
  const lines = [
7315
7315
  `import { defineConfig } from "@theholocron/cli";`,
7316
- `import { compose, node, typecheck } from "@theholocron/holocron-config";`,
7316
+ `import { compose, withCapabilities } from "@theholocron/cli/presets";`,
7317
7317
  ``,
7318
- `const preset = compose(node(), typecheck());`,
7318
+ `const { withNode, withTypecheck } = withCapabilities;`,
7319
+ ``,
7320
+ `const preset = compose(withNode(), withTypecheck());`,
7319
7321
  `export default defineConfig({`,
7320
7322
  `\t...preset,`
7321
7323
  ];