{
  "name": "sf-decomposer",
  "description": "Decompose Salesforce metadata into granular, VCS-friendly files; recompose for deployment.",
  "version": "7.17.0",
  "dependencies": {
    "@oclif/core": "5.1.12",
    "@salesforce/core": "9.4.5",
    "@salesforce/sf-plugins-core": "13.0.9",
    "config-disassembler": "5.0.2"
  },
  "devDependencies": {
    "@actions/core": "3.0.1",
    "@biomejs/biome": "2.6.6",
    "@commitlint/cli": "21.2.4",
    "@commitlint/config-conventional": "21.2.4",
    "@salesforce/cli-plugins-testkit": "5.3.93",
    "@salesforce/dev-config": "4.3.3",
    "@stryker-mutator/core": "10.1.1",
    "@stryker-mutator/vitest-runner": "10.1.1",
    "@types/node": "26.6.6",
    "@vitest/coverage-v8": "5.1.0",
    "fast-check": "4.10.2",
    "husky": "9.1.7",
    "knip": "6.44.2",
    "lint-staged": "17.6.0",
    "ls-engines": "0.10.1",
    "oclif": "6.0.15",
    "shx": "0.4.0",
    "tsx": "4.23.15",
    "typescript": "7.0.2",
    "vitest": "5.1.0",
    "wireit": "0.15.0"
  },
  "engines": {
    "node": ">=22.19.0"
  },
  "files": [
    "/lib",
    "!/lib/action/**",
    "!/lib/cli/**",
    "/messages",
    "/oclif.manifest.json",
    "/oclif.lock",
    "/CHANGELOG.md",
    "/THIRD_PARTY_NOTICES.md"
  ],
  "keywords": [
    "salesforce",
    "salesforcedx",
    "sf",
    "sf-plugin",
    "sfdx-plugin",
    "git",
    "version-control",
    "vcs",
    "decomposition",
    "deployment",
    "xml",
    "yaml",
    "json",
    "decompose",
    "reassemble",
    "disassemble",
    "split",
    "merge",
    "metadata"
  ],
  "license": "MIT",
  "oclif": {
    "commands": "./lib/commands",
    "bin": "sf",
    "repositoryPrefix": "<%- repo %>/blob/main/<%- commandPath %>",
    "topicSeparator": " ",
    "topics": {
      "decomposer": {
        "description": "Decompose and recompose Salesforce metadata files"
      }
    },
    "devPlugins": [
      "@oclif/plugin-help"
    ],
    "hooks": {
      "scopedPostRetrieve": "./lib/hooks/scopedPostRetrieve",
      "prerun": "./lib/hooks/prerun"
    },
    "flexibleTaxonomy": true
  },
  "scripts": {
    "audit": "tsx scripts/audit/audit.ts",
    "audit:roundtrip": "tsx scripts/audit/roundtrip.ts",
    "audit:sweep": "tsx scripts/audit/sweep.ts",
    "audit:classify": "tsx scripts/audit/classify-from-wsdl.ts",
    "audit:xsd": "tsx scripts/audit/xsd-unique-id-candidates.ts",
    "corpus": "tsx scripts/corpus/run.ts",
    "corpus:coverage": "tsx scripts/corpus/coverage.ts",
    "build": "wireit",
    "build:core": "wireit",
    "clean": "wireit",
    "clean:build": "wireit",
    "clean:package-manager": "wireit",
    "compile": "wireit",
    "dependencies:upgrade": "npx npm-check-updates -u && npm install && npm audit fix && cd docker && npx npm-check-updates -u",
    "docs:metadata-support": "tsx scripts/update-metadata-support.ts",
    "format": "wireit",
    "lint": "wireit",
    "lint:dependencies": "wireit",
    "lint:engine": "wireit",
    "postpack": "shx rm -f oclif.manifest.json oclif.lock",
    "prepack": "wireit",
    "prepare": "husky",
    "readme": "wireit",
    "test": "wireit",
    "test:mutation": "wireit",
    "test:mutation:incremental": "wireit",
    "test:nuts": "wireit",
    "test:only": "wireit",
    "test:perf": "wireit",
    "test:perf:gen": "tsx scripts/gen-perf-fixtures.ts"
  },
  "publishConfig": {
    "access": "public"
  },
  "wireit": {
    "clean": {
      "command": "shx rm -rf 'reports/*' oclif.manifest.json oclif.lock package.tgz 'sf-decomposer-*.tgz' 'stderr*.txt' 'stdout*.txt' '.stryker-tmp/*'",
      "files": [
        ".stryker-tmp/*",
        "lib",
        "oclif.manifest.json",
        "oclif.lock",
        "package.tgz",
        "reports/*",
        "sf-decomposer-v*.tgz",
        "stderr*.txt",
        "stdout*.txt"
      ],
      "dependencies": [
        "clean:build"
      ]
    },
    "clean:build": {
      "command": "shx rm -rf lib .wireit",
      "files": [
        ".wireit/*",
        "lib/*"
      ]
    },
    "clean:package-manager": {
      "command": "shx rm -rf node_modules tsconfig.tsbuildinfo",
      "files": [
        "node_modules/*"
      ]
    },
    "build": {
      "dependencies": [
        "compile",
        "lint",
        "build:core"
      ]
    },
    "compile": {
      "command": "tsc -p . --pretty --incremental",
      "files": [
        "src/**/*.ts",
        "src/metadata/registry/metadataRegistry.json",
        "**/tsconfig.json",
        "messages/**"
      ],
      "output": [
        "lib/**",
        "*.tsbuildinfo"
      ],
      "clean": "if-file-deleted"
    },
    "format": {
      "command": "biome format --write src test README.md CONTRIBUTING.md docs/CONFIGURATION.md docs/HANDBOOK.md docs/METADATA_SUPPORT.md docs/MIGRATION.md scripts/audit/README.md scripts/audit/xsd-unique-id-candidates.md",
      "files": [
        "src/**/*.ts",
        "test/**/*.ts",
        "*.md",
        "scripts/audit/*.md",
        "test/**/*.md",
        "biome.json"
      ],
      "output": []
    },
    "lint": {
      "command": "biome check src test README.md packages/core/README.md CONTRIBUTING.md docs/CONFIGURATION.md docs/HANDBOOK.md docs/METADATA_SUPPORT.md docs/MIGRATION.md scripts/audit/README.md scripts/audit/xsd-unique-id-candidates.md",
      "files": [
        "src/**/*.ts",
        "test/**/*.ts",
        "*.md",
        "scripts/audit/*.md",
        "test/**/*.md",
        "messages/**",
        "biome.json",
        "**/tsconfig.json",
        "packages/core/README.md"
      ],
      "output": []
    },
    "lint:dependencies": {
      "command": "knip",
      "files": [
        "src/**/*.ts",
        "test/**/*.ts",
        "knip.config.ts",
        "package.json"
      ],
      "output": [],
      "dependencies": [
        "lint"
      ]
    },
    "lint:engine": {
      "command": "ls-engines --no-current --no-dev --mode=virtual",
      "files": [
        "package.json",
        "package-lock.json"
      ],
      "output": []
    },
    "prepack": {
      "command": "oclif manifest && oclif readme",
      "files": [
        "src/commands/decomposer/decompose.ts",
        "src/commands/decomposer/recompose.ts",
        "src/commands/decomposer/verify.ts",
        "messages/decomposer.decompose.md",
        "messages/decomposer.recompose.md",
        "messages/decomposer.verify.md",
        "README.md"
      ],
      "dependencies": [
        "build"
      ],
      "output": [
        "README.md"
      ],
      "clean": false
    },
    "readme": {
      "command": "oclif readme",
      "files": [
        "src/commands/decomposer/decompose.ts",
        "src/commands/decomposer/recompose.ts",
        "src/commands/decomposer/verify.ts",
        "messages/decomposer.decompose.md",
        "messages/decomposer.recompose.md",
        "messages/decomposer.verify.md",
        "README.md"
      ],
      "dependencies": [
        "build"
      ],
      "output": [
        "README.md"
      ],
      "clean": false
    },
    "test:compile": {
      "command": "tsc -p \"./test\" --pretty",
      "files": [
        "test/**/*.ts",
        "**/tsconfig.json"
      ],
      "output": []
    },
    "test": {
      "dependencies": [
        "test:compile",
        "test:only",
        "lint"
      ]
    },
    "test:mutation": {
      "command": "stryker run",
      "files": [
        "src/**/*.ts",
        "test/**/*.ts",
        "**/tsconfig.json",
        "stryker.config.json",
        "vitest.config.ts"
      ],
      "output": [
        "reports/mutation/**"
      ],
      "dependencies": [
        "lint"
      ]
    },
    "test:mutation:incremental": {
      "command": "node scripts/incremental-mutation.mjs",
      "files": [
        "src/**/*.ts",
        "test/**/*.ts",
        "**/tsconfig.json",
        "stryker.config.json",
        "vitest.config.ts",
        "scripts/incremental-mutation.mjs"
      ],
      "output": [
        "reports/mutation/**"
      ],
      "dependencies": [
        "lint"
      ]
    },
    "test:nuts": {
      "command": "vitest run --config ./vitest.nut.config.ts && shx rm -f oclif.manifest.json oclif.lock *.tsbuildinfo",
      "files": [
        "test/**/*.nut.ts",
        "**/tsconfig.json",
        "vitest.nut.config.ts"
      ],
      "output": [],
      "dependencies": [
        "build",
        "prepack"
      ]
    },
    "test:perf": {
      "command": "vitest run --config ./vitest.perf.config.ts",
      "files": [
        "test/perf/**/*.ts",
        "scripts/gen-perf-fixtures.ts",
        "**/tsconfig.json",
        "vitest.perf.config.ts"
      ],
      "output": [],
      "dependencies": [
        "build"
      ]
    },
    "test:only": {
      "command": "vitest run --coverage",
      "env": {
        "FORCE_COLOR": "2"
      },
      "files": [
        "test/**/*.ts",
        "src/**/*.ts",
        "**/tsconfig.json",
        "!*.nut.ts",
        "vitest.config.ts"
      ],
      "output": []
    },
    "build:core": {
      "command": "tsc -p tsconfig.core.json && shx cp LICENSE.md THIRD_PARTY_NOTICES.md packages/core/ && node scripts/verify-core-package.mjs",
      "files": [
        "src/**/*.ts",
        "!src/commands/**",
        "!src/hooks/**",
        "!src/action/**",
        "src/metadata/registry/metadataRegistry.json",
        "tsconfig.json",
        "tsconfig.core.json",
        "package.json",
        "packages/core/package.json",
        "LICENSE.md",
        "THIRD_PARTY_NOTICES.md",
        "scripts/verify-core-package.mjs"
      ],
      "output": [
        "packages/core/lib/**",
        "packages/core/LICENSE.md",
        "packages/core/THIRD_PARTY_NOTICES.md"
      ],
      "clean": true
    }
  },
  "exports": "./lib/index.js",
  "type": "module",
  "author": "Matt Carvin",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/mcarvin8/sf-decomposer.git"
  },
  "bugs": {
    "url": "https://github.com/mcarvin8/sf-decomposer/issues"
  },
  "allowScripts": {
    "esbuild@0.28.1": true
  }
}
