Skip to content

Commit

Permalink
feat: "pack" command (#29)
Browse files Browse the repository at this point in the history
* feat: add .streamDeckPlugin creation
* refactor: relocate moveSync
* refactor: relocate isDirectory and isFile
* refactor: re-locate path helpers
* feat: add ability to ignore files when packing
* feat: add summary of packaging
* feat: add --dry-run option
* docs: add notes
* feat: add --output and --force options to pack
* feat: add --version flag to packing
* refactor: update output of packing

---------

Co-authored-by: Richard Herman <[email protected]>
  • Loading branch information
GeekyEggo and GeekyEggo authored Feb 28, 2024
1 parent 44be3ae commit 36a2f3c
Show file tree
Hide file tree
Showing 18 changed files with 751 additions and 224 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
### ✨ New

- Add `streamdeck validate` command for validating Stream Deck plugins.
- Add `-v, --version` option to display current version of CLI.
- Add `-v` option to display current version of CLI.
- Add "Open in VSCode" prompt, as part of creation wizard, for macOS.

### 🐞 Bug Fixes
Expand Down
89 changes: 51 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"@types/tar": "^6.1.11",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@zip.js/zip.js": "^2.7.34",
"ajv": "^8.12.0",
"chalk": "^5.3.0",
"commander": "^11.0.0",
Expand All @@ -67,6 +68,7 @@
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-prettier": "^5.0.0",
"find-process": "^1.4.7",
"ignore": "^5.3.1",
"inquirer": "^9.2.11",
"is-interactive": "^2.0.0",
"lodash": "^4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import path from "node:path";

import { command } from "../common/command";
import { createCopier } from "../common/file-copier";
import { invalidCharacters, isExecutable, isSafeBaseName, relative } from "../common/path";
import { invalidCharacters, isExecutable, isSafeBaseName, relative } from "../system/path";
import { run } from "../common/runner";
import { StdOut } from "../common/stdout";
import { getConfig } from "../config";
Expand Down
1 change: 1 addition & 0 deletions src/commands/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * as config from "./config";
export { create } from "./create";
export { setDeveloperMode } from "./dev";
export { link } from "./link";
export { pack } from "./pack";
export { restart } from "./restart";
export { stop } from "./stop";
export { validate } from "./validate";
Loading

0 comments on commit 36a2f3c

Please sign in to comment.