@demokit-ai/core 0.1.0 → 0.3.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@demokit-ai/core",
3
- "version": "0.1.0",
4
- "description": "Framework-agnostic demo mode SDK with fetch interception",
3
+ "version": "0.3.0",
4
+ "description": "Framework-agnostic demo mode SDK with fetch interception and fixture generation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -21,30 +21,49 @@
21
21
  "files": [
22
22
  "dist"
23
23
  ],
24
- "scripts": {
25
- "build": "tsup",
26
- "dev": "tsup --watch",
27
- "test": "vitest",
28
- "typecheck": "tsc --noEmit"
24
+ "dependencies": {
25
+ "@scalar/openapi-parser": "^0.10.0",
26
+ "@scalar/openapi-types": "^0.2.0",
27
+ "zod": "^3.24.0"
29
28
  },
30
29
  "devDependencies": {
30
+ "@types/node": "^22.10.2",
31
+ "@vitest/coverage-v8": "^2.1.9",
31
32
  "tsup": "^8.3.5",
32
33
  "typescript": "^5.7.2",
33
- "vitest": "^2.1.8"
34
+ "vitest": "^2.1.9"
34
35
  },
35
- "keywords": [
36
- "demo",
37
- "mock",
38
- "api",
39
- "fetch",
40
- "interceptor",
41
- "saas"
42
- ],
43
- "license": "MIT",
44
- "repository": {
45
- "type": "git",
46
- "url": "https://github.com/your-org/demokit",
47
- "directory": "packages/core"
36
+ "peerDependencies": {
37
+ "@ai-sdk/anthropic": ">=1.0.0",
38
+ "@mastra/core": ">=1.0.0-beta.0",
39
+ "@mastra/langfuse": ">=0.2.0",
40
+ "@supabase/supabase-js": ">=2.0.0"
41
+ },
42
+ "peerDependenciesMeta": {
43
+ "@ai-sdk/anthropic": {
44
+ "optional": true
45
+ },
46
+ "@mastra/core": {
47
+ "optional": true
48
+ },
49
+ "@mastra/langfuse": {
50
+ "optional": true
51
+ },
52
+ "@supabase/supabase-js": {
53
+ "optional": true
54
+ }
55
+ },
56
+ "engines": {
57
+ "node": ">=18"
48
58
  },
49
- "sideEffects": false
50
- }
59
+ "license": "Apache-2.0",
60
+ "sideEffects": false,
61
+ "scripts": {
62
+ "build": "tsup",
63
+ "dev": "tsup --watch --no-dts",
64
+ "test": "vitest",
65
+ "test:coverage": "vitest run --coverage",
66
+ "typecheck": "tsc --noEmit",
67
+ "clean": "rm -rf dist"
68
+ }
69
+ }