pixelheads 1.0.21-beta.1 → 1.0.21

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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +12 -9
package/README.md CHANGED
@@ -21,6 +21,10 @@ A library that makes it easy to retrieve skins and faces of minecraft players ba
21
21
  alt="face of player"/>
22
22
  ```
23
23
 
24
+ ## Supported Node.js versions
25
+
26
+ Node.js 22 and newer (see `engines` in `package.json`). CI tests all supported LTS and current releases.
27
+
24
28
  ## Building
25
29
  Prerequisites:
26
30
  - Git
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixelheads",
3
- "version": "1.0.21-beta.1",
3
+ "version": "1.0.21",
4
4
  "description": "A library that makes it easy to retrieve skins and faces of minecraft players based on their uuid.",
5
5
  "keywords": [
6
6
  "minecraft",
@@ -13,7 +13,8 @@
13
13
  "prepublish": "npm run build",
14
14
  "build": "tsc",
15
15
  "semantic-release": "semantic-release",
16
- "test": "jest",
16
+ "test:release-notes": "node scripts/check-release-notes.ts",
17
+ "test": "vitest run --coverage",
17
18
  "lint": "eslint . --max-warnings 0"
18
19
  },
19
20
  "files": [
@@ -21,6 +22,9 @@
21
22
  "package.json",
22
23
  "README.md"
23
24
  ],
25
+ "engines": {
26
+ "node": ">=22"
27
+ },
24
28
  "main": "dist/index.js",
25
29
  "types": "dist/index.d.ts",
26
30
  "dependencies": {
@@ -32,19 +36,18 @@
32
36
  "@eslint/js": "10.0.1",
33
37
  "@semantic-release/exec": "7.1.0",
34
38
  "@semantic-release/git": "11.0.1",
35
- "@types/node": "24.19.2",
36
- "@typescript-eslint/eslint-plugin": "8.71.2",
37
- "@typescript-eslint/parser": "8.71.2",
39
+ "@types/node": "22.20.5",
40
+ "@typescript-eslint/eslint-plugin": "8.72.1",
41
+ "@typescript-eslint/parser": "8.72.1",
42
+ "@vitest/coverage-v8": "5.0.5",
38
43
  "conventional-changelog-conventionalcommits": "9.3.1",
39
44
  "eslint": "10.13.0",
40
45
  "eslint-plugin-prettier": "5.5.7",
41
46
  "globals": "17.13.0",
42
- "jest": "30.5.2",
43
47
  "prettier": "3.9.10",
44
48
  "semantic-release": "25.0.9",
45
- "ts-jest": "29.4.15",
46
- "ts-node": "10.9.2",
47
- "typescript": "6.0.3"
49
+ "typescript": "6.0.3",
50
+ "vitest": "5.0.5"
48
51
  },
49
52
  "author": {
50
53
  "name": "jojomatik",