UNPKG

@halospv3/hce.shared-config

Version:

Automate commit message quality, changelogs, and CI/CD releases. Its `main` entry point is a Semantic Release config. Functions and classes are exposed for customization. An ESLint config, a Commitlint config, and addl. resources for .NET projects are als

211 lines (210 loc) 9.78 kB
{ "name": "@halospv3/hce.shared-config", "version": "3.13.0", "description": "Automate commit message quality, changelogs, and CI/CD releases. Its `main` entry point is a Semantic Release config. Functions and classes are exposed for customization. An ESLint config, a Commitlint config, and addl. resources for .NET projects are also provided.", "keywords": [ "semantic-release", "semantic-release-config", "commitlint", "commitlint-config", "eslint-config" ], "type": "module", "homepage": "https://github.com/halospv3/hce.shared#readme", "bugs": "https://github.com/halospv3/hce.shared/issues", "license": "MIT", "author": "Noah Sherwin", "//preferUnplugged": "If false, the dotnet-msbuild and GitHub workflow files will not be available to dotnet/msbuild and GitHub Actions. The resulting path (e.g. .yarn/unplugged/@halospv3-hce.shared-config-npm-3.0.0-develop.21-84ef4c5461/node_modules/@halospv3/hce.shared-config/) must be located via pattern matching to find the latest version in the unplugged directory.", "preferUnplugged": true, "files": [ "!.github/", "!.husky/", "!.vscode/", "!_tsout/", "!tests/", "CHANGELOG.md", "dotnet/*.md", "dotnet/*.props", "dotnet/*.ps1", "dotnet/*.targets", "dotnet/*.yml", "dotnet/.github/**/*", "mjs/**/*", "src/**/*", "tsconfig*.json" ], "infra": "polyrepo", "repository": { "type": "git", "url": "git+https://github.com/HaloSPV3/HCE.Shared.git" }, "publishConfig": { "executableFiles": [ "./dotnet/dotnet-build.ps1" ], "provenance": true }, "script-shell": "sh", "scripts": { "build": "tsdown", "build:clean": "yarn clean-build", "check": "yarn type && yarn lint && yarn test", "clean": "dotnet clean dotnet; tsdown --clean", "clean-build": "yarn clean && yarn build", "commitlint": "commitlint", "coverage": "yarn test -- --experimental-test-coverage", "lint": "eslint --cache --fix .", "lint:check": "eslint --cache .", "eslint-inspector": "eslint --inspect-config", "prepack": "pinst --disable && yarn clean && yarn build", "_postinstall": "husky", "postpack": "attw --profile 'esm-only' -P ./package.tgz && pinst --enable", "sdks": "yarn dlx @yarnpkg/sdks", "semantic-release": "yarn pack && semantic-release", "test:only": "node --trace-deprecation --trace-warnings --test --experimental-test-coverage --enable-source-maps --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=lcov.txt --test-reporter=junit --test-reporter-destination=junit.xml", "test": "yarn build && yarn test:cacheSampleProjects && yarn test:only", "test:cacheSampleProjects": "echo \"START: Cache Sample Projects\" && yarn node ./tests/dotnet/MSBuildProject.projects.ts && echo \"DONE: Cache Sample Projects\"", "test:watch": "yarn test -- --watch", "type": "tsc --build", "validate": "tsdown --no-write", "watch": "tsdown --watch" }, "dependencies": { "@commitlint/cli": "^21.2.1", "@commitlint/config-conventional": "^21.2.0", "@dotenvx/dotenvx": "^1.75.1", "@eslint/js": "^10.0.1", "@eslint/json": "^2.0.1", "@semantic-release/changelog": "^7.0.0", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/exec": "^7.1.0", "@semantic-release/git": "^11.0.0", "@semantic-release/github": "^12.0.9", "@semantic-release/npm": "^13.1.5", "@semantic-release/release-notes-generator": "^14.1.1", "@stylistic/eslint-plugin": "^5.10.0", "@types/node": "^24.13.3", "arktype": "^2.2.3", "chardet": "^2.2.0", "conventional-changelog-conventionalcommits": "^9.3.1", "debug": "^4.4.3", "error.iserror": "^1.0.2", "es-main": "^1.4.0", "globals": "^17.7.0", "husky": "^9.1.7", "sanitize-filename": "^1.6.4", "semantic-release": "^25.0.8", "semantic-release-export-data": "^1.2.0", "ts-essentials": "^10.2.1", "typescript-eslint": "^8.65.0" }, "peerDependencies": { "@bintoss/semantic-release-npm-multiple": "^3.0.0 || >= 3.0.0", "@commitlint/types": "^20.0.0 || >= 20.0.0", "@semantic-release/gitlab": "^13.0.0 || >= 13.0.0", "eslint": "^10.0.0", "typescript": "^5.0.0 || >=5.0.0" }, "peerDependenciesMeta": { "@bintoss/semantic-release-npm-multiple": { "optional": true }, "@semantic-release/gitlab": { "optional": true } }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.5", "@arethetypeswrong/core": "^0.18.5", "@bintoss/semantic-release-npm-multiple": "^3.17.3", "@commitlint/load": "^21.2.0", "@commitlint/types": "^21.2.0", "@eslint/config-inspector": "^3.1.0", "@eslint/markdown": "^8.0.3", "@sebbo2002/semantic-release-jsr": "^4.0.2", "@semantic-release/gitlab": "^13.3.3", "@types/debug": "^4.1.13", "@types/tmp": "^0.2.6", "@typescript-eslint/utils": "^8.65.0", "conventional-changelog-preset-loader": "^6.0.1", "eslint": "^10.7.0", "eslint-plugin-jsdoc": "^63.2.0", "eslint-plugin-publint": "^0.5.2", "eslint-plugin-unicorn": "^72.0.0", "jiti": "^2.7.0", "pinst": "^3.0.0", "publint": "^0.3.21", "tmp": "^0.2.7", "tsdown": "^0.22.13", "tslib": "^2.8.1", "tsx": "^4.23.1", "typescript": "^6.0.3", "unplugin-unused": "^0.5.7" }, "//engines.node": "See file://./.nvmrc, https://github.com/nvm-sh/nvm#nvmrc. Supporting the lowest version possible is a PITA. Just support LTS. ", "engines": { "node": ">=24.10.0 || <25.0.0 || >=26.1.0", "npm": ">=11.7.0" }, "engineStrict": true, "exports": { ".": "./mjs/index.mjs", "./CaseInsensitiveMap": "./mjs/CaseInsensitiveMap.mjs", "./commitlintConfig": "./mjs/commitlintConfig.mjs", "./debug": "./mjs/debug.mjs", "./dotnet": "./mjs/dotnet/index.mjs", "./dotnet/GithubNugetRegistryInfo": "./mjs/dotnet/GithubNugetRegistryInfo.mjs", "./dotnet/GitlabNugetRegistryInfo": "./mjs/dotnet/GitlabNugetRegistryInfo.mjs", "./dotnet/helpers": "./mjs/dotnet/helpers.mjs", "./dotnet/IsNextVersionAlreadyPublished.cli": "./mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs", "./dotnet/MSBuildProject": "./mjs/dotnet/MSBuildProject.mjs", "./dotnet/MSBuildProjectProperties": "./mjs/dotnet/MSBuildProjectProperties.mjs", "./dotnet/NugetProjectProperties": "./mjs/dotnet/NugetProjectProperties.mjs", "./dotnet/NugetRegistryInfo": "./mjs/dotnet/NugetRegistryInfo.mjs", "./eslintConfig": "./mjs/eslintConfig.mjs", "./insertPlugins": "./mjs/insertPlugins.mjs", "./semantic-release__commit-analyzer": "./src/semantic-release__commit-analyzer.d.ts", "./semantic-release__exec": "./src/semantic-release__exec.d.ts", "./semantic-release__git": "./src/semantic-release__git.d.ts", "./semantic-release__github": "./src/semantic-release__github.d.ts", "./semanticReleaseConfig": "./mjs/semanticReleaseConfig.mjs", "./semanticReleaseConfigDotnet": "./mjs/semanticReleaseConfigDotnet.mjs", "./setupGitPluginSpec": "./mjs/setupGitPluginSpec.mjs", "./setupGitPluginSpec.default": "./mjs/setupGitPluginSpec.default.mjs", "./utils/env": "./mjs/utils/env.mjs", "./utils/Exact": "./src/utils/Exact.d.ts", "./utils/execAsync": "./mjs/utils/execAsync.mjs", "./utils/GracefulRecursion": "./src/utils/GracefulRecursion.d.ts", "./utils/isError": "./mjs/utils/isError.mjs", "./utils/miscTypes": "./mjs/utils/miscTypes.mjs", "./utils/reflection": "./mjs/utils/reflection.mjs", "./utils/reflection/filterForGetters": "./mjs/utils/reflection/filterForGetters.mjs", "./utils/reflection/FunctionLike": "./src/utils/reflection/FunctionLike.d.ts", "./utils/reflection/getOwnPropertyDescriptors": "./mjs/utils/reflection/getOwnPropertyDescriptors.mjs", "./utils/reflection/getOwnPropertyDescriptorsRecursively": "./mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs", "./utils/reflection/getPrototypeChainOf": "./mjs/utils/reflection/getPrototypeChainOf.mjs", "./utils/reflection/getPrototypeOf": "./mjs/utils/reflection/getPrototypeOf.mjs", "./utils/reflection/GetterDescriptor": "./src/utils/reflection/GetterDescriptor.d.ts", "./utils/reflection/inheritance": "./mjs/utils/reflection/inheritance.mjs", "./utils/reflection/InstancePropertyDescriptorMap": "./src/utils/reflection/InstancePropertyDescriptorMap.d.ts", "./utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap": "./src/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.ts", "./utils/reflection/isConstructor": "./mjs/utils/reflection/isConstructor.mjs", "./utils/reflection/isGetterDescriptor": "./mjs/utils/reflection/isGetterDescriptor.mjs", "./utils/reflection/listOwnGetters": "./mjs/utils/reflection/listOwnGetters.mjs", "./utils/reflection/OwnGetterDescriptorMap": "./src/utils/reflection/OwnGetterDescriptorMap.d.ts", "./utils/reflection/OwnKeyOf": "./src/utils/reflection/OwnKeyOf.d.ts", "./utils/reflection/OwnPropertyDescriptorMap": "./src/utils/reflection/OwnPropertyDescriptorMap.d.ts", "./utils/reflection/PropertyDescriptorMap": "./src/utils/reflection/PropertyDescriptorMap.d.ts", "./*": "./*" }, "types": "./mjs/index.d.mts", "packageManager": "yarn@4.17.1+sha512.ccbfabf7d7b6b32075088be9386fb9a2e00bb6887ef07fa56effabc890a56d53da1ccc4128d62db245fcbd3961b236d75335bdf7d5320ed6eafb7588b7ad4697", "resolutions": { "import-from-esm@npm:^2.0.0": "patch:import-from-esm@npm%3A2.0.0#~/.yarn/patches/import-from-esm-npm-2.0.0-8866147795.patch" }, "allowScripts": { "@bintoss/semantic-release-npm-multiple": false, "pinst": false, "esbuild@0.28.1": true } }