-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@W-15803283@ - BREAKING CHANGE: Migrating from sfdx to sf #316
Merged
BharathAdhikari
merged 18 commits into
forcedotcom:develop
from
BharathAdhikari:W-15803283
Jun 4, 2024
Merged
Changes from 6 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
c5fdeac
@W-15803283 - upgrading sfdx - sf initial changes
BharathAdhikari 33e2460
updating api version flag for sfdx
BharathAdhikari f181343
fixing test case
BharathAdhikari 3c7b005
updated paramertes as per the new sf commands
BharathAdhikari 5fde566
updated deploy parameter
BharathAdhikari b856ae1
fixed test case failure
BharathAdhikari 6c44dfd
removing unused test
BharathAdhikari f92bae5
updated read me file with sf, will need to update shane and command p…
BharathAdhikari 31beae8
replaced shane plugin with sf equivalent command
BharathAdhikari 826b4c6
updated the api-version flag as per sf version
BharathAdhikari b4adbe5
updating workflow to run on self hosted runner
BharathAdhikari 7287281
updating env values to point to local
BharathAdhikari 930bc28
reverting e2etest file and created a new file for testing
BharathAdhikari 9ec9abf
revert this commit after e2e testing
BharathAdhikari e0da75d
overriding api version for e2e testing
BharathAdhikari 53ba4d2
updating workflow file and reverting api-version
BharathAdhikari e3764c2
updating docs with sf commands
BharathAdhikari 15d388c
removing e2e fork file after testing
BharathAdhikari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ $ npm install -g @salesforce/commerce | |
$ sfdx COMMAND | ||
running command... | ||
$ sfdx (-v|--version|version) | ||
@salesforce/commerce/250.1.0 darwin-x64 node-v18.16.1 | ||
@salesforce/commerce/250.1.0 darwin-arm64 node-v18.20.1 | ||
$ sfdx --help [COMMAND] | ||
USAGE | ||
$ sfdx COMMAND | ||
|
@@ -177,7 +177,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:examples:convert -f store-scratch-def.json | ||
sf commerce:examples:convert -f store-scratch-def.json | ||
``` | ||
|
||
_See code: [src/commands/commerce/examples/convert.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/examples/convert.ts)_ | ||
|
@@ -211,8 +211,8 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLES | ||
sfdx commerce:extension:map --registered-extension-name test-extension-name --store-name test-store-name | ||
sfdx commerce:extension:map --registered-extension-name test-extension-name --store-id test-store-id | ||
sf commerce:extension:map --registered-extension-name test-extension-name --store-name test-store-name | ||
sf commerce:extension:map --registered-extension-name test-extension-name --store-id test-store-id | ||
``` | ||
|
||
_See code: [src/commands/commerce/extension/map.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/extension/map.ts)_ | ||
|
@@ -239,7 +239,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:extension:getEPN | ||
sf commerce:extension:getEPN | ||
``` | ||
|
||
_See code: [src/commands/commerce/extension/points/list.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/extension/points/list.ts)_ | ||
|
@@ -290,7 +290,7 @@ OPTIONS | |
[default: warn] logging level for this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:extension:register --registered-extension-name test-extension-name --extension-point-name test-epn | ||
sf commerce:extension:register --registered-extension-name test-extension-name --extension-point-name test-epn | ||
--apex-class-name test-apex-class | ||
``` | ||
|
||
|
@@ -325,8 +325,8 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLES | ||
sfdx commerce:extension:unmap --registered-extension-name test-extension-name --store-name test-store-name | ||
sfdx commerce:extension:unmap --registered-extension-name test-extension-name --store-id test-store-id | ||
sf commerce:extension:unmap --registered-extension-name test-extension-name --store-name test-store-name | ||
sf commerce:extension:unmap --registered-extension-name test-extension-name --store-id test-store-id | ||
``` | ||
|
||
_See code: [src/commands/commerce/extension/unmap.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/extension/unmap.ts)_ | ||
|
@@ -362,12 +362,12 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLES | ||
sfdx commerce:files:copy -y --copySourcePath "~/myexamplefilesdirectory" --filestocopy "file1.txt,file2.txt" | ||
sf commerce:files:copy -y --copySourcePath "~/myexamplefilesdirectory" --filestocopy "file1.txt,file2.txt" | ||
--dirstocopy "dir1,dir2,dir3" | ||
sfdx commerce:files:copy --prompt --copySourcePath "~/myexamplefilesdirectory" --filestocopy "file1.txt,file2.txt" | ||
sf commerce:files:copy --prompt --copySourcePath "~/myexamplefilesdirectory" --filestocopy "file1.txt,file2.txt" | ||
--dirstocopy "dir1,dir2,dir3" | ||
sfdx commerce:files:copy --copySourcePath "~/myexamplefilesdirectory" --filestocopy "file1.txt,file2.txt" --dirstocopy | ||
"dir1,dir2,dir3" | ||
sf commerce:files:copy --copySourcePath "~/myexamplefilesdirectory" --filestocopy "file1.txt,file2.txt" --dirstocopy | ||
"dir1,dir2,dir3" | ||
``` | ||
|
||
_See code: [src/commands/commerce/files/copy.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/files/copy.ts)_ | ||
|
@@ -398,7 +398,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:ordermanagement:quickstart:setup | ||
sf commerce:ordermanagement:quickstart:setup | ||
``` | ||
|
||
_See code: [src/commands/commerce/ordermanagement/quickstart/setup.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/ordermanagement/quickstart/setup.ts)_ | ||
|
@@ -430,7 +430,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:payments:quickstart:setup -p Stripe -n 1commerce | ||
sf commerce:payments:quickstart:setup -p Stripe -n 1commerce | ||
``` | ||
|
||
_See code: [src/commands/commerce/payments/quickstart/setup.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/payments/quickstart/setup.ts)_ | ||
|
@@ -481,7 +481,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:products:import --store-name test-store | ||
sf commerce:products:import --store-name test-store | ||
``` | ||
|
||
_See code: [src/commands/commerce/products/import.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/products/import.ts)_ | ||
|
@@ -526,7 +526,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:scratchorg:create --username [email protected] --targetdevhubusername [email protected] | ||
sf commerce:scratchorg:create --username [email protected] --targetdevhubusername [email protected] | ||
``` | ||
|
||
_See code: [src/commands/commerce/scratchorg/create.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/scratchorg/create.ts)_ | ||
|
@@ -556,7 +556,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:store:search:start -n storeName | ||
sf commerce:store:search:start -n storeName | ||
// Finds a store and indexes it | ||
``` | ||
|
||
|
@@ -609,7 +609,7 @@ OPTIONS | |
[default: warn] logging level for this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:store:create --store-name test-store | ||
sf commerce:store:create --store-name test-store | ||
``` | ||
|
||
_See code: [src/commands/commerce/store/create.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/store/create.ts)_ | ||
|
@@ -650,7 +650,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:store:display --store-name test-store | ||
sf commerce:store:display --store-name test-store | ||
``` | ||
|
||
_See code: [src/commands/commerce/store/display.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/store/display.ts)_ | ||
|
@@ -674,8 +674,7 @@ OPTIONS | |
-v, --targetdevhubusername=targetdevhubusername username or alias for the dev hub | ||
org; overrides default dev hub org | ||
|
||
--all View All stores using sfdx | ||
force:org:open | ||
--all View All stores using sf org open | ||
_ui/networks/setup/SetupNetworksPage | ||
page | ||
|
||
|
@@ -688,7 +687,7 @@ OPTIONS | |
this command invocation | ||
|
||
EXAMPLES | ||
sfdx commerce:store:open --store-name test-store | ||
sf commerce:store:open --store-name test-store | ||
sfdx commerce:store:open --all | ||
``` | ||
|
||
|
@@ -724,7 +723,7 @@ OPTIONS | |
[default: warn] logging level for this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:store:quickstart:create --templatename 'b2c-lite-storefront' | ||
sf commerce:store:quickstart:create --templatename 'b2c-lite-storefront' | ||
``` | ||
|
||
_See code: [src/commands/commerce/store/quickstart/create.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/store/quickstart/create.ts)_ | ||
|
@@ -769,7 +768,7 @@ OPTIONS | |
[default: warn] logging level for this command invocation | ||
|
||
EXAMPLE | ||
sfdx commerce:store:quickstart:setup --definitionfile store-scratch-def.json | ||
sf commerce:store:quickstart:setup --definitionfile store-scratch-def.json | ||
``` | ||
|
||
_See code: [src/commands/commerce/store/quickstart/setup.ts](https://github.com/forcedotcom/commerce-on-lightning/blob/v250.1.0/src/commands/commerce/store/quickstart/setup.ts)_ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With sf commands, the convention is to not use colons (
sf commerce files copy
)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but as the sf command is taking care of this conversion haven't updated the commands as we might have to also update the structure at the file level.