1
0
Fork 0
mirror of synced 2024-07-30 18:46:00 +12:00
budibase/packages/worker
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 fix launch.json for worker after TS migration 2022-03-28 12:06:37 +01:00
__mocks__ Add copy button to sso callback urls, e2e unit testing for OIDC, stub out other auth tests 2022-11-16 11:34:16 +00:00
scripts Merge branch 'develop' into subdomain-tenancy 2022-11-15 16:18:59 +00:00
src Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
.dockerignore cherry pick new ui from develop 2022-06-30 12:52:07 +01:00
.gitignore Dev improvements - remove need to rebuilds of backend-core/dist and enable debugging when running tests and backend services, use source directly using typescript and jest path mappings 2022-06-10 22:57:12 +01:00
.yarnrc Updating dockerfile to be friendly to volume usage, as well as pre-filling with uuids rather than static secrets. 2022-07-08 18:33:07 +01:00
docker_run.sh updating worker script to run as sh 2022-05-27 12:22:55 +01:00
Dockerfile Add ACCOUNT_PORTAL_URL to images default environment 2022-09-23 13:40:00 +01:00
jest.config.ts Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
LICENSE License cleanup 2021-11-17 14:21:16 +00:00
nodemon.json Add ts watch support for backend-core + stub out migrations 2022-05-04 11:22:50 +01:00
package.json Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00
pm2.config.js Fixing issue that refactoring file caused (some strings renamed to ts rather than js). 2022-09-22 15:18:10 +01: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 Exclude all test utils packages from TS build (#9024) 2022-12-13 09:21:42 +00:00
yarn.lock Replace ts-jest with swc/jest (#9289) 2023-01-11 09:37:37 +00:00