Skip to content

Commit e54e876

Browse files
committed
depend on file:../common
1 parent 412b1ce commit e54e876

File tree

10 files changed

+58
-4
lines changed

10 files changed

+58
-4
lines changed

bun.lockb

-328 Bytes
Binary file not shown.

common/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# common
2+
3+
To install dependencies:
4+
5+
```bash
6+
bun install
7+
```
8+
9+
To run:
10+
11+
```bash
12+
bun run index.ts
13+
```
14+
15+
This project was created using `bun init` in bun v1.1.29. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

common/bun.lockb

3.38 KB
Binary file not shown.

common/package.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "common",
3+
"type": "module",
4+
"devDependencies": {
5+
"@types/bun": "latest"
6+
},
7+
"peerDependencies": {
8+
"typescript": "^5.0.0"
9+
},
10+
"dependencies": {
11+
"zod": "^3.23.8"
12+
}
13+
}

common/tsconfig.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"compilerOptions": {
3+
// Enable latest features
4+
"lib": ["ESNext", "DOM"],
5+
"target": "ESNext",
6+
"module": "ESNext",
7+
"moduleDetection": "force",
8+
"jsx": "react-jsx",
9+
"allowJs": true,
10+
11+
// Bundler mode
12+
"moduleResolution": "bundler",
13+
"allowImportingTsExtensions": true,
14+
"verbatimModuleSyntax": true,
15+
"noEmit": true,
16+
17+
// Best practices
18+
"strict": true,
19+
"skipLibCheck": true,
20+
"noFallthroughCasesInSwitch": true,
21+
22+
// Some stricter flags (disabled by default)
23+
"noUnusedLocals": false,
24+
"noUnusedParameters": false,
25+
"noPropertyAccessFromIndexSignature": false
26+
}
27+
}

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@
1111
"license": "ISC",
1212
"devDependencies": {
1313
"@biomejs/biome": "^1.9.1",
14-
"typescript": "^5.6.2"
15-
},
16-
"dependencies": {
1714
"@types/bun": "^1.1.10",
1815
"cspell": "^8.14.4",
19-
"zod": "^3.23.8"
16+
"typescript": "^5.6.2"
2017
},
2118
"trustedDependencies": ["@biomejs/biome"]
2219
}

server/bun.lockb

1.85 KB
Binary file not shown.

server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"author": "",
1818
"license": "ISC",
1919
"dependencies": {
20+
"common": "file:../common",
2021
"@prisma/client": "^5.20.0",
2122
"cookie-parser": "^1.4.6",
2223
"cors": "^2.8.5",

web/bun.lockb

1.85 KB
Binary file not shown.

web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"preview": "next start"
1010
},
1111
"dependencies": {
12+
"common": "file:../common",
1213
"@emotion/react": "^11.11.4",
1314
"@emotion/styled": "^11.11.5",
1415
"@fontsource/roboto": "^5.0.13",

0 commit comments

Comments
 (0)