@plasius/schema 1.2.1 → 1.2.2

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 +11 -0
  2. package/package.json +14 -8
package/README.md CHANGED
@@ -22,6 +22,17 @@ npm install @plasius/schema
22
22
 
23
23
  ---
24
24
 
25
+ ## Demo
26
+
27
+ ```bash
28
+ npm run build
29
+ node demo/example.mjs
30
+ ```
31
+
32
+ See `demo/README.md` for the local sanity-check scaffold.
33
+
34
+ ---
35
+
25
36
  ## Node.js Version
26
37
 
27
38
  This project uses Node.js **22** by default. The version is pinned in the [`.nvmrc`](./.nvmrc) file.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/schema",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Entity schema definition & validation helpers for Plasius ecosystem",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -24,7 +24,10 @@
24
24
  "test:watch": "vitest",
25
25
  "lint": "eslint .",
26
26
  "prepare": "npm run build",
27
- "clean": "rimraf dist"
27
+ "clean": "rimraf dist",
28
+ "test:coverage": "vitest run --coverage",
29
+ "pack:check": "node scripts/verify-public-package.cjs",
30
+ "prepublishOnly": "npm run build && npm run pack:check"
28
31
  },
29
32
  "keywords": [
30
33
  "schema",
@@ -61,14 +64,14 @@
61
64
  "homepage": "https://github.com/Plasius-LTD/schema#readme",
62
65
  "devDependencies": {
63
66
  "@types/node": "^24.3.1",
64
- "@typescript-eslint/eslint-plugin": "^8.43.0",
65
- "@typescript-eslint/parser": "^8.43.0",
66
- "@vitest/coverage-v8": "^3.2.4",
67
- "eslint": "^9.35.0",
67
+ "@typescript-eslint/eslint-plugin": "^8.56.0",
68
+ "@typescript-eslint/parser": "^8.56.0",
69
+ "@vitest/coverage-v8": "^4.0.18",
70
+ "eslint": "^10.0.1",
68
71
  "tsup": "^8.5.0",
69
72
  "tsx": "^4.20.5",
70
73
  "typescript": "^5.9.2",
71
- "vitest": "^3.2.4"
74
+ "vitest": "^4.0.18"
72
75
  },
73
76
  "publishConfig": {
74
77
  "access": "public"
@@ -82,5 +85,8 @@
82
85
  "type": "github",
83
86
  "url": "https://github.com/sponsors/Plasius-LTD"
84
87
  }
85
- ]
88
+ ],
89
+ "overrides": {
90
+ "minimatch": "^10.2.1"
91
+ }
86
92
  }