Skip to content

Commit

Permalink
chore(cli): replace sfdx with sf commands
Browse files Browse the repository at this point in the history
  • Loading branch information
svierk committed Sep 28, 2023
1 parent 3e54251 commit a1077b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ After that you need to authorize an org for which you want to develop. In VS Cod
Alternatively you can also run the following command from the command line:

```
sfdx force:auth:web:login
sf org login web
```

## Code scaffolding
Expand All @@ -40,7 +40,7 @@ cd force-app/main/default/lwc
```

```
sfdx force:lightning:component:create --type lwc -n helloWorld -d force-app/main/default/lwc
sf lightning generate component --type lwc -n helloWorld -d force-app/main/default/lwc
```

## Code quality
Expand Down Expand Up @@ -102,7 +102,7 @@ Lightning Web Components can be developed locally without the need to push them
The local development server and its configuration are provided by a Salesforce CLI plugin that can be installed as follows:

```
sfdx plugins:install @salesforce/lwc-dev-server
sf plugins install @salesforce/lwc-dev-server
```

To start the server on http://localhost:3333 and access all components of the project run:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"prettier:verify": "prettier --list-different \"**/*.{cls,cmp,component,css,html,js,json,md,page,trigger,xml,yaml,yml}\"",
"postinstall": "husky install",
"precommit": "lint-staged",
"server:lwc": "sfdx force:lightning:lwc:start"
"server:lwc": "sf force lightning lwc start"
},
"devDependencies": {
"@babel/core": "^7.22.20",
Expand Down

0 comments on commit a1077b3

Please sign in to comment.