@elysiumjs/drizzle 0.0.0-stage → 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/package.json CHANGED
@@ -1,6 +1,103 @@
1
1
  {
2
- "name": "@elysiumjs/drizzle",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
2
+ "name": "@elysiumjs/drizzle",
3
+ "version": "0.1.0",
4
+ "license": "Apache-2.0",
5
+ "description": "Drizzle ORM backend for the Elysium.js framework: database drivers, models, repositories, queries, migrations, tenancy, the moirai stores, the notification and file stores, abilities as SQL, and the postgres lock.",
6
+ "private": false,
7
+ "author": "Axel Nana <ax.lnana@outlook.com>",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/na2axl/elysiumjs.git",
11
+ "directory": "@elysiumjs/drizzle"
12
+ },
13
+ "homepage": "https://github.com/na2axl/elysiumjs/tree/main/@elysiumjs/drizzle#readme",
14
+ "bugs": {
15
+ "url": "https://github.com/na2axl/elysiumjs/issues"
16
+ },
17
+ "scripts": {
18
+ "format": "prettier --write \"./src/**/*.ts\"",
19
+ "clean": "rimraf dist",
20
+ "build": "bun run clean && bun run build:js && bun run build:ts",
21
+ "typecheck": "tsc --noEmit && tsc -p tsconfig.types.json",
22
+ "prepublishOnly": "bun run build",
23
+ "test": "bun test",
24
+ "test:coverage": "bun test --coverage",
25
+ "build:js": "bun build ./src/index.ts ./src/drivers/bun-sql.ts ./src/drivers/postgres-js.ts ./src/drivers/node-postgres.ts ./src/drivers/hyperdrive.ts --outdir ./dist --target node --packages external --root ./src --minify-syntax --minify-whitespace",
26
+ "build:ts": "tsc --emitDeclarationOnly"
27
+ },
28
+ "keywords": [
29
+ "elysium",
30
+ "database",
31
+ "orm",
32
+ "drizzle",
33
+ "postgresql"
34
+ ],
35
+ "module": "dist/index.js",
36
+ "type": "module",
37
+ "types": "dist/index.d.ts",
38
+ "exports": {
39
+ ".": {
40
+ "types": "./dist/index.d.ts",
41
+ "import": "./dist/index.js"
42
+ },
43
+ "./bun-sql": {
44
+ "types": "./dist/drivers/bun-sql.d.ts",
45
+ "import": "./dist/drivers/bun-sql.js"
46
+ },
47
+ "./postgres-js": {
48
+ "types": "./dist/drivers/postgres-js.d.ts",
49
+ "import": "./dist/drivers/postgres-js.js"
50
+ },
51
+ "./node-postgres": {
52
+ "types": "./dist/drivers/node-postgres.d.ts",
53
+ "import": "./dist/drivers/node-postgres.js"
54
+ },
55
+ "./hyperdrive": {
56
+ "types": "./dist/drivers/hyperdrive.d.ts",
57
+ "import": "./dist/drivers/hyperdrive.js"
58
+ }
59
+ },
60
+ "files": [
61
+ "dist",
62
+ "CHANGELOG.md"
63
+ ],
64
+ "sideEffects": [
65
+ "./dist/index.js",
66
+ "./src/index.ts",
67
+ "./src/lock.ts",
68
+ "./src/hermes.ts",
69
+ "./src/pithos.ts"
70
+ ],
71
+ "peerDependencies": {
72
+ "@elysiumjs/olympus": "^0.25.0",
73
+ "@elysiumjs/workers": "^0.1.0",
74
+ "pg": "^8.0.0",
75
+ "postgres": "^3.4.0"
76
+ },
77
+ "dependencies": {
78
+ "@casl/ability": "^7.0.2",
79
+ "drizzle-orm": "^1.0.0-rc.5",
80
+ "prompts": "^2.4.2",
81
+ "radash": "^12.1.1"
82
+ },
83
+ "devDependencies": {
84
+ "@elysiumjs/olympus": "0.25.0",
85
+ "@elysiumjs/bun": "0.1.0",
86
+ "@elysiumjs/workers": "0.1.0",
87
+ "@types/pg": "8.15.5",
88
+ "@types/prompts": "^2.4.9",
89
+ "pg": "8.16.3",
90
+ "postgres": "3.4.7"
91
+ },
92
+ "peerDependenciesMeta": {
93
+ "@elysiumjs/workers": {
94
+ "optional": true
95
+ },
96
+ "pg": {
97
+ "optional": true
98
+ },
99
+ "postgres": {
100
+ "optional": true
101
+ }
102
+ }
103
+ }