1
0
Fork 0
mirror of synced 2024-09-11 15:08:05 +12:00
budibase/packages/backend-core
Rory Powell 1aab0b7d33 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
.npmignore Fix empty dist folder in npm pacakge (#9125) 2022-12-20 10:56:33 +00:00
jest.config.ts
LICENSE
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
README.md
tsconfig.build.json
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

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.