Open mieckert opened 4 years ago
The Salesforce CLI Plug-In Developer Guide (v48.0) still mentions to run "yarn prepare" instead of "yarn prepack" at https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins_style_descriptions.htm (last line on page)
sfdx plugins:generate myplugin
yarn prepare
Documentation should specify yarn prepack not yarn prepare
yarn prepack
$ yarn prepare yarn run v1.21.1 error Command "prepare" not found. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
SFDX CLI Version:
$ sfdx --version sfdx-cli/7.42.1-e41dbeb8d9 darwin-x64 node-v10.15.3 $ sfdx plugins --core @oclif/plugin-autocomplete 0.1.5 (core) @oclif/plugin-commands 1.2.3 (core) @oclif/plugin-help 2.2.1 (core) @oclif/plugin-not-found 1.2.3 (core) @oclif/plugin-plugins 1.7.8 (core) @oclif/plugin-update 1.3.9 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-trust 3.0.5 (core) analytics 1.2.1 (core) generator 1.1.1 (core) salesforcedx 47.15.0 (core) ├─ salesforcedx-templates 47.16.0 (core) └─ salesforce-alm 47.14.0 (core) sfdx-cli 7.42.1 (core) sfdx-waw-plugin 1.5.0 shane-sfdx-plugins 4.14.5
OS and version: MacOS 10.14.6
Documentation has not been updated.
Summary
The Salesforce CLI Plug-In Developer Guide (v48.0) still mentions to run "yarn prepare" instead of "yarn prepack" at https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins_style_descriptions.htm (last line on page)
Steps To Reproduce:
sfdx plugins:generate myplugin
yarn prepare
as specified in the docsExpected result
Documentation should specify
yarn prepack
notyarn prepare
Actual result
Additional information
SFDX CLI Version:
OS and version: MacOS 10.14.6