feat: sample lib & turborepo setup
This commit is contained in:
parent
4eefaa7cba
commit
63a9019b2a
9 changed files with 140 additions and 2 deletions
21
libs/common/package.json
Normal file
21
libs/common/package.json
Normal 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"
|
||||
}
|
||||
1
libs/common/src/sample.ts
Normal file
1
libs/common/src/sample.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
export const SAMPLE = "Hello world from common once again!";
|
||||
15
libs/common/tsconfig.json
Normal file
15
libs/common/tsconfig.json
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "nodenext",
|
||||
"moduleResolution": "nodenext",
|
||||
"target": "ES2022",
|
||||
"strict": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"sourceMap": true,
|
||||
"outDir": "dist",
|
||||
"declaration": true,
|
||||
},
|
||||
"include": [
|
||||
"src"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue