mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-10 23:48:26 +00:00
Feat: added types
This commit is contained in:
parent
ee3146e7ac
commit
0f4117d33c
3
packages/types/.gitignore
vendored
Normal file
3
packages/types/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
node_modules
|
||||
# Ensure the .env symlink is not removed by accident
|
||||
!.env
|
||||
21
packages/types/package.json
Normal file
21
packages/types/package.json
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
"name": "@recall/types",
|
||||
"private": true,
|
||||
"version": "0.0.1",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"dependencies": {
|
||||
"@prisma/client": "5.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"prisma": "5.4.1",
|
||||
"rimraf": "6.0.1",
|
||||
"esbuild": "^0.15.10"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rimraf dist",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"build": "pnpm run clean && tsc --noEmit false --outDir dist --declaration",
|
||||
"dev": "tsc --noEmit false --outDir dist --declaration --watch"
|
||||
}
|
||||
}
|
||||
0
packages/types/src/index.ts
Normal file
0
packages/types/src/index.ts
Normal file
18
packages/types/tsconfig.json
Normal file
18
packages/types/tsconfig.json
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2016",
|
||||
"lib": ["es2016", "dom"],
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true,
|
||||
"moduleResolution": "node",
|
||||
"preserveWatchOutput": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"noEmit": false,
|
||||
"outDir": "./dist",
|
||||
"declaration": true,
|
||||
"declarationDir": "./dist"
|
||||
},
|
||||
"exclude": ["node_modules", "dist"]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user