graphddb 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/README.md +553 -0
- package/dist/chunk-347U24SB.js +1818 -0
- package/dist/chunk-6LEHSX45.js +4276 -0
- package/dist/chunk-UNRQ5YJT.js +461 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +890 -0
- package/dist/index.d.ts +5309 -0
- package/dist/index.js +2887 -0
- package/dist/testing/index.d.ts +182 -0
- package/dist/testing/index.js +898 -0
- package/dist/types-CDrWiPxp.d.ts +1203 -0
- package/package.json +76 -0
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "graphddb",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Graph data modeling on DynamoDB with adjacency list pattern",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./testing": {
|
|
17
|
+
"types": "./dist/testing/index.d.ts",
|
|
18
|
+
"import": "./dist/testing/index.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"bin": {
|
|
22
|
+
"graphddb": "dist/cli.js"
|
|
23
|
+
},
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsup",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:ci": "vitest run",
|
|
28
|
+
"test:unit": "vitest run",
|
|
29
|
+
"test:watch": "vitest",
|
|
30
|
+
"test:types": "vitest run --config vitest.typecheck.config.ts && npm run test:types:examples",
|
|
31
|
+
"test:types:examples": "tsc --noEmit -p tsconfig.examples.json",
|
|
32
|
+
"test:integration": "vitest run --config vitest.integration.config.ts",
|
|
33
|
+
"gen:py:fixtures": "tsx src/cli.ts generate python --entry python/tests/fixtures/models.ts --queries python/tests/fixtures/definitions.ts --commands python/tests/fixtures/definitions.ts --contracts python/tests/fixtures/definitions.ts --out python/tests/fixtures/generated",
|
|
34
|
+
"gen:py:fixtures:multi": "tsx src/cli.ts generate python --entry python/tests/fixtures/models.ts --queries python/tests/fixtures/definitions_multi.ts --commands python/tests/fixtures/definitions_multi.ts --out python/tests/fixtures/generated_multi",
|
|
35
|
+
"test:py": "python3 -m pytest python/tests -m \"not integration\"",
|
|
36
|
+
"test:py:integration": "python3 -m pytest python/tests -m integration",
|
|
37
|
+
"test:conformance": "tsx conformance/run.ts",
|
|
38
|
+
"gen:cli": "cli-contracts generate",
|
|
39
|
+
"gen:cli:check": "cli-contracts generate --dry-run",
|
|
40
|
+
"clean": "rm -rf dist",
|
|
41
|
+
"docker:up": "docker compose -f docker-compose.test.yml up -d",
|
|
42
|
+
"docker:down": "docker compose -f docker-compose.test.yml down"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"@aws-sdk/client-dynamodb": "^3.0.0",
|
|
46
|
+
"@aws-sdk/lib-dynamodb": "^3.0.0"
|
|
47
|
+
},
|
|
48
|
+
"peerDependenciesMeta": {
|
|
49
|
+
"@aws-sdk/client-dynamodb": {
|
|
50
|
+
"optional": true
|
|
51
|
+
},
|
|
52
|
+
"@aws-sdk/lib-dynamodb": {
|
|
53
|
+
"optional": true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@aws-sdk/client-dynamodb": "^3.700.0",
|
|
58
|
+
"@aws-sdk/lib-dynamodb": "^3.700.0",
|
|
59
|
+
"@types/node": "^22.20.0",
|
|
60
|
+
"cli-contracts": "^0.33.14",
|
|
61
|
+
"dynamodb-onetable": "^2.7.7",
|
|
62
|
+
"dynamodb-toolbox": "^2.9.0",
|
|
63
|
+
"electrodb": "^3.9.1",
|
|
64
|
+
"tsup": "^8.0.0",
|
|
65
|
+
"tsx": "^4.22.4",
|
|
66
|
+
"typescript": "^5.5.0",
|
|
67
|
+
"vitest": "^3.0.0"
|
|
68
|
+
},
|
|
69
|
+
"engines": {
|
|
70
|
+
"node": ">=22"
|
|
71
|
+
},
|
|
72
|
+
"license": "MIT",
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"commander": "^15.0.0"
|
|
75
|
+
}
|
|
76
|
+
}
|