Skip to content

Commit f85f067

Browse files
committed
initial display package
1 parent ad1a19f commit f85f067

File tree

4 files changed

+44
-0
lines changed

4 files changed

+44
-0
lines changed

display/package.json

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "@codebuff/display",
3+
"version": "0.0.0",
4+
"private": true,
5+
"license": "UNLICENSED",
6+
"type": "module",
7+
"exports": {
8+
".": {
9+
"bun": "./src/index.ts",
10+
"import": "./src/index.ts",
11+
"types": "./src/index.ts",
12+
"default": "./src/index.ts"
13+
},
14+
"./*": {
15+
"bun": "./src/*.ts",
16+
"import": "./src/*.ts",
17+
"types": "./src/*.ts",
18+
"default": "./src/*.ts"
19+
}
20+
},
21+
"scripts": {
22+
"typecheck": "tsc --noEmit -p .",
23+
"test": "bun test"
24+
},
25+
"sideEffects": false,
26+
"engines": {
27+
"bun": ">=1.2.11"
28+
},
29+
"devDependencies": {
30+
"@types/node": "22",
31+
"@types/bun": "^1.2.11"
32+
}
33+
}

display/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"extends": "../tsconfig.base.json",
3+
"compilerOptions": {
4+
"types": ["bun", "node"]
5+
},
6+
"include": ["src/**/*.ts"],
7+
"exclude": ["node_modules"]
8+
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"license": "Apache-2.0",
66
"type": "module",
77
"workspaces": [
8+
"display",
89
"common",
910
"backend",
1011
"npm-app",

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"noEmit": true, // don't place JS everywhere while hacking
55
"baseUrl": ".", // Bun & editors see the aliases
66
"paths": {
7+
"@codebuff/display/*": ["./display/*"],
78
"@codebuff/common/*": ["./common/src/*"],
89
"@codebuff/backend/*": ["./backend/src/*"],
910
"@codebuff/web/*": ["./web/src/*"],
@@ -17,6 +18,7 @@
1718
},
1819
"files": [],
1920
"references": [
21+
{ "path": "./display" },
2022
{ "path": "./common" },
2123
{ "path": "./backend" },
2224
{ "path": "./npm-app" },

0 commit comments

Comments
 (0)