Skip to content

Commit 3d3686f

Browse files
committed
chore(release): 2.4.0 [skip ci]
1 parent c7ac1da commit 3d3686f

File tree

3 files changed

+27
-10
lines changed

3 files changed

+27
-10
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# [2.4.0](https://github.com/salesforcecli/plugin-dev/compare/2.3.6...2.4.0) (2024-07-29)
2+
3+
### Bug Fixes
4+
5+
- ensure cwd is normalized ([c0b4440](https://github.com/salesforcecli/plugin-dev/commit/c0b444048f9ef55088adccb9aea108f83abdacf8))
6+
- use sf for finding existing commands ([541ed1b](https://github.com/salesforcecli/plugin-dev/commit/541ed1be6e2b8f1db960e392cc38cd79a07944e0))
7+
8+
### Features
9+
10+
- generate command without yeoman ([da1b265](https://github.com/salesforcecli/plugin-dev/commit/da1b265aceca0c09ff22a03ef349d0c273bc213d))
11+
- generate library without yeoman ([33274d1](https://github.com/salesforcecli/plugin-dev/commit/33274d18d4ca933e2dc4a2785f4e02bc83ef3f99))
12+
- generate plugin without yeoman ([6cc0f88](https://github.com/salesforcecli/plugin-dev/commit/6cc0f887640097eb78cf3f08df6a8e6833e65bb5))
13+
114
## [2.3.6](https://github.com/salesforcecli/plugin-dev/compare/2.3.5...2.3.6) (2024-07-19)
215

316
### Bug Fixes

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ FLAG DESCRIPTIONS
156156
The default is the "src" directory in the current working directory.
157157
```
158158

159-
_See code: [src/commands/dev/audit/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/audit/messages.ts)_
159+
_See code: [src/commands/dev/audit/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/audit/messages.ts)_
160160

161161
## `sf dev convert messages`
162162

@@ -191,7 +191,7 @@ EXAMPLES
191191
$ sf dev convert messages --project-dir ./path/to/plugin --filename my-command.json
192192
```
193193

194-
_See code: [src/commands/dev/convert/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/convert/messages.ts)_
194+
_See code: [src/commands/dev/convert/messages.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/convert/messages.ts)_
195195

196196
## `sf dev convert script`
197197

@@ -235,18 +235,19 @@ EXAMPLES
235235
$ sf dev convert script --script ./myScript.yml
236236
```
237237

238-
_See code: [src/commands/dev/convert/script.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/convert/script.ts)_
238+
_See code: [src/commands/dev/convert/script.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/convert/script.ts)_
239239

240240
## `sf dev generate command`
241241

242242
Generate a new sf command.
243243

244244
```
245245
USAGE
246-
$ sf dev generate command -n <value> [--flags-dir <value>] [--force] [--nuts] [--unit]
246+
$ sf dev generate command -n <value> [--flags-dir <value>] [--force] [--dry-run] [--nuts] [--unit]
247247
248248
FLAGS
249249
-n, --name=<value> (required) Name of the new command. Use colons to separate the topic and command names.
250+
--dry-run Display the changes that would be made without writing them to disk.
250251
--force Overwrite existing files.
251252
--[no-]nuts Generate a NUT test file for the command.
252253
--[no-]unit Generate a unit test file for the command.
@@ -260,7 +261,7 @@ DESCRIPTION
260261
You must run this command from within a plugin directory, such as the directory created with the "sf dev generate
261262
plugin" command.
262263
263-
The command generates basic source files, messages (\*.md), and test files for your new command. The Typescript files
264+
The command generates basic source files, messages (\*.md), and test files for your new command. The Typescript files
264265
contain import statements for the minimum required Salesforce libraries, and scaffold some basic code. The new type
265266
names come from the value you passed to the --name flag.
266267
@@ -275,7 +276,7 @@ EXAMPLES
275276
$ sf dev generate command --name my:exciting:command
276277
```
277278

278-
_See code: [src/commands/dev/generate/command.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/generate/command.ts)_
279+
_See code: [src/commands/dev/generate/command.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/generate/command.ts)_
279280

280281
## `sf dev generate flag`
281282

@@ -315,15 +316,18 @@ EXAMPLES
315316
$ sf dev generate flag --dry-run
316317
```
317318

318-
_See code: [src/commands/dev/generate/flag.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/generate/flag.ts)_
319+
_See code: [src/commands/dev/generate/flag.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/generate/flag.ts)_
319320

320321
## `sf dev generate plugin`
321322

322323
Generate a new sf plugin.
323324

324325
```
325326
USAGE
326-
$ sf dev generate plugin [--flags-dir <value>]
327+
$ sf dev generate plugin [--flags-dir <value>] [--dry-run]
328+
329+
FLAGS
330+
--dry-run Display the changes that would be made without writing them to disk.
327331
328332
GLOBAL FLAGS
329333
--flags-dir=<value> Import flag values from a directory.
@@ -346,6 +350,6 @@ EXAMPLES
346350
$ sf dev generate plugin
347351
```
348352

349-
_See code: [src/commands/dev/generate/plugin.ts](https://github.com/salesforcecli/plugin-dev/blob/2.3.6/src/commands/dev/generate/plugin.ts)_
353+
_See code: [src/commands/dev/generate/plugin.ts](https://github.com/salesforcecli/plugin-dev/blob/2.4.0/src/commands/dev/generate/plugin.ts)_
350354

351355
<!-- commandsstop -->

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-dev",
33
"description": "commands for sf plugin development",
4-
"version": "2.3.6",
4+
"version": "2.4.0",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)