UNPKG

synopkg

Version:

Consistent dependency versions in large JavaScript Monorepos

144 lines (143 loc) 6.34 kB
{ "name": "build-tools-release-group-root", "version": "0.50.0", "private": true, "homepage": "https://fluidframework.com", "repository": { "type": "git", "url": "https://github.com/microsoft/FluidFramework.git", "directory": "build-tools" }, "license": "MIT", "author": "Microsoft and contributors", "scripts": { "build": "pnpm run generate:packageList && fluid-build --task build", "build:compile": "fluid-build --task compile", "build:docs": "fluid-build --task build:docs", "build:fast": "fluid-build --worker", "changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s -r 2 --commit-path . -t build-tools_v --context lerna.json", "check:biome": "biome check .", "check:format": "npm run check:biome", "ci:build": "npm run build", "ci:eslint": "fluid-build --task eslint", "ci:test": "npm run test:mocha", "ci:test:coverage": "npm run test:coverage", "clean": "pnpm run -r --no-sort --stream clean && npm run clean:docs && npm run clean:nyc", "clean:docs": "rimraf --glob \"**/_api-extractor-temp\"", "clean:nyc": "rimraf --glob \"nyc/**\"", "commit": "git-cz", "format": "npm run format:biome", "format:biome": "biome check --write .", "generate:packageList": "concurrently \"npm:generate:packageList:*\"", "generate:packageList:internal-build": "flub list --no-private -g build-tools --feed internal-build --outFile feeds/internal-build.txt", "generate:packageList:internal-dev": "flub list --no-private -g build-tools --feed internal-dev --outFile feeds/internal-dev.txt", "generate:packageList:internal-test": "flub list --no-private -g build-tools --feed internal-test --outFile feeds/internal-test.txt", "generate:packageList:public": "flub list --no-private -g build-tools --feed public --outFile feeds/public.txt", "preinstall": "node ../scripts/only-pnpm.cjs", "install:commitlint": "npm install --global @commitlint/config-conventional", "lint": "npm run synopkg:deps && npm run synopkg:versions && npm run check:format && npm run ci:eslint", "lint:fix": "npm run synopkg:deps:fix && npm run synopkg:versions:fix && npm run format && pnpm run -r --no-sort --stream lint:fix", "packlist": "flub generate packlist -g build-tools", "policy-check": "node packages/build-cli/bin/dev check policy", "policy-check:asserts": "node packages/build-cli/bin/dev check policy --handler assert-short-codes --fix", "policy-check:fix": "node packages/build-cli/bin/dev check policy --excludeHandler assert-short-codes --fix", "synopkg:deps": "synopkg lint-semver-ranges --config synopkg.config.cjs", "synopkg:deps:fix": "synopkg set-semver-ranges --config synopkg.config.cjs", "synopkg:versions": "synopkg list-mismatches --config synopkg.config.cjs", "synopkg:versions:fix": "synopkg fix-mismatches --config synopkg.config.cjs", "test": "npm run test:mocha", "test:bail": "npm run test:mocha:bail", "test:copyresults": "copyfiles --exclude \"**/node_modules/**\" \"**/nyc/**\" nyc", "test:coverage": "c8 npm run test:mocha", "test:mocha": "pnpm run -r --no-sort --stream --no-bail test:mocha --color", "test:mocha:bail": "pnpm run -r --no-sort --stream test:mocha", "tsc": "fluid-build --task tsc", "tsc:fast": "fluid-build --root . --task tsc --worker", "watch": "pnpm run -r --parallel tsc --watch" }, "c8": { "all": true, "cache-dir": "nyc/.cache", "exclude": [], "include": [], "report-dir": "nyc/report", "reporter": [ "cobertura", "html", "text" ], "temp-directory": "nyc/.nyc_output" }, "devDependencies": { "@biomejs/biome": "~1.9.3", "@commitlint/cli": "^17.6.6", "@commitlint/config-conventional": "^17.6.6", "@commitlint/cz-commitlint": "^17.5.0", "@fluid-tools/build-cli": "~0.44.0", "@fluidframework/build-common": "^2.0.3", "@fluidframework/build-tools": "~0.44.0", "@microsoft/api-documenter": "^7.22.24", "@microsoft/api-extractor": "^7.45.1", "c8": "^7.14.0", "commitizen": "^4.3.0", "concurrently": "^8.2.1", "conventional-changelog-cli": "^2.2.2", "conventional-changelog-conventionalcommits": "^5.0.0", "copyfiles": "^2.4.1", "cz-conventional-changelog": "^3.3.0", "cz-customizable": "^7.0.0", "eslint": "~8.57.0", "inquirer": "^8.2.5", "rimraf": "^4.4.1", "run-script-os": "^1.1.6", "synopkg": "^9.8.6", "typescript": "~5.4.5" }, "packageManager": "pnpm@8.15.8+sha512.d1a029e1a447ad90bc96cd58b0fad486d2993d531856396f7babf2d83eb1823bb83c5a3d0fc18f675b2d10321d49eb161fece36fe8134aa5823ecd215feed392", "engines": { "node": ">=18.17.1" }, "dependenciesComments": { "@fluidframework/build-tools": "Provides fluid-build which is used by the `build:fast` script. To allow this to work when the workspace version of build-tools has not been built yet, a prepackaged version is depended on. If this self-dependency becomes problematic, the `build` script can be used which does not require it." }, "pnpm": { "peerDependencyComments": [ "@types/node is a peer dependency because of build tools. The package is not needed because it's only used for compilation. It's not needed at runtime.", "oclif includes some AWS-related features, but we don't use them, so we ignore @aws-sdk peer dependencies." ], "peerDependencyRules": { "allowedVersions": { "eslint": "8.51.0" }, "ignoreMissing": [ "@types/node", "@aws-sdk/*" ] }, "overrideComments": [ "oclif includes some AWS-related features, but we don't use them, so we override those dependencies with empty packages. This helps reduce lockfile churn since the deps release very frequently." ], "overrides": { "json5@<1.0.2": "^1.0.2", "json5@>=2.0.0 <2.2.2": "^2.2.2", "qs": "^6.11.0", "sharp": "^0.33.2", "oclif>@aws-sdk/client-cloudfront": "npm:empty-npm-package@1.0.0", "oclif>@aws-sdk/client-s3": "npm:empty-npm-package@1.0.0" }, "updateConfig": { "ignoreDependencies": [ "latest-version", "read-pkg-up", "type-fest", "typescript" ] }, "patchedDependenciesComments": [ "jssm-viz is a dependency of jssm-viz-cli, but doesn't work with the latest jssm and TypeScript. This patch contains the changes from https://github.com/StoneCypher/jssm-viz/pull/54, which fixes the problem." ], "patchedDependencies": { "jssm-viz@5.101.0": "patches/jssm-viz@5.101.0.patch" } } }