sprawlify 0.1.1 → 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.
- package/dist/index.mjs +2 -3
- 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.
|
|
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
|
-
|
|
3989
|
+
tailwind: { css: `${tailwindcss.cwd}/${tailwindcss.css}` },
|
|
3990
3990
|
aliases: {
|
|
3991
3991
|
components: "@/components",
|
|
3992
3992
|
utils: "@/lib/utils",
|
|
@@ -4278,7 +4278,6 @@ async function getRawConfig(cwd) {
|
|
|
4278
4278
|
return rawConfigSchema.parse(configResult.config);
|
|
4279
4279
|
} catch (error) {
|
|
4280
4280
|
const componentPath = `${cwd}/components.json`;
|
|
4281
|
-
if (error instanceof Error && error.message.includes("reserved registry")) throw error;
|
|
4282
4281
|
throw new Error(`Invalid configuration found in ${highlighter.info(componentPath)}.`);
|
|
4283
4282
|
}
|
|
4284
4283
|
}
|