sprawlify 0.1.0 → 0.1.2

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 (2) hide show
  1. package/dist/index.mjs +2 -4
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -10,7 +10,7 @@ import { faker } from "@faker-js/faker";
10
10
  import { cosmiconfig } from "cosmiconfig";
11
11
  import { createMatchPath, loadConfig } from "tsconfig-paths";
12
12
  //#region package.json
13
- var version = "0.1.0";
13
+ var version = "0.1.2";
14
14
  //#endregion
15
15
  //#region src/utils/file-helper.ts
16
16
  const FILE_BACKUP_SUFFIX = ".bak";
@@ -3986,7 +3986,7 @@ async function runInit(options) {
3986
3986
  preset: options.preset,
3987
3987
  metaframework: options.metaframework,
3988
3988
  tsx: true,
3989
- tailwindcss: { css: `${tailwindcss.cwd}/${tailwindcss.css}` },
3989
+ tailwind: { css: `${tailwindcss.cwd}/${tailwindcss.css}` },
3990
3990
  aliases: {
3991
3991
  components: "@/components",
3992
3992
  utils: "@/lib/utils",
@@ -4070,7 +4070,6 @@ const init = new Command().name("init").alias("create").description("initialize
4070
4070
  //#region src/commands/add/options.ts
4071
4071
  const addOptionsSchema = z.object({
4072
4072
  components: z.array(z.string()).optional(),
4073
- yes: z.boolean(),
4074
4073
  overwrite: z.boolean(),
4075
4074
  cwd: z.string(),
4076
4075
  all: z.boolean(),
@@ -4279,7 +4278,6 @@ async function getRawConfig(cwd) {
4279
4278
  return rawConfigSchema.parse(configResult.config);
4280
4279
  } catch (error) {
4281
4280
  const componentPath = `${cwd}/components.json`;
4282
- if (error instanceof Error && error.message.includes("reserved registry")) throw error;
4283
4281
  throw new Error(`Invalid configuration found in ${highlighter.info(componentPath)}.`);
4284
4282
  }
4285
4283
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprawlify",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A command-line interface for Sprawlify.",
5
5
  "license": "MIT",
6
6
  "author": "sprawlify <npm@sprawlify.com>",