vueless 1.1.1-beta.63 → 1.1.1-beta.64
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/bin/commands/init.js +10 -10
- package/package.json +1 -1
package/bin/commands/init.js
CHANGED
|
@@ -45,10 +45,19 @@ export async function vuelessInit(options) {
|
|
|
45
45
|
ext: fileExt,
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
+
/* Backup existing config if it exists. */
|
|
49
|
+
await backupVuelessConfig(destPath);
|
|
50
|
+
|
|
51
|
+
/* Create a default config file. */
|
|
52
|
+
await createVuelessConfig(destPath);
|
|
53
|
+
|
|
54
|
+
/* Create a vueless config directory and index file. */
|
|
55
|
+
await createVuelessConfigDir(fileExt);
|
|
56
|
+
|
|
48
57
|
/* Create pnpm package manager config. */
|
|
49
58
|
if (options.includes("--pnpm")) {
|
|
50
59
|
await createPackageManagerConfig(".npmrc", [
|
|
51
|
-
"#
|
|
60
|
+
"# pnpm",
|
|
52
61
|
"# Vueless: disable hoisting for the package related modules.",
|
|
53
62
|
"public-hoist-pattern[] = tailwindcss",
|
|
54
63
|
"public-hoist-pattern[] = *storybook*",
|
|
@@ -64,15 +73,6 @@ export async function vuelessInit(options) {
|
|
|
64
73
|
"nodeLinker: node-modules",
|
|
65
74
|
]);
|
|
66
75
|
}
|
|
67
|
-
|
|
68
|
-
/* Backup existing config if it exists. */
|
|
69
|
-
await backupVuelessConfig(destPath);
|
|
70
|
-
|
|
71
|
-
/* Create a default config file. */
|
|
72
|
-
await createVuelessConfig(destPath);
|
|
73
|
-
|
|
74
|
-
/* Create a vueless config directory and index file. */
|
|
75
|
-
await createVuelessConfigDir(fileExt);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vueless",
|
|
3
|
-
"version": "1.1.1-beta.
|
|
3
|
+
"version": "1.1.1-beta.64",
|
|
4
4
|
"description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",
|
|
5
5
|
"author": "Johnny Grid <hello@vueless.com> (https://vueless.com)",
|
|
6
6
|
"homepage": "https://vueless.com",
|