@darkoto/gulp-template-cli 1.0.0 → 1.0.1
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/README.md +1 -1
- package/package.json +9 -3
- package/setup/tailwind/setup.js +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @darkoto/gulp-template-cli
|
|
2
2
|
|
|
3
|
-
A CLI feature installer for [gulp-template](
|
|
3
|
+
A CLI feature installer for [gulp-template](https://github.com/darkoton/gulp-template). Instead of keeping a
|
|
4
4
|
`.template/` folder with setup scripts inside every cloned project,
|
|
5
5
|
the scripts live in a standalone package and copy the files you need
|
|
6
6
|
(configs, gulp tasks, styles, demo pages) directly into your project
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darkoto/gulp-template-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Feature pnpm installer CLI for gulp-template — adds tailwind, etc. on demand into the target project.",
|
|
6
6
|
"bin": {
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
"helpers.js",
|
|
14
14
|
"setup-env.js"
|
|
15
15
|
],
|
|
16
|
-
"keywords": [
|
|
16
|
+
"keywords": [
|
|
17
|
+
"gulp",
|
|
18
|
+
"cli",
|
|
19
|
+
"tailwind",
|
|
20
|
+
"scaffolding",
|
|
21
|
+
"template"
|
|
22
|
+
],
|
|
17
23
|
"license": "MIT",
|
|
18
24
|
"author": "Darkoto darkoto12@gmail.com",
|
|
19
25
|
"repository": {
|
|
@@ -27,4 +33,4 @@
|
|
|
27
33
|
"@inquirer/prompts": "^7.0.0",
|
|
28
34
|
"dotenv": "^16.4.5"
|
|
29
35
|
}
|
|
30
|
-
}
|
|
36
|
+
}
|
package/setup/tailwind/setup.js
CHANGED
|
@@ -328,7 +328,7 @@ export async function setup() {
|
|
|
328
328
|
console.log(' • Copy demo page');
|
|
329
329
|
console.log(' • Auto-generate rebuild kit in dist/\n');
|
|
330
330
|
|
|
331
|
-
const confirmed = await confirm({ message: 'Do you want to continue?' });
|
|
331
|
+
const confirmed = await confirm({ message: 'Do you want to continue?' });
|
|
332
332
|
|
|
333
333
|
if (!confirmed) {
|
|
334
334
|
console.log('\n ❌ Setup cancelled.\n');
|
|
@@ -364,7 +364,7 @@ const confirmed = await confirm({ message: 'Do you want to continue?' });
|
|
|
364
364
|
console.log(' • Add Config link to head.html');
|
|
365
365
|
console.log(' • Copy demo page \n');
|
|
366
366
|
|
|
367
|
-
const confirmed = await confirm('Do you want to continue?');
|
|
367
|
+
const confirmed = await confirm({ message: 'Do you want to continue?' });
|
|
368
368
|
|
|
369
369
|
if (!confirmed) {
|
|
370
370
|
console.log('\n ❌ Setup cancelled.\n');
|