Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 27 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ $ npm install -g @salesforce/cli
$ sf COMMAND
running command...
$ sf (--version|-v)
@salesforce/cli/2.145.5 linux-x64 node-v22.23.1
@salesforce/cli/2.145.6 linux-x64 node-v22.23.1
$ sf --help [COMMAND]
USAGE
$ sf COMMAND
Expand Down Expand Up @@ -11389,7 +11389,7 @@ FLAG DESCRIPTIONS
directory.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/analytics/template.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/analytics/template.ts)_

## `sf template generate apex class`

Expand Down Expand Up @@ -11451,7 +11451,7 @@ FLAG DESCRIPTIONS
Supplied parameter values or default values are filled into a copy of the template.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/apex/class.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/apex/class.ts)_

## `sf template generate apex trigger`

Expand Down Expand Up @@ -11521,7 +11521,7 @@ FLAG DESCRIPTIONS
Supplied parameter values or default values are filled into a copy of the template.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/apex/trigger.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/apex/trigger.ts)_

## `sf template generate digital-experience site`

Expand Down Expand Up @@ -11575,7 +11575,7 @@ FLAG DESCRIPTIONS
project, defaults to the current directory.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/digital-experience/site.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/digital-experience/site.ts)_

## `sf template generate flexipage`

Expand Down Expand Up @@ -11657,7 +11657,7 @@ FLAG DESCRIPTIONS
'Custom_Object__c'. This sets the `sobjectType` field in the FlexiPage metadata.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/flexipage/index.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/flexipage/index.ts)_

## `sf template generate lightning app`

Expand Down Expand Up @@ -11715,7 +11715,7 @@ FLAG DESCRIPTIONS
field in the DX project's "sfdx-project.json" file.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/lightning/app.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/lightning/app.ts)_

## `sf template generate lightning component`

Expand Down Expand Up @@ -11792,7 +11792,7 @@ FLAG DESCRIPTIONS
field in the DX project's "sfdx-project.json" file.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/lightning/component.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/lightning/component.ts)_

## `sf template generate lightning event`

Expand Down Expand Up @@ -11850,7 +11850,7 @@ FLAG DESCRIPTIONS
field in the DX project's "sfdx-project.json" file.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/lightning/event.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/lightning/event.ts)_

## `sf template generate lightning interface`

Expand Down Expand Up @@ -11908,7 +11908,7 @@ FLAG DESCRIPTIONS
field in the DX project's "sfdx-project.json" file.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/lightning/interface.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/lightning/interface.ts)_

## `sf template generate lightning test`

Expand Down Expand Up @@ -11966,7 +11966,7 @@ FLAG DESCRIPTIONS
field in the DX project's "sfdx-project.json" file.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/lightning/test.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/lightning/test.ts)_

## `sf template generate project`

Expand All @@ -11975,16 +11975,17 @@ Generate a Salesforce DX project.
```
USAGE
$ sf template generate project -n <value> [--json] [--flags-dir <value>] [-t
standard|empty|analytics|reactinternalapp|reactexternalapp|agent] [-d <value>] [-s <value>] [-p <value>] [-x]
[--lwc-language javascript|typescript] [--api-version <value>]
standard|empty|analytics|reactinternalapp|reactexternalapp|angularinternalapp|angularexternalapp|agent] [-d <value>]
[-s <value>] [-p <value>] [-x] [--lwc-language javascript|typescript] [--api-version <value>]

FLAGS
-d, --output-dir=<value> [default: .] Directory for saving the created files.
-n, --name=<value> (required) Name of the generated project.
-p, --default-package-dir=<value> [default: force-app] Default package directory name.
-s, --namespace=<value> Namespace associated with this project and any connected scratch orgs.
-t, --template=<option> [default: standard] Template to use for project creation.
<options: standard|empty|analytics|reactinternalapp|reactexternalapp|agent>
<options: standard|empty|analytics|reactinternalapp|reactexternalapp|angularinterna
lapp|angularexternalapp|agent>
-x, --manifest Generate a manifest (package.xml) for change-set based development.
--api-version=<value> Will set this version as sourceApiVersion in the sfdx-project.json file
--lwc-language=<option> Language of the Lightning Web Components. If not specified, "javascript" is used.
Expand Down Expand Up @@ -12045,7 +12046,9 @@ FLAG DESCRIPTIONS

Metadata items such as classes and Lightning bundles are placed inside this folder.

-t, --template=standard|empty|analytics|reactinternalapp|reactexternalapp|agent Template to use for project creation.
-t, --template=standard|empty|analytics|reactinternalapp|reactexternalapp|angularinternalapp|angularexternalapp|agent

Template to use for project creation.

The template determines the sample configuration files and directories that this command generates. For example, the
empty template provides these files and directory to get you started.
Expand All @@ -12072,6 +12075,9 @@ FLAG DESCRIPTIONS
The reactinternalapp and reactexternalapp templates provide React-based project scaffolding for internal and
external UI bundle use cases.

The angularinternalapp and angularexternalapp templates provide Angular-based project scaffolding for internal and
external UI bundle use cases.

The agent template provides project scaffolding for building Agentforce agents and includes a sample agent called
Local Info Agent.

Expand All @@ -12092,7 +12098,7 @@ FLAG DESCRIPTIONS
server-side type stripping.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/project/index.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/project/index.ts)_

## `sf template generate static-resource`

Expand Down Expand Up @@ -12155,7 +12161,7 @@ FLAG DESCRIPTIONS
etc.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/static-resource/index.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/static-resource/index.ts)_

## `sf template generate ui-bundle`

Expand Down Expand Up @@ -12244,7 +12250,7 @@ FLAG DESCRIPTIONS
Supplied parameter values or default values are filled into a copy of the template.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/ui-bundle/index.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/ui-bundle/index.ts)_

## `sf template generate visualforce component`

Expand Down Expand Up @@ -12301,7 +12307,7 @@ FLAG DESCRIPTIONS
Supplied parameter values or default values are filled into a copy of the template.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/visualforce/component.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/visualforce/component.ts)_

## `sf template generate visualforce page`

Expand Down Expand Up @@ -12352,7 +12358,7 @@ FLAG DESCRIPTIONS
The name can be up to 40 characters and must start with a letter.
```

