@plasius/nfr 1.0.3 → 1.0.5

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 +17 -9
package/README.md CHANGED
@@ -24,6 +24,17 @@ npm install @plasius/nfr
24
24
 
25
25
  ---
26
26
 
27
+ ## Demo
28
+
29
+ ```bash
30
+ npm run build
31
+ node demo/example.mjs
32
+ ```
33
+
34
+ See `demo/README.md` for the local sanity-check scaffold.
35
+
36
+ ---
37
+
27
38
  ## Usage Example
28
39
 
29
40
  ### Analytics & Performance
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/nfr",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "a small, typed Non-Functional-Requirement (NFR) framework that cleanly adapts to different cloud vendors (GA4, PostHog, Azure Application Insights, etc.) and different concerns (analytics/events, metrics, tracing, logs, feature flags, performance).",
5
5
  "homepage": "https://github.com/Plasius-LTD/nfr#readme",
6
6
  "bugs": {
@@ -35,27 +35,32 @@
35
35
  "lint": "eslint .",
36
36
  "prepare": "npm run build",
37
37
  "clean": "rimraf dist",
38
- "test": "vitest run --environment jsdom"
38
+ "test": "vitest run --environment jsdom",
39
+ "test:coverage": "vitest run --coverage",
40
+ "pack:check": "node scripts/verify-public-package.cjs",
41
+ "prepublishOnly": "npm run build && npm run pack:check"
39
42
  },
40
43
  "devDependencies": {
44
+ "@testing-library/dom": "^10.4.1",
41
45
  "@testing-library/jest-dom": "^6.8.0",
42
46
  "@testing-library/react": "^16.3.0",
43
47
  "@types/node": "^24.5.2",
44
48
  "@types/react": "^19.1.13",
45
- "@typescript-eslint/eslint-plugin": "^8.44.0",
46
- "@typescript-eslint/parser": "^8.44.0",
47
- "@vitest/coverage-v8": "^3.2.4",
48
- "eslint": "^9.36.0",
49
+ "@typescript-eslint/eslint-plugin": "^8.56.0",
50
+ "@typescript-eslint/parser": "^8.56.0",
51
+ "@vitest/coverage-v8": "^4.0.18",
52
+ "eslint": "^9.39.3",
49
53
  "eslint-config-prettier": "^10.1.8",
50
54
  "eslint-plugin-react": "^7.37.5",
51
55
  "eslint-plugin-react-hooks": "^5.2.0",
52
56
  "jsdom": "^27.0.0",
53
57
  "prettier": "^3.6.2",
54
- "react": "^19",
58
+ "react": "19.2.4",
59
+ "react-dom": "19.2.4",
55
60
  "tsup": "^8.5.0",
56
61
  "tsx": "^4.20.5",
57
62
  "typescript": "^5.9.2",
58
- "vitest": "^3.2.4"
63
+ "vitest": "^4.0.18"
59
64
  },
60
65
  "peerDependencies": {
61
66
  "react": "^19",
@@ -78,5 +83,8 @@
78
83
  "type": "github",
79
84
  "url": "https://github.com/sponsors/Plasius-LTD"
80
85
  }
81
- ]
86
+ ],
87
+ "overrides": {
88
+ "minimatch": "^10.2.1"
89
+ }
82
90
  }