Merge pull request #11487 from Budibase/handle_npm_pkg_released_content

Handle NPM pkg released content
This commit is contained in:
Adria Navarro 2023-08-09 17:34:03 +03:00 committed by GitHub
commit 9e75c1b195
6 changed files with 45 additions and 26 deletions

View File

@ -1,7 +1,4 @@
node_modules/
tsconfig.build.json
tsconfig.json
jest.config.ts
jest-testcontainers-config.js
__mocks__
scripts
*
!dist/**/*
dist/tsconfig.build.tsbuildinfo
!package.json

View File

@ -88,5 +88,20 @@
"ts-node": "10.8.1",
"tsconfig-paths": "4.0.0",
"typescript": "4.7.3"
},
"nx": {
"targets": {
"build": {
"dependsOn": [
{
"projects": [
"@budibase/shared-core",
"@budibase/types"
],
"target": "build"
}
]
}
}
}
}

View File

@ -1,3 +1,4 @@
node_modules/
tsconfig.build.json
tsconfig.json
*
!dist/**/*
dist/tsconfig.build.tsbuildinfo
!package.json

View File

@ -2,14 +2,8 @@
"name": "@budibase/shared-core",
"version": "0.0.0",
"description": "Shared data utils",
"main": "src/index.ts",
"types": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./src/index.ts"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Budibase",
"license": "GPL-3.0",
"scripts": {
@ -26,5 +20,19 @@
"concurrently": "^7.6.0",
"rimraf": "3.0.2",
"typescript": "4.7.3"
},
"nx": {
"targets": {
"build": {
"dependsOn": [
{
"projects": [
"@budibase/types"
],
"target": "build"
}
]
}
}
}
}

View File

@ -0,0 +1,4 @@
*
!dist/**/*
dist/tsconfig.build.tsbuildinfo
!package.json

View File

@ -2,14 +2,8 @@
"name": "@budibase/types",
"version": "0.0.0",
"description": "Budibase types",
"main": "src/index.ts",
"types": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./src/index.ts"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Budibase",
"license": "GPL-3.0",
"scripts": {