1
0
Fork 0
mirror of synced 2024-07-30 10:36:28 +12:00
budibase/packages/server
Rory Powell fba7ef26ad Replace ts-jest with swc/jest (#9289)
- Add swc dependencies
- Add transform change to jest.config.ts
- Replace `export =` with `export default` in src code to enable code coverage to work with swc transformer
- Restructure backend-core errors package to allow for exporting error classes with ESM syntax
- Update backend-core to no longer use `export =`, export individual packages instead of replacing with `export default` for backwards compatibility
- Update event publishers to use `export default` - this was required for the `jest.spyOn` usage inside backend-core common mocks
- Restructure some jest.mock usages where declaring the jest.fn as a variable outside of the package mock threw an error
2023-01-11 09:37:37 +00:00
..
.vscode
__mocks__ File authentication using presigned URLs (#8883) 2022-12-15 11:35:22 +00:00
build
scripts adding host.docker.internal mapping to PROXY_ADDRESS 2022-12-21 10:58:39 +00:00
specs fixes for google sheets, admin checklist, and deleting an app from API (#8846) 2022-12-19 13:18:00 +00:00
src Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
.dockerignore
.gitignore Merge develop 2022-09-28 08:56:45 +01:00
.npmignore
.yarnrc Merge develop 2022-09-28 08:56:45 +01:00
babel.config.js
docker_run.sh Merge develop 2022-09-28 08:56:45 +01:00
Dockerfile Merge develop 2022-09-28 08:56:45 +01:00
jest.config.ts Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
LICENSE
nodemon.json Merge develop 2022-09-28 08:56:45 +01:00
package.json Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
pm2.config.js Fixing pm2 config. 2022-09-22 18:28:50 +01:00
tsconfig.build.json Exclude all test utils packages from TS build (#9024) 2022-12-13 09:21:42 +00:00
tsconfig.json Fail pro scripts on error, unify TS versions, update test and coverage configs, use pro source mappings 2022-11-14 13:29:46 +00:00
yarn.lock Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00