scolladon/sfdx-git-delta

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "sfdx-git-delta",
  "version": "5.49.2",
  "description": "Generate the sfdx content in source format and destructive change from two git commits",
  "keywords": [
    "salesforce",
    "package",
    "git",
    "sfdx",
    "sfdx-plugin"
  ],
  "engines": {
    "node": ">=16.20.0"
  },
  "files": [
    "/bin",
    "/lib",
    "/messages",
    "/oclif.manifest.json"
  ],
  "main": "lib/main.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/scolladon/sfdx-git-delta.git"
  },
  "author": "Sebastien Colladon <colladonsebastien@gmail.com>",
  "dependencies": {
    "@salesforce/command": "^5.3.9",
    "@salesforce/core": "^8.5.4",
    "async": "^3.2.6",
    "fast-xml-parser": "^4.5.0",
    "fs-extra": "^11.2.0",
    "ignore": "^5.3.2",
    "isomorphic-git": "^1.27.1",
    "lodash": "^4.17.21",
    "simple-git": "^3.26.0",
    "xmlbuilder2": "^3.1.1"
  },
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/scolladon/sfdx-git-delta/issues"
  },
  "homepage": "https://github.com/scolladon/sfdx-git-delta#readme",
  "scripts": {
    "build": "wireit",
    "clean": "wireit",
    "clean:yarn": "wireit",
    "dependencies:reinstall": "yarn install",
    "dependencies:upgrade": "shx rm -rf yarn.lock ; shx touch yarn.lock ; yarn-upgrade-all ; yarn-audit-fix",
    "increment:apiversion": "bash ./tooling/incrementApiVersion.sh",
    "lint": "wireit",
    "lint:dependencies": "wireit",
    "lint:fs": "wireit",
    "test": "wireit",
    "test:build": "wireit",
    "test:mutation": "wireit",
    "test:nut": "wireit",
    "test:perf": "wireit",
    "test:unit": "wireit",
    "test:unit:debug": "node --inspect node_modules/.bin/jest",
    "test:unit:debug:break": "node --inspect-brk node_modules/.bin/jest",
    "postpack": "shx rm -f oclif.manifest.json",
    "prepack": "yarn build && oclif-dev manifest && oclif-dev readme",
    "prepare": "husky"
  },
  "wireit": {
    "build": {
      "command": "tsc -p . --incremental",
      "files": [
        "src/**/*.ts",
        "src/**/*.json",
        "**/tsconfig.json",
        "messages/**"
      ],
      "output": [
        "lib/**",
        "*.tsbuildinfo"
      ],
      "clean": "if-file-deleted"
    },
    "clean": {
      "command": "shx rm -rf lib 'reports/*' .nyc_output oclif.manifest.json package.tgz 'sfdx-git-delta-v*.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"
      ]
    },
    "clean:yarn": {
      "command": "shx rm -rf .yarn/cache node_modules",
      "files": [
        ".yarn/cache/*",
        "node_modules/*"
      ]
    },
    "lint": {
      "command": "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": []
    },
    "test": {
      "dependencies": [
        "test:unit",
        "test:nut"
      ]
    },
    "test:build": {
      "command": "yarn && yarn pack && yarn test",
      "dependencies": [
        "clean",
        "clean:yarn"
      ]
    },
    "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:nut": {
      "command": "nyc mocha **/*.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"
      ]
    }
  },
  "devDependencies": {
    "@biomejs/biome": "^1.8.3",
    "@commitlint/cli": "^19.4.1",
    "@commitlint/config-conventional": "^19.4.1",
    "@jest/globals": "^29.7.0",
    "@ls-lint/ls-lint": "^2.2.3",
    "@oclif/dev-cli": "^1.26.10",
    "@salesforce/cli-plugins-testkit": "^5.3.28",
    "@salesforce/dev-config": "^4.1.0",
    "@salesforce/ts-sinon": "^1.4.26",
    "@stryker-mutator/core": "^8.5.0",
    "@stryker-mutator/jest-runner": "^8.5.0",
    "@swc/core": "^1.7.23",
    "@types/async": "^3.2.24",
    "@types/jest": "^29.5.12",
    "@types/mocha": "^10.0.7",
    "@types/node": "^22.5.3",
    "benchmark": "^2.1.4",
    "chai": "^4.3.10",
    "husky": "^9.1.5",
    "jest": "^29.7.0",
    "knip": "^5.29.2",
    "lint-staged": "^15.2.10",
    "mocha": "^10.7.3",
    "nyc": "^17.0.0",
    "shx": "^0.3.4",
    "sinon": "^18.0.0",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "tslib": "^2.7.0",
    "typescript": "^5.5.4",
    "wireit": "^0.14.9",
    "yarn-audit-fix": "^10.0.9",
    "yarn-upgrade-all": "^0.7.4"
  },
  "oclif": {
    "commands": "./lib/commands",
    "bin": "sfdx",
    "devPlugins": [
      "@oclif/plugin-help"
    ]
  },
  "publishConfig": {
    "access": "public"
  },
  "packageManager": "yarn@3.6.0"
}