create-request 1.4.2 → 1.4.3-rc.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-request",
3
- "version": "1.4.2",
3
+ "version": "1.4.3-rc.0",
4
4
  "description": "A modern, chainable wrapper for fetch with automatic retries, timeouts, comprehensive error handling, and first-class TypeScript support",
5
5
  "main": "dist/library/index.cjs",
6
6
  "module": "dist/library/index.esm.js",
@@ -36,14 +36,16 @@
36
36
  "check": "concurrently \"npm run lint\" \"npm run test\" \"npm run check:size\"",
37
37
  "check:size": "npx size-limit",
38
38
  "test": "node --import tsx --test test/**/*.test.ts",
39
- "test:coverage": "node --import tsx --experimental-test-coverage --test test/**/*.test.ts",
39
+ "test:coverage": "c8 --reporter=text --reporter=html --reporter=lcov npm test",
40
40
  "test:compiled": "node --import tsx --import ./scripts/compiled-loader.mjs --test test/**/*.test.ts",
41
+ "prepare": "husky",
41
42
  "preversion": "npm run check",
42
43
  "prepublishOnly": "npm run build && npm run test:compiled",
43
- "publish:beta": "npm version prerelease --preid=beta && git push origin --tags && npm publish --tag latest",
44
- "publish:patch": "npm version patch && git push origin --tags && npm publish",
45
- "publish:minor": "npm version minor && git push origin --tags && npm publish",
46
- "publish:major": "npm version major && git push origin --tags && npm publish"
44
+ "publish:beta": "npm version prerelease --preid=beta -m \"chore(release): %s\" && git push origin --tags && npm publish --tag beta",
45
+ "publish:rc": "npm version prerelease --preid=rc -m \"chore(release): %s\" && git push origin --tags && npm publish --tag rc",
46
+ "publish:patch": "npm version patch -m \"chore(release): %s\" && git push origin --tags && npm publish",
47
+ "publish:minor": "npm version minor -m \"chore(release): %s\" && git push origin --tags && npm publish",
48
+ "publish:major": "npm version major -m \"chore(release): %s\" && git push origin --tags && npm publish"
47
49
  },
48
50
  "keywords": [
49
51
  "fetch",
@@ -92,6 +94,9 @@
92
94
  "tsx": "^4.20.6",
93
95
  "typescript": "^4.7.3",
94
96
  "undici": "^5.28.5",
95
- "c8": "^8.0.1"
97
+ "c8": "^8.0.1",
98
+ "@commitlint/cli": "^19.0.0",
99
+ "@commitlint/config-conventional": "^19.0.0",
100
+ "husky": "^9.0.0"
96
101
  }
97
102
  }