# @dxatscale/sfpowerscripts

> DX@Scale Toolkit

Latest version **25.5.3** (published 2023-11-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @dxatscale/sfpowerscripts
pnpm add @dxatscale/sfpowerscripts
yarn add @dxatscale/sfpowerscripts
bun add @dxatscale/sfpowerscripts
```

Provides the commands `sfp`, `sfpowerscripts`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 25.5.3 |
| Published | 2023-11-24 |
| First published | 2020-04-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=16.0.0 |
| Dependencies | 31 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 (+16 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 214 |
| Author | dxatscale |
| Maintainers | azlamsalam, vuha, raakr, rawdee, sfpower |
| Keywords | dxatscale, sf-cli, sfdx, salesforce, sf, orchestrator |

## Links

- npm: https://www.npmjs.com/package/@dxatscale/sfpowerscripts
- Repository: https://github.com/dxatscale/sfpowerscripts
- Issues: https://github.com/dxatscale/sfpowerscripts/issues
- npm.io page: https://npm.io/package/@dxatscale/sfpowerscripts

## Dependencies (31)

- [ajv](https://npm.io/package/ajv.md) 8.11.0
- [glob](https://npm.io/package/glob.md) ^10.3.3
- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [dotenv](https://npm.io/package/dotenv.md) 16.3.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [marked](https://npm.io/package/marked.md) 4.0.16
- [rimraf](https://npm.io/package/rimraf.md) ^5.0.1
- [semver](https://npm.io/package/semver.md) 7.5.2
- [adm-zip](https://npm.io/package/adm-zip.md) ^0.5.10
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.0.0
- [jsforce](https://npm.io/package/jsforce.md) 2.0.0-beta.27
- [fs-extra](https://npm.io/package/fs-extra.md) ^11.1.1
- [cli-table](https://npm.io/package/cli-table.md) 0.3.11
- [bottleneck](https://npm.io/package/bottleneck.md) ^2.19.5
- [handlebars](https://npm.io/package/handlebars.md) ^4.7.7
- [neverthrow](https://npm.io/package/neverthrow.md) 4.4.2
- [simple-git](https://npm.io/package/simple-git.md) 3.19.1
- [@oclif/core](https://npm.io/package/@oclif/core.md) 2.11.8
- [async-retry](https://npm.io/package/async-retry.md) ^1.3.1
- [object-hash](https://npm.io/package/object-hash.md) ^2.1.1
- [markdown-table](https://npm.io/package/markdown-table.md) ^2.0.0
- [@salesforce/kit](https://npm.io/package/@salesforce/kit.md) 3.0.13
- [marked-terminal](https://npm.io/package/marked-terminal.md) 5.1.1
- [@salesforce/core](https://npm.io/package/@salesforce/core.md) 5.3.9
- [markdown-table-ts](https://npm.io/package/markdown-table-ts.md) ^1.0.3
- [@oclif/plugin-help](https://npm.io/package/@oclif/plugin-help.md) 5.2.17
- [@dxatscale/sfp-logger](https://npm.io/package/@dxatscale/sfp-logger.md) ^2.1.2
- [@dxatscale/sfprofiles](https://npm.io/package/@dxatscale/sfprofiles.md) ^2.0.8
- [@oclif/plugin-commands](https://npm.io/package/@oclif/plugin-commands.md) ^3.0.3
- [@dxatscale/sfpowerscripts.core](https://npm.io/package/@dxatscale/sfpowerscripts.core.md) ^36.5.3
- [@dxatscale/sfdx-process-wrapper](https://npm.io/package/@dxatscale/sfdx-process-wrapper.md) ^1.0.2

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 25.5.3 (latest) — 2023-11-24
- 25.6.1 (refs/heads/main) — 2023-12-19
- 25.6.0 (alpha) — 2023-12-12
- 20.19.6 (refs/heads/develop) — 2023-02-07
- 20.2.6 (hotfix) — 2022-12-08
- 25.5.4 — 2023-12-05
- 25.5.2 — 2023-11-24
- 25.5.1 — 2023-11-24
- 25.5.0 — 2023-11-23
- 25.4.0 — 2023-11-13
- 25.3.0 — 2023-11-08
- 25.2.0 — 2023-11-08
- 25.1.6 — 2023-11-01
- 25.1.5 — 2023-11-01
- 25.1.4 — 2023-11-01
- … 891 more at https://npm.io/package/@dxatscale/sfpowerscripts/versions

## README

<p align="center">
  <img alt="sfpowerscripts" src="https://repository-images.githubusercontent.com/248449736/448f93b4-9883-48da-a75c-330f242bbf8c" width="480" height="400">
</p>

![Version](https://img.shields.io/npm/v/@dxatscale/sfpowerscripts.svg)
[![GitHub stars](https://img.shields.io/github/stars/dxatscale/sfpowerscripts)](https://gitHub.com/dxatscale/sfpowerscripts/stargazers/)
[![GitHub contributors](https://img.shields.io/github/contributors/dxatscale/sfpowerscripts.svg)](https://github.com/forcedotcom/dxatscale/sfpowerscripts/graphs/contributors/)
[![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/dxatscale/sfpowerscripts/blob/master/LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

[![DeepScan grade](https://deepscan.io/api/teams/10234/projects/12959/branches/208838/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=10234&pid=12959&bid=208838)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdxatscale%2Fsfpowerscripts.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdxatscale%2Fsfpowerscripts?ref=badge_shield) [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/5614/badge)](https://bestpractices.coreinfrastructure.org/projects/5614)

[![Join slack](https://i.imgur.com/FZZmA3g.png)](https://launchpass.com/dxatscale)

A build system for package based development in Salesforce, delivered as a node cli that can be implemented in any CI/CD system of choice.Read more about the cli and details here - https://docs.dxatscale.io

#### Features

- Features an Orchestrator, which utilizes sfdx-project.json as the source of truth for driving the build system, ensuring very low maintenance on programs often dealing with multiple number of packages
- Builds packages in parallel by respecting dependencies
- Ability to selectively build changed packages in a mono repo
- Ability to deploy only packages that are changed in repo
- Pooling commands to prepare a pool of scratch org's with packages pre installed for optimized Pull/Merge Request validation
- Artifacts Driven, all create commands produce an artifact or operate on an artifact
- Integrate with any CI/CD system of choice
- All commands are enabled with statsD, for collecting metrics about your pipeline.

There are lot more features to explore. Read more at https://docs.dxatscale.io

The project is delivered as a <b>CLI</b> that can be deployed in any CI/CD system, The module is available in [NPM](https://www.npmjs.com/package/@dxatscale/sfpowerscripts) or can be
used by using the [docker image](https://github.com/dxatscale/sfpowerscripts/pkgs/container/sfpowerscripts)





#### Motivation

- Need for artifact driven build system for package based development models especially on complex and large programs

- Providing additional functionality that is either not supported by the sfdx-cli, such as data packages or automatically understanding tests in a given package

- Ease of use, one should not be spending too much time scripting a pipeline.

#### CI/CD Reference Implementation

Getting started guides for popular CI/CD platforms along with reference pipelines are available [here](https://docs.dxatscale.io/reference-implementation/github)

#### Installing sfpowerscripts locally

sfpowerscripts can be installed on your local device using npm

```
npm i -g @dxatscale/sfpowerscripts
```


#### Docker

Docker images for sfpowerscripts are available at [GitHub Container Registry](https://github.com/dxatscale/sfpowerscripts/pkgs/container/sfpowerscripts).

We recommend using the sfpowerscripts docker image to avoid breakages in your CI/CD pipelines due to updates in sfpowerscripts or any of its dependencies such as the SFDX CLI.

#### Build Instructions
To build sfpowerscripts execute the following on the terminal:
```
npm i -g lerna #Install Lerna Globally
cd <sfpowerscripts directory> # Navigate to the checked out directory
npm i
lerna run build
```

To run unit tests

```
lerna run test
```

To debug and test plugin

```
 cd packages/sfpowerscripts-cli
 npm link
```

#### Maintainers

List of Maintainers are available in the [link](https://docs.dxatscale.io/about-us)


#### Where do I reach for queries?

Please create an issue in the repo for bugs or utilize GitHub Discussions for other queries. Join our [Slack Community](https://launchpass.com/dxatscale) as well.


## License
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fdxatscale%2Fsfpowerscripts.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fdxatscale%2Fsfpowerscripts?ref=badge_large)

---
_Source: https://npm.io/package/@dxatscale/sfpowerscripts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
