feat: sample lib & turborepo setup

This commit is contained in:
Benjamin Singleton 2025-06-09 23:18:42 -05:00
parent 29f11689ee
commit 100b326baf
9 changed files with 140 additions and 2 deletions

21
libs/common/package.json Normal file
View file

@ -0,0 +1,21 @@
{
"name": "@repo/common",
"version": "1.0.0",
"description": "",
"type": "module",
"exports": {
"./*": {
"types": "./dist/*.d.ts",
"import": "./dist/*.js"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "pnpm exec tsc",
"dev": "pnpm exec tsc --watch"
},
"keywords": [],
"author": "",
"license": "ISC",
"packageManager": "pnpm@10.11.0"
}

View file

@ -0,0 +1 @@
export const SAMPLE = "Hello world from common once again!";

15
libs/common/tsconfig.json Normal file
View file

@ -0,0 +1,15 @@
{
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext",
"target": "ES2022",
"strict": true,
"noUncheckedIndexedAccess": true,
"sourceMap": true,
"outDir": "dist",
"declaration": true,
},
"include": [
"src"
]
}