refactor: use npm workspaces and ts project references
This commit is contained in:
parent
ffa9eeb3f5
commit
7cd56303fc
30 changed files with 20303 additions and 24327 deletions
1
shared/.gitignore
vendored
Normal file
1
shared/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/dist
|
3190
shared/package-lock.json
generated
3190
shared/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -3,6 +3,8 @@
|
|||
"version": "0.0.1",
|
||||
"description": "",
|
||||
"private": true,
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"scripts": {
|
||||
"test": "ava"
|
||||
},
|
||||
|
|
1
shared/src/index.ts
Normal file
1
shared/src/index.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export * from "./apiPermissions";
|
|
@ -1,10 +1,14 @@
|
|||
{
|
||||
"extends": "../tsconfig.json",
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"moduleResolution": "NodeNext",
|
||||
"module": "NodeNext",
|
||||
"baseUrl": "src",
|
||||
"outDir": "./dist"
|
||||
"baseUrl": "./src",
|
||||
"rootDir": "./src",
|
||||
"outDir": "./dist",
|
||||
|
||||
"composite": true,
|
||||
"declaration": true
|
||||
},
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue