@kuckit/infrastructure 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/package.json +14 -27
  2. package/src/index.ts +0 -26
package/package.json CHANGED
@@ -1,46 +1,33 @@
1
1
  {
2
2
  "name": "@kuckit/infrastructure",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
- "main": "src/index.ts",
6
- "types": "src/index.ts",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist"
9
9
  ],
10
10
  "exports": {
11
11
  ".": {
12
- "types": "./src/index.ts",
13
- "default": "./src/index.ts"
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
14
  },
15
15
  "./*": {
16
- "types": "./src/*.ts",
17
- "default": "./src/*.ts"
18
- }
19
- },
20
- "publishConfig": {
21
- "main": "dist/index.js",
22
- "types": "dist/index.d.ts",
23
- "exports": {
24
- ".": {
25
- "types": "./dist/index.d.ts",
26
- "default": "./dist/index.js"
27
- },
28
- "./*": {
29
- "types": "./dist/*.d.ts",
30
- "default": "./dist/*.js"
31
- }
16
+ "types": "./dist/*.d.ts",
17
+ "default": "./dist/*.js"
32
18
  }
33
19
  },
34
20
  "scripts": {
35
- "build": "tsdown"
21
+ "build": "tsdown",
22
+ "prepublishOnly": "npm run build && node ../../scripts/resolve-workspace-protocols.cjs && node ../../scripts/check-no-workspace-protocol.cjs"
36
23
  },
37
24
  "dependencies": {
38
- "@kuckit/domain": "workspace:*",
39
- "@kuckit/db": "workspace:*",
40
- "@kuckit/auth": "workspace:*",
41
- "@ai-sdk/google": "catalog:",
25
+ "@kuckit/domain": "^1.0.2",
26
+ "@kuckit/db": "^1.0.2",
27
+ "@kuckit/auth": "^1.0.2",
28
+ "@ai-sdk/google": "^2.0.13",
42
29
  "awilix": "^10.0.2",
43
- "drizzle-orm": "catalog:",
30
+ "drizzle-orm": "^0.44.2",
44
31
  "pg": "^8.11.3"
45
32
  },
46
33
  "devDependencies": {
package/src/index.ts DELETED
@@ -1,26 +0,0 @@
1
- // Database
2
- export * from './db/drizzle/db'
3
- export * from './db/drizzle/repositories'
4
- export { runInTransaction, type TransactionFn } from './db/transaction'
5
-
6
- // Logging
7
- export * from './logging'
8
-
9
- // Error handling
10
- export * from './errors'
11
-
12
- // Events
13
- export * from './events'
14
-
15
- // Cache
16
- export * from './cache'
17
-
18
- // Rate limiter
19
- export * from './rate-limiter'
20
-
21
- // Decorators
22
- export * from './decorators'
23
-
24
- // Module registration
25
- export { registerCoreModule, registerUserModule } from './modules'
26
- export type { Cradle, Config } from './modules/types'