forcedotcom / sfdx-plugin-generate

MIT License
73 stars 19 forks source link

Documentation still refers to "yarn prepare" instead of "yarn prepack" #63

Open mieckert opened 4 years ago

mieckert commented 4 years ago

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:

  1. Generate new plugin with sfdx plugins:generate myplugin
  2. Read https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins_style_descriptions.htm (last line on page)
  3. Try to run yarn prepare as specified in the docs

Expected result

Documentation should specify yarn prepack not yarn prepare

Actual result

$ 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.

Additional information

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

fransflippo commented 3 years ago

Documentation has not been updated.