sfdx-git-delta
Version:
Generate the sfdx content in source format and destructive change from two git commits
337 lines (336 loc) • 8.15 kB
JSON
{
"name": "sfdx-git-delta",
"version": "6.24.0",
"description": "Generate the sfdx content in source format and destructive change from two git commits",
"keywords": [
"salesforce",
"package",
"incremental",
"delta",
"git",
"sfdx",
"sfdx-plugin",
"sf",
"sf-plugin"
],
"engines": {
"node": ">=20"
},
"files": [
"/lib",
"/messages",
"/npm-shrinkwrap.json",
"/oclif.lock",
"/oclif.manifest.json"
],
"exports": "./lib/main.js",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/scolladon/sfdx-git-delta.git"
},
"author": "Sebastien Colladon <colladonsebastien@gmail.com>",
"homepage": "https://github.com/scolladon/sfdx-git-delta#readme",
"license": "MIT",
"bugs": {
"url": "https://github.com/scolladon/sfdx-git-delta/issues"
},
"oclif": {
"commands": "./lib/commands",
"topicSeparator": " ",
"flexibleTaxonomy": true,
"bin": "sf",
"devPlugins": [
"@oclif/plugin-help"
]
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@oclif/core": "^4.8.0",
"@salesforce/core": "^8.23.5",
"@salesforce/sf-plugins-core": "^12.2.6",
"async": "^3.2.6",
"fast-equals": "^5.3.3",
"fast-xml-parser": "^5.3.2",
"fs-extra": "^11.3.2",
"ignore": "^7.0.5",
"lodash-es": "^4.17.21",
"simple-git": "^3.30.0",
"xmlbuilder2": "^4.0.3"
},
"devDependencies": {
"@biomejs/biome": "2.3.8",
"@commitlint/cli": "^20.1.0",
"@commitlint/config-conventional": "^20.0.0",
"@jest/globals": "^30.2.0",
"@ls-lint/ls-lint": "^2.3.1",
"@oclif/plugin-help": "^6.2.36",
"@salesforce/cli-plugins-testkit": "^5.3.41",
"@salesforce/dev-config": "^4.3.2",
"@salesforce/ts-sinon": "^1.4.31",
"@stryker-mutator/core": "^9.4.0",
"@stryker-mutator/jest-runner": "^9.4.0",
"@types/async": "^3.2.25",
"@types/chai": "^5.2.3",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^30.0.0",
"@types/lodash": "^4.17.21",
"@types/lodash-es": "^4.17.12",
"@types/mocha": "^10.0.10",
"@types/node": "^24.10.1",
"benchmark": "^2.1.4",
"chai": "^6.2.1",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-util": "^30.2.0",
"knip": "^5.71.0",
"lint-staged": "^16.2.7",
"lodash": "^4.17.21",
"mocha": "^11.7.5",
"nyc": "^17.1.0",
"oclif": "^4.22.52",
"shx": "^0.4.0",
"sinon": "^21.0.0",
"ts-jest": "^29.4.6",
"ts-jest-mock-import-meta": "^1.3.1",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"validate-branch-name": "^1.3.2",
"wireit": "^0.14.12"
},
"scripts": {
"build": "wireit",
"clean:package-manager": "wireit",
"clean": "wireit",
"dependencies:reinstall": "npm install",
"dependencies:upgrade": "npx npm-check-updates -u ; npm install ; npm audit fix",
"increment:apiversion": "bash ./tooling/incrementApiVersion.sh",
"lint:dependencies": "wireit",
"lint:fs": "wireit",
"lint": "wireit",
"lint:fix": "wireit",
"postpack": "shx rm -f oclif.manifest.json",
"prepack": "wireit",
"prepare": "husky",
"prepublishOnly": "npm shrinkwrap",
"test:build": "wireit",
"test:mutation": "wireit",
"test:mutation:incremental": "wireit",
"test:nut": "wireit",
"test:perf": "wireit",
"test:unit:debug:break": "node --inspect-brk node_modules/.bin/jest",
"test:unit:debug": "node --inspect node_modules/.bin/jest",
"test:unit": "wireit",
"test": "wireit"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/scolladon"
},
"wireit": {
"build": {
"command": "tsc -p . --incremental",
"files": [
"**/tsconfig.json",
"messages/**",
"src/**/*.json",
"src/**/*.ts"
],
"output": [
"lib/**",
"*.tsbuildinfo"
],
"clean": "if-file-deleted"
},
"clean": {
"command": "shx rm -rf 'reports/*' .nyc_output oclif.manifest.json package.tgz 'sfdx-git-delta-*.tgz' 'stderr*.txt' 'stdout*.txt' '.stryker-tmp/*' perf-result.txt",
"files": [
"lib",
"reports/*",
".nyc_output",
"oclif.manifest.json",
"package.tgz",
"sfdx-git-delta-v*.tgz",
"stderr*.txt",
"stdout*.txt",
".stryker-tmp/*",
"perf-result.txt"
],
"dependencies": [
"clean:build"
]
},
"clean:build": {
"command": "shx rm -rf lib",
"files": [
"lib/*"
]
},
"clean:package-manager": {
"command": "shx rm -rf node_modules tsconfig.tsbuildinfo .wireit",
"files": [
"node_modules/*"
]
},
"lint": {
"command": "npx @biomejs/biome check --error-on-warnings src __tests__ messages",
"files": [
"src/**",
"__tests__/**/*.ts",
"messages/**",
"**/biome.json",
"**/tsconfig.json"
],
"output": [],
"dependencies": [
"lint:fs"
]
},
"lint:fix": {
"command": "npx @biomejs/biome check --fix --unsafe src __tests__ messages",
"files": [
"src/**",
"__tests__/**/*.ts",
"messages/**",
"**/biome.json",
"**/tsconfig.json"
],
"output": [],
"dependencies": [
"lint:fs"
]
},
"lint:dependencies": {
"command": "knip",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/tsconfig.json",
"knip.config.ts"
],
"output": [],
"dependencies": [
"lint"
]
},
"lint:fs": {
"command": "ls-lint",
"files": [
"src/**",
"__tests__/**/*.ts",
"messages/**",
"**/.ls-lint.yml"
],
"output": []
},
"prepack": {
"command": "oclif manifest && oclif readme",
"files": [
"src/commands/sgd/source/delta.ts",
"messages/delta.md",
"README.md"
],
"dependencies": [
"build"
],
"output": [
"README.md"
],
"clean": false
},
"test": {
"dependencies": [
"test:unit",
"test:nut"
]
},
"test:build": {
"command": "npm install && npm pack && npm run test",
"dependencies": [
"clean",
"clean:package-manager"
]
},
"test:perf": {
"command": "node __tests__/perf/bench.mjs > perf-result.txt && shx cat perf-result.txt",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/tsconfig.json"
],
"output": [
"perf-result.txt"
],
"dependencies": [
"lint",
"build"
]
},
"test:mutation": {
"command": "stryker run",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/tsconfig.json"
],
"output": [
".stryker-tmp/**"
],
"dependencies": [
"lint"
]
},
"test:mutation:incremental": {
"command": "stryker run --mutate $(git --no-pager diff --name-only --diff-filter=AM --merge-base origin/main src | grep '.ts$' | paste -sd ',' -)",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/tsconfig.json"
],
"output": [
".stryker-tmp/**"
],
"dependencies": [
"lint"
]
},
"test:nut": {
"command": "nyc mocha -r ts-node/register **/*.nut.ts",
"files": [
"src/**/*.ts",
"test/**/*.ts",
"messages/**",
"**/tsconfig.json"
],
"output": [
".nyc_output/**"
],
"dependencies": [
"lint",
"build"
]
},
"test:unit": {
"command": "jest --coverage",
"files": [
"src/**/*.ts",
"__tests__/**/*.ts",
"messages/**",
"**/tsconfig.json"
],
"output": [
"reports/coverage/**"
],
"dependencies": [
"lint"
]
}
}
}