Skip to main content

packagejson

Guidelines for package.json files in packages

Ir para a instalação

Informações da origem

Repositório
forcedotcom/apex-language-support
Última atividade na origem
23 de junho de 2026 às 22:16
Idioma detectado do SKILL.md
inglês
Estrelas
11
Forks
3

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
packageJson
description
Guidelines for package.json files in packages
## Name any package that's not an npm package should be named @salesforce/foo (whether it actually published to npm or not) the package that publishes the vscode extension is named apex-language-server-extension don't rename packages, but do tell the user when stuff doesn't match the rules ## types on an extension, you only need a `types` prop if your extension will be an extensionDependency of some other extension. probably not necessary for non-extension packages. ## browser only for web-enabled extensions. Must point to a bundled dist file ## npm packages packages that publish to npm should have a `files` property in the package.json ## scripts See [wireit skill](../wireit/SKILL.md) ## dependencies use `*` as the version for anything that's another package in this repo ## devDependencies packages should not duplicate devDependencies that exist at the top level of the repo. ## vscode "contributes" ### Tips - anything in `commands` will appear in command palette. If you don't want that, you have to `never` or use some `when` under commandPalette - commands need a unique ID, 2 extensions contributing the same config will produce a UI warning - never create a "default:true" boolean configuration (it's hard to override user/workspace)
Ver no GitHub