fxa/libs/shared/error
Reino Muhl f47d120d71
feat(libs): convert libs/* to esbuild and swc/jest
Because:

- ts-jest is consuming too much memory during unit test execution

This commit:

- Replace ts-jest with @swc/jest, which has better memory utilization
- Replace Nx TSC build executor with Nx esbuild build executor, for better performance.
- Reduce size of unit-test job instance size from large back to medium+

Closes #FXA-9879
2024-06-27 15:28:55 -04:00
..
src feat(paypal): Add paypal repository 2024-03-19 09:17:01 -07:00
.eslintrc.json feat(shared): create error library with initial error classes 2023-08-02 11:26:54 -04:00
.swcrc feat(libs): convert libs/* to esbuild and swc/jest 2024-06-27 15:28:55 -04:00
README.md feat: polsih error refactor 2023-08-02 16:24:29 -07:00
jest.config.ts feat(libs): convert libs/* to esbuild and swc/jest 2024-06-27 15:28:55 -04:00
package.json feat(libs): convert libs/* to esbuild and swc/jest 2024-06-27 15:28:55 -04:00
project.json feat(libs): convert libs/* to esbuild and swc/jest 2024-06-27 15:28:55 -04:00
tsconfig.json feat(shared): create error library with initial error classes 2023-08-02 11:26:54 -04:00
tsconfig.lib.json feat(shared): create error library with initial error classes 2023-08-02 11:26:54 -04:00
tsconfig.spec.json feat(shared): create error library with initial error classes 2023-08-02 11:26:54 -04:00

README.md

shared-error

This library serves as the base errors used via inheritance throughout the nx integrated libraries and applications. Many third-party libraries use the verror package, by extending our own version we can use instanceOf checks to easily identify their errors from our own.

Building

Run nx build shared-error to build the library.

Running unit tests

Run nx test shared-error to execute the unit tests via Jest.