UNPKG

package-versioner

Version:

A lightweight yet powerful CLI tool for automated semantic versioning based on Git history and conventional commits.

84 lines 2.62 kB
{ "name": "package-versioner", "description": "A lightweight yet powerful CLI tool for automated semantic versioning based on Git history and conventional commits.", "version": "0.8.5", "type": "module", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "author": { "name": "Sam Maister", "email": "goosewobbler@protonmail.com" }, "repository": { "type": "git", "url": "https://github.com/goosewobbler/package-versioner", "homepage": "https://github.com/goosewobbler/package-versioner" }, "keywords": [ "version", "semver", "git", "package" ], "license": "MIT", "files": [ "dist/**", "docs/**", "package-versioner.schema.json" ], "bin": { "package-versioner": "./dist/index.js" }, "lint-staged": { "*.{js,ts,jsx,tsx}": [ "biome check --write", "biome format --write" ] }, "devDependencies": { "@biomejs/biome": "^2.0.6", "@types/figlet": "^1.5.5", "@types/node": "^24.0.10", "@types/semver": "^7.3.13", "@vitest/coverage-v8": "^3.2.4", "cross-env": "^7.0.3", "husky": "^9.1.7", "lint-staged": "^16.1.2", "tsup": "^8.5.0", "tsx": "^4.20.3", "typescript": "^5.8.3", "vitest": "^3.2.4" }, "dependencies": { "@manypkg/get-packages": "^3.0.0", "@types/micromatch": "^4.0.9", "chalk": "^5.4.1", "commander": "^14.0.0", "conventional-changelog-angular": "^8.0.0", "conventional-changelog-conventional-commits": "npm:conventional-changelog-conventionalcommits@^9.0.0", "conventional-changelog-conventionalcommits": "^9.0.0", "conventional-commits-filter": "^5.0.0", "conventional-recommended-bump": "^11.2.0", "figlet": "^1.8.1", "git-semver-tags": "^8.0.0", "micromatch": "^4.0.8", "semver": "^7.7.2", "smol-toml": "^1.4.1" }, "scripts": { "build": "tsup src/index.ts --format esm,cjs --dts", "dev": "tsup src/index.ts --format esm,cjs --watch --dts", "clean": "rm -rf node_modules && rm -rf dist", "test": "pnpm run test:unit && pnpm run test:integration", "test:watch": "vitest --coverage", "test:integration": "pnpm run build && cross-env VITEST_INTEGRATION=true vitest --run --dir test/integration", "posttest:integration": "pnpm tsx scripts/cleanup-fixtures.ts", "test:unit": "vitest --run --coverage --dir test/unit", "lint": "biome check .", "lint:fix": "biome check --write .", "format": "biome format --write .", "format:check": "biome format .", "fix": "pnpm run lint:fix && pnpm run format" } }