UNPKG

salesforce-alm

Version:

This package contains tools, and APIs, for an improved salesforce.com developer experience.

340 lines 17.3 kB
{ "name": "salesforce-alm", "version": "53.7.6", "description": "This package contains tools, and APIs, for an improved salesforce.com developer experience.", "main": "dist/index.js", "directories": { "lib": "./dist/lib" }, "files": [ "/oclif.manifest.json", "/messages", "/metadata", "/dist", "/gen", "/schemas", "!/dist/**/*.js.map", "!/dist/test" ], "oclif": { "bin": "sfdx", "devPlugins": [ "@salesforce/plugin-auth" ], "commands": "./dist/commands", "topics": { "force": { "description": "tools for the Salesforce developer", "longDescription": "Commands to develop on the Salesforce Platform.", "trailblazerCommunityLink": { "url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A000000HTp1", "name": "Salesforce DX" }, "subtopics": { "apex": { "description": "work with Apex code", "longDescription": "Use the apex commands to create Apex classes, execute anonymous blocks, view your logs, run Apex tests, and view Apex test results.", "subtopics": { "test": { "description": "work with Apex tests" } } }, "community": { "description": "create and publish an Experience Cloud site", "longDescription": "Use the community commands to create and publish an Experience Cloud site, and view a list of available templates in you org." }, "data": { "description": "manipulate records in your org", "longDescription": "Use the data commands to manipulate records in your org. Commands are available to help you work with various APIs. Import CSV files with the Bulk API. Export and import data with the SObject Tree Save API. Perform simple CRUD operations on individual records with the REST API.", "subtopics": { "bulk": { "description": "manipulate records using the bulk API" }, "record": { "description": "manipulate records using the enterprise API" }, "soql": { "description": "fetch records using SOQL" }, "tree": { "description": "manipulate records using the tree API" } } }, "lightning": { "description": "create Aura components and Lightning web components", "longDescription": "Use the lightning commands to create Aura components and Lightning web components. As of API version 45.0, you can build Lightning components using two programming models: Lightning Web Components, and the original model, Aura Components. Lightning web components and Aura components can coexist and interoperate on a page." }, "mdapi": { "description": "retrieve and deploy metadata using Metadata API", "longDescription": "Use the mdapi commands to retrieve and deploy Metadata API–formatted files that represent components in an org, or to convert Metadata API–formatted metadata into the source format used in Salesforce DX projects.", "subtopics": { "deploy": { "description": "deploy metadata using Metadata API" }, "retrieve": { "description": "retrieve metadata using Metadata API" } } }, "org": { "description": "manage your orgs", "longDescription": "Use the org commands to manage the orgs you use with Salesforce CLI. Create and delete scratch orgs, list your created and authorized orgs, and open orgs in your browser.", "subtopics": { "shape": { "description": "manage org shape", "state": "beta", "trailblazerCommunityLink": { "url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A0000009TPk", "name": "Org Shape for Scratch Orgs" } }, "snapshot": { "description": "manage org snapshots", "state": "closedPilot", "trailblazerCommunityLink": { "url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A00000020d5", "name": "W19 Pilot: Scratch Org Snapshots" } } } }, "package": { "description": "develop and install packages", "longDescription": "Use the package commands to develop and install packages.", "trailblazerCommunityLink": { "url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A000000Lg5U", "name": "Unlocked Packages and Managed 2GPs" }, "subtopics": { "install": { "description": "install packages" }, "installed": { "description": "list installed packages" }, "uninstall": { "description": "uninstall packages" }, "version": { "description": "develop package versions", "subtopics": { "create": { "description": "report on created package versions" } } } } }, "package1": { "description": "develop first-generation managed and unmanaged packages", "longDescription": "Use the package1 commands to create and view first-generation package versions in your Dev Hub org.", "subtopics": { "version": { "description": "develop package versions", "subtopics": { "create": { "description": "report on created package versions" } } } } }, "project": { "description": "set up a Salesforce DX project", "longDescription": "Use the project commands to set up a Salesforce DX project." }, "schema": { "description": "view standard and custom objects", "longDescription": "Use the schema commands to view information about the standard and custom objects in your org.", "subtopics": { "sobject": { "description": "view standard and custom objects" } } }, "source": { "description": "sync your project with your orgs", "longDescription": "Use the source commands to push and pull source to and from your scratch orgs, to deploy and retrieve source to and from non-source-tracked orgs, to see synchronization changes between your project and scratch orgs, and to convert your source to the metadata format for Metadata API deployments.", "trailblazerCommunityLink": { "url": "https://success.salesforce.com/_ui/core/chatter/groups/GroupProfilePage?g=0F93A00000020ly", "name": "Salesforce CLI New Command Feedback" }, "subtopics": { "tracking": { "description": "manipulate local source tracking files" } } }, "visualforce": { "description": "create and edit Visualforce files", "longDescription": "Use the visualforce commands to create Visualforce pages and components." } } } } }, "dependencies": { "@oclif/config": "^1.18.1", "@oclif/errors": "^1.3.5", "@oclif/plugin-help": "^2.2.3", "@salesforce/command": "^4.2.2", "@salesforce/core": "^2.35.0", "@salesforce/kit": "^1.5.13", "@salesforce/plugin-telemetry": "^1.3.0", "@salesforce/source-deploy-retrieve": "^5.9.4", "@salesforce/source-tracking": "^1.0.2", "@salesforce/ts-types": "^1.5.17", "adm-zip": "^0.5.9", "ansi-styles": "^3.2.1", "archiver": "^5.3.0", "bluebird": "^3.5.5", "bunyan-sfdx-no-dtrace": "^1.8.2", "chalk": "^2.4.2", "cli-ux": "^5.4.4", "debug": "^3.2.6", "fast-xml-parser": "^3.17.4", "fs-extra": "^4.0.3", "glob": "^7.1.6", "heroku-cli-util": "^8.0.12", "js2xmlparser": "^3.0.0", "jsen": "^0.6.6", "jsforce": "^1.11.0", "klaw": "^2.1.1", "lodash": "^4.17.21", "mime": "^1.6.0", "mkdirp": "^0.5.1", "moment": "^2.24.0", "optional-js": "^1.3.1", "replace": "^1.2.1", "request": "^2.88.0", "strip-ansi": "^5.2.0", "ts-retry-promise": "^0.6.0", "xml2js": "0.4.19", "xmldom-sfdx-encoding": "^0.1.30" }, "scripts": { "build": "yarn compile", "compile": "gulp compile && yarn initializeMetadataInfo", "initializeMetadataInfo": "ts-node ./scripts/initializeMetadataTypeInfo.ts", "compile-windows": "node node_modules\\gulp\\bin\\gulp.js", "eslint": "eslint \"src/commands/**/*.ts\" \"src/lib/**/*.ts\" \"src/test/**/*.ts\" \"test/**/*.ts\" --quiet", "eslint:all": "eslint \"src/commands/**/*.ts\" \"src/lib/**/*.ts\" \"src/test/**/*.ts\" \"test/**/*.ts\"", "lint": "yarn eslint", "precommit": "yarn lint", "postpack": "rm -f oclif.manifest.json", "prepack": "oclif-dev manifest", "test": "yarn lint && gulp && yarn test-only", "test-only": "mocha --require source-map-support/register --recursive --timeout 10000 dist/test/unit/commands dist/test/unit/community dist/test/unit/mdapi dist/test/unit/org dist/test/unit/package dist/test/unit/package1 dist/test/unit/snapshot dist/test/unit/source dist/test/unit/core", "test-debug": "find dist/test -name \\*Test.js -exec scripts/debug-mocha.sh '{}' \\;", "test:clean": "rm -rf test_session_*; rm -rf dist/**/trd*; rm -rf test/**/trd*", "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel --config \"test/mocharc.json\"", "test:nuts:org": "mocha \"**/orgCreate.nut.ts\" --slow 4500 --timeout 600000 --config test/mocharc.json", "test:nuts:org:noProject": "mocha \"**/orgCreateNoProject.nut.ts\" --slow 4500 --timeout 600000 --config test/mocharc.json", "test:nuts:org:shape": "mocha \"**/orgShape.nut.ts\" --slow 4500 --timeout 600000 --config test/mocharc.json", "test:nuts:packaging": "mocha \"**/packageTest.nut.ts\" --slow 4500 --timeout 600000 --config test/mocharc.json", "test:nuts:mdapi": "mocha \"**/mdapi*.nut.ts\" --slow 4500 --timeout 600000 --parallel --config test/mocharc.json", "test:nuts:source": "mocha \"**/source*.nut.ts\" --slow 4500 --timeout 600000 --parallel --config test/mocharc.json", "test:nuts:source-push-pull": "mocha \"**/source-push-pull.nut.ts\" --slow 4500 --timeout 600000 --config test/mocharc.json", "test:nuts:source-convert": "mocha \"**/source-convert.nut.ts\" --slow 4500 --timeout 600000 --config test/mocharc.json", "unit": "gulp && mocha --recursive -t 240000 dist/test/unit/commands dist/test/unit/community dist/test/unit/mdapi dist/test/unit/org dist/test/unit/package dist/test/unit/package1 dist/test/unit/snapshot dist/test/unit/source dist/test/unit/core", "pre-commit": "yarn initializeMetadataInfo && git add ./metadata/metadataTypeInfos.json | true && pretty-quick --staged", "prune:dead": "ts-prune | grep -v 'src/commands/' | grep -v 'used in module' | grep -v 'prototype' | grep -v 'src/lib/core/constants.ts'", "prune:dead:exported": "ts-prune | grep -v 'src/commands/' | grep -v 'prototype' | grep -v 'src/lib/core/constants.ts'" }, "keywords": [ "force.com", "salesforce", "salesforce-dx", "salesforcedx", "apex", "visualforce", "lightning", "heroku-plugin", "heroku" ], "author": "Tim Noonan", "license": "BSD-3-Clause", "devDependencies": { "@commitlint/cli": "^12.1.1", "@commitlint/config-conventional": "^12.1.1", "@oclif/dev-cli": "1", "@oclif/parser": "^3.8.5", "@salesforce/cli-plugins-testkit": "^1.2.1", "@salesforce/dev-config": "^2.1.0", "@salesforce/plugin-auth": "^1.4.0", "@salesforce/prettier-config": "^0.0.2", "@salesforce/ts-sinon": "^1.2.2", "@types/chai": "4.1.7", "@types/chai-as-promised": "7.1.0", "@types/chai-fs": "2.0.1", "@types/chai-string": "1.4.1", "@types/fs-extra": "^9.0.10", "@types/jsforce": "^1.9.17", "@types/klaw": "^3.0.1", "@types/lodash": "4.14.123", "@types/mocha": "8.2.1", "@types/node": "^13.13.4", "@types/shelljs": "^0.8.8", "@types/sinon": "7.0.9", "@types/xml2js": "0.0.28", "@typescript-eslint/eslint-plugin": "^4.21.0", "@typescript-eslint/parser": "^4.21.0", "chai": "4.2.0", "chai-as-promised": "7.1.1", "chai-fs": "1.0.0", "chai-string": "1.2.0", "deep-equal-in-any-order": "^1.0.21", "del": "3.0.0", "eslint": "^6.8.0", "eslint-config-prettier": "^8.1.0", "eslint-config-salesforce": "^0.1.0", "eslint-config-salesforce-license": "^0.1.0", "eslint-config-salesforce-typescript": "^0.2.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.20.2", "eslint-plugin-jsdoc": "^32.3.0", "eslint-plugin-prettier": "^3.3.1", "gitignore-parser": "^0.0.2", "gulp": "4.0.0", "gulp-sourcemaps": "2.6.0", "gulp-typescript": "4.0.2", "husky": "^4.2.1", "json5": "2.1.0", "mocha": "8.3.0", "nyc": "13.3.0", "prettier": "^2.0.5", "pretty-quick": "^2.0.1", "sinon": "7.2.7", "source-map-support": "0.5.10", "stdout-stderr": "0.1.9", "ts-node": "7.0.1", "ts-prune": "^0.8.8", "tslint": "5.11.0", "typescript": "^3.9.7", "xunit-file": "^1.0.0" }, "husky": { "hooks": { "pre-commit": "yarn pre-commit", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-push": "yarn eslint && yarn test" } }, "nyc": { "extension": [ ".ts", ".tsx", ".js" ], "exclude": [ "dist/test/**/*", "dist/gen/**/*" ] }, "sfdx": { "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/salesforce-alm/53.7.6.crt", "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/salesforce-alm/53.7.6.sig" } }