diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b185202c..9097911a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,7 +28,7 @@ jobs: - name: ⎔ Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "pnpm" - name: 📥 Download deps @@ -59,7 +59,7 @@ jobs: - name: ⎔ Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "pnpm" - name: 📥 Download deps @@ -89,7 +89,7 @@ jobs: - name: ⎔ Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "pnpm" - name: 🏄 Copy example env vars to nextjs app @@ -123,7 +123,7 @@ jobs: - name: ⎔ Setup Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "pnpm" # - name: 🏄 Copy test env vars diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f32f336..3aeafe5a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: - name: ⎔ Setup Node.js 20 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "pnpm" - name: 📥 Install Dependencies diff --git a/apps/ghost-blog-buster/package.json b/apps/ghost-blog-buster/package.json index e406e88b..0164822e 100644 --- a/apps/ghost-blog-buster/package.json +++ b/apps/ghost-blog-buster/package.json @@ -41,7 +41,7 @@ "@ts-ghost/tsconfig": "workspace:*", "@types/configstore": "^6.0.2", "@types/js-yaml": "^4.0.9", - "@types/node": "^20.12.7", + "@types/node": "^22.0.0", "@types/yargs": "^17.0.32", "eslint": "^8.57.0", "jiti": "^2.0.0", diff --git a/apps/ghost-blog-buster/src/utils/markdown-converter.test.ts b/apps/ghost-blog-buster/src/utils/markdown-converter.test.ts index 89831c3e..1fb22171 100644 --- a/apps/ghost-blog-buster/src/utils/markdown-converter.test.ts +++ b/apps/ghost-blog-buster/src/utils/markdown-converter.test.ts @@ -25,7 +25,7 @@ describe("frontMatterGenerator", () => { canonical_url: "https://codingdodo.com/odoo-15-javascript-reference", authors: [ { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "Philippe L'ATTENTION", slug: "coding-dodo", profile_image: "https://codingdodo.com/content/images/2021/04/small-logo-1.png", @@ -131,7 +131,7 @@ describe("frontMatterGenerator", () => { }, ], primary_author: { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "Philippe L'ATTENTION", slug: "coding-dodo", profile_image: "https://codingdodo.com/content/images/2021/04/small-logo-1.png", diff --git a/docs/package.json b/docs/package.json index 234548d2..019bc96d 100644 --- a/docs/package.json +++ b/docs/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@types/mdx": "^2.0.13", - "@types/node": "^20.12.7", + "@types/node": "^22.0.0", "@types/react": "18.3.8", "@types/react-dom": "18.3.0", "autoprefixer": "^10.4.19", diff --git a/examples/remix/package.json b/examples/remix/package.json index 0ec306f2..a674994b 100644 --- a/examples/remix/package.json +++ b/examples/remix/package.json @@ -30,6 +30,6 @@ "typescript": "^5.4.5" }, "engines": { - "node": ">=14" + "node": "22" } } diff --git a/package.json b/package.json index d46fe687..5bd878b6 100644 --- a/package.json +++ b/package.json @@ -53,8 +53,7 @@ "typescript": "^5.4.5" }, "engines": { - "node": ">=16.15.0", - "pnpm": ">=9" + "node": "22" }, - "packageManager": "pnpm@9.11.0" + "packageManager": "pnpm@10.18.3" } diff --git a/packages/ts-ghost-admin-api/package.json b/packages/ts-ghost-admin-api/package.json index bf613275..b27a632f 100644 --- a/packages/ts-ghost-admin-api/package.json +++ b/packages/ts-ghost-admin-api/package.json @@ -43,7 +43,7 @@ "@faker-js/faker": "^9.0.0", "@ts-ghost/core-api": "workspace:*", "@ts-ghost/tsconfig": "workspace:*", - "@types/node": "^20.12.7", + "@types/node": "^22.0.0", "@types/validator": "^13.11.9", "@vitest/coverage-v8": "^1.5.0", "eslint": "^8.57.0", diff --git a/packages/ts-ghost-admin-api/src/schemas/pages.integration.test.ts b/packages/ts-ghost-admin-api/src/schemas/pages.integration.test.ts index 7445ad15..4e5fb05c 100644 --- a/packages/ts-ghost-admin-api/src/schemas/pages.integration.test.ts +++ b/packages/ts-ghost-admin-api/src/schemas/pages.integration.test.ts @@ -47,7 +47,7 @@ const stubPage = { tags: [], authors: [ { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "PhilDL", slug: "phildl", email: "philippe.lattention@hotmail.fr", @@ -129,7 +129,7 @@ const stubPage = { negative_feedback: 0, }, primary_author: { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "PhilDL", slug: "phildl", email: "philippe.lattention@hotmail.fr", @@ -474,7 +474,7 @@ describe("pages integration tests browse", () => { const api = new TSGhostAdminAPI( process.env.VITE_GHOST_URL!, "1efedd9db174adee2d23d982:4b74dca0219bad629852191af326a45037346c2231240e0f7aec1f9371cc14e8", - "v5.0" + "v5.0", ); expect(api.pages).toBeDefined(); const result = await api.pages @@ -499,7 +499,7 @@ describe("pages integration tests browse", () => { const api = new TSGhostAdminAPI( "https://codingdodoes.com", "1efedd9db174adee2d23d982:4b74dca0219bad629852191af326a45037346c2231240e0f7aec1f9371cc14e8", - "v5.0" + "v5.0", ); expect(api.pages).toBeDefined(); const result = await api.pages diff --git a/packages/ts-ghost-admin-api/src/schemas/posts.integration.test.ts b/packages/ts-ghost-admin-api/src/schemas/posts.integration.test.ts index 4acc101f..9f862f52 100644 --- a/packages/ts-ghost-admin-api/src/schemas/posts.integration.test.ts +++ b/packages/ts-ghost-admin-api/src/schemas/posts.integration.test.ts @@ -51,7 +51,7 @@ const stub = { ], authors: [ { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "PhilDL", slug: "phildl", email: "philippe.lattention@hotmail.fr", @@ -128,7 +128,7 @@ const stub = { ], count: { clicks: 0, positive_feedback: 0, negative_feedback: 0 }, primary_author: { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "PhilDL", slug: "phildl", email: "philippe.lattention@hotmail.fr", diff --git a/packages/ts-ghost-admin-api/src/schemas/site.integration.test.ts b/packages/ts-ghost-admin-api/src/schemas/site.integration.test.ts index 1787df61..39b7be6b 100644 --- a/packages/ts-ghost-admin-api/src/schemas/site.integration.test.ts +++ b/packages/ts-ghost-admin-api/src/schemas/site.integration.test.ts @@ -28,7 +28,7 @@ describe("members integration tests browse", () => { expect(site.title).toBe(stubSite.title); expect(site.description).toBe(stubSite.description); expect(site.logo).toBe(stubSite.logo); - expect(site.version).toContain("5."); + expect(site.version).toContain("6."); expect(site.url).toBe(stubSite.url); }); }); diff --git a/packages/ts-ghost-admin-api/src/schemas/users.integration.test.ts b/packages/ts-ghost-admin-api/src/schemas/users.integration.test.ts index 067fd2f8..c875ece2 100644 --- a/packages/ts-ghost-admin-api/src/schemas/users.integration.test.ts +++ b/packages/ts-ghost-admin-api/src/schemas/users.integration.test.ts @@ -9,7 +9,7 @@ const stubResult = { }, data: [ { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "PhilDL", slug: "phildl", email: "philippe.lattention@hotmail.fr", @@ -80,10 +80,10 @@ describe("users integration tests browse", () => { expect(user.comment_notifications).toBe(stubUser.comment_notifications); expect(user.free_member_signup_notification).toBe(stubUser.free_member_signup_notification); expect(user.paid_subscription_started_notification).toBe( - stubUser.paid_subscription_started_notification + stubUser.paid_subscription_started_notification, ); expect(user.paid_subscription_canceled_notification).toBe( - stubUser.paid_subscription_canceled_notification + stubUser.paid_subscription_canceled_notification, ); expect(user.created_at).toBe(stubUser.created_at); expect(user.updated_at).toBeDefined(); @@ -93,7 +93,7 @@ describe("users integration tests browse", () => { expect(api.users).toBeDefined(); const result = await api.users .read({ - id: "1", + id: "68f8bdb4c2a74e000108c75d", }) .fetch(); assert(result.success); @@ -119,10 +119,10 @@ describe("users integration tests browse", () => { expect(user.comment_notifications).toBe(stubUser.comment_notifications); expect(user.free_member_signup_notification).toBe(stubUser.free_member_signup_notification); expect(user.paid_subscription_started_notification).toBe( - stubUser.paid_subscription_started_notification + stubUser.paid_subscription_started_notification, ); expect(user.paid_subscription_canceled_notification).toBe( - stubUser.paid_subscription_canceled_notification + stubUser.paid_subscription_canceled_notification, ); expect(user.created_at).toBe(stubUser.created_at); expect(user.updated_at).toBeDefined(); diff --git a/packages/ts-ghost-content-api/package.json b/packages/ts-ghost-content-api/package.json index e7d40d71..8ac3f94d 100644 --- a/packages/ts-ghost-content-api/package.json +++ b/packages/ts-ghost-content-api/package.json @@ -42,7 +42,7 @@ "devDependencies": { "@ts-ghost/core-api": "workspace:*", "@ts-ghost/tsconfig": "workspace:*", - "@types/node": "^20.12.7", + "@types/node": "^22.0.0", "@vitest/coverage-v8": "^1.5.0", "eslint": "^8.57.0", "jiti": "^2.0.0", diff --git a/packages/ts-ghost-content-api/src/authors/authors.integration.test.ts b/packages/ts-ghost-content-api/src/authors/authors.integration.test.ts index 5050ba78..5b0c559a 100644 --- a/packages/ts-ghost-content-api/src/authors/authors.integration.test.ts +++ b/packages/ts-ghost-content-api/src/authors/authors.integration.test.ts @@ -6,7 +6,7 @@ const url = process.env.VITE_GHOST_URL || "https://my-ghost-blog.com"; const key = process.env.VITE_GHOST_CONTENT_API_KEY || "59d4bf56c73c04a18c867dc3ba"; const stub = { - id: "1", + id: "68f8bdb4c2a74e000108c75d", name: "PhilDL", slug: "phildl", profile_image: "https://www.gravatar.com/avatar/c2baf8feb52fc654cc40c731207c677d?s=250&r=x&d=mp", @@ -106,20 +106,20 @@ describe("authors integration tests read", () => { const api = new TSGhostContentAPI(url, key, "v5.0"); test("should fetch one author correctly by id", async () => { - const readQuery = api.authors.read({ id: "1" }); + const readQuery = api.authors.read({ id: "68f8bdb4c2a74e000108c75d" }); expect(readQuery).not.toBeUndefined(); expect(readQuery.getParams().fields).toBeUndefined(); const result = await readQuery.fetch(); expect(result).not.toBeUndefined(); if (result.success) { - expect(result.data.id).toBe("1"); + expect(result.data.id).toBe(stub.id); expect(result.data.slug).toBe("phildl"); expect(result.data.name).toBe("PhilDL"); expect(result.data.website).toBe("https://github.com/PhilDL"); expect(result.data.facebook).toBeNull(); expect(result.data.url).toBe("https://astro-starter.digitalpress.blog/author/phildl/"); expect(result.data.profile_image).toBe( - "https://www.gravatar.com/avatar/c2baf8feb52fc654cc40c731207c677d?s=250&r=x&d=mp" + "https://www.gravatar.com/avatar/c2baf8feb52fc654cc40c731207c677d?s=250&r=x&d=mp", ); } }); @@ -131,20 +131,20 @@ describe("authors integration tests read", () => { const result = await readQuery.fetch(); expect(result).not.toBeUndefined(); if (result.success) { - expect(result.data.id).toBe("1"); + expect(result.data.id).toBe(stub.id); expect(result.data.slug).toBe("phildl"); expect(result.data.name).toBe("PhilDL"); expect(result.data.website).toBe("https://github.com/PhilDL"); expect(result.data.facebook).toBeNull(); expect(result.data.url).toBe("https://astro-starter.digitalpress.blog/author/phildl/"); expect(result.data.profile_image).toBe( - "https://www.gravatar.com/avatar/c2baf8feb52fc654cc40c731207c677d?s=250&r=x&d=mp" + "https://www.gravatar.com/avatar/c2baf8feb52fc654cc40c731207c677d?s=250&r=x&d=mp", ); } }); test("should fetch author correctly and accept specific field", async () => { - const readQuery = api.authors.read({ id: "1" }).fields({ name: true }); + const readQuery = api.authors.read({ id: "68f8bdb4c2a74e000108c75d" }).fields({ name: true }); expect(readQuery).not.toBeUndefined(); expect(readQuery.getOutputFields()).toStrictEqual(["name"]); const result = await readQuery.fetch(); @@ -159,7 +159,7 @@ describe("authors integration tests read", () => { }); test("should fetch author correctly and accept include", async () => { - const readQuery = api.authors.read({ id: "1" }).include({ "count.posts": true }); + const readQuery = api.authors.read({ id: "68f8bdb4c2a74e000108c75d" }).include({ "count.posts": true }); expect(readQuery).not.toBeUndefined(); expect(readQuery.getParams()?.fields).toBeUndefined(); expect(readQuery.getParams()?.include).toStrictEqual(["count.posts"]); diff --git a/packages/ts-ghost-core-api/CHANGELOG.md b/packages/ts-ghost-core-api/CHANGELOG.md index 1e539878..a98e0fd3 100644 --- a/packages/ts-ghost-core-api/CHANGELOG.md +++ b/packages/ts-ghost-core-api/CHANGELOG.md @@ -483,10 +483,7 @@ }); // the "identity" schema is used to validate the inputs of the `read`method of the QueryBuilder - const identitySchema = z.union([ - z.object({ slug: z.string() }), - z.object({ id: z.string() }), - ]); + const identitySchema = z.union([z.object({ slug: z.string() }), z.object({ id: z.string() })]); const simplifiedIncludeSchema = z.object({ count: z.literal(true).optional(), @@ -621,7 +618,7 @@ ```ts const exampleQuery = api.users - .read({ id: "1" }) + .read({ id: "68f8bdb4c2a74e000108c75d" }) .fields({ id: true, name: true, email: true }); export type ExampleQueryOutput = InferFetcherDataShape; ``` diff --git a/packages/ts-ghost-core-api/package.json b/packages/ts-ghost-core-api/package.json index c87d8236..f3d3b554 100644 --- a/packages/ts-ghost-core-api/package.json +++ b/packages/ts-ghost-core-api/package.json @@ -36,7 +36,7 @@ }, "devDependencies": { "@ts-ghost/tsconfig": "workspace:*", - "@types/node": "^20.12.7", + "@types/node": "^22.0.0", "@vitest/coverage-v8": "^1.5.0", "eslint": "^8.57.0", "tsup": "^8.0.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b47522a1..c4a4be1d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,7 +19,7 @@ importers: version: 4.2.1(prettier@3.2.5) '@turbo/gen': specifier: ^2.0.0 - version: 2.0.6(@types/node@20.14.2)(typescript@5.4.5) + version: 2.0.6(@types/node@22.18.12)(typescript@5.4.5) '@typescript-eslint/eslint-plugin': specifier: ^7.7.1 version: 7.7.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) @@ -94,8 +94,8 @@ importers: specifier: ^4.0.9 version: 4.0.9 '@types/node': - specifier: ^20.12.7 - version: 20.12.7 + specifier: ^22.0.0 + version: 22.18.12 '@types/yargs': specifier: ^17.0.32 version: 17.0.32 @@ -107,22 +107,22 @@ importers: version: 2.4.0 ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@20.12.7)(typescript@5.6.2) + version: 10.9.2(@types/node@22.18.12)(typescript@5.6.2) tsup: specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2))(typescript@5.6.2) + version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2))(typescript@5.6.2) typescript: specifier: 5.6.2 version: 5.6.2 vite: specifier: ^5.2.10 - version: 5.2.10(@types/node@20.12.7)(terser@5.31.0) + version: 5.2.10(@types/node@22.18.12)(terser@5.31.0) vite-tsconfig-paths: specifier: ^4.3.2 - version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@20.12.7)(terser@5.31.0)) + version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@22.18.12)(terser@5.31.0)) vitest: specifier: ^1.5.0 - version: 1.5.0(@types/node@20.12.7)(terser@5.31.0) + version: 1.5.0(@types/node@22.18.12)(terser@5.31.0) docs: dependencies: @@ -182,14 +182,14 @@ importers: version: 2.3.0 tailwindcss-animate: specifier: ^1.0.7 - version: 1.0.7(tailwindcss@3.4.3(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5))) + version: 1.0.7(tailwindcss@3.4.3(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5))) devDependencies: '@types/mdx': specifier: ^2.0.13 version: 2.0.13 '@types/node': - specifier: ^20.12.7 - version: 20.12.7 + specifier: ^22.0.0 + version: 22.18.12 '@types/react': specifier: 18.3.8 version: 18.3.8 @@ -210,7 +210,7 @@ importers: version: 8.4.38 tailwindcss: specifier: ^3.4.3 - version: 3.4.3(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5)) + version: 3.4.3(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5)) typescript: specifier: ^5.4.5 version: 5.4.5 @@ -322,14 +322,14 @@ importers: specifier: workspace:* version: link:../tsconfig '@types/node': - specifier: ^20.12.7 - version: 20.12.7 + specifier: ^22.0.0 + version: 22.18.12 '@types/validator': specifier: ^13.11.9 version: 13.11.9 '@vitest/coverage-v8': specifier: ^1.5.0 - version: 1.5.0(vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0)) + version: 1.5.0(vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0)) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -338,19 +338,19 @@ importers: version: 2.4.0 tsup: specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2))(typescript@5.6.2) + version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2))(typescript@5.6.2) typescript: specifier: 5.6.2 version: 5.6.2 vite: specifier: ^5.2.10 - version: 5.2.10(@types/node@20.12.7)(terser@5.31.0) + version: 5.2.10(@types/node@22.18.12)(terser@5.31.0) vite-tsconfig-paths: specifier: ^4.3.2 - version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@20.12.7)(terser@5.31.0)) + version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@22.18.12)(terser@5.31.0)) vitest: specifier: ^1.5.0 - version: 1.5.0(@types/node@20.12.7)(terser@5.31.0) + version: 1.5.0(@types/node@22.18.12)(terser@5.31.0) packages/ts-ghost-content-api: dependencies: @@ -365,11 +365,11 @@ importers: specifier: workspace:* version: link:../tsconfig '@types/node': - specifier: ^20.12.7 - version: 20.12.7 + specifier: ^22.0.0 + version: 22.18.12 '@vitest/coverage-v8': specifier: ^1.5.0 - version: 1.5.0(vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0)) + version: 1.5.0(vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0)) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -378,22 +378,22 @@ importers: version: 2.4.0 tsup: specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2))(typescript@5.6.2) + version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2))(typescript@5.6.2) typescript: specifier: 5.6.2 version: 5.6.2 vite: specifier: ^5.2.10 - version: 5.2.10(@types/node@20.12.7)(terser@5.31.0) + version: 5.2.10(@types/node@22.18.12)(terser@5.31.0) vite-tsconfig-paths: specifier: ^4.3.2 - version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@20.12.7)(terser@5.31.0)) + version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@22.18.12)(terser@5.31.0)) vitest: specifier: ^1.5.0 - version: 1.5.0(@types/node@20.12.7)(terser@5.31.0) + version: 1.5.0(@types/node@22.18.12)(terser@5.31.0) vitest-fetch-mock: specifier: ^0.3.0 - version: 0.3.0(vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0)) + version: 0.3.0(vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0)) packages/ts-ghost-core-api: dependencies: @@ -408,32 +408,32 @@ importers: specifier: workspace:* version: link:../tsconfig '@types/node': - specifier: ^20.12.7 - version: 20.12.7 + specifier: ^22.0.0 + version: 22.18.12 '@vitest/coverage-v8': specifier: ^1.5.0 - version: 1.5.0(vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0)) + version: 1.5.0(vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0)) eslint: specifier: ^8.57.0 version: 8.57.0 tsup: specifier: ^8.0.2 - version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2))(typescript@5.6.2) + version: 8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2))(typescript@5.6.2) typescript: specifier: 5.6.2 version: 5.6.2 vite: specifier: ^5.2.10 - version: 5.2.10(@types/node@20.12.7)(terser@5.31.0) + version: 5.2.10(@types/node@22.18.12)(terser@5.31.0) vite-tsconfig-paths: specifier: ^4.3.2 - version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@20.12.7)(terser@5.31.0)) + version: 4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@22.18.12)(terser@5.31.0)) vitest: specifier: ^1.5.0 - version: 1.5.0(@types/node@20.12.7)(terser@5.31.0) + version: 1.5.0(@types/node@22.18.12)(terser@5.31.0) vitest-fetch-mock: specifier: ^0.3.0 - version: 0.3.0(vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0)) + version: 0.3.0(vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0)) packages/tsconfig: {} @@ -1245,7 +1245,6 @@ packages: '@humanwhocodes/config-array@0.11.14': resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead '@humanwhocodes/module-importer@1.0.1': resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} @@ -1253,7 +1252,6 @@ packages: '@humanwhocodes/object-schema@2.0.3': resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} - deprecated: Use @eslint/object-schema instead '@ianvs/prettier-plugin-sort-imports@4.2.1': resolution: {integrity: sha512-NKN1LVFWUDGDGr3vt+6Ey3qPeN/163uR1pOPAlkWpgvAqgxQ6kSdUf1F0it8aHUtKRUzEGcK38Wxd07O61d7+Q==} @@ -2246,6 +2244,9 @@ packages: '@types/node@20.14.2': resolution: {integrity: sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==} + '@types/node@22.18.12': + resolution: {integrity: sha512-BICHQ67iqxQGFSzfCFTT7MRQ5XcBjG5aeKh5Ok38UBbPe5fxTyE+aHFxwVrGyr8GNlqFMLKD1D3P2K/1ks8tog==} + '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -3663,7 +3664,6 @@ packages: eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. hasBin: true espree@9.6.1: @@ -3985,7 +3985,6 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - deprecated: Glob versions prior to v9 are no longer supported globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} @@ -4200,7 +4199,6 @@ packages: inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} @@ -6041,7 +6039,6 @@ packages: rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} - deprecated: Rimraf versions prior to v4 are no longer supported hasBin: true rollup@4.16.4: @@ -6193,11 +6190,9 @@ packages: shikiji-core@0.10.2: resolution: {integrity: sha512-9Of8HMlF96usXJHmCL3Gd0Fcf0EcyJUF9m8EoAKKd98mHXi0La2AZl1h6PegSFGtiYcBDK/fLuKbDa1l16r1fA==} - deprecated: Shikiji is merged back to Shiki v1.0, please migrate over to get the latest updates shikiji@0.10.2: resolution: {integrity: sha512-wtZg3T0vtYV2PnqusWQs3mDaJBdCPWxFDrBM/SE5LfrX92gjUvfEMlc+vJnoKY6Z/S44OWaCRzNIsdBRWcTAiw==} - deprecated: Shikiji is merged back to Shiki v1.0, please migrate over to get the latest updates side-channel@1.0.4: resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==} @@ -6789,6 +6784,9 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@6.21.0: + resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} + undici@6.15.0: resolution: {integrity: sha512-VviMt2tlMg1BvQ0FKXxrz1eJuyrcISrL2sPfBf7ZskX/FCEc/7LeThQaoygsMJpNqrATWQIsRVx+1Dpe4jaYuQ==} engines: {node: '>=18.17'} @@ -9009,7 +9007,7 @@ snapshots: '@tsconfig/node16@1.0.4': {} - '@turbo/gen@2.0.6(@types/node@20.14.2)(typescript@5.4.5)': + '@turbo/gen@2.0.6(@types/node@22.18.12)(typescript@5.4.5)': dependencies: '@turbo/workspaces': 2.0.6 chalk: 2.4.2 @@ -9019,7 +9017,7 @@ snapshots: minimatch: 9.0.4 node-plop: 0.26.3 proxy-agent: 6.4.0 - ts-node: 10.9.2(@types/node@20.14.2)(typescript@5.4.5) + ts-node: 10.9.2(@types/node@22.18.12)(typescript@5.4.5) update-check: 1.5.4 validate-npm-package-name: 5.0.0 transitivePeerDependencies: @@ -9124,6 +9122,10 @@ snapshots: dependencies: undici-types: 5.26.5 + '@types/node@22.18.12': + dependencies: + undici-types: 6.21.0 + '@types/normalize-package-data@2.4.4': {} '@types/prop-types@15.7.12': {} @@ -9433,7 +9435,7 @@ snapshots: next: 14.2.3(@babel/core@7.24.4)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 - '@vitest/coverage-v8@1.5.0(vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0))': + '@vitest/coverage-v8@1.5.0(vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -9448,7 +9450,7 @@ snapshots: std-env: 3.7.0 strip-literal: 2.1.0 test-exclude: 6.0.0 - vitest: 1.5.0(@types/node@20.12.7)(terser@5.31.0) + vitest: 1.5.0(@types/node@22.18.12)(terser@5.31.0) transitivePeerDependencies: - supports-color @@ -10826,7 +10828,7 @@ snapshots: debug: 4.3.4 enhanced-resolve: 5.16.0 eslint: 8.57.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.3 @@ -10843,7 +10845,7 @@ snapshots: debug: 4.3.4 enhanced-resolve: 5.16.0 eslint: 8.57.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.7.1(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.3 @@ -10855,7 +10857,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: @@ -10876,7 +10878,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: @@ -10887,7 +10889,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.2.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: @@ -10914,7 +10916,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.7)(eslint-plugin-import@2.29.1)(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.4.5))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -11204,7 +11206,7 @@ snapshots: eval@0.1.8: dependencies: - '@types/node': 20.12.7 + '@types/node': 20.14.2 require-like: 0.1.2 event-target-shim@5.0.1: {} @@ -12130,7 +12132,7 @@ snapshots: jest-worker@27.5.1: dependencies: - '@types/node': 20.14.2 + '@types/node': 22.18.12 merge-stream: 2.0.0 supports-color: 8.1.1 @@ -13709,13 +13711,21 @@ snapshots: postcss: 8.4.38 ts-node: 10.9.2(@types/node@20.12.7)(typescript@5.4.5) - postcss-load-config@4.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2)): + postcss-load-config@4.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5)): dependencies: lilconfig: 3.1.1 yaml: 2.4.1 optionalDependencies: postcss: 8.4.38 - ts-node: 10.9.2(@types/node@20.12.7)(typescript@5.6.2) + ts-node: 10.9.2(@types/node@22.18.12)(typescript@5.4.5) + + postcss-load-config@4.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2)): + dependencies: + lilconfig: 3.1.1 + yaml: 2.4.1 + optionalDependencies: + postcss: 8.4.38 + ts-node: 10.9.2(@types/node@22.18.12)(typescript@5.6.2) postcss-modules-extract-imports@3.1.0(postcss@8.4.38): dependencies: @@ -14721,11 +14731,11 @@ snapshots: dependencies: '@babel/runtime': 7.24.4 - tailwindcss-animate@1.0.7(tailwindcss@3.4.3(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5))): + tailwindcss-animate@1.0.7(tailwindcss@3.4.3(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5))): dependencies: - tailwindcss: 3.4.3(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5)) + tailwindcss: 3.4.3(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5)) - tailwindcss@3.4.3(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5)): + tailwindcss@3.4.3(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -14744,7 +14754,7 @@ snapshots: postcss: 8.4.38 postcss-import: 15.1.0(postcss@8.4.38) postcss-js: 4.0.1(postcss@8.4.38) - postcss-load-config: 4.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.4.5)) + postcss-load-config: 4.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5)) postcss-nested: 6.0.1(postcss@8.4.38) postcss-selector-parser: 6.0.16 resolve: 1.22.8 @@ -14892,39 +14902,39 @@ snapshots: yn: 3.1.1 optional: true - ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2): + ts-node@10.9.2(@types/node@22.18.12)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.12.7 + '@types/node': 22.18.12 acorn: 8.11.2 acorn-walk: 8.3.1 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.2 + typescript: 5.4.5 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - ts-node@10.9.2(@types/node@20.14.2)(typescript@5.4.5): + ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.9 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.14.2 + '@types/node': 22.18.12 acorn: 8.11.2 acorn-walk: 8.3.1 arg: 4.1.3 create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.4.5 + typescript: 5.6.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 @@ -14949,7 +14959,7 @@ snapshots: tslib@2.6.2: {} - tsup@8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2))(typescript@5.6.2): + tsup@8.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2))(typescript@5.6.2): dependencies: bundle-require: 4.0.3(esbuild@0.19.12) cac: 6.7.14 @@ -14959,7 +14969,7 @@ snapshots: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 4.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@20.12.7)(typescript@5.6.2)) + postcss-load-config: 4.0.2(postcss@8.4.38)(ts-node@10.9.2(@types/node@22.18.12)(typescript@5.6.2)) resolve-from: 5.0.0 rollup: 4.16.4 source-map: 0.8.0-beta.0 @@ -15116,6 +15126,8 @@ snapshots: undici-types@5.26.5: {} + undici-types@6.21.0: {} + undici@6.15.0: {} unified@10.1.2: @@ -15326,13 +15338,13 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - vite-node@1.5.0(@types/node@20.12.7)(terser@5.31.0): + vite-node@1.5.0(@types/node@22.18.12)(terser@5.31.0): dependencies: cac: 6.7.14 debug: 4.3.4 pathe: 1.1.2 picocolors: 1.0.0 - vite: 5.2.10(@types/node@20.12.7)(terser@5.31.0) + vite: 5.2.10(@types/node@22.18.12)(terser@5.31.0) transitivePeerDependencies: - '@types/node' - less @@ -15360,24 +15372,24 @@ snapshots: - supports-color - terser - vite-tsconfig-paths@4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@20.12.7)(terser@5.31.0)): + vite-tsconfig-paths@4.3.2(typescript@5.6.2)(vite@5.2.10(@types/node@22.18.12)(terser@5.31.0)): dependencies: debug: 4.3.4 globrex: 0.1.2 tsconfck: 3.0.3(typescript@5.6.2) optionalDependencies: - vite: 5.2.10(@types/node@20.12.7)(terser@5.31.0) + vite: 5.2.10(@types/node@22.18.12)(terser@5.31.0) transitivePeerDependencies: - supports-color - typescript - vite@5.2.10(@types/node@20.12.7)(terser@5.31.0): + vite@5.2.10(@types/node@22.18.12)(terser@5.31.0): dependencies: esbuild: 0.20.2 postcss: 8.4.38 rollup: 4.16.4 optionalDependencies: - '@types/node': 20.12.7 + '@types/node': 22.18.12 fsevents: 2.3.3 terser: 5.31.0 @@ -15402,14 +15414,14 @@ snapshots: terser: 5.31.0 optional: true - vitest-fetch-mock@0.3.0(vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0)): + vitest-fetch-mock@0.3.0(vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0)): dependencies: cross-fetch: 4.0.0 - vitest: 1.5.0(@types/node@20.12.7)(terser@5.31.0) + vitest: 1.5.0(@types/node@22.18.12)(terser@5.31.0) transitivePeerDependencies: - encoding - vitest@1.5.0(@types/node@20.12.7)(terser@5.31.0): + vitest@1.5.0(@types/node@22.18.12)(terser@5.31.0): dependencies: '@vitest/expect': 1.5.0 '@vitest/runner': 1.5.0 @@ -15428,11 +15440,11 @@ snapshots: strip-literal: 2.1.0 tinybench: 2.8.0 tinypool: 0.8.4 - vite: 5.2.10(@types/node@20.12.7)(terser@5.31.0) - vite-node: 1.5.0(@types/node@20.12.7)(terser@5.31.0) + vite: 5.2.10(@types/node@22.18.12)(terser@5.31.0) + vite-node: 1.5.0(@types/node@22.18.12)(terser@5.31.0) why-is-node-running: 2.2.2 optionalDependencies: - '@types/node': 20.12.7 + '@types/node': 22.18.12 transitivePeerDependencies: - less - lightningcss