sprawlify 0.1.2 → 0.1.4
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 +3 -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.4";
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/utils/file-helper.ts
|
|
16
16
|
const FILE_BACKUP_SUFFIX = ".bak";
|
|
@@ -4215,6 +4215,7 @@ async function promptForMissingSelections(options, config) {
|
|
|
4215
4215
|
//#endregion
|
|
4216
4216
|
//#region src/registry/schema.ts
|
|
4217
4217
|
const rawConfigSchema = z.object({
|
|
4218
|
+
$schema: z.string().optional(),
|
|
4218
4219
|
preset: z.string(),
|
|
4219
4220
|
framework: z.string(),
|
|
4220
4221
|
tsx: z.coerce.boolean().default(true),
|
|
@@ -4231,12 +4232,11 @@ const rawConfigSchema = z.object({
|
|
|
4231
4232
|
});
|
|
4232
4233
|
const configSchema = rawConfigSchema.extend({ resolvedPaths: z.object({
|
|
4233
4234
|
cwd: z.string(),
|
|
4234
|
-
tailwindconfig: z.string(),
|
|
4235
|
+
tailwindconfig: z.string().optional(),
|
|
4235
4236
|
tailwindcss: z.string(),
|
|
4236
4237
|
utils: z.string(),
|
|
4237
4238
|
components: z.string(),
|
|
4238
4239
|
lib: z.string(),
|
|
4239
|
-
hooks: z.string(),
|
|
4240
4240
|
ui: z.string()
|
|
4241
4241
|
}) });
|
|
4242
4242
|
//#endregion
|