@salesforce/plugin-templates
Version:
Commands to create metadata from a default or custom template
255 lines • 8.82 kB
JSON
{
"name": "@salesforce/plugin-templates",
"description": "Commands to create metadata from a default or custom template",
"version": "56.18.13",
"author": "Salesforce",
"bugs": "https://github.com/salesforcecli/plugin-templates/issues",
"enableO11y": true,
"o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
"dependencies": {
"@salesforce/core": "^8.31.5",
"@salesforce/sf-plugins-core": "^12",
"@salesforce/templates": "^66.10.4"
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^5.3.29",
"@salesforce/cli-plugins-testkit": "^5.3.62",
"@salesforce/dev-scripts": "^11.0.4",
"@salesforce/plugin-command-reference": "^3.1.115",
"@types/yeoman-assert": "^3.1.4",
"eslint-plugin-sf-plugin": "^1.20.33",
"oclif": "^4.23.21",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"yeoman-assert": "^3.1.1"
},
"homepage": "https://github.com/salesforcecli/plugin-templates",
"keywords": [
"force",
"salesforce",
"salesforcecli",
"sf",
"sf-plugin",
"sfdx",
"sfdx-plugin",
"templates"
],
"license": "Apache-2.0",
"files": [
"/bin",
"/lib",
"/messages",
"/oclif.manifest.json",
"yarn.lock"
],
"oclif": {
"commands": "./lib/commands",
"additionalHelpFlags": [
"-h"
],
"bin": "sf",
"devPlugins": [
"@oclif/plugin-command-snapshot",
"@salesforce/plugin-command-reference",
"@salesforce/plugin-settings"
],
"topics": {
"template": {
"description": "Collection of Salesforce templates.",
"subtopics": {
"generate": {
"description": "Use a Salesforce template to generate local files.",
"subtopics": {
"analytics": {
"description": "Create analytics templates."
},
"apex": {
"description": "Create an apex class or trigger."
},
"flexipage": {
"description": "Generate a Lightning FlexiPage from a template."
},
"digital-experience": {
"description": "Create a Digital Experience site."
},
"lightning": {
"description": "Create LWC and Aura components and associated metadata."
},
"project": {
"description": "Work with projects, such as deploy and retrieve metadata."
},
"static-resource": {
"description": "Work with static resources."
},
"visualforce": {
"description": "Create a visualforce page or component."
},
"ui-bundle": {
"description": "Generate a UI bundle."
}
}
}
}
}
},
"flexibleTaxonomy": true,
"topicSeparator": " "
},
"engines": {
"node": ">=18.0.0"
},
"repository": "salesforcecli/plugin-templates",
"scripts": {
"build": "wireit",
"clean": "sf-clean",
"clean-all": "sf-clean all",
"compile": "wireit",
"docs": "sf-docs",
"fix-license": "eslint src test --fix --rule \"header/header: [2]\"",
"format": "wireit",
"link-check": "wireit",
"lint": "wireit",
"lint:fix": "eslint 'src/**/*.ts' 'test/**/*.ts' --fix",
"manifest:generate": "oclif manifest",
"manifest:remove": "shx rm -f oclif.manifest.json",
"postpack": "sf-clean --ignore-signing-artifacts",
"prepack": "sf-prepack",
"prepare": "sf-install",
"test": "wireit",
"test:nuts": "wireit",
"test:only": "wireit",
"version": "oclif readme"
},
"wireit": {
"build": {
"dependencies": [
"compile",
"lint"
]
},
"compile": {
"command": "tsc -p . --pretty --incremental",
"files": [
"src/**/*.ts",
"**/tsconfig.json",
"messages/**"
],
"output": [
"lib/**",
"*.tsbuildinfo"
],
"clean": "if-file-deleted"
},
"format": {
"command": "prettier --write \"+(src|test|schemas)/**/*.+(ts|js|json)|command-snapshot.json\"",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"schemas/**/*.json",
"command-snapshot.json",
".prettier*"
],
"output": []
},
"lint": {
"command": "eslint src test --color --cache --cache-location .eslintcache",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/.eslint*",
"**/tsconfig.json"
],
"output": []
},
"test:compile": {
"command": "tsc -p \"./test\" --pretty",
"files": [
"test/**/*.ts",
"**/tsconfig.json"
],
"output": []
},
"test": {
"dependencies": [
"test:compile",
"test:only",
"test:command-reference",
"test:deprecation-policy",
"lint",
"test:json-schema",
"link-check"
]
},
"test:nuts": {
"command": "nyc mocha \"test/**/*.nut.ts\" --parallel --jobs 30 --timeout 5000000 ",
"files": [
"test/**/*.nut.ts",
"src/**/*.ts",
"messages",
"tsconfig.json",
"test/tsconfig.json"
],
"output": []
},
"test:only": {
"command": "nyc mocha \"test/**/*.test.ts\"",
"env": {
"FORCE_COLOR": "2"
},
"files": [
"test/**/*.ts",
"src/**/*.ts",
"**/tsconfig.json",
".mocha*",
"!*.nut.ts",
".nycrc"
],
"output": []
},
"test:command-reference": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" commandreference:generate --erroronwarnings",
"files": [
"src/**/*.ts",
"messages/**",
"package.json"
],
"output": [
"tmp/root"
]
},
"test:deprecation-policy": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" snapshot:compare",
"files": [
"src/**/*.ts"
],
"output": [],
"dependencies": [
"compile"
]
},
"test:json-schema": {
"command": "node --loader ts-node/esm --no-warnings=ExperimentalWarning \"./bin/dev.js\" schema:compare",
"files": [
"src/**/*.ts",
"schemas"
],
"output": []
},
"link-check": {
"command": "node -e \"process.exit(process.env.CI ? 0 : 1)\" || linkinator \"**/*.md\" --skip \"CHANGELOG.md|node_modules|test/|confluence.internal.salesforce.com|my.salesforce.com|localhost|%s\" --markdown --retry --directory-listing --verbosity error",
"files": [
"./*.md",
"./!(CHANGELOG).md",
"messages/**/*.md"
],
"output": []
}
},
"exports": "./lib/index.js",
"type": "module",
"sfdx": {
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.13.crt",
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-templates/56.18.13.sig"
}
}