@astrojs/db 0.0.0-edge-nested-20240223135627
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 +59 -0
- package/config-augment.d.ts +4 -0
- package/dist/core/cli/commands/gen/index.d.ts +6 -0
- package/dist/core/cli/commands/gen/index.js +39 -0
- package/dist/core/cli/commands/link/index.d.ts +8 -0
- package/dist/core/cli/commands/link/index.js +78 -0
- package/dist/core/cli/commands/login/index.d.ts +6 -0
- package/dist/core/cli/commands/login/index.js +46 -0
- package/dist/core/cli/commands/logout/index.d.ts +6 -0
- package/dist/core/cli/commands/logout/index.js +9 -0
- package/dist/core/cli/commands/push/index.d.ts +6 -0
- package/dist/core/cli/commands/push/index.js +209 -0
- package/dist/core/cli/commands/shell/index.d.ts +6 -0
- package/dist/core/cli/commands/shell/index.js +15 -0
- package/dist/core/cli/commands/verify/index.d.ts +6 -0
- package/dist/core/cli/commands/verify/index.js +43 -0
- package/dist/core/cli/index.d.ts +6 -0
- package/dist/core/cli/index.js +68 -0
- package/dist/core/cli/migration-queries.d.ts +26 -0
- package/dist/core/cli/migration-queries.js +418 -0
- package/dist/core/cli/migrations.d.ts +34 -0
- package/dist/core/cli/migrations.js +129 -0
- package/dist/core/consts.d.ts +6 -0
- package/dist/core/consts.js +17 -0
- package/dist/core/errors.d.ts +7 -0
- package/dist/core/errors.js +54 -0
- package/dist/core/integration/error-map.d.ts +6 -0
- package/dist/core/integration/error-map.js +79 -0
- package/dist/core/integration/file-url.d.ts +2 -0
- package/dist/core/integration/file-url.js +84 -0
- package/dist/core/integration/index.d.ts +2 -0
- package/dist/core/integration/index.js +173 -0
- package/dist/core/integration/load-astro-config.d.ts +6 -0
- package/dist/core/integration/load-astro-config.js +79 -0
- package/dist/core/integration/typegen.d.ts +5 -0
- package/dist/core/integration/typegen.js +41 -0
- package/dist/core/integration/vite-plugin-db.d.ts +25 -0
- package/dist/core/integration/vite-plugin-db.js +73 -0
- package/dist/core/integration/vite-plugin-inject-env-ts.d.ts +11 -0
- package/dist/core/integration/vite-plugin-inject-env-ts.js +53 -0
- package/dist/core/queries.d.ts +78 -0
- package/dist/core/queries.js +218 -0
- package/dist/core/tokens.d.ts +11 -0
- package/dist/core/tokens.js +131 -0
- package/dist/core/types.d.ts +8059 -0
- package/dist/core/types.js +209 -0
- package/dist/core/utils.d.ts +5 -0
- package/dist/core/utils.js +18 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +16 -0
- package/dist/runtime/db-client.d.ts +12 -0
- package/dist/runtime/db-client.js +96 -0
- package/dist/runtime/drizzle.d.ts +1 -0
- package/dist/runtime/drizzle.js +48 -0
- package/dist/runtime/index.d.ts +30 -0
- package/dist/runtime/index.js +124 -0
- package/dist/runtime/types.d.ts +69 -0
- package/dist/runtime/types.js +8 -0
- package/index.d.ts +3 -0
- package/package.json +81 -0
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@astrojs/db",
|
|
3
|
+
"version": "0.0.0-edge-nested-20240223135627",
|
|
4
|
+
"description": "",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"types": "./index.d.ts",
|
|
8
|
+
"author": "withastro",
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./runtime": {
|
|
16
|
+
"types": "./dist/runtime/index.d.ts",
|
|
17
|
+
"import": "./dist/runtime/index.js"
|
|
18
|
+
},
|
|
19
|
+
"./runtime/drizzle": {
|
|
20
|
+
"types": "./dist/runtime/drizzle.d.ts",
|
|
21
|
+
"import": "./dist/runtime/drizzle.js"
|
|
22
|
+
},
|
|
23
|
+
"./package.json": "./package.json"
|
|
24
|
+
},
|
|
25
|
+
"typesVersions": {
|
|
26
|
+
"*": {
|
|
27
|
+
".": [
|
|
28
|
+
"./index.d.ts"
|
|
29
|
+
],
|
|
30
|
+
"runtime": [
|
|
31
|
+
"./dist/runtime/index.d.ts"
|
|
32
|
+
],
|
|
33
|
+
"runtime/drizzle": [
|
|
34
|
+
"./dist/runtime/drizzle.d.ts"
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"index.d.ts",
|
|
40
|
+
"config-augment.d.ts",
|
|
41
|
+
"dist"
|
|
42
|
+
],
|
|
43
|
+
"keywords": [
|
|
44
|
+
"withastro",
|
|
45
|
+
"astro-integration"
|
|
46
|
+
],
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@libsql/client": "^0.4.3",
|
|
49
|
+
"deep-diff": "^1.0.2",
|
|
50
|
+
"drizzle-orm": "^0.28.6",
|
|
51
|
+
"kleur": "^4.1.5",
|
|
52
|
+
"nanoid": "^5.0.1",
|
|
53
|
+
"open": "^10.0.3",
|
|
54
|
+
"ora": "^7.0.1",
|
|
55
|
+
"prompts": "^2.4.2",
|
|
56
|
+
"yargs-parser": "^21.1.1",
|
|
57
|
+
"zod": "^3.22.4"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@types/chai": "^4.3.6",
|
|
61
|
+
"@types/deep-diff": "^1.0.5",
|
|
62
|
+
"@types/diff": "^5.0.8",
|
|
63
|
+
"@types/mocha": "^10.0.2",
|
|
64
|
+
"@types/prompts": "^2.4.8",
|
|
65
|
+
"@types/yargs-parser": "^21.0.3",
|
|
66
|
+
"chai": "^4.3.10",
|
|
67
|
+
"cheerio": "1.0.0-rc.12",
|
|
68
|
+
"mocha": "^10.2.0",
|
|
69
|
+
"typescript": "^5.2.2",
|
|
70
|
+
"vite": "^4.4.11",
|
|
71
|
+
"astro": "0.0.0-edge-nested-20240223135627",
|
|
72
|
+
"astro-scripts": "0.0.14"
|
|
73
|
+
},
|
|
74
|
+
"scripts": {
|
|
75
|
+
"build": "astro-scripts build \"src/**/*.ts\" && tsc",
|
|
76
|
+
"build:ci": "astro-scripts build \"src/**/*.ts\"",
|
|
77
|
+
"dev": "astro-scripts dev \"src/**/*.ts\"",
|
|
78
|
+
"test": "mocha --exit --timeout 20000 \"test/*.js\" \"test/unit/**/*.js\"",
|
|
79
|
+
"test:match": "mocha --timeout 20000 \"test/*.js\" \"test/unit/*.js\" -g"
|
|
80
|
+
}
|
|
81
|
+
}
|