From 2f40140c8dc1299fce9977854c5793a887d6632e Mon Sep 17 00:00:00 2001 From: Chaoya Li Date: Wed, 5 Jun 2024 17:13:08 +0800 Subject: [PATCH] changed .vgg back to .daruma for later use with daruma service --- README.md | 4 ++-- package.json | 2 +- src/commands/convert/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 62ce265..e1f0c40 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Command-line tool that converts design files into VGG format. ```sh-session $ npm install -g @verygoodgraphics/vgg-cli $ vgg-cli convert xxx.fig -Saved as "xxx.vgg" +Saved as "xxx.daruma" ``` # Development Usage @@ -24,5 +24,5 @@ $ pnpm run build $ ./bin/run.js --help # running built scripts in `dist` folder $ ./bin/dev.js --help # running original scripts in `command` folder $ ./bin/dev.js convert xxx.fig -Saved as "xxx.vgg" +Saved as "xxx.daruma" ``` diff --git a/package.json b/package.json index bb422d2..91bab34 100644 --- a/package.json +++ b/package.json @@ -65,5 +65,5 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "0.0.1" + "version": "0.0.2" } diff --git a/src/commands/convert/index.ts b/src/commands/convert/index.ts index 182d6f2..e1e31b4 100644 --- a/src/commands/convert/index.ts +++ b/src/commands/convert/index.ts @@ -168,6 +168,6 @@ export default class Convert extends Command { // Download converted file const {url: downloadUrl} = await getDarumaDownload(darumaImport.darumaId) - await downloadFile(downloadUrl, replaceExt(filename, 'vgg')) + await downloadFile(downloadUrl, replaceExt(filename, 'daruma')) } }