Skip to content

Commit

Permalink
changed .vgg back to .daruma for later use with daruma service
Browse files Browse the repository at this point in the history
  • Loading branch information
harry75369 committed Jun 5, 2024
1 parent e1069dc commit 2f40140
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@
},
"type": "module",
"types": "dist/index.d.ts",
"version": "0.0.1"
"version": "0.0.2"
}
2 changes: 1 addition & 1 deletion src/commands/convert/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
}
}

0 comments on commit 2f40140

Please sign in to comment.