Skip to content

Commit 995e643

Browse files
committed
fix: remove reference to project topic
1 parent 5c578d5 commit 995e643

File tree

3 files changed

+42
-19
lines changed

3 files changed

+42
-19
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Add a new project command
1+
# Add a new deploy command
22

3-
The project plugin does not have any commands for deploying or or retrieving specific pieces of a salesforce project (e.g. metadata to a scratch or functions to a compute environment). Instead, we ask developers to create their own plugin with those commands. In order for the `deploy` or `retrieve` commands to know about the individual plugins, each plugin must implement an [oclif hook](https://oclif.io/docs/hooks) which returns [`Deployers`](https://github.com/salesforcecli/plugin-deploy-retrieve-utils/blob/main/src/deployer.ts) and `Retirevers`.
3+
The deploy-retrieve plugin does not have any commands for deploying or or retrieving specific pieces of a salesforce project (e.g. metadata to a scratch or functions to a compute environment). Instead, we ask developers to create their own plugin with those commands. In order for the `deploy` or `retrieve` commands to know about the individual plugins, each plugin must implement an [oclif hook](https://oclif.io/docs/hooks) which returns [`Deployers`](https://github.com/salesforcecli/plugin-deploy-retrieve-utils/blob/main/src/deployer.ts) and `Retirevers`.
44

55
This method allows developers to own their own plugins while also allowing a simple way for the overarching `project` topic to interact with those plugins.
66

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {
8-
"@oclif/core": "^0.5.21",
9-
"@salesforce/core": "^3.1.1-v3.1",
8+
"@oclif/core": "^0.5.24",
9+
"@salesforce/core": "3.1.1-v3.1",
1010
"@salesforce/plugin-deploy-retrieve-utils": "^0.0.9",
1111
"tslib": "^2"
1212
},
@@ -79,8 +79,8 @@
7979
"@salesforce/plugin-deploy-retrieve-metadata"
8080
],
8181
"topics": {
82-
"project": {
83-
"description": "Commands to deploy and retrieve a project"
82+
"deploy": {
83+
"description": "Commands to deploy to any Salesforce environment"
8484
}
8585
}
8686
},

yarn.lock

Lines changed: 36 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,29 @@
501501
widest-line "^3.1.0"
502502
wrap-ansi "^7.0.0"
503503

504+
"@oclif/core@^0.5.24":
505+
version "0.5.24"
506+
resolved "https://registry.npmjs.org/@oclif/core/-/core-0.5.24.tgz#b055c42c4960f91c67515b4fd8de209ce2d6fa18"
507+
integrity sha512-HdV6brdfzPNVZtXse2VnI7Dfq28tFsfe9tBuYJRyJNTXnHNdYc8jiuWmRxGRGJRb20kmvqzHqAjH5vxVWQe9Sw==
508+
dependencies:
509+
"@oclif/linewrap" "^1.0.0"
510+
chalk "^4.1.0"
511+
clean-stack "^3.0.0"
512+
cli-ux "^5.1.0"
513+
debug "^4.1.1"
514+
fs-extra "^9.0.1"
515+
get-package-type "^0.1.0"
516+
globby "^11.0.1"
517+
indent-string "^4.0.0"
518+
is-wsl "^2.1.1"
519+
lodash.template "^4.4.0"
520+
semver "^7.3.2"
521+
string-width "^4.2.0"
522+
strip-ansi "^6.0.0"
523+
tslib "^2.0.0"
524+
widest-line "^3.1.0"
525+
wrap-ansi "^7.0.0"
526+
504527
"@oclif/dev-cli@^1":
505528
version "1.26.0"
506529
resolved "https://registry.npmjs.org/@oclif/dev-cli/-/dev-cli-1.26.0.tgz#e3ec294b362c010ffc8948003d3770955c7951fd"
@@ -701,15 +724,18 @@
701724
sfdx-faye "^1.0.9"
702725
ts-retry-promise "^0.6.0"
703726

704-
"@salesforce/core@^2.15.2", "@salesforce/core@^2.2.0", "@salesforce/core@^2.20.3":
705-
version "2.23.5"
706-
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.23.5.tgz#6efc3e7d40458e39814db2e783b146bc10017ba7"
707-
integrity sha512-ZkyyflDw6eZQgIx17o1yMWYLFH8g6tlRorFGMKJpF2IqHM9NfepwoMecB+Zx/fSzrkDzGOfWL13qBCjL1NAFKA==
727+
"@salesforce/core@3.1.1-v3.1":
728+
version "3.1.1-v3.1"
729+
resolved "https://registry.npmjs.org/@salesforce/core/-/core-3.1.1-v3.1.tgz#3c6e96da1c7e718924fd7770ec99476e9383f9a7"
730+
integrity sha512-EyX1++JxMw3O/O8q3+Tiuvc3JeOw4wxtWYGeLu9EV4/DSQJ86CjcThkLvQt+JCJPxBfwRxeOmNjUMl7Wu3HIRw==
708731
dependencies:
709732
"@salesforce/bunyan" "^2.0.0"
710-
"@salesforce/kit" "^1.5.0"
733+
"@salesforce/kit" "^1.5.8"
711734
"@salesforce/schemas" "^1.0.1"
712735
"@salesforce/ts-types" "^1.5.13"
736+
"@types/graceful-fs" "^4.1.3"
737+
"@types/jsforce" "1.9.23"
738+
"@types/mkdirp" "1.0.0"
713739
debug "^3.1.0"
714740
graceful-fs "^4.2.4"
715741
jsen "0.6.6"
@@ -718,18 +744,15 @@
718744
mkdirp "1.0.4"
719745
sfdx-faye "^1.0.9"
720746

721-
"@salesforce/core@^3.1.1-v3.1":
722-
version "3.1.1-v3.1"
723-
resolved "https://registry.npmjs.org/@salesforce/core/-/core-3.1.1-v3.1.tgz#3c6e96da1c7e718924fd7770ec99476e9383f9a7"
724-
integrity sha512-EyX1++JxMw3O/O8q3+Tiuvc3JeOw4wxtWYGeLu9EV4/DSQJ86CjcThkLvQt+JCJPxBfwRxeOmNjUMl7Wu3HIRw==
747+
"@salesforce/core@^2.15.2", "@salesforce/core@^2.2.0", "@salesforce/core@^2.20.3":
748+
version "2.23.5"
749+
resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-2.23.5.tgz#6efc3e7d40458e39814db2e783b146bc10017ba7"
750+
integrity sha512-ZkyyflDw6eZQgIx17o1yMWYLFH8g6tlRorFGMKJpF2IqHM9NfepwoMecB+Zx/fSzrkDzGOfWL13qBCjL1NAFKA==
725751
dependencies:
726752
"@salesforce/bunyan" "^2.0.0"
727-
"@salesforce/kit" "^1.5.8"
753+
"@salesforce/kit" "^1.5.0"
728754
"@salesforce/schemas" "^1.0.1"
729755
"@salesforce/ts-types" "^1.5.13"
730-
"@types/graceful-fs" "^4.1.3"
731-
"@types/jsforce" "1.9.23"
732-
"@types/mkdirp" "1.0.0"
733756
debug "^3.1.0"
734757
graceful-fs "^4.2.4"
735758
jsen "0.6.6"

0 commit comments

Comments
 (0)