@djaouad10/shared-types 1.0.0 → 1.0.5

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,68 +1,18 @@
1
- {
2
- "name": "@djaouad10/shared-types",
3
- "version": "1.0.0",
4
- "description": "",
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "publishConfig": {
8
- "access": "public"
9
- },
10
- "files": [
11
- "dist/lib/external-shared-types.d.ts"
12
- ],
13
- "exports": {
14
- ".": {
15
- "types": "./dist/lib/external-shared-types.d.ts",
16
- "import": "./dist/lib/external-shared-types.js"
17
- }
18
- },
19
- "scripts": {
20
- "dev": "tsx watch --tsconfig ./tsconfig.json -r dotenv/config src/index.ts",
21
- "build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
22
- "start": "node dist/index.js",
23
- "db:generate": "prisma generate",
24
- "db:migrate": "dotenv -e .env -- prisma migrate dev",
25
- "db:studio": "dotenv -e .env -- prisma studio",
26
- "db:seed": "dotenv -e .env -- tsx prisma/seed.ts",
27
- "db:reset": "dotenv -e .env -- prisma migrate reset",
28
- "test:db:up": "docker compose -f docker-compose.test.yml up -d --wait",
29
- "test:db:down": "docker compose -f docker-compose.test.yml down -v",
30
- "test:db:migrate": "dotenv -e .env.test -- prisma migrate deploy",
31
- "test:db:reset": "npm run test:db:down && npm run test:db:up && sleep 3 && npm run test:db:migrate",
32
- "test": "npm run test:db:up && npm run test:db:migrate && dotenv -e .env.test -- vitest",
33
- "test:ci": "dotenv -e .env.test -- vitest run --coverage",
34
- "test:full": "npm run test:db:reset && npm run test:ci && npm run test:db:down",
35
- "typecheck": "tsc --noEmit",
36
- "lint": "eslint src --ext .ts",
37
- "precommit": "npm run typecheck && npm run test:full"
38
- },
39
- "keywords": [],
40
- "author": "",
41
- "license": "ISC",
42
- "type": "module",
43
- "dependencies": {
44
- "@better-auth/prisma-adapter": "^1.5.3",
45
- "@prisma/client": "^6.6.0",
46
- "@t3-oss/env-core": "^0.13.10",
47
- "@trpc/server": "^11.11.0",
48
- "better-auth": "^1.5.3",
49
- "cors": "^2.8.6",
50
- "dotenv": "^17.3.1",
51
- "express": "^5.2.1",
52
- "superjson": "^2.2.6",
53
- "uploadthing": "^7.7.4",
54
- "zod": "^4.3.6"
55
- },
56
- "devDependencies": {
57
- "@types/cors": "^2.8.19",
58
- "@types/express": "^5.0.6",
59
- "@types/node": "^25.3.3",
60
- "@types/pg": "^8.18.0",
61
- "dotenv-cli": "^11.0.0",
62
- "prisma": "^6.6.0",
63
- "tsc-alias": "^1.8.16",
64
- "tsx": "^4.21.0",
65
- "typescript": "^5.9.3",
66
- "vitest": "^4.0.18"
67
- }
68
- }
1
+ {
2
+ "name": "@djaouad10/shared-types",
3
+ "version": "1.0.5",
4
+ "types": "./index.d.ts",
5
+ "publishConfig": {
6
+ "access": "public"
7
+ },
8
+ "files": [
9
+ "index.d.ts"
10
+ ],
11
+ "exports": {
12
+ ".": {
13
+ "types": "./index.d.ts"
14
+ }
15
+ },
16
+ "license": "ISC",
17
+ "type": "module"
18
+ }
package/README.md DELETED
File without changes
@@ -1,7 +0,0 @@
1
- import type { AppRouter as AppRouterOriginal } from "../api/root.js";
2
- import type { Auth as AuthOriginal } from "../lib/auth.js";
3
- import type { OurFileRouter as OurFileRouterOriginal } from "../lib/core.js";
4
- export type AppRouter = AppRouterOriginal;
5
- export type Auth = AuthOriginal;
6
- export type OurFileRouter = OurFileRouterOriginal;
7
- //# sourceMappingURL=external-shared-types.d.ts.map