UNPKG

@salesforce/source-deploy-retrieve

Version:

JavaScript library to run Salesforce metadata deploys and retrieves

214 lines (213 loc) 6.03 kB
{ "name": "@salesforce/source-deploy-retrieve", "version": "12.19.3", "description": "JavaScript library to run Salesforce metadata deploys and retrieves", "main": "lib/src/index.js", "author": "Salesforce", "license": "BSD-3-Clause", "homepage": "https://github.com/forcedotcom/source-deploy-retrieve#readme", "repository": "forcedotcom/source-deploy-retrieve", "bugs": { "url": "https://github.com/forcedotcom/source-deploy-retrieve/issues" }, "keywords": [ "Salesforce", "SalesforceDX", "metadata", "deploy", "retrieve" ], "files": [ "lib/src", "messages" ], "engines": { "node": ">=18.0.0" }, "dependencies": { "@salesforce/core": "^8.8.7", "@salesforce/kit": "^3.2.3", "@salesforce/ts-types": "^2.0.12", "@salesforce/types": "^1.3.0", "fast-levenshtein": "^3.0.0", "fast-xml-parser": "^4.5.3", "got": "^11.8.6", "graceful-fs": "^4.2.11", "ignore": "^5.3.2", "isbinaryfile": "^5.0.2", "jszip": "^3.10.1", "mime": "2.6.0", "minimatch": "^9.0.5", "proxy-agent": "^6.4.0", "yaml": "^2.7.1" }, "devDependencies": { "@jsforce/jsforce-node": "^3.7.0", "@salesforce/cli-plugins-testkit": "^5.3.39", "@salesforce/dev-scripts": "^10.2.12", "@types/deep-equal-in-any-order": "^1.0.1", "@types/fast-levenshtein": "^0.0.4", "@types/graceful-fs": "^4.1.9", "@types/mime": "2.0.3", "@types/minimatch": "^5.1.2", "deep-equal-in-any-order": "^1.1.19", "esbuild": "^0.24.2", "eslint-plugin-sf-plugin": "^1.20.18", "mocha-junit-reporter": "^1.23.3", "mocha-snap": "^5.0.0", "ts-morph": "^24.0.0", "ts-node": "^10.9.2", "ts-patch": "^3.3.0", "typescript": "^5.5.4" }, "scripts": { "build": "wireit", "clean": "sf-clean", "clean-all": "sf-clean all", "compile": "wireit", "coverage": "nyc report --reporter=lcov", "docs": "sf-docs", "format": "wireit", "link-check": "wireit", "lint": "wireit", "local:install": "./scripts/localInstall.js install", "local:link": "./scripts/localInstall.js link", "local:unlink": "./scripts/localInstall.js unlink", "metadata:preview": "npx ts-node scripts/update-registry/preview.ts", "prepack": "sf-prepack", "prepare": "sf-install", "repl": "node --inspect ./scripts/repl.js", "test": "wireit", "test:nuts": "mocha \"test/nuts/local/**/*.nut.ts\" --timeout 500000 --parallel --job 20", "test:nuts:suggest": "mocha \"test/nuts/suggestType/suggestType.nut.ts\" --timeout 10000", "test:only": "wireit", "test:registry": "mocha ./test/registry/registryCompleteness.test.ts --timeout 50000", "test:snapshot": "wireit", "update-registry-core": "npx ts-node scripts/update-registry/updateRegistryFromCoreMetadata.ts", "update-registry-org": "npx ts-node scripts/update-registry/updateRegistryFromOrg.ts", "update-supported-metadata": "npx ts-node scripts/update-registry/update-supported-metadata.ts" }, "lint-staged": { "./{src,test}/**/*.{ts,js}": [ "eslint -c .eslintrc.json --fix" ] }, "volta": { "node": "16.16.0", "yarn": "1.22.4" }, "config": {}, "wireit": { "build": { "dependencies": [ "compile", "lint" ] }, "compile": { "clean": "if-file-deleted", "command": "tspc -p . --pretty --incremental", "files": [ "src/**/*.ts", "src/registry/**/*.json", "**/tsconfig.json", "messages/**" ], "output": [ "lib/**", "*.tsbuildinfo" ] }, "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:only", "test:compile", "test:registry-validation", "test:snapshot" ] }, "test:registry-validation": { "command": "mocha \"test/registry/registryValidation.test.ts\"", "files": [ "test/registry/registryValidation.test.ts", "src/registry/*.json", "**/tsconfig.json" ], "output": [] }, "test:only": { "command": "nyc mocha \"test/**/*.test.ts\" --exclude \"test/registry/registryValidation.test.ts\" --exclude \"test/snapshot/**\"", "env": { "FORCE_COLOR": "2" }, "files": [ "test/**/*.ts", "src/**/*.ts", "src/registry/*.json", "**/tsconfig.json", ".mocha*", "!*.nut.ts", ".nycrc" ], "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": [] }, "test:snapshot": { "command": "mocha \"test/snapshot/**/*.test.ts\" --parallel", "env": { "FORCE_COLOR": "2" }, "files": [ "test/**/*.ts", "src/**/*.ts", "src/registry/*.json", "**/tsconfig.json", ".mocha*", "!*.nut.ts", ".nycrc" ], "output": [] } }, "publishConfig": { "access": "public" } }