diff --git a/.changeset/curly-walls-knock.md b/.changeset/curly-walls-knock.md deleted file mode 100644 index 61e8537..0000000 --- a/.changeset/curly-walls-knock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"clide-plugin-command-menu": minor ---- - -Renamed `skip` option to `enabled`. diff --git a/.changeset/late-ears-push.md b/.changeset/late-ears-push.md deleted file mode 100644 index e7ec227..0000000 --- a/.changeset/late-ears-push.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"clide-js": minor ---- - -- Polished up internal ✨**test utils**✨ and added them to the exports so you can easily test you're CLIs and plugins! -- Made the `logger` plugin more full featured with `prefix`, `logFile`, and `enabled` options, and util functions for enabling/disabling the logger during runtime. -- Added `formatFileName` util function to exports. -- Added getters to `State` for `client`, ... so they can be accessed without needing to go through through `Context`. -- Made the `Hooks` type a generic which takes a `HooksObject` type param. -- Made the `PluginInfo` type a generic which takes a `PluginMeta` type param. -- Renamed `StateOptions.data` to `StateOptions.initialData`. -- Refactored command resolution to ignore relative paths. -- Fixed the `optionValues` type on `State.fork` to work with command types that have an optional `options` field. \ No newline at end of file diff --git a/packages/clide-js/CHANGELOG.md b/packages/clide-js/CHANGELOG.md index 6e0508e..c6bbac8 100644 --- a/packages/clide-js/CHANGELOG.md +++ b/packages/clide-js/CHANGELOG.md @@ -1,5 +1,19 @@ # clide-js +## 0.2.0 + +### Minor Changes + +- 2eb1489: - Polished up internal ✨**test utils**✨ and added them to the exports so you can easily test you're CLIs and plugins! + - Made the `logger` plugin more full featured with `prefix`, `logFile`, and `enabled` options, and util functions for enabling/disabling the logger during runtime. + - Added `formatFileName` util function to exports. + - Added getters to `State` for `client`, ... so they can be accessed without needing to go through through `Context`. + - Made the `Hooks` type a generic which takes a `HooksObject` type param. + - Made the `PluginInfo` type a generic which takes a `PluginMeta` type param. + - Renamed `StateOptions.data` to `StateOptions.initialData`. + - Refactored command resolution to ignore relative paths. + - Fixed the `optionValues` type on `State.fork` to work with command types that have an optional `options` field. + ## 0.1.5 ### Patch Changes diff --git a/packages/clide-js/package.json b/packages/clide-js/package.json index 8e0fae8..c5b83d7 100644 --- a/packages/clide-js/package.json +++ b/packages/clide-js/package.json @@ -1,6 +1,6 @@ { "name": "clide-js", - "version": "0.1.5", + "version": "0.2.0", "description": "A framework for building flexible and extensible CLIs", "license": "MIT", "type": "module", @@ -60,5 +60,7 @@ }, "main": "dist/index.js", "types": "dist/index.d.ts", - "files": ["dist"] + "files": [ + "dist" + ] } diff --git a/packages/clide-plugin-command-menu/CHANGELOG.md b/packages/clide-plugin-command-menu/CHANGELOG.md index 81cd950..8e13ce9 100644 --- a/packages/clide-plugin-command-menu/CHANGELOG.md +++ b/packages/clide-plugin-command-menu/CHANGELOG.md @@ -1,5 +1,16 @@ # clide-plugin-command-menu +## 1.0.0 + +### Minor Changes + +- 2eb1489: Renamed `skip` option to `enabled`. + +### Patch Changes + +- Updated dependencies [2eb1489] + - clide-js@0.2.0 + ## 0.0.8 ### Patch Changes diff --git a/packages/clide-plugin-command-menu/package.json b/packages/clide-plugin-command-menu/package.json index 3fdfce5..9befb94 100644 --- a/packages/clide-plugin-command-menu/package.json +++ b/packages/clide-plugin-command-menu/package.json @@ -1,6 +1,6 @@ { "name": "clide-plugin-command-menu", - "version": "0.0.8", + "version": "1.0.0", "description": "A plugin for Clide-JS CLIs to auto-prompt the user for missing required subcommands.", "license": "MIT", "type": "module", @@ -17,7 +17,7 @@ "typecheck": "tsc --noEmit" }, "peerDependencies": { - "clide-js": "^0.1" + "clide-js": "^0.2.0" }, "dependencies": { "cfonts": "^3.2.0", @@ -26,7 +26,7 @@ }, "devDependencies": { "@types/node": "^20.12.7", - "clide-js": "^0.1.5", + "clide-js": "^0.2.0", "ts-node": "^10.9.2", "tsconfig": "*", "tsup": "^8.0.2",