@lenso/organization 0.0.0-stage → 0.2.1
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 +184 -2
- package/dist/auth.d.ts +22 -0
- package/dist/auth.js +26 -0
- package/dist/capacity.d.ts +3 -0
- package/dist/contracts.d.ts +96 -0
- package/dist/drizzle/d1.d.ts +3 -0
- package/dist/drizzle/d1.js +45 -0
- package/dist/drizzle/pg.d.ts +3 -0
- package/dist/drizzle/pg.js +60 -0
- package/dist/drizzle/schema-pg.d.ts +58 -0
- package/dist/drizzle/schema-pg.js +6 -0
- package/dist/drizzle/schema-sqlite.d.ts +62 -0
- package/dist/drizzle/schema-sqlite.js +6 -0
- package/dist/drizzle/shared.d.ts +5 -0
- package/dist/index-0ax8jdj3.js +9 -0
- package/dist/index-2bwbvaz5.js +67 -0
- package/dist/index-ar1vwj4s.js +370 -0
- package/dist/index-kdetdk6w.js +39 -0
- package/dist/index-qgnmjsxx.js +15 -0
- package/dist/index-tsx842dx.js +11 -0
- package/dist/index-zjdv6bc6.js +9 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +18 -0
- package/dist/plugin.d.ts +11 -0
- package/dist/plugin.js +22 -0
- package/dist/policy.d.ts +9 -0
- package/dist/service.d.ts +86 -0
- package/migrations/pg/0000_organizations.sql +5 -0
- package/migrations/sqlite/0000_organizations.sql +5 -0
- package/package.json +73 -4
package/package.json
CHANGED
|
@@ -1,6 +1,75 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lenso/organization",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/LioRael/lenso.git",
|
|
8
|
+
"directory": "packages/organization"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"migrations",
|
|
13
|
+
"README.md"
|
|
14
|
+
],
|
|
15
|
+
"type": "module",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"import": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./plugin": {
|
|
22
|
+
"types": "./dist/plugin.d.ts",
|
|
23
|
+
"import": "./dist/plugin.js"
|
|
24
|
+
},
|
|
25
|
+
"./auth": {
|
|
26
|
+
"types": "./dist/auth.d.ts",
|
|
27
|
+
"import": "./dist/auth.js"
|
|
28
|
+
},
|
|
29
|
+
"./drizzle/pg": {
|
|
30
|
+
"types": "./dist/drizzle/pg.d.ts",
|
|
31
|
+
"import": "./dist/drizzle/pg.js"
|
|
32
|
+
},
|
|
33
|
+
"./drizzle/d1": {
|
|
34
|
+
"types": "./dist/drizzle/d1.d.ts",
|
|
35
|
+
"import": "./dist/drizzle/d1.js"
|
|
36
|
+
},
|
|
37
|
+
"./drizzle/schema-pg": {
|
|
38
|
+
"types": "./dist/drizzle/schema-pg.d.ts",
|
|
39
|
+
"import": "./dist/drizzle/schema-pg.js"
|
|
40
|
+
},
|
|
41
|
+
"./drizzle/schema-sqlite": {
|
|
42
|
+
"types": "./dist/drizzle/schema-sqlite.d.ts",
|
|
43
|
+
"import": "./dist/drizzle/schema-sqlite.js"
|
|
44
|
+
},
|
|
45
|
+
"./migrations/*": "./migrations/*"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "bun -e \"await import('node:fs/promises').then(({rm}) => rm('dist', {recursive: true, force: true}))\" && tsc -p tsconfig.build.json && bun build src/index.ts src/plugin.ts src/auth.ts src/drizzle/pg.ts src/drizzle/d1.ts src/drizzle/schema-pg.ts src/drizzle/schema-sqlite.ts --root src --outdir dist --target browser --packages external --splitting",
|
|
49
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
50
|
+
"test": "bun test test"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@cloudflare/workers-types": "5.20261008.1",
|
|
54
|
+
"@lenso/auth": "^0.3.1",
|
|
55
|
+
"@lenso/core": "^0.3.0",
|
|
56
|
+
"drizzle-orm": "0.45.3",
|
|
57
|
+
"miniflare": "5.20261006.0-alpha"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@lenso/auth": "^0.3.1",
|
|
61
|
+
"@lenso/core": "^0.3.0",
|
|
62
|
+
"drizzle-orm": "^0.45.3"
|
|
63
|
+
},
|
|
64
|
+
"peerDependenciesMeta": {
|
|
65
|
+
"@lenso/auth": {
|
|
66
|
+
"optional": true
|
|
67
|
+
},
|
|
68
|
+
"@lenso/core": {
|
|
69
|
+
"optional": true
|
|
70
|
+
},
|
|
71
|
+
"drizzle-orm": {
|
|
72
|
+
"optional": true
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|