@orkestrel/database 0.0.12 → 0.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orkestrel/database",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "A typed database abstraction for the @orkestrel line — a single core engine over pluggable storage drivers. Part of the @orkestrel line.",
5
5
  "keywords": [
6
6
  "database",
@@ -61,7 +61,7 @@
61
61
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
62
62
  "copy": "node -e \"const fs=require('node:fs'),p=require('node:path'),a=process.argv[1],b=process.argv[2];fs.mkdirSync(p.dirname(b),{recursive:true});fs.cpSync(a,b,{force:true});console.log('Copied: '+a+' to '+b)\"",
63
63
  "scaffold": "scaffold",
64
- "lint": "oxlint --config .oxlintrc.json --fix --deny-warnings .",
64
+ "lint": "oxlint --config .oxlintrc.json --fix .",
65
65
  "check": "tsc --noEmit --project tsconfig.json && npm run check:src",
66
66
  "check:src": "npm run check:src:core && npm run check:src:browser && npm run check:src:server",
67
67
  "check:src:core": "tsc --noEmit -p configs/src/tsconfig.core.json",
@@ -70,41 +70,45 @@
70
70
  "format": "oxfmt --config .oxfmtrc.json --write .",
71
71
  "format:check": "oxfmt --config .oxfmtrc.json --check .",
72
72
  "lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
73
- "test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:guides",
73
+ "test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:setup && npm run test:guides",
74
74
  "test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core --project src:browser --project src:server",
75
75
  "test:src:core": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
76
76
  "test:src:browser": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:browser",
77
77
  "test:src:server": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:server",
78
78
  "test:policy": "vitest run --config vite.config.ts --no-cache --reporter=dot --project policy",
79
79
  "test:config": "vitest run --config vite.config.ts --no-cache --reporter=dot --project config",
80
- "test:guides": "vitest run --config vite.config.ts --reporter=dot --project guides",
80
+ "test:guides": "node --experimental-strip-types tests/guides.test.ts",
81
81
  "build": "npm run clean && npm run build:src",
82
82
  "build:src": "npm run build:src:core && npm run build:src:browser && npm run build:src:server",
83
83
  "build:src:core": "vite build --config configs/src/vite.core.config.ts && npm run copy dist/src/core/index.d.ts dist/src/core/index.d.cts",
84
84
  "build:src:browser": "vite build --config configs/src/vite.browser.config.ts",
85
85
  "build:src:server": "vite build --config configs/src/vite.server.config.ts && npm run copy dist/src/server/index.d.ts dist/src/server/index.d.cts",
86
- "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test"
86
+ "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test && npm run test:distribution -- --mode release",
87
+ "test:distribution": "vitest run --config vite.config.ts --no-cache --reporter=dot --project distribution",
88
+ "test:probe": "vitest run --config vite.config.ts --no-cache --reporter=verbose --project probe",
89
+ "test:bench": "vitest bench --config vite.config.ts --no-cache --project probe",
90
+ "prepack": "npm run build",
91
+ "test:setup": "vitest run --config vite.config.ts --no-cache --reporter=dot --project setup"
87
92
  },
88
93
  "dependencies": {
89
- "@orkestrel/contract": "^0.0.13",
90
- "@orkestrel/emitter": "^0.0.8",
91
- "@orkestrel/indexeddb": "^0.0.9",
92
- "@orkestrel/sqlite": "^0.0.9"
94
+ "@orkestrel/contract": "^0.0.17",
95
+ "@orkestrel/emitter": "^0.0.10",
96
+ "@orkestrel/indexeddb": "^0.0.11",
97
+ "@orkestrel/sqlite": "^0.0.11"
93
98
  },
94
99
  "devDependencies": {
95
100
  "@microsoft/api-extractor": "^7.59.0",
96
- "@orkestrel/guide": "^0.0.12",
97
- "@orkestrel/probe": "^0.0.3",
98
- "@orkestrel/scaffold": "^0.0.49",
99
- "@orkestrel/test": "^0.0.11",
100
- "@types/node": "^26.2.0",
101
+ "@orkestrel/guide": "^0.0.17",
102
+ "@orkestrel/probe": "^0.0.12",
103
+ "@orkestrel/scaffold": "^0.0.63",
104
+ "@orkestrel/test": "^0.0.14",
105
+ "@types/node": "^26.5.0",
101
106
  "@vitest/browser-playwright": "^4.1.11",
102
- "oxfmt": "^0.64.0",
103
- "oxlint": "^1.79.0",
104
- "playwright": "^1.62.1",
107
+ "oxfmt": "^0.67.0",
108
+ "oxlint": "^1.82.0",
109
+ "playwright": "^1.63.0",
105
110
  "typescript": "^6.0.3",
106
111
  "vite": "^8.2.2",
107
- "vite-plugin-dts": "^5.0.3",
108
112
  "vitest": "^4.1.11"
109
113
  },
110
114
  "engines": {