Build types and shared-core

This commit is contained in:
Adria Navarro 2023-08-02 00:21:59 +02:00
parent d104cc3a31
commit 4281d2ca53
5 changed files with 8 additions and 6 deletions

View File

@ -6,7 +6,7 @@
"types": "src/index.ts",
"exports": {
".": {
"import": "./dist/src/index.js"
"import": "./dist/index.js"
}
},
"author": "Budibase",

View File

@ -11,7 +11,7 @@
"sourceMap": true,
"declaration": true,
"types": ["node"],
"outDir": "dist/src",
"outDir": "dist",
"skipLibCheck": true
},
"include": ["**/*.js", "**/*.ts"],

View File

@ -1,12 +1,12 @@
{
"extends": "./tsconfig.build.json",
"compilerOptions": {
"composite": true,
"baseUrl": ".",
"rootDir": "./src",
"composite": true,
"paths": {
"@budibase/types": ["../types/src"]
"@budibase/types": ["../../types/src"]
}
},
"include": ["**/*.js", "**/*.ts"],
"exclude": ["node_modules", "dist"]
}

View File

@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es6",
"moduleResolution": "node",
"module": "commonjs",
"lib": ["es2020"],
"strict": true,
"noImplicitAny": true,

View File

@ -1,6 +1,8 @@
{
"extends": "./tsconfig.build.json",
"compilerOptions": {
"baseUrl": ".",
"rootDir": "./src",
"composite": true
},
"exclude": ["node_modules", "dist"]