@plasius/gpu-model-core 0.1.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/LICENSE +203 -0
- package/README.md +185 -0
- package/dist/index.cjs +2118 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +506 -0
- package/dist/index.d.ts +506 -0
- package/dist/index.js +2069 -0
- package/dist/index.js.map +1 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@plasius/gpu-model-core",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Canonical GPU model document, resource graph, diagnostics, and adapter contracts.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js",
|
|
17
|
+
"require": "./dist/index.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./package.json": "./package.json"
|
|
20
|
+
},
|
|
21
|
+
"scripts": {
|
|
22
|
+
"build": "tsup",
|
|
23
|
+
"test": "vitest run",
|
|
24
|
+
"test:watch": "vitest",
|
|
25
|
+
"test:privacy": "node --test tests/public-package-policy.test.cjs",
|
|
26
|
+
"typecheck": "tsc --noEmit",
|
|
27
|
+
"audit:eslint": "eslint . --max-warnings=0",
|
|
28
|
+
"audit:deps": "npm ls --all --omit=optional --omit=peer",
|
|
29
|
+
"audit:npm": "npm audit --audit-level=high --omit=dev",
|
|
30
|
+
"audit:test": "vitest run --coverage",
|
|
31
|
+
"audit:all": "npm run typecheck && npm run audit:eslint && npm run audit:deps && npm run audit:npm && npm run audit:test",
|
|
32
|
+
"lint": "eslint . --max-warnings=0",
|
|
33
|
+
"prepare": "npm run build",
|
|
34
|
+
"clean": "rimraf dist",
|
|
35
|
+
"test:coverage": "vitest run --coverage",
|
|
36
|
+
"pack:check": "npm run privacy:check && node scripts/verify-public-package.cjs",
|
|
37
|
+
"privacy:check": "node scripts/verify-public-artifacts.cjs --source-only",
|
|
38
|
+
"prepublishOnly": "npm run build && npm run pack:check"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"schema",
|
|
42
|
+
"validation",
|
|
43
|
+
"data-validation",
|
|
44
|
+
"schema-validation",
|
|
45
|
+
"typed-schema",
|
|
46
|
+
"json-schema",
|
|
47
|
+
"typescript",
|
|
48
|
+
"typesafe",
|
|
49
|
+
"runtime-validation",
|
|
50
|
+
"type-safety",
|
|
51
|
+
"plasius",
|
|
52
|
+
"schema-helper",
|
|
53
|
+
"entity-schema",
|
|
54
|
+
"domain-modeling",
|
|
55
|
+
"agnostic",
|
|
56
|
+
"oss",
|
|
57
|
+
"frontend",
|
|
58
|
+
"backend",
|
|
59
|
+
"portable",
|
|
60
|
+
"scalability",
|
|
61
|
+
"monorepo-friendly"
|
|
62
|
+
],
|
|
63
|
+
"author": "Plasius LTD <development@plasius.co.uk>",
|
|
64
|
+
"license": "Apache-2.0",
|
|
65
|
+
"repository": {
|
|
66
|
+
"type": "git",
|
|
67
|
+
"url": "git+https://github.com/Plasius-LTD/gpu-model-core.git"
|
|
68
|
+
},
|
|
69
|
+
"bugs": {
|
|
70
|
+
"url": "https://github.com/Plasius-LTD/gpu-model-core/issues"
|
|
71
|
+
},
|
|
72
|
+
"homepage": "https://github.com/Plasius-LTD/gpu-model-core#readme",
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@eslint/js": "^10.0.1",
|
|
75
|
+
"@types/node": "^26.0.1",
|
|
76
|
+
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
77
|
+
"@typescript-eslint/parser": "^8.59.3",
|
|
78
|
+
"@vitest/coverage-v8": "^4.1.6",
|
|
79
|
+
"eslint": "^10.3.0",
|
|
80
|
+
"globals": "^17.6.0",
|
|
81
|
+
"tsup": "^8.5.1",
|
|
82
|
+
"tsx": "^4.21.0",
|
|
83
|
+
"typescript": "^6.0.3",
|
|
84
|
+
"vitest": "^4.1.6"
|
|
85
|
+
},
|
|
86
|
+
"publishConfig": {
|
|
87
|
+
"access": "public"
|
|
88
|
+
},
|
|
89
|
+
"funding": [
|
|
90
|
+
{
|
|
91
|
+
"type": "patreon",
|
|
92
|
+
"url": "https://www.patreon.com/c/plasiusltd/membership"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "github",
|
|
96
|
+
"url": "https://github.com/sponsors/Plasius-LTD"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"overrides": {
|
|
100
|
+
"brace-expansion": "5.0.9",
|
|
101
|
+
"esbuild": "^0.28.1",
|
|
102
|
+
"minimatch": "^10.2.1",
|
|
103
|
+
"nanoid": "3.3.18",
|
|
104
|
+
"postcss": "8.5.26"
|
|
105
|
+
},
|
|
106
|
+
"engines": {
|
|
107
|
+
"node": ">=24"
|
|
108
|
+
}
|
|
109
|
+
}
|