UNPKG

@salesforce/source-tracking

Version:

API for tracking local and remote Salesforce metadata changes

162 lines (161 loc) 4.65 kB
{ "name": "@salesforce/source-tracking", "description": "API for tracking local and remote Salesforce metadata changes", "version": "7.4.9", "author": "Salesforce", "license": "Apache-2.0", "main": "lib/index.js", "types": "lib/index.d.ts", "homepage": "https://github.com/forcedotcom/source-tracking#readme", "repository": "forcedotcom/source-tracking", "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": "yarn sf-lint --fix", "prepack": "sf-prepack", "prepare": "sf-install", "test": "wireit", "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel", "test:nuts:local": "mocha \"**/local/*.nut.ts\" --slow 4500 --timeout 600000 --parallel", "test:nuts:local:moved": "mocha \"**/nuts/local/localTrackingFileMoves*.nut.ts\" --slow 4500 --timeout 600000 --parallel", "test:nuts:local:moved:child": "mocha \"**/nuts/local/localTrackingFileMovesDecomposedChild.nut.ts\" --slow 4500 --timeout 600000 --parallel", "test:nuts:local:moved:image": "mocha \"**/nuts/local/localTrackingFileMovesImage.nut.ts\" --slow 4500 --timeout 600000 --parallel", "test:nuts:local:moved:scale": "mocha \"**/nuts/local/localTrackingFileMovesScale.nut.ts\" --slow 4500 --timeout 600000 --parallel", "test:only": "wireit", "test:unit:local:moved": "mocha \"test/unit/localDetectMovedFiles.test.ts\" --slow 4500 --timeout 600000 --parallel" }, "keywords": [ "force", "salesforce", "sfdx", "salesforcedx", "source", "tracking" ], "files": [ "docs", "lib", "messages", "!lib/**/*.map", "/oclif.manifest.json" ], "engines": { "node": ">=18.0.0" }, "dependencies": { "@oclif/core": "^4.4.0", "@salesforce/core": "^8.18.1", "@salesforce/kit": "^3.2.3", "@salesforce/source-deploy-retrieve": "^12.21.5", "@salesforce/ts-types": "^2.0.12", "fast-xml-parser": "^4.5.3", "graceful-fs": "^4.2.11", "isomorphic-git": "^1.30.1", "ts-retry-promise": "^0.8.1" }, "devDependencies": { "@salesforce/cli-plugins-testkit": "^5.3.39", "@salesforce/dev-scripts": "^11.0.2", "@salesforce/schemas": "^1.9.1", "@types/graceful-fs": "^4.1.9", "esbuild": "^0.25.3", "eslint-plugin-sf-plugin": "^1.20.26", "ts-morph": "^24.0.0", "ts-node": "^10.9.2", "ts-patch": "^3.3.0", "typescript": "^5.8.3" }, "config": {}, "publishConfig": { "access": "public" }, "wireit": { "build": { "dependencies": [ "compile", "lint" ] }, "compile": { "command": "tspc -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:only", "test:compile", "link-check" ] }, "test:only": { "command": "nyc mocha \"test/**/*.test.ts\"", "env": { "FORCE_COLOR": "2" }, "files": [ "test/**/*.ts", "src/**/*.ts", "**/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": [] } } }