budibase/packages/backend-core
Rory Powell da6c2a9080
Fix empty dist folder in npm pacakge (#9125)
Use a .npmignore file instead of the files property of package.json

A bug in lerna seems to use the generated dist/package.json instead of the root file
when determining files to add, resulting in an empty directory.

Related: https://stackoverflow.com/questions/54912262/lerna-publish-and-npm-pack-failing-to-package-all-the-files-in-dist-folder
2022-12-20 10:56:33 +00:00
..
__mocks__ File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
src fixes for google sheets, admin checklist, and deleting an app from API (#8846) 2022-12-19 13:18:00 +00:00
tests File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
.gitignore Merge develop 2022-09-28 08:56:45 +01:00
.npmignore Fix empty dist folder in npm pacakge (#9125) 2022-12-20 10:56:33 +00:00
LICENSE
README.md
jest.config.ts Merge branch 'develop' of github.com:Budibase/budibase into feature/replace-pouch 2022-11-15 16:45:25 +00:00
package.json Fix empty dist folder in npm pacakge (#9125) 2022-12-20 10:56:33 +00:00
plugins.ts Fix for budibase plugin skeleton, which utilises the old import style. 2022-12-12 12:31:32 +00:00
tsconfig.build.json Disabling js interop in Typescript build of backend-core and worker, fixing build issues. 2022-11-26 14:46:01 +00:00
tsconfig.json File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
yarn.lock Master => Develop (#9049) 2022-12-15 12:13:42 +00:00

README.md

Budibase Core backend library

This library contains core functionality, like auth and security features which are shared between backend services.

Note about top level JS files

For the purposes of being able to do say require("@budibase/backend-core/permissions") we need to specify the exports at the top-level of the module.

For these files they should be limited to a single require of the file that should be exported and then a single module.exports = ... to export the file in commonJS.