open-index/open-npm huggingface dataset:
npm package: @salesforce/templates
Description: Salesforce JS library for templates
Author: Salesforce
Latest version: 66.7.10

# salesforcedx-templates

[![Known Vulnerabilities](https://snyk.io/test/github/forcedotcom/salesforcedx-templates/badge.svg)](https://snyk.io/test/github/forcedotcom/salesforcedx-templates)
[![License](https://img.shields.io/npm/l/salesforcedx-templates.svg)](https://github.com/forcedotcom/salesforcedx-templates/blob/master/package.json)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

## Introduction

This repository provides:

- [@salesforce/templates](https://www.npmjs.com/package/@salesforce/templates) to support the library and [Salesforce VS Code extensions](https://github.com/forcedotcom/salesforcedx-vscode/).

### Consumer build requirements (e.g. salesforcedx-vscode)

Repos that **bundle** `@salesforce/templates` (e.g. with esbuild) and use a templates manifest must:

1. **Copy built-in templates into the bundle output** before the bundle step that runs `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).
2. **Wireit / task order**: Ensure the script that populates `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`.

## Getting Started

If you're interested in contributing, take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.

If you're interested in building the library locally, take a look at the development [doc](contributing/developing.md).

You can find more information about commands that the related [plugin](https://github.com/salesforcecli/plugin-templates) provides in the [commands](COMMANDS.md) doc.

## Bump DEFAULT_API_VERSION

`DEFAULT_API_VERSION` is maintained in `src/utils/constants.ts`. Please bump the value every time there is a major release.
npm package: @salesforce/templates-bundle
Description: Salesforce JS library for templates
Author: Salesforce
Latest version: 61.4.0

# salesforcedx-templates

[![Known Vulnerabilities](https://snyk.io/test/github/forcedotcom/salesforcedx-templates/badge.svg)](https://snyk.io/test/github/forcedotcom/salesforcedx-templates)
[![License](https://img.shields.io/npm/l/salesforcedx-templates.svg)](https://github.com/forcedotcom/salesforcedx-templates/blob/master/package.json)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

## Introduction

This repository provides:

- [@salesforce/templates](https://www.npmjs.com/package/@salesforce/templates) to support the library and [Salesforce VS Code extensions](https://github.com/forcedotcom/salesforcedx-vscode/).

## Getting Started

If you're interested in contributing, take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.

If you're interested in building the library locally, take a look at the development [doc](contributing/developing.md).

You can find more information about commands that the related [plugin](https://github.com/salesforcecli/plugin-templates) provides in the [commands](COMMANDS.md) doc.
npm package: @salesforce/test-library-release
Description: Testing releasing of a library that was generated with 'dev generate library'
Latest version: 0.0.27

# test-library-release

Template npm library for Salesforce CLI and VSCode Extensions

[![NPM](https://img.shields.io/npm/v/@salesforce/test-library-release.svg?label=@salesforce/test-library-release)](https://www.npmjs.com/package/@salesforce/test-library-release) [![Downloads/week](https://img.shields.io/npm/dw/@salesforce/test-library-release.svg)](https://npmjs.org/package/@salesforce/test-library-release) [![License](https://img.shields.io/badge/License-BSD%203--Clause-brightgreen.svg)](https://raw.githubusercontent.com/salesforcecli/test-library-release/main/LICENSE.txt)

## Using the template

Foo1

This repository provides an opinionated template for an npm library that will be consumed primarily by the Salesforce CLI and VSCode Extensions.

This was created for internal use, but could be modified for use outside of Salesforce.

1. Please get in touch with the Platform CLI team. We want to help you develop your library.
2. Generate your library:

   ```
   sf dev generate library
   # Answer prompts

   git init -b main
   git add . && git commit -m "chore: initial commit"
   ```

3. Create your library's repo in the github org of your choice
4. When you're ready, replace the contents of this README with the information you want.