
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@salesforce/templates
Advanced tools
This repository provides:
Repos that bundle @salesforce/templates (e.g. with esbuild) and use a templates manifest must:
generateTemplatesManifest. The published package includes templates at lib/templates. You can copy from that path, or use the exported path:
getBuiltinTemplatesPath (returns the resolved path to lib/templates when not on the web platform; undefined on web).dist/templates (or your equivalent) runs before the vscode:bundle (or similar) task. Otherwise the bundle step will fail with ENOENT: no such file or directory, scandir '.../dist/templates'.Template paths inside the package are kept short (via placeholders in lib/templates) so they stay within Windows path limits used by pack:verify.
If you're interested in contributing, take a look at the CONTRIBUTING guide.
If you're interested in building the library locally, take a look at the development doc.
You can find more information about commands that the related plugin provides in the commands doc.
DEFAULT_API_VERSION is maintained in src/utils/constants.ts. Please bump the value every time there is a major release.
create-react-app is a package that sets up a new React project with a predefined structure and configuration. It is similar to @salesforce/templates in that it helps developers quickly start new projects with best practices in place. However, it is focused on React applications rather than Salesforce DX projects.
vue-cli is a package that provides a set of tools for scaffolding Vue.js projects. Like @salesforce/templates, it offers templates and configurations to help developers get started quickly. The main difference is that vue-cli is tailored for Vue.js development, whereas @salesforce/templates is designed for Salesforce DX.
angular-cli is a command-line interface tool that helps developers create and manage Angular projects. It offers similar functionalities to @salesforce/templates by providing templates and project structures. The key distinction is that angular-cli is specific to Angular applications, while @salesforce/templates is for Salesforce DX.
FAQs
Salesforce JS library for templates
The npm package @salesforce/templates receives a total of 292,909 weekly downloads. As such, @salesforce/templates popularity was classified as popular.
We found that @salesforce/templates demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.