Skip to content

Commit 474ee6e

Browse files
committed
feat: added builder flags
1 parent ddb15a1 commit 474ee6e

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v1.0.5
2+
3+
> `2024-04-25`
4+
5+
### 🎉 Feature
6+
- Added `--s` and `--f` aliases.
7+
18
## v1.0.4
29

310
> `2024-04-23`

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Available flags:
6666

6767
| flag | description |
6868
| --- | --- |
69-
| `--start` | Automatically starts the development server at the end of installation. |
70-
| `--force` | Force overrides existing project directory. |
69+
| `--start` `--s` | Automatically starts the development server at the end of installation. |
70+
| `--force` `--f` | Force overrides existing project directory. |
7171
| `--builder` `--b` | Installs Vueform Builder. |
7272
| `--publicKey` `--pk` | Sets Public Key when installing Vueform + Builder. |

dist/index.mjs

+3-3
Large diffs are not rendered by default.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-vueform",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"type": "module",
55
"license": "MIT",
66
"author": "Adam Berecz",

src/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ const defaultProjectName = 'vueform-project'
2828
const packageInfo = pkgFromUserAgent(process.env.npm_config_user_agent)
2929
const packageManager = packageInfo ? packageInfo.name : 'npm'
3030
const __dirname = path.dirname(fileURLToPath(import.meta.url))
31-
const start = !!argv.start
32-
const force = !!argv.force
31+
const start = !!argv.start || !!argv.s
32+
const force = !!argv.force || !!argv.f
3333

3434
const frameworks = [
3535
{ title: 'Vite', value: 'vite', command: {

0 commit comments

Comments
 (0)