4.5.0 • Published 5 years ago
sfdx-js v4.5.0
SFDX javascript wrapper.
A TypeScript compatible JavaScript wrapper for Salesforce DX CLI.
Usage
const sfdx = require('sfdx-js').Client.createUsingPath('sfdx')
sfdx.auth.webLogin().then(function() {
console.log('done!');
})
Documentation
Read our doc here: https://coveo.github.io/sfdx-js/
dev scripts
npm t
: Run test suite.npm start
: Runsnpm run build
in watch mode.npm run test:watch
: Run test suite in interactive watch mode.npm run test:prod
: Run linting and generate coverage.npm run build
: Generage bundles and typings, create docs.npm run lint
: Lints code.npm run commit
: Commit using conventional commit style (husky will tell you to use it if you haven't :wink:).npm run generate
: Generate wrapper classes using the SFDX executable in path.
Git Hooks
There is already set a precommit
hook for formatting your code with Prettier :nail_care:
There are 2 Git hooks, they make sure that:
- You follow a conventional commit message.
- Your build is not gonna fail in Travis (or your CI server), since it's runned locally before
git push
.
This makes more sense in combination with automatic releases.
Credits
Made with :heart:
4.5.0
5 years ago
4.4.1
6 years ago
4.4.0
6 years ago
4.3.1
6 years ago
4.3.0
6 years ago
4.2.0
6 years ago
4.1.0
7 years ago
4.0.5
7 years ago
4.0.4
7 years ago
4.0.3
7 years ago
4.0.2
7 years ago
4.0.1
7 years ago
4.0.0
7 years ago
3.0.0
7 years ago
2.1.0
7 years ago
2.0.0
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago