vueless 0.0.796 → 0.0.797

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.
@@ -6,7 +6,7 @@ import { existsSync } from "node:fs";
6
6
  import { writeFile, rename } from "node:fs/promises";
7
7
  import { styleText } from "node:util";
8
8
 
9
- import { DEFAULT_VUELESS_CONFIG_CONTNET } from "../constants.js";
9
+ import { DEFAULT_VUELESS_CONFIG_CONTENT } from "../constants.js";
10
10
  import { JAVASCRIPT_EXT, TYPESCRIPT_EXT, VUELESS_CONFIG_FILE_NAME } from "../../constants.js";
11
11
 
12
12
  const vuelessInitOptions = ["--ts", "--js"];
@@ -40,7 +40,7 @@ export async function vuelessInit(options) {
40
40
  console.warn(warnMessage);
41
41
  }
42
42
 
43
- await writeFile(formattedDestPath, DEFAULT_VUELESS_CONFIG_CONTNET, "utf-8");
43
+ await writeFile(formattedDestPath, DEFAULT_VUELESS_CONFIG_CONTENT, "utf-8");
44
44
 
45
45
  const successMessage = styleText(
46
46
  "green",
package/bin/constants.js CHANGED
@@ -1,31 +1,32 @@
1
1
  export const SRC_COMPONENTS_PATH = "/src/components";
2
2
  export const COMPONENTS_PATH = "/components";
3
- export const DEFAULT_VUELESS_CONFIG_CONTNET = `
3
+ export const DEFAULT_VUELESS_CONFIG_CONTENT = `
4
4
  export default {
5
5
  /**
6
- * Global settings.
7
- */
6
+ * Global settings.
7
+ */
8
8
  strategy: "merge",
9
9
  brand: "grayscale",
10
10
  gray: "cool",
11
- darkMode: "auto",
12
11
  outline: 2,
13
12
  rounding: 8,
13
+ colorMode: "auto",
14
+ baseClasses: ``,
14
15
 
15
16
  /**
16
- * Directive settings.
17
- */
17
+ * Directive settings.
18
+ */
18
19
  directives: {},
19
20
 
20
21
  /**
21
- * Component settings.
22
- */
22
+ * Component settings.
23
+ */
23
24
  components: /*tw*/ {},
24
25
 
25
26
  /**
26
- * Tailwind CSS theme config.
27
- * https://tailwindcss.com/docs/theme
28
- */
27
+ * Tailwind CSS theme config.
28
+ * https://tailwindcss.com/docs/theme
29
+ */
29
30
  tailwindTheme: {
30
31
  extend: {
31
32
  colors: {},
@@ -33,10 +34,10 @@ export default {
33
34
  },
34
35
 
35
36
  /**
36
- * Custom classes TailwindMerge settings.
37
- * All lists of rules available here:
38
- * https://github.com/dcastil/tailwind-merge/blob/v2.3.0/src/lib/default-config.ts
39
- */
37
+ * Custom classes TailwindMerge settings.
38
+ * All lists of rules available here:
39
+ * https://github.com/dcastil/tailwind-merge/blob/v2.3.0/src/lib/default-config.ts
40
+ */
40
41
  tailwindMerge: {},
41
42
  };
42
43
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.796",
3
+ "version": "0.0.797",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
6
6
  "keywords": [