From 3d3686f246df2e09253f5bc088db5ea4ddaaad8c Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Mon, 29 Jul 2024 16:32:08 +0000 Subject: [PATCH] chore(release): 2.4.0 [skip ci] --- CHANGELOG.md | 13 +++++++++++++ README.md | 22 +++++++++++++--------- package.json | 2 +- 3 files changed, 27 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a41d69..c26f9ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# [2.4.0](https://github.com/salesforcecli/plugin-dev/compare/2.3.6...2.4.0) (2024-07-29) + +### Bug Fixes + +- ensure cwd is normalized ([c0b4440](https://github.com/salesforcecli/plugin-dev/commit/c0b444048f9ef55088adccb9aea108f83abdacf8)) +- use sf for finding existing commands ([541ed1b](https://github.com/salesforcecli/plugin-dev/commit/541ed1be6e2b8f1db960e392cc38cd79a07944e0)) + +### Features + +- generate command without yeoman ([da1b265](https://github.com/salesforcecli/plugin-dev/commit/da1b265aceca0c09ff22a03ef349d0c273bc213d)) +- generate library without yeoman ([33274d1](https://github.com/salesforcecli/plugin-dev/commit/33274d18d4ca933e2dc4a2785f4e02bc83ef3f99)) +- generate plugin without yeoman ([6cc0f88](https://github.com/salesforcecli/plugin-dev/commit/6cc0f887640097eb78cf3f08df6a8e6833e65bb5)) + ## [2.3.6](https://github.com/salesforcecli/plugin-dev/compare/2.3.5...2.3.6) (2024-07-19) ### Bug Fixes diff --git a/README.md b/README.md index f3cf526..a9b7929 100644 --- a/README.md +++ b/README.md @@ -156,7 +156,7 @@ FLAG DESCRIPTIONS The default is the "src" directory in the current working directory. ``` -_See code: [src/commands/dev/audit/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/audit/messages.ts)_ +_See code: [src/commands/dev/audit/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/audit/messages.ts)_ ## `sf dev convert messages` @@ -191,7 +191,7 @@ EXAMPLES $ sf dev convert messages --project-dir ./path/to/plugin --filename my-command.json ``` -_See code: [src/commands/dev/convert/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/convert/messages.ts)_ +_See code: [src/commands/dev/convert/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/convert/messages.ts)_ ## `sf dev convert script` @@ -235,7 +235,7 @@ EXAMPLES $ sf dev convert script --script ./myScript.yml ``` -_See code: [src/commands/dev/convert/script.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/convert/script.ts)_ +_See code: [src/commands/dev/convert/script.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/convert/script.ts)_ ## `sf dev generate command` @@ -243,10 +243,11 @@ Generate a new sf command. ``` USAGE - $ sf dev generate command -n [--flags-dir ] [--force] [--nuts] [--unit] + $ sf dev generate command -n [--flags-dir ] [--force] [--dry-run] [--nuts] [--unit] FLAGS -n, --name= (required) Name of the new command. Use colons to separate the topic and command names. + --dry-run Display the changes that would be made without writing them to disk. --force Overwrite existing files. --[no-]nuts Generate a NUT test file for the command. --[no-]unit Generate a unit test file for the command. @@ -260,7 +261,7 @@ DESCRIPTION You must run this command from within a plugin directory, such as the directory created with the "sf dev generate plugin" command. - The command generates basic source files, messages (\*.md), and test files for your new command. The Typescript files + The command generates basic source files, messages (\*.md), and test files for your new command. The Typescript files contain import statements for the minimum required Salesforce libraries, and scaffold some basic code. The new type names come from the value you passed to the --name flag. @@ -275,7 +276,7 @@ EXAMPLES $ sf dev generate command --name my:exciting:command ``` -_See code: [src/commands/dev/generate/command.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/generate/command.ts)_ +_See code: [src/commands/dev/generate/command.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/generate/command.ts)_ ## `sf dev generate flag` @@ -315,7 +316,7 @@ EXAMPLES $ sf dev generate flag --dry-run ``` -_See code: [src/commands/dev/generate/flag.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/generate/flag.ts)_ +_See code: [src/commands/dev/generate/flag.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/generate/flag.ts)_ ## `sf dev generate plugin` @@ -323,7 +324,10 @@ Generate a new sf plugin. ``` USAGE - $ sf dev generate plugin [--flags-dir ] + $ sf dev generate plugin [--flags-dir ] [--dry-run] + +FLAGS + --dry-run Display the changes that would be made without writing them to disk. GLOBAL FLAGS --flags-dir= Import flag values from a directory. @@ -346,6 +350,6 @@ EXAMPLES $ sf dev generate plugin ``` -_See code: [src/commands/dev/generate/plugin.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/generate/plugin.ts)_ +_See code: [src/commands/dev/generate/plugin.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/generate/plugin.ts)_ diff --git a/package.json b/package.json index 465d50c..75d2a85 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@salesforce/plugin-dev", "description": "commands for sf plugin development", - "version": "2.3.6", + "version": "2.4.0", "author": "Salesforce", "bugs": "https://github.com/forcedotcom/cli/issues", "dependencies": {