@frontic/ui 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1542,16 +1542,6 @@ async function runInit(options) {
1542
1542
  isNewProject: options.isNewProject || projectInfo?.framework.name === "nuxt4"
1543
1543
  });
1544
1544
  if (options.isNewProject && options.srcDir) await updateTailwindContent(["./src/**/*.{js,ts,jsx,tsx,mdx}"], fullConfig, { silent: options.silent });
1545
- const configPath = path.resolve(options.cwd, "components.json");
1546
- try {
1547
- const existingConfig = await fsExtra.readJson(configPath);
1548
- existingConfig.registries = existingConfig.registries || {};
1549
- existingConfig.registries["@frontic"] = { url: `${REGISTRY_URL}/styles/{style}/{name}.json` };
1550
- await promises.writeFile(configPath, `${JSON.stringify(existingConfig, null, 2)}\n`, "utf8");
1551
- if (!options.silent) logger.success("Frontic registry configured");
1552
- } catch {
1553
- logger.warn("Could not add Frontic registry to components.json");
1554
- }
1555
1545
  const { brand, brandForeground } = fullConfig.tailwind;
1556
1546
  if (!options.silent && brand) {
1557
1547
  logger.break();
@@ -2427,7 +2417,7 @@ const migrate = new Command().name("migrate").description("run a migration.").ar
2427
2417
 
2428
2418
  //#endregion
2429
2419
  //#region package.json
2430
- var version = "0.6.0";
2420
+ var version = "0.7.0";
2431
2421
 
2432
2422
  //#endregion
2433
2423
  //#region src/index.ts