bumpp 8.0.0 → 8.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -3,8 +3,9 @@ import {
3
3
  ProgressEvent,
4
4
  ReleaseType,
5
5
  init_esm_shims,
6
- versionBump
7
- } from "./chunk-HM6FRF4P.mjs";
6
+ versionBump,
7
+ versionBumpInfo
8
+ } from "./chunk-DW6HTJ47.mjs";
8
9
 
9
10
  // src/index.ts
10
11
  init_esm_shims();
@@ -22,5 +23,6 @@ export {
22
23
  ProgressEvent,
23
24
  ReleaseType,
24
25
  src_default as default,
25
- versionBump
26
+ versionBump,
27
+ versionBumpInfo
26
28
  };
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "bumpp",
3
- "version": "8.0.0",
3
+ "version": "8.2.1",
4
4
  "packageManager": "pnpm@7.2.1",
5
- "description": "Automatically (or with prompts) bump your version number, commit changes, tag, and push to Git",
5
+ "description": "Bump version, commit changes, tag, and push to Git",
6
6
  "author": {
7
7
  "name": "James Messinger",
8
8
  "url": "https://jamesmessinger.com"
9
9
  },
10
10
  "license": "MIT",
11
- "homepage": "https://jstools.dev/version-bump-prompt",
11
+ "homepage": "https://github.com/antfu/bumpp",
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "https://github.com/antfu/bumpp.git"
@@ -25,7 +25,15 @@
25
25
  "push",
26
26
  "prompt"
27
27
  ],
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "require": "./dist/index.js",
32
+ "import": "./dist/index.mjs"
33
+ }
34
+ },
28
35
  "main": "dist/index.js",
36
+ "module": "dist/index.mjs",
29
37
  "types": "dist/index.d.ts",
30
38
  "bin": {
31
39
  "bumpp": "bin/bumpp.js"
@@ -43,8 +51,6 @@
43
51
  "build": "tsup src/index.ts src/cli/index.ts --format esm,cjs --dts --clean",
44
52
  "watch": "npm run build -- --watch src",
45
53
  "start": "esno src/cli/run.ts",
46
- "test": "mocha && npm run lint",
47
- "coverage": "nyc node_modules/mocha/bin/mocha",
48
54
  "upgrade": "npm-check -u && npm audit fix",
49
55
  "bumpp": "esno src/cli/run.ts --tag --push --all",
50
56
  "prepublishOnly": "npm run clean && npm run build",
@@ -53,33 +59,24 @@
53
59
  "dependencies": {
54
60
  "@jsdevtools/ez-spawn": "^3.0.4",
55
61
  "cac": "^6.7.12",
56
- "chalk": "^4.1.2",
57
- "globby": "^11.0.4",
62
+ "fast-glob": "^3.2.11",
63
+ "kleur": "^4.1.4",
58
64
  "prompts": "^2.4.1",
59
65
  "semver": "^7.3.5"
60
66
  },
61
67
  "devDependencies": {
62
68
  "@antfu/eslint-config": "^0.25.1",
63
- "@jsdevtools/chai-exec": "^2.1.1",
64
- "@types/chai": "^4.2.21",
65
- "@types/inquirer": "^7.3.3",
66
- "@types/mocha": "^8.2.3",
67
69
  "@types/node": "^14.17.14",
68
70
  "@types/prompts": "^2.0.14",
69
71
  "@types/semver": "^7.3.8",
70
- "chai": "^4.3.4",
71
72
  "detect-indent": "^7.0.0",
72
73
  "detect-newline": "^3.1.0",
73
74
  "eslint": "^8.8.0",
74
75
  "esno": "^0.9.1",
75
76
  "log-symbols": "^4.1.0",
76
- "mocha": "^8.4.0",
77
77
  "npm-check": "^5.9.2",
78
- "nyc": "^15.1.0",
79
78
  "rimraf": "^3.0.2",
80
- "strip-ansi": "^6.0.0",
81
79
  "tsup": "^5.11.9",
82
80
  "typescript": "^4.4.2"
83
- },
84
- "engineStrict": true
81
+ }
85
82
  }