UNPKG

sfdx-git-delta

Version:

Generate the sfdx content in source format and destructive change from two git commits

321 lines (320 loc) 7.76 kB
{ "name": "sfdx-git-delta", "version": "6.6.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": ">=18.6.0" }, "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.2.10", "@salesforce/core": "^8.9.0", "@salesforce/sf-plugins-core": "^12.2.1", "async": "^3.2.6", "fast-equals": "^5.2.2", "fast-xml-parser": "^5.2.0", "fs-extra": "^11.3.0", "ignore": "^7.0.3", "lodash-es": "^4.17.21", "simple-git": "^3.27.0", "xmlbuilder2": "^3.1.1" }, "devDependencies": { "@biomejs/biome": "1.9.4", "@commitlint/cli": "^19.8.0", "@commitlint/config-conventional": "^19.8.0", "@jest/globals": "^29.7.0", "@ls-lint/ls-lint": "^2.3.0", "@oclif/plugin-help": "^6.2.27", "@salesforce/cli-plugins-testkit": "^5.3.39", "@salesforce/dev-config": "^4.3.1", "@salesforce/ts-sinon": "^1.4.30", "@stryker-mutator/core": "^8.7.1", "@stryker-mutator/jest-runner": "^8.7.1", "@types/async": "^3.2.24", "@types/chai": "^5.2.1", "@types/fs-extra": "^11.0.4", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.16", "@types/lodash-es": "^4.17.12", "@types/mocha": "^10.0.10", "@types/node": "^22.14.1", "benchmark": "^2.1.4", "chai": "^5.2.0", "husky": "^9.1.7", "jest": "^29.7.0", "knip": "^5.50.2", "lint-staged": "^15.5.1", "lodash": "^4.17.21", "mocha": "^11.1.0", "nyc": "^17.1.0", "oclif": "^4.17.43", "shx": "^0.4.0", "sinon": "^20.0.0", "ts-jest": "^29.3.1", "ts-jest-mock-import-meta": "^1.3.0", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.8.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", "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__", "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" ] } } }