Merge pull request #11680 from Budibase/fix/revert_backendcore_test_types

Publish src code in the npm package
This commit is contained in:
Adria Navarro 2023-09-06 12:17:56 +02:00 committed by GitHub
commit af566b1be6
2 changed files with 3 additions and 8 deletions

View File

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

View File

@ -4,13 +4,6 @@
"description": "Budibase backend core libraries used in server and worker", "description": "Budibase backend core libraries used in server and worker",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/src/index.d.ts", "types": "dist/src/index.d.ts",
"typesVersions": {
"*": {
"tests": [
"./dist/tests/index.d.ts"
]
}
},
"exports": { "exports": {
".": "./dist/index.js", ".": "./dist/index.js",
"./tests": "./dist/tests/index.js", "./tests": "./dist/tests/index.js",