_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.18.18/src/commands/template/generate/visualforce/page.ts)_
_See code: [@salesforce/plugin-templates](https://github.com/salesforcecli/plugin-templates/blob/56.19.0/src/commands/template/generate/visualforce/page.ts)_

## `sf update [CHANNEL]`

Expand Down Expand Up @@ -12390,7 +12396,7 @@ EXAMPLES
$ sf update --available
```

_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/4.7.54/src/commands/update.ts)_
_See code: [@oclif/plugin-update](https://github.com/oclif/plugin-update/blob/4.7.55/src/commands/update.ts)_

## `sf version`

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/cli",
"description": "The Salesforce CLI",
"version": "2.145.5",
"version": "2.145.6",
"author": "Salesforce",
"bin": {
"sf": "./bin/run.js",
Expand Down Expand Up @@ -146,14 +146,14 @@
},
"dependencies": {
"@inquirer/select": "^2.3.5",
"@oclif/core": "4.11.14",
"@oclif/core": "4.12.0",
"@oclif/plugin-autocomplete": "3.2.53",
"@oclif/plugin-commands": "4.1.60",
"@oclif/plugin-help": "6.2.53",
"@oclif/plugin-not-found": "3.2.88",
"@oclif/plugin-plugins": "5.4.84",
"@oclif/plugin-search": "1.2.53",
"@oclif/plugin-update": "4.7.54",
"@oclif/plugin-update": "4.7.55",
"@oclif/plugin-version": "2.2.50",
"@oclif/plugin-warn-if-update-available": "3.1.68",
"@oclif/plugin-which": "3.2.58",
Expand All @@ -174,7 +174,7 @@
"@salesforce/plugin-settings": "2.4.96",
"@salesforce/plugin-sobject": "1.4.123",
"@salesforce/plugin-telemetry": "3.8.31",
"@salesforce/plugin-templates": "56.18.18",
"@salesforce/plugin-templates": "56.19.0",
"@salesforce/plugin-trust": "3.8.38",
"@salesforce/plugin-user": "3.10.7",
"@salesforce/sf-plugins-core": "12.2.26",
Expand Down
44 changes: 22 additions & 22 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1320,10 +1320,10 @@
node-gyp "^12.1.0"
proc-log "^6.0.0"

"@oclif/core@4.11.14", "@oclif/core@^4", "@oclif/core@^4.10.4", "@oclif/core@^4.11.11", "@oclif/core@^4.11.14", "@oclif/core@^4.11.4", "@oclif/core@^4.11.7":
version "4.11.14"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.11.14.tgz#45cc28d78a5ea2ac9d1586c57e537771394da44c"
integrity sha512-cZ5Ktd+rT0PO+o7KBH4vRFTgg+xMLf8F41WK39p8MkXEViZA/Qqe+4lzZT6102zgUxMORET1HtF9t5w8CB3tnQ==
"@oclif/core@4.12.0", "@oclif/core@^4", "@oclif/core@^4.10.4", "@oclif/core@^4.11.11", "@oclif/core@^4.11.14", "@oclif/core@^4.11.4", "@oclif/core@^4.11.7":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@oclif/core/-/core-4.12.0.tgz#f86248afce539b94ee306af7cd0db30888349594"
integrity sha512-xoUX6ZDixfyHSkllriITpq/3kA78E/oXOliz4em+De6qe22kg2CcKN9KKxMB4NyD4U1SFUsd0tfnG9uyeV5P7w==
dependencies:
ansi-escapes "^4.3.2"
ansis "^3.17.0"
Expand Down Expand Up @@ -1435,10 +1435,10 @@
ansi-escapes "^7.3.0"
inquirer-autocomplete-standalone "^0.8.1"

"@oclif/plugin-update@4.7.54":
version "4.7.54"
resolved "https://registry.yarnpkg.com/@oclif/plugin-update/-/plugin-update-4.7.54.tgz#cf7b4195535c01b051d30089119e4cf8147e6f42"
integrity sha512-YzXP4kcscjX5KWDI5rGos+Z8K46apnTUySlss1hWRo0K1YxxOBnemdGbydMZqukOYDzE4BzUx/20l4LqWHa5OA==
"@oclif/plugin-update@4.7.55":
version "4.7.55"
resolved "https://registry.yarnpkg.com/@oclif/plugin-update/-/plugin-update-4.7.55.tgz#5666fc6771468b784e868aef718738274d34f862"
integrity sha512-zGytfFpazPHRleh26xrNh9cLhKAxQf6lOr5MkfMEYQzkRqMmb1F9BVUntSgb7VWVZJhdIvo7zqBLaXbcONR7hQ==
dependencies:
"@inquirer/select" "^2.5.0"
"@oclif/core" "^4"
Expand Down Expand Up @@ -2141,14 +2141,14 @@
"@salesforce/ts-types" "^2.0.12"
debug "^4.4.3"

"@salesforce/plugin-templates@56.18.18":
version "56.18.18"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-templates/-/plugin-templates-56.18.18.tgz#b798f0d7ffd1eedc835e0db7e3f11ea4feee2376"
integrity sha512-C88/1CR6/X0zPfmNuJKardurtZnWvY7guJLmmidK6lq6XxDlzrFosqZjli2cJDDc+famOJSb+JDu5CxQXis8Xw==
"@salesforce/plugin-templates@56.19.0":
version "56.19.0"
resolved "https://registry.yarnpkg.com/@salesforce/plugin-templates/-/plugin-templates-56.19.0.tgz#0b653d18acaa60ff0250a6c492842330d59e43d7"
integrity sha512-vsjAzCyB9HcqI51gQ+CWsFk1rcSNw/FBdaSCTgi+YHbIyX1ATCLy15qw7e+5Km3mMW20xf5o0TZQKiR97DMxiw==
dependencies:
"@salesforce/core" "^8.32.4"
"@salesforce/sf-plugins-core" "^12"
"@salesforce/templates" "^66.11.0"
"@salesforce/templates" "^66.13.0"

"@salesforce/plugin-trust@3.8.38", "@salesforce/plugin-trust@^3.7.89":
version "3.8.38"
Expand Down Expand Up @@ -2251,18 +2251,18 @@
o11y_schema "^260.65.0"
proxy-agent "^6.5.0"

"@salesforce/templates@^66.11.0":
version "66.11.0"
resolved "https://registry.yarnpkg.com/@salesforce/templates/-/templates-66.11.0.tgz#d16cf5b1b836a96796b4b2f05ad6e196ed3d8785"
integrity sha512-xUJfj6AjKCgj2qkblFqji2YFuaoz33DBq7yTGfQBM5CEabcd64mHjRwq43/7F6CZZ1nGtpD4ys+Mb6MeLsIvvg==
"@salesforce/templates@^66.13.0":
version "66.13.0"
resolved "https://registry.yarnpkg.com/@salesforce/templates/-/templates-66.13.0.tgz#0d484f8981ba5e5e34f277a242c75f6acb880eb0"
integrity sha512-ACuTEIk0C9sksoZW/8F1RR0LEyyw4er0ovpb8KKJtlocvJCmbiQHMInAoRnwFciW2AjIS0iL+XJlNmO9mLPBCA==
dependencies:
"@salesforce/kit" "^3.2.6"
ejs "^3.1.10"
got "^11.8.6"
hpagent "^1.2.0"
mime-types "^3.0.2"
proxy-from-env "^1.1.0"
tar "^7.5.19"
tar "^7.5.20"
tslib "^2.8.1"

"@salesforce/ts-sinon@^1.4.36":
Expand Down Expand Up @@ -9745,10 +9745,10 @@ tar-stream@^2.1.4:
inherits "^2.0.3"
readable-stream "^3.1.1"

tar@^7.4.3, tar@^7.5.1, tar@^7.5.19, tar@^7.5.4:
version "7.5.19"
resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.19.tgz#d8915e6b717f8036a79d839ca9448198b002b0a7"
integrity sha512-4LeEWl96twnS2Q7Bz4MGqgazLqO+hJN63GZxXoIqh1T3VweYD997gbU1ItNsQafqqXTXd5WFyFdReLtwvRBNiw==
tar@^7.4.3, tar@^7.5.1, tar@^7.5.19, tar@^7.5.20, tar@^7.5.4:
version "7.5.21"
resolved "https://registry.yarnpkg.com/tar/-/tar-7.5.21.tgz#b3405af2eb493523ce4379f531e9ebda0601bc59"
integrity sha512-XdhtCvlMywwxpCW8YEq3lOXBJpUPTR2OHHcwLPO3HwsJqOHa2Ok/oJ7ruGzp+JrKoRPVCzJwAdEjqLW/vNRPHA==
dependencies:
"@isaacs/fs-minipass" "^4.0.0"
chownr "^3.0.0"
Expand Down
Loading