@plurnk/plurnk-models 0.2.0 → 1.0.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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;CAC7B,CAAC;AAyBF,eAAO,MAAM,MAAM,GAAI,UAAU,MAAM,EAAE,OAAO,MAAM,KAAG,SAAS,GAAG,IAGpE,CAAC;AAIF,eAAO,MAAM,eAAe,QAAO,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,CAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC;CAC7B,CAAC;AAyBF,eAAO,MAAM,MAAM,aAAc,MAAM,SAAS,MAAM,KAAG,SAAS,GAAG,IAGpE,CAAC;AAIF,eAAO,MAAM,eAAe,QAAO,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,CAAS,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-models",
3
- "version": "0.2.0",
3
+ "version": "1.0.0",
4
4
  "description": "Build-time-vendored snapshot of model metadata (context window + pricing) from models.dev — a FALLBACK for when no live provider data is available.",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -19,7 +19,7 @@
19
19
  "url": "git+https://github.com/plurnk/plurnk-models.git"
20
20
  },
21
21
  "engines": {
22
- "node": ">=25"
22
+ "node": ">=26"
23
23
  },
24
24
  "license": "MIT",
25
25
  "author": "@wikitopian",
@@ -30,6 +30,7 @@
30
30
  "exports": {
31
31
  ".": {
32
32
  "types": "./dist/index.d.ts",
33
+ "plurnk-dev": "./src/index.ts",
33
34
  "default": "./dist/index.js"
34
35
  },
35
36
  "./package.json": "./package.json"
@@ -39,16 +40,12 @@
39
40
  "README.md"
40
41
  ],
41
42
  "scripts": {
42
- "generate": "node src/generate.mjs",
43
+ "generate": "node --conditions=plurnk-dev src/generate.mjs",
43
44
  "test:lint": "tsc --noEmit",
44
- "test:unit": "node --test src/**/*.test.ts",
45
+ "test:unit": "node --conditions=plurnk-dev --test src/**/*.test.ts",
45
46
  "test": "npm run test:lint && npm run test:unit",
46
- "build:dist": "tsc -p tsconfig.build.json && node -e \"require('node:fs').copyFileSync('src/catalog.json','dist/catalog.json')\"",
47
+ "build:dist": "tsc -p tsconfig.build.json && node --conditions=plurnk-dev -e \"require('node:fs').copyFileSync('src/catalog.json','dist/catalog.json')\"",
47
48
  "build": "npm run build:dist",
48
- "prepare": "npm run build"
49
- },
50
- "devDependencies": {
51
- "@types/node": "^25.9.1",
52
- "typescript": "^6.0.3"
49
+ "prepack": "npm run build"
53
50
  }
54
51
  }