* Update .npmignore path to include all subdirectories of dist The dist/* pattern was including only the first level of files inside the dist folder. Update to no longer wildcard to include all the folder contents * Only build pro after bootstrapping and after backend-core build This protects against the scenario of a breaking change in backend-core that is relied on by the pro package. Introducing to fix the current build as the published backend-core package is corrupted. This change ensures the local filsystem version of core will be used. * Debug line * Debug lines * Update build script |
||
---|---|---|
.. | ||
__mocks__ | ||
src | ||
tests | ||
.gitignore | ||
.npmignore | ||
jest.config.ts | ||
LICENSE | ||
package.json | ||
plugins.ts | ||
README.md | ||
tsconfig.build.json | ||
tsconfig.json | ||
yarn.lock |
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.