diff --git a/nx-dev/data-access-careers/src/lib/api.ts b/nx-dev/data-access-careers/src/lib/api.ts index bf4a0bf406517..9696b98463b69 100644 --- a/nx-dev/data-access-careers/src/lib/api.ts +++ b/nx-dev/data-access-careers/src/lib/api.ts @@ -3,7 +3,7 @@ import { Job, LeverJob } from './models'; export async function fetchJobsList(): Promise { const apiUrl = 'https://api.lever.co/v0/postings/nrwl?mode=json'; - const res = await fetch(apiUrl); + const res = await fetch(apiUrl, { cache: 'no-store' }); if (res.ok) { const data = (await res.json()) as LeverJob[]; diff --git a/nx-dev/data-access-careers/tsconfig.lib.json b/nx-dev/data-access-careers/tsconfig.lib.json index cfc4843293956..3b824cf3a50b7 100644 --- a/nx-dev/data-access-careers/tsconfig.lib.json +++ b/nx-dev/data-access-careers/tsconfig.lib.json @@ -4,10 +4,10 @@ "outDir": "../../dist/out-tsc", "types": [ "node", - "@nx/react/typings/cssmodule.d.ts", "@nx/react/typings/image.d.ts" - ] + ], + "lib": ["dom"] }, "exclude": [ "jest.config.ts",