๐Ÿ“ฆ hyoban / release-it-pnpm

๐Ÿ“„ package.json ยท 88 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88{
  "name": "release-it-pnpm",
  "type": "module",
  "version": "4.6.5",
  "packageManager": "pnpm@9.15.3",
  "description": "Run release-it with pnpm",
  "author": "Stephen Zhou <hi@hyoban.cc>",
  "license": "MIT",
  "homepage": "https://github.com/hyoban/release-it-pnpm#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hyoban/release-it-pnpm.git"
  },
  "bugs": "https://github.com/hyoban/release-it-pnpm/issues",
  "keywords": [
    "release",
    "release-it",
    "release-it-plugin"
  ],
  "sideEffects": false,
  "exports": {
    ".": {
      "import": {
        "default": "./dist/index.js"
      },
      "require": {
        "default": "./dist/index.cjs"
      }
    },
    "./package.json": "./package.json"
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "files": [
    "dist",
    "package.json"
  ],
  "scripts": {
    "build": "bunchee",
    "dev": "bunchee --watch",
    "lint": "eslint",
    "lint:fix": "eslint --fix",
    "prepublishOnly": "pnpm run build",
    "release": "pnpm run build && release-it",
    "test": "vitest",
    "typecheck": "tsc"
  },
  "release-it": {
    "plugins": {
      "./dist/index.js": {
        "inFile": "CHANGELOG.md"
      }
    },
    "git": {
      "commitMessage": "chore: release ${version}",
      "tagName": "${version}"
    },
    "hooks": {
      "before:init": [
        "pnpm run lint",
        "pnpm run typecheck",
        "pnpm run test --run"
      ]
    }
  },
  "peerDependencies": {
    "release-it": "^17.0.0 || ^18.0.0 || ^19.0.0"
  },
  "dependencies": {
    "bumpp": "^10.1.0",
    "changelogithub": "^13.13.0",
    "conventional-changelog-conventionalcommits": "^8.0.0",
    "conventional-recommended-bump": "^11.0.0",
    "kolorist": "^1.8.0",
    "semver": "^7.6.3"
  },
  "devDependencies": {
    "@types/node": "22.15.3",
    "@types/semver": "^7.5.8",
    "bunchee": "^6.2.0",
    "eslint": "^9.17.0",
    "eslint-config-hyoban": "4.0.5",
    "release-it": "^19.0.2",
    "typescript": "^5.7.3",
    "vitest": "^3.1.1"
  }
}