diff --git a/.changeset/README.md b/.changeset/README.md new file mode 100644 index 0000000..e5b6d8d --- /dev/null +++ b/.changeset/README.md @@ -0,0 +1,8 @@ +# Changesets + +Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works +with multi-package repos, or single-package repos to help you version and publish your code. You can +find the full documentation for it [in our repository](https://github.com/changesets/changesets) + +We have a quick list of common questions to get you started engaging with this project in +[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/.changeset/config.json b/.changeset/config.json new file mode 100644 index 0000000..2eada15 --- /dev/null +++ b/.changeset/config.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://unpkg.com/@changesets/config@3.0.4/schema.json", + "changelog": "@changesets/cli/changelog", + "commit": false, + "fixed": [], + "linked": [], + "access": "public", + "baseBranch": "main", + "updateInternalDependencies": "patch", + "ignore": [] +} diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ea651a9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Sgalsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/example/CHANGELOG.md b/example/CHANGELOG.md new file mode 100644 index 0000000..8da9374 --- /dev/null +++ b/example/CHANGELOG.md @@ -0,0 +1,15 @@ +# example + +## 0.1.2 + +### Patch Changes + +- Updated dependencies + - desquidex@0.1.0 + +## 0.1.1 + +### Patch Changes + +- Updated dependencies + - desquidex@0.2.0 diff --git a/example/README.md b/example/README.md index 9099f3b..00b6c01 100644 --- a/example/README.md +++ b/example/README.md @@ -50,3 +50,7 @@ A [Starlight](https://starlight.astro.build) plugin to server render contents, i - SSR render contents > This README format inspired from [starlight-blog/README.md at main · HiDeoo/starlight-blog (github.com)](https://github.com/HiDeoo/starlight-blog/blob/main/README.md) + +## Licensing + +[MIT Licensed](./LICENSE). Made with ❤️ by [Sgal Cheung](https://github.com/sgalcheung). diff --git a/example/package.json b/example/package.json index 1c8403e..ab1b3c4 100644 --- a/example/package.json +++ b/example/package.json @@ -1,7 +1,7 @@ { "name": "example", "type": "module", - "version": "0.1.0", + "version": "0.1.2", "scripts": { "dev": "astro dev", "start": "astro dev", diff --git a/package.json b/package.json index 59677d4..928ce55 100644 --- a/package.json +++ b/package.json @@ -1,17 +1,20 @@ { - "name": "starlight-squidex", - "version": "0.1.0", - "type": "module", + "name": "root", + "private": true, + "packageManager": "pnpm@9.7.1", + "engines": { + "node": ">=18.19.0" + }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "changeset": "changeset" }, - "keywords": [], - "author": "Sgal Cheung", - "license": "MIT", - "packageManager": "pnpm@9.7.1", "pnpm": { "overrides": { "@astrojs/starlight>@astrojs/mdx": "4.0.0-beta.1" } + }, + "devDependencies": { + "@changesets/cli": "^2.27.10", + "astro": "^5.0.0-beta" } } diff --git a/packages/desquidex/CHANGELOG.md b/packages/desquidex/CHANGELOG.md new file mode 100644 index 0000000..2986e3e --- /dev/null +++ b/packages/desquidex/CHANGELOG.md @@ -0,0 +1,7 @@ +# desquidex + +## 0.1.0 + +### Minor Changes + +- Refactored according to the [astro-integration-template](https://github.com/florian-lefebvre/astro-integration-template) specification. diff --git a/packages/desquidex/package.json b/packages/desquidex/package.json index 958003f..dc044c7 100644 --- a/packages/desquidex/package.json +++ b/packages/desquidex/package.json @@ -1,32 +1,58 @@ { "name": "desquidex", - "version": "0.0.4", - "type": "module", - "scripts": { - "generate": "ts-to-zod" - }, - "exports": { - "./loaders": "./loaders.ts", - "./schemas": "./data/models/schemas.ts", - "./integrations": "./integrations.ts", - "./package.json": "./package.json" + "version": "0.1.0", + "description": "Use your Squidex data in Astro projects", + "author": { + "email": "sgalculture@outlook.com", + "name": "Sgal Cheung", + "url": "https://github.com/sgalcheung" }, + "license": "MIT", "keywords": [ "withastro", "astro-loader" ], - "author": "Sgal Cheung ", - "license": "MIT", - "description": "Use your Squidex data in Astro projects", "homepage": "https://sdk--starlight-squidex.netlify.app/", "repository": { "type": "git", - "url": "https://github.com/sgalcheung/starlight-squidex/tree/sdk", + "url": "https://github.com/sgalcheung/starlight-squidex.git", "directory": "packages/desquidex" }, + "publishConfig": { + "access": "public" + }, + "sideEffects": false, + "exports": { + "./loaders": { + "types": "./dist/loaders.d.ts", + "default": "./dist/loaders.js" + }, + "./schemas": { + "types": "./dist/data/models/schemas.d.ts", + "default": "./dist/data/models/schemas.js" + }, + "./integrations": { + "types": "./dist/integrations.d.ts", + "default": "./dist/integrations.js" + } + }, + "files": [ + "dist" + ], + "scripts": { + "generate": "ts-to-zod", + "dev": "tsup --watch", + "build": "tsup" + }, + "type": "module", + "peerDependencies": { + "astro": "^5.0.0-beta" + }, "devDependencies": { - "astro": "5.0.0-beta.2", + "astro": "^5.0.0-beta", "ts-to-zod": "^3.14.1", + "tsup": "^8.3.5", + "typescript": "^5.5.4", "zod": "^3.23.8" }, "dependencies": { diff --git a/packages/desquidex/generated/appDto.zod.ts b/packages/desquidex/src/__generated__/appDto.zod.ts similarity index 90% rename from packages/desquidex/generated/appDto.zod.ts rename to packages/desquidex/src/__generated__/appDto.zod.ts index 153594d..2388e36 100644 --- a/packages/desquidex/generated/appDto.zod.ts +++ b/packages/desquidex/src/__generated__/appDto.zod.ts @@ -1,7 +1,6 @@ // Generated by ts-to-zod import { z } from "zod"; - -import { resourceLinkSchema } from "./resourceLink.zod"; +import { resourceLinkSchema } from "./resourceLink.zod.js"; export const appDtoSchema = z.object({ links: z.record(resourceLinkSchema), diff --git a/packages/desquidex/generated/contentDto.zod.ts b/packages/desquidex/src/__generated__/contentDto.zod.ts similarity index 82% rename from packages/desquidex/generated/contentDto.zod.ts rename to packages/desquidex/src/__generated__/contentDto.zod.ts index b0326c2..81fb4bd 100644 --- a/packages/desquidex/generated/contentDto.zod.ts +++ b/packages/desquidex/src/__generated__/contentDto.zod.ts @@ -1,9 +1,9 @@ // Generated by ts-to-zod import { z } from "zod"; -import { resourceLinkSchema } from "./resourceLink.zod"; -import { scheduleJobDtoSchema } from "./scheduleJobDto.zod"; -import { fieldDtoSchema } from "./fieldDto.zod"; +import { resourceLinkSchema } from "./resourceLink.zod.js"; +import { scheduleJobDtoSchema } from "./scheduleJobDto.zod.js"; +import { fieldDtoSchema } from "./fieldDto.zod.js"; export const contentDtoSchema = z.object({ links: z.record(resourceLinkSchema), diff --git a/packages/desquidex/generated/contentsDto.zod.ts b/packages/desquidex/src/__generated__/contentsDto.zod.ts similarity index 57% rename from packages/desquidex/generated/contentsDto.zod.ts rename to packages/desquidex/src/__generated__/contentsDto.zod.ts index 141e9b1..b9e6dae 100644 --- a/packages/desquidex/generated/contentsDto.zod.ts +++ b/packages/desquidex/src/__generated__/contentsDto.zod.ts @@ -1,9 +1,9 @@ // Generated by ts-to-zod import { z } from "zod"; -import { contentDtoSchema } from "./contentDto.zod"; -import { resourceLinkSchema } from "./resourceLink.zod"; -import { statusInfoDtoSchema } from "./statusInfoDto.zod"; +import { contentDtoSchema } from "./contentDto.zod.js"; +import { resourceLinkSchema } from "./resourceLink.zod.js"; +import { statusInfoDtoSchema } from "./statusInfoDto.zod.js"; export const contentsDtoSchema = z.object({ links: z.record(resourceLinkSchema), diff --git a/packages/desquidex/generated/featureDto.zod.ts b/packages/desquidex/src/__generated__/featureDto.zod.ts similarity index 100% rename from packages/desquidex/generated/featureDto.zod.ts rename to packages/desquidex/src/__generated__/featureDto.zod.ts diff --git a/packages/desquidex/generated/featuresDto.zod.ts b/packages/desquidex/src/__generated__/featuresDto.zod.ts similarity index 59% rename from packages/desquidex/generated/featuresDto.zod.ts rename to packages/desquidex/src/__generated__/featuresDto.zod.ts index 07b3428..95152be 100644 --- a/packages/desquidex/generated/featuresDto.zod.ts +++ b/packages/desquidex/src/__generated__/featuresDto.zod.ts @@ -1,7 +1,8 @@ // Generated by ts-to-zod import { z } from "zod"; +import { featureDtoSchema } from "./featureDto.zod.js"; -import { featureDtoSchema } from "./featureDto.zod"; +// import { featureDtoSchema } from "./featureDto.zod"; export const featuresDtoSchema = z.object({ features: z.array(featureDtoSchema), diff --git a/packages/desquidex/generated/fieldDto.zod.ts b/packages/desquidex/src/__generated__/fieldDto.zod.ts similarity index 77% rename from packages/desquidex/generated/fieldDto.zod.ts rename to packages/desquidex/src/__generated__/fieldDto.zod.ts index 3629f1f..27253ba 100644 --- a/packages/desquidex/generated/fieldDto.zod.ts +++ b/packages/desquidex/src/__generated__/fieldDto.zod.ts @@ -1,8 +1,9 @@ // Generated by ts-to-zod import { z } from "zod"; -import { fieldPropertiesDtoSchema } from "./fieldPropertiesDto.zod"; -import { resourceLinkSchema } from "./resourceLink.zod"; +// import { fieldPropertiesDtoSchema } from "./fieldPropertiesDto.zod"; +import { resourceLinkSchema } from "./resourceLink.zod.js"; +import { fieldPropertiesDtoSchema } from "./fieldPropertiesDto.zod.js"; const nestedFieldDtoSchema = z.any(); diff --git a/packages/desquidex/generated/fieldPropertiesDto.zod.ts b/packages/desquidex/src/__generated__/fieldPropertiesDto.zod.ts similarity index 100% rename from packages/desquidex/generated/fieldPropertiesDto.zod.ts rename to packages/desquidex/src/__generated__/fieldPropertiesDto.zod.ts diff --git a/packages/desquidex/generated/resourceLink.zod.ts b/packages/desquidex/src/__generated__/resourceLink.zod.ts similarity index 100% rename from packages/desquidex/generated/resourceLink.zod.ts rename to packages/desquidex/src/__generated__/resourceLink.zod.ts diff --git a/packages/desquidex/generated/scheduleJobDto.zod.ts b/packages/desquidex/src/__generated__/scheduleJobDto.zod.ts similarity index 100% rename from packages/desquidex/generated/scheduleJobDto.zod.ts rename to packages/desquidex/src/__generated__/scheduleJobDto.zod.ts diff --git a/packages/desquidex/generated/statusInfoDto.zod.ts b/packages/desquidex/src/__generated__/statusInfoDto.zod.ts similarity index 100% rename from packages/desquidex/generated/statusInfoDto.zod.ts rename to packages/desquidex/src/__generated__/statusInfoDto.zod.ts diff --git a/packages/desquidex/configService.ts b/packages/desquidex/src/configService.ts similarity index 100% rename from packages/desquidex/configService.ts rename to packages/desquidex/src/configService.ts diff --git a/packages/desquidex/data/core/client.ts b/packages/desquidex/src/data/core/client.ts similarity index 96% rename from packages/desquidex/data/core/client.ts rename to packages/desquidex/src/data/core/client.ts index d00d855..7f4d294 100644 --- a/packages/desquidex/data/core/client.ts +++ b/packages/desquidex/src/data/core/client.ts @@ -1,4 +1,4 @@ -import { configService } from "../../configService"; +import { configService } from "../../configService.js"; import { SquidexClient } from "@squidex/squidex"; import { InMemoryTokenStore } from "@squidex/squidex/dist/wrapper/SquidexClient.js"; diff --git a/packages/desquidex/data/models/schemas.ts b/packages/desquidex/src/data/models/schemas.ts similarity index 96% rename from packages/desquidex/data/models/schemas.ts rename to packages/desquidex/src/data/models/schemas.ts index e6196bf..810e314 100644 --- a/packages/desquidex/data/models/schemas.ts +++ b/packages/desquidex/src/data/models/schemas.ts @@ -1,14 +1,10 @@ import { ZodType } from "zod"; import { z } from "astro/zod"; import type { - ResourceLink, - AppDto, FeatureDto, FeaturesDto, ScheduleJobDto, StatusInfoDto, - ContentDto, - ContentsDto, } from "@squidex/squidex"; export enum SCHEMAS { @@ -27,7 +23,7 @@ export const resourceLinkSchema = z.object({ href: z.string(), method: z.string(), metadata: z.string().optional().nullable(), -}) satisfies ZodType; +}); // satisfies ZodType; export const appDtoSchema = z.object({ links: z.record(resourceLinkSchema), @@ -44,7 +40,7 @@ export const appDtoSchema = z.object({ canAccessContent: z.boolean(), roleName: z.string().optional().nullable(), roleProperties: z.record(z.any()), -}) satisfies ZodType; +}); //satisfies ZodType; export const featureDtoSchema = z.object({ name: z.string(), diff --git a/packages/desquidex/src/env.d.ts b/packages/desquidex/src/env.d.ts new file mode 100644 index 0000000..f964fe0 --- /dev/null +++ b/packages/desquidex/src/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/packages/desquidex/src/index.ts b/packages/desquidex/src/index.ts new file mode 100644 index 0000000..c413418 --- /dev/null +++ b/packages/desquidex/src/index.ts @@ -0,0 +1,4 @@ +export * from "./data/models/schemas.js"; + +export { squidexCollections } from "./loaders.js"; +export { refreshContentIntegration } from "./integrations.js"; diff --git a/packages/desquidex/integrations.ts b/packages/desquidex/src/integrations.ts similarity index 97% rename from packages/desquidex/integrations.ts rename to packages/desquidex/src/integrations.ts index b17b37b..8ed4583 100644 --- a/packages/desquidex/integrations.ts +++ b/packages/desquidex/src/integrations.ts @@ -1,5 +1,5 @@ import type { AstroIntegration } from "astro"; -import { validateRequest } from "./signatureUtils"; +import { validateRequest } from "./signatureUtils.js"; export function refreshContentIntegration( webhookSecret: string diff --git a/packages/desquidex/loaders.ts b/packages/desquidex/src/loaders.ts similarity index 93% rename from packages/desquidex/loaders.ts rename to packages/desquidex/src/loaders.ts index 5a701fb..62582aa 100644 --- a/packages/desquidex/loaders.ts +++ b/packages/desquidex/src/loaders.ts @@ -1,12 +1,11 @@ -import { AstroError } from "astro/errors"; import type { DataStore, Loader } from "astro/loaders"; import { defineCollection, type BaseSchema, type CollectionConfig, } from "astro:content"; -import { configService, type Config } from "./configService"; -import { getClient } from "./data/core/client"; +import { configService, type Config } from "./configService.js"; +import { getClient } from "./data/core/client.js"; import { SCHEMAS, SCHEMAS_CONST, @@ -16,7 +15,7 @@ import { dataSchema, featuresDtoSchema, type SCHEMAS_VALUES, -} from "./data/models/schemas"; +} from "./data/models/schemas.js"; type DataEntry = Parameters[0]; @@ -74,14 +73,14 @@ export function squidexCollections(config: Config) { if (contentSchemaMapping) { type SquidexContentSchemasLiteral = keyof typeof contentSchemaMapping; - type T = typeof contentSchemaMapping; + // type T = typeof contentSchemaMapping; const schemaKeys = Object.keys( contentSchemaMapping ) as SquidexContentSchemasLiteral[]; - const schemaValues = Object.values( - contentSchemaMapping - ) as T[SquidexContentSchemasLiteral][]; + // const schemaValues = Object.values( + // contentSchemaMapping + // ) as T[SquidexContentSchemasLiteral][]; console.log("---------------"); schemaKeys.forEach((key) => { @@ -111,6 +110,7 @@ export function squidexCollections(config: Config) { return contentCollections; } } + return null; }, }; @@ -136,7 +136,7 @@ function makeLoader({ }: { type: SCHEMAS; schema: BaseSchema; - contentSchema?: string; + contentSchema?: string | undefined; }) { const { client } = getClient(); @@ -144,7 +144,7 @@ function makeLoader({ const loader: Loader = { name: `desquidex-${name}`, - load: async ({ store, parseData, logger, refreshContextData, meta }) => { + load: async ({ store, parseData, logger, refreshContextData }) => { if (refreshContextData?.webhookBody) { logger.info("Received incoming webhook"); // do something with the webhook body diff --git a/packages/desquidex/signatureUtils.ts b/packages/desquidex/src/signatureUtils.ts similarity index 100% rename from packages/desquidex/signatureUtils.ts rename to packages/desquidex/src/signatureUtils.ts diff --git a/packages/desquidex/ts-to-zod.config.cjs b/packages/desquidex/ts-to-zod.config.cjs index 56b1474..1f3af8b 100644 --- a/packages/desquidex/ts-to-zod.config.cjs +++ b/packages/desquidex/ts-to-zod.config.cjs @@ -7,52 +7,52 @@ module.exports = [ { name: "appDto", input: "node_modules/@squidex/squidex/generated/models/AppDto.d.ts", - output: "./generated/appDto.zod.ts", + output: "./src/__generated__/appDto.zod.ts", }, { name: "resourceLink", input: "node_modules/@squidex/squidex/generated/models/ResourceLink.d.ts", - output: "./generated/resourceLink.zod.ts", + output: "./src/__generated__/resourceLink.zod.ts", }, { name: "featureDto", input: "node_modules/@squidex/squidex/generated/models/FeatureDto.d.ts", - output: "./generated/featureDto.zod.ts", + output: "./src/__generated__/featureDto.zod.ts", }, { name: "featuresDto", input: "node_modules/@squidex/squidex/generated/models/FeaturesDto.d.ts", - output: "./generated/featuresDto.zod.ts", + output: "./src/__generated__/featuresDto.zod.ts", }, { - name: "ScheduleJobDto", + name: "scheduleJobDto", input: "node_modules/@squidex/squidex/generated/models/ScheduleJobDto.d.ts", - output: "./generated/scheduleJobDto.zod.ts", + output: "./src/__generated__/scheduleJobDto.zod.ts", }, { - name: "ContentDto", + name: "contentDto", input: "node_modules/@squidex/squidex/generated/models/ContentDto.d.ts", - output: "./generated/contentDto.zod.ts", + output: "./src/__generated__/contentDto.zod.ts", }, { - name: "StatusInfoDto", + name: "statusInfoDto", input: "node_modules/@squidex/squidex/generated/models/StatusInfoDto.d.ts", - output: "./generated/statusInfoDto.zod.ts", + output: "./src/__generated__/statusInfoDto.zod.ts", }, { - name: "FieldPropertiesDto", + name: "fieldPropertiesDto", input: "node_modules/@squidex/squidex/generated/models/FieldPropertiesDto.d.ts", - output: "./generated/fieldPropertiesDto.zod.ts", + output: "./src/__generated__/fieldPropertiesDto.zod.ts", }, { - name: "FieldDto", + name: "fieldDto", input: "node_modules/@squidex/squidex/generated/models/FieldDto.d.ts", - output: "./generated/fieldDto.zod.ts", + output: "./src/__generated__/fieldDto.zod.ts", }, { - name: "ContentsDto", + name: "contentsDto", input: "node_modules/@squidex/squidex/generated/models/ContentsDto.d.ts", - output: "./generated/contentsDto.zod.ts", + output: "./src/__generated__/contentsDto.zod.ts", }, ]; diff --git a/packages/desquidex/tsconfig.json b/packages/desquidex/tsconfig.json new file mode 100644 index 0000000..192ee0b --- /dev/null +++ b/packages/desquidex/tsconfig.json @@ -0,0 +1,9 @@ +{ + "extends": "astro/tsconfigs/strictest", + "compilerOptions": { + "module": "Node16", + "moduleResolution": "Node16", + "jsx": "preserve" + }, + "exclude": ["dist"] +} diff --git a/packages/desquidex/tsup.config.ts b/packages/desquidex/tsup.config.ts new file mode 100644 index 0000000..5e19993 --- /dev/null +++ b/packages/desquidex/tsup.config.ts @@ -0,0 +1,19 @@ +import { defineConfig } from "tsup"; +import { peerDependencies } from "./package.json"; + +export default defineConfig((options) => { + const dev = !!options.watch; + return { + entry: ["src/**/*.(ts|js)", "!src/__generated__/*"], + format: ["esm"], + target: "node18", + bundle: true, + dts: true, + sourcemap: true, + clean: true, + splitting: false, + minify: !dev, + external: [...Object.keys(peerDependencies), 'astro:content'], + tsconfig: "tsconfig.json", + }; +}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3f0b40c..8adda2e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,7 +9,14 @@ overrides: importers: - .: {} + .: + devDependencies: + '@changesets/cli': + specifier: ^2.27.10 + version: 2.27.10 + astro: + specifier: ^5.0.0-beta + version: 5.0.0-beta.2(@types/node@22.9.0)(rollup@4.27.4)(typescript@5.7.2) example: dependencies: @@ -88,7 +95,7 @@ importers: devDependencies: '@graphql-codegen/cli': specifier: ^5.0.2 - version: 5.0.2(@types/node@22.9.0)(graphql@16.9.0)(typescript@5.6.2) + version: 5.0.2(@types/node@22.9.0)(enquirer@2.4.1)(graphql@16.9.0)(typescript@5.6.2) '@graphql-codegen/client-preset': specifier: ^4.3.3 version: 4.3.3(graphql@16.9.0) @@ -109,11 +116,17 @@ importers: version: 2.0.0-rc2 devDependencies: astro: - specifier: 5.0.0-beta.2 + specifier: ^5.0.0-beta version: 5.0.0-beta.2(@types/node@22.9.0)(rollup@4.27.4)(typescript@5.7.2) ts-to-zod: specifier: ^3.14.1 version: 3.14.1 + tsup: + specifier: ^8.3.5 + version: 8.3.5(jiti@1.21.6)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.5.1) + typescript: + specifier: ^5.5.4 + version: 5.7.2 zod: specifier: ^3.23.8 version: 3.23.8 @@ -126,7 +139,7 @@ importers: devDependencies: '@graphql-codegen/cli': specifier: ^5.0.2 - version: 5.0.2(@types/node@22.9.0)(graphql@16.9.0)(typescript@5.7.2) + version: 5.0.2(@types/node@22.9.0)(enquirer@2.4.1)(graphql@16.9.0)(typescript@5.7.2) '@graphql-codegen/client-preset': specifier: ^4.3.3 version: 4.3.3(graphql@16.9.0) @@ -148,7 +161,7 @@ importers: version: 0.27.1(astro@5.0.0-beta.8(@types/node@22.9.0)(jiti@1.21.6)(rollup@4.27.4)(typescript@5.7.2)(yaml@2.5.1)) '@graphql-codegen/cli': specifier: ^5.0.2 - version: 5.0.2(@types/node@22.9.0)(graphql@16.9.0)(typescript@5.7.2) + version: 5.0.2(@types/node@22.9.0)(enquirer@2.4.1)(graphql@16.9.0)(typescript@5.7.2) '@graphql-codegen/client-preset': specifier: ^4.3.3 version: 4.3.3(graphql@16.9.0) @@ -558,6 +571,61 @@ packages: resolution: {integrity: sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==} engines: {node: '>=6.9.0'} + '@changesets/apply-release-plan@7.0.6': + resolution: {integrity: sha512-TKhVLtiwtQOgMAC0fCJfmv93faiViKSDqr8oMEqrnNs99gtSC1sZh/aEMS9a+dseU1ESZRCK+ofLgGY7o0fw/Q==} + + '@changesets/assemble-release-plan@6.0.5': + resolution: {integrity: sha512-IgvBWLNKZd6k4t72MBTBK3nkygi0j3t3zdC1zrfusYo0KpdsvnDjrMM9vPnTCLCMlfNs55jRL4gIMybxa64FCQ==} + + '@changesets/changelog-git@0.2.0': + resolution: {integrity: sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==} + + '@changesets/cli@2.27.10': + resolution: {integrity: sha512-PfeXjvs9OfQJV8QSFFHjwHX3QnUL9elPEQ47SgkiwzLgtKGyuikWjrdM+lO9MXzOE22FO9jEGkcs4b+B6D6X0Q==} + hasBin: true + + '@changesets/config@3.0.4': + resolution: {integrity: sha512-+DiIwtEBpvvv1z30f8bbOsUQGuccnZl9KRKMM/LxUHuDu5oEjmN+bJQ1RIBKNJjfYMQn8RZzoPiX0UgPaLQyXw==} + + '@changesets/errors@0.2.0': + resolution: {integrity: sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==} + + '@changesets/get-dependents-graph@2.1.2': + resolution: {integrity: sha512-sgcHRkiBY9i4zWYBwlVyAjEM9sAzs4wYVwJUdnbDLnVG3QwAaia1Mk5P8M7kraTOZN+vBET7n8KyB0YXCbFRLQ==} + + '@changesets/get-release-plan@4.0.5': + resolution: {integrity: sha512-E6wW7JoSMcctdVakut0UB76FrrN3KIeJSXvB+DHMFo99CnC3ZVnNYDCVNClMlqAhYGmLmAj77QfApaI3ca4Fkw==} + + '@changesets/get-version-range-type@0.4.0': + resolution: {integrity: sha512-hwawtob9DryoGTpixy1D3ZXbGgJu1Rhr+ySH2PvTLHvkZuQ7sRT4oQwMh0hbqZH1weAooedEjRsbrWcGLCeyVQ==} + + '@changesets/git@3.0.2': + resolution: {integrity: sha512-r1/Kju9Y8OxRRdvna+nxpQIsMsRQn9dhhAZt94FLDeu0Hij2hnOozW8iqnHBgvu+KdnJppCveQwK4odwfw/aWQ==} + + '@changesets/logger@0.1.1': + resolution: {integrity: sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg==} + + '@changesets/parse@0.4.0': + resolution: {integrity: sha512-TS/9KG2CdGXS27S+QxbZXgr8uPsP4yNJYb4BC2/NeFUj80Rni3TeD2qwWmabymxmrLo7JEsytXH1FbpKTbvivw==} + + '@changesets/pre@2.0.1': + resolution: {integrity: sha512-vvBJ/If4jKM4tPz9JdY2kGOgWmCowUYOi5Ycv8dyLnEE8FgpYYUo1mgJZxcdtGGP3aG8rAQulGLyyXGSLkIMTQ==} + + '@changesets/read@0.6.2': + resolution: {integrity: sha512-wjfQpJvryY3zD61p8jR87mJdyx2FIhEcdXhKUqkja87toMrP/3jtg/Yg29upN+N4Ckf525/uvV7a4tzBlpk6gg==} + + '@changesets/should-skip-package@0.1.1': + resolution: {integrity: sha512-H9LjLbF6mMHLtJIc/eHR9Na+MifJ3VxtgP/Y+XLn4BF7tDTEN1HNYtH6QMcjP1uxp9sjaFYmW8xqloaCi/ckTg==} + + '@changesets/types@4.1.0': + resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} + + '@changesets/types@6.0.0': + resolution: {integrity: sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==} + + '@changesets/write@0.3.2': + resolution: {integrity: sha512-kDxDrPNpUgsjDbWBvUo27PzKX4gqeKOlhibaOXDJA6kuBisGqNHv/HwGJrAu8U/dSf8ZEFIeHIPtvSlZI1kULw==} + '@ctrl/tinycolor@4.1.0': resolution: {integrity: sha512-WyOx8cJQ+FQus4Mm4uPIZA64gbk3Wxh0so5Lcii0aJifqwoVOlfFtorjLE0Hen4OYyHZMXDWqMmaQemBhgxFRQ==} engines: {node: '>=14'} @@ -1231,6 +1299,12 @@ packages: '@kamilkisiela/fast-url-parser@1.1.4': resolution: {integrity: sha512-gbkePEBupNydxCelHCESvFSFM8XPh1Zs/OAVRW/rKpEqPAl5PbOM90Si8mv9bvnR53uPD2s/FiRxdvSejpRJew==} + '@manypkg/find-root@1.1.0': + resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} + + '@manypkg/get-packages@1.1.3': + resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} + '@mapbox/node-pre-gyp@1.0.11': resolution: {integrity: sha512-Yhlar6v9WQgUp/He7BdgzOz8lqMQ8sU+jkCq7Wx8Myc5YFJLbEe7lgui/V7G1qB1DJykHSGwreceSaD60Y0PUQ==} hasBin: true @@ -1768,6 +1842,9 @@ packages: '@types/nlcst@2.0.3': resolution: {integrity: sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==} + '@types/node@12.20.55': + resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + '@types/node@17.0.45': resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} @@ -1926,6 +2003,10 @@ packages: ansi-align@3.0.1: resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} + ansi-colors@4.1.3: + resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} + engines: {node: '>=6'} + ansi-escapes@4.3.2: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} engines: {node: '>=8'} @@ -2070,6 +2151,10 @@ packages: bcp-47@2.1.0: resolution: {integrity: sha512-9IIS3UPrvIa1Ej+lVDdDwO7zLehjqsaByECw0bu2RRGP73jALm6FYbzI5gWbgHLvNdkvfXB5YrSbocZdOS0c0w==} + better-path-resolve@1.0.0: + resolution: {integrity: sha512-pbnl5XzGBdrFU/wT4jqmJVPn2B6UHPBOhzMQkY/SPUPB6QtUXtmBHBIwCbXJol93mOpGMnQyP/+BB19q04xj7g==} + engines: {node: '>=4'} + binary-extensions@2.3.0: resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==} engines: {node: '>=8'} @@ -2112,6 +2197,12 @@ packages: buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} + bundle-require@5.0.0: + resolution: {integrity: sha512-GuziW3fSSmopcx4KRymQEJVbZUfqlCqcq7dvs6TYwKRZiegK/2buMxQTPs6MGlNv50wms1699qYO54R8XfRX4w==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.18' + busboy@1.6.0: resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} engines: {node: '>=10.16.0'} @@ -2209,8 +2300,8 @@ packages: resolution: {integrity: sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==} engines: {node: '>=10'} - ci-info@4.0.0: - resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} + ci-info@3.9.0: + resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} ci-info@4.1.0: @@ -2322,6 +2413,10 @@ packages: concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + consola@3.2.3: + resolution: {integrity: sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==} + engines: {node: ^14.18.0 || >=16.10.0} + console-control-strings@1.1.0: resolution: {integrity: sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==} @@ -2368,6 +2463,10 @@ packages: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + css-selector-parser@3.0.5: resolution: {integrity: sha512-3itoDFbKUNx1eKmVpYMFyqKX04Ww9osZ+dLgrk6GEv6KMVeXUhUnp4I5X+evw+u3ZxVU6RFXSSRxlTeMh8bA+g==} @@ -2492,6 +2591,10 @@ packages: emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + enquirer@2.4.1: + resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} + engines: {node: '>=8.6'} + entities@4.5.0: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} @@ -2584,6 +2687,9 @@ packages: extend@3.0.2: resolution: {integrity: sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==} + extendable-error@0.1.7: + resolution: {integrity: sha512-UOiS2in6/Q0FK0R0q6UY9vYpQ21mr/Qn1KOnte7vsACuNJf514WvCCUHSRCPcgjPT2bAhNIJdlE6bVap1GKmeg==} + external-editor@3.1.0: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} engines: {node: '>=4'} @@ -2623,6 +2729,14 @@ packages: fbjs@3.0.5: resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==} + fdir@6.4.2: + resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + figures@3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} @@ -2663,6 +2777,14 @@ packages: resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} engines: {node: '>=14.14'} + fs-extra@7.0.1: + resolution: {integrity: sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==} + engines: {node: '>=6 <7 || >=8'} + + fs-extra@8.1.0: + resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==} + engines: {node: '>=6 <7 || >=8'} + fs-minipass@2.1.0: resolution: {integrity: sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==} engines: {node: '>= 8'} @@ -2876,6 +2998,9 @@ packages: resolution: {integrity: sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==} engines: {node: '>= 14'} + human-id@1.0.2: + resolution: {integrity: sha512-UNopramDEhHJD+VR+ehk8rOslwSfByxPIZyJRfV739NDhN5LF1fa1MqnzKm2lGTQRjNrjK19Q5fhkgIfjlVUKw==} + i18next@23.15.1: resolution: {integrity: sha512-wB4abZ3uK7EWodYisHl/asf8UYEhrI/vj/8aoSsrj/ZDxj4/UXPOa1KvFt1Fq5hkUHquNqwFlDprmjZ8iySgYA==} @@ -3017,6 +3142,10 @@ packages: resolution: {integrity: sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==} engines: {node: '>=0.10.0'} + is-subdir@1.2.0: + resolution: {integrity: sha512-2AT6j+gXe/1ueqbW6fLZJiIw3F8iXGJtt0yDrZaBhAZEG1raiTxKWU+IPqMCzQAXOUCKdA4UDMgacKH25XG2Cw==} + engines: {node: '>=4'} + is-unc-path@1.0.0: resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} engines: {node: '>=0.10.0'} @@ -3071,6 +3200,10 @@ packages: jose@5.9.3: resolution: {integrity: sha512-egLIoYSpcd+QUF+UHgobt5YzI2Pkw/H39ou9suW687MY6PmCwPmkNV/4TNjn1p2tX5xO3j0d0sq5hiYE24bSlg==} + joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -3108,6 +3241,9 @@ packages: jsonc-parser@3.3.1: resolution: {integrity: sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==} + jsonfile@4.0.0: + resolution: {integrity: sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==} + jsonfile@6.1.0: resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} @@ -3143,6 +3279,10 @@ packages: enquirer: optional: true + load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + load-yaml-file@0.2.0: resolution: {integrity: sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw==} engines: {node: '>=6'} @@ -3154,6 +3294,9 @@ packages: lodash.sortby@4.7.0: resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + lodash.startcase@4.4.0: + resolution: {integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==} + lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} @@ -3447,6 +3590,10 @@ packages: engines: {node: '>=10'} hasBin: true + mri@1.2.0: + resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} + engines: {node: '>=4'} + mrmime@2.0.0: resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} engines: {node: '>=10'} @@ -3567,6 +3714,13 @@ packages: resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} engines: {node: '>=0.10.0'} + outdent@0.5.0: + resolution: {integrity: sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==} + + p-filter@2.1.0: + resolution: {integrity: sha512-ZBxxZ5sL2HghephhpGAQdoskxplTwr7ICaehZwLIlfL6acuVgZPm8yBNuRAFBGEqtD/hmUeq9eqLg2ys9Xr/yw==} + engines: {node: '>=8'} + p-limit@2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} @@ -3583,6 +3737,10 @@ packages: resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} engines: {node: '>=8'} + p-map@2.1.0: + resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} + engines: {node: '>=6'} + p-map@4.0.0: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} @@ -3602,6 +3760,9 @@ packages: package-json-from-dist@1.0.1: resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + package-manager-detector@0.2.5: + resolution: {integrity: sha512-3dS7y28uua+UDbRCLBqltMBrbI+A5U2mI9YuxHRxIWYmLj3DwntEBmERYzIAQ4DMeuCUOBSak7dBHHoXKpOTYQ==} + pagefind@1.1.1: resolution: {integrity: sha512-U2YR0dQN5B2fbIXrLtt/UXNS0yWSSYfePaad1KcBPTi0p+zRtsVjwmoPaMQgTks5DnHNbmDxyJUL5TGaLljK3A==} hasBin: true @@ -3731,6 +3892,24 @@ packages: ts-node: optional: true + postcss-load-config@6.0.1: + resolution: {integrity: sha512-oPtTM4oerL+UXmx+93ytZVN82RrlY/wPUV8IeDxFrzIjXOLF1pN+EmKPLbubvKHT2HC20xXsCAH2Z+CKV6Oz/g==} + engines: {node: '>= 18'} + peerDependencies: + jiti: '>=1.21.0' + postcss: '>=8.0.9' + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + jiti: + optional: true + postcss: + optional: true + tsx: + optional: true + yaml: + optional: true + postcss-nested@6.2.0: resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==} engines: {node: '>=12.0'} @@ -3783,6 +3962,10 @@ packages: punycode@1.4.1: resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} + punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + pvtsutils@1.3.5: resolution: {integrity: sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==} @@ -3809,6 +3992,10 @@ packages: read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} + read-yaml-file@1.1.0: + resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} + engines: {node: '>=6'} + readable-stream@3.6.2: resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} engines: {node: '>= 6'} @@ -4098,9 +4285,16 @@ packages: resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} engines: {node: '>= 8'} + source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + space-separated-tokens@2.0.2: resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==} + spawndamnit@3.0.1: + resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} + sponge-case@1.0.1: resolution: {integrity: sha512-dblb9Et4DAtiZ5YSUZHLl4XhH4uK80GhAZrVXdN4O2P4gQ40Wa5UIOPUHlA/nFd2PLblBZWUioLMMAVrgpoYcA==} @@ -4208,6 +4402,10 @@ packages: resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} engines: {node: '>=10'} + term-size@2.2.1: + resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} + engines: {node: '>=8'} + thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} @@ -4233,6 +4431,10 @@ packages: tinyexec@0.3.1: resolution: {integrity: sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==} + tinyglobby@0.2.10: + resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} + engines: {node: '>=12.0.0'} + tinypool@1.0.1: resolution: {integrity: sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==} engines: {node: ^18.0.0 || >=20.0.0} @@ -4263,6 +4465,13 @@ packages: tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + + tree-kill@1.2.2: + resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} + hasBin: true + trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} @@ -4301,6 +4510,25 @@ packages: tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + tsup@8.3.5: + resolution: {integrity: sha512-Tunf6r6m6tnZsG9GYWndg0z8dEV7fD733VBFzFJ5Vcm1FtlXB8xBD/rtrBi2a3YKEV7hHtxiZtW5EAVADoe1pA==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7.36.0 + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.5.0' + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + tsutils@3.21.0: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} @@ -4382,6 +4610,10 @@ packages: unist-util-visit@5.0.0: resolution: {integrity: sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg==} + universalify@0.1.2: + resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} + engines: {node: '>= 4.0.0'} + universalify@2.0.1: resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} engines: {node: '>= 10.0.0'} @@ -4658,9 +4890,15 @@ packages: webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + whatwg-url@5.0.0: resolution: {integrity: sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==} + whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + which-module@2.0.1: resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} @@ -4731,9 +4969,6 @@ packages: utf-8-validate: optional: true - xxhash-wasm@1.0.2: - resolution: {integrity: sha512-ibF0Or+FivM9lNrg+HGJfVX8WJqgo+kCLDc4vx6xMeTce7Aj+DLttKbxxRR/gNLSAelRc1omAPlJ77N/Jem07A==} - xxhash-wasm@1.1.0: resolution: {integrity: sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA==} @@ -5139,8 +5374,8 @@ snapshots: '@astrojs/telemetry@3.1.0': dependencies: - ci-info: 4.0.0 - debug: 4.3.7 + ci-info: 4.1.0 + debug: 4.3.7(supports-color@8.1.1) dlv: 1.1.3 dset: 3.1.4 is-docker: 3.0.0 @@ -5158,7 +5393,7 @@ snapshots: '@babel/code-frame@7.24.7': dependencies: '@babel/highlight': 7.24.7 - picocolors: 1.1.0 + picocolors: 1.1.1 '@babel/compat-data@7.25.4': {} @@ -5283,7 +5518,7 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 chalk: 2.4.2 js-tokens: 4.0.0 - picocolors: 1.1.0 + picocolors: 1.1.1 '@babel/parser@7.25.6': dependencies: @@ -5501,6 +5736,148 @@ snapshots: '@babel/helper-validator-identifier': 7.24.7 to-fast-properties: 2.0.0 + '@changesets/apply-release-plan@7.0.6': + dependencies: + '@changesets/config': 3.0.4 + '@changesets/get-version-range-type': 0.4.0 + '@changesets/git': 3.0.2 + '@changesets/should-skip-package': 0.1.1 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + detect-indent: 6.1.0 + fs-extra: 7.0.1 + lodash.startcase: 4.4.0 + outdent: 0.5.0 + prettier: 2.8.7 + resolve-from: 5.0.0 + semver: 7.6.3 + + '@changesets/assemble-release-plan@6.0.5': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.2 + '@changesets/should-skip-package': 0.1.1 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + semver: 7.6.3 + + '@changesets/changelog-git@0.2.0': + dependencies: + '@changesets/types': 6.0.0 + + '@changesets/cli@2.27.10': + dependencies: + '@changesets/apply-release-plan': 7.0.6 + '@changesets/assemble-release-plan': 6.0.5 + '@changesets/changelog-git': 0.2.0 + '@changesets/config': 3.0.4 + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.2 + '@changesets/get-release-plan': 4.0.5 + '@changesets/git': 3.0.2 + '@changesets/logger': 0.1.1 + '@changesets/pre': 2.0.1 + '@changesets/read': 0.6.2 + '@changesets/should-skip-package': 0.1.1 + '@changesets/types': 6.0.0 + '@changesets/write': 0.3.2 + '@manypkg/get-packages': 1.1.3 + ansi-colors: 4.1.3 + ci-info: 3.9.0 + enquirer: 2.4.1 + external-editor: 3.1.0 + fs-extra: 7.0.1 + mri: 1.2.0 + p-limit: 2.3.0 + package-manager-detector: 0.2.5 + picocolors: 1.1.1 + resolve-from: 5.0.0 + semver: 7.6.3 + spawndamnit: 3.0.1 + term-size: 2.2.1 + + '@changesets/config@3.0.4': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/get-dependents-graph': 2.1.2 + '@changesets/logger': 0.1.1 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + fs-extra: 7.0.1 + micromatch: 4.0.8 + + '@changesets/errors@0.2.0': + dependencies: + extendable-error: 0.1.7 + + '@changesets/get-dependents-graph@2.1.2': + dependencies: + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + picocolors: 1.1.1 + semver: 7.6.3 + + '@changesets/get-release-plan@4.0.5': + dependencies: + '@changesets/assemble-release-plan': 6.0.5 + '@changesets/config': 3.0.4 + '@changesets/pre': 2.0.1 + '@changesets/read': 0.6.2 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + + '@changesets/get-version-range-type@0.4.0': {} + + '@changesets/git@3.0.2': + dependencies: + '@changesets/errors': 0.2.0 + '@manypkg/get-packages': 1.1.3 + is-subdir: 1.2.0 + micromatch: 4.0.8 + spawndamnit: 3.0.1 + + '@changesets/logger@0.1.1': + dependencies: + picocolors: 1.1.1 + + '@changesets/parse@0.4.0': + dependencies: + '@changesets/types': 6.0.0 + js-yaml: 3.14.1 + + '@changesets/pre@2.0.1': + dependencies: + '@changesets/errors': 0.2.0 + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + fs-extra: 7.0.1 + + '@changesets/read@0.6.2': + dependencies: + '@changesets/git': 3.0.2 + '@changesets/logger': 0.1.1 + '@changesets/parse': 0.4.0 + '@changesets/types': 6.0.0 + fs-extra: 7.0.1 + p-filter: 2.1.0 + picocolors: 1.1.1 + + '@changesets/should-skip-package@0.1.1': + dependencies: + '@changesets/types': 6.0.0 + '@manypkg/get-packages': 1.1.3 + + '@changesets/types@4.1.0': {} + + '@changesets/types@6.0.0': {} + + '@changesets/write@0.3.2': + dependencies: + '@changesets/types': 6.0.0 + fs-extra: 7.0.1 + human-id: 1.0.2 + prettier: 2.8.7 + '@ctrl/tinycolor@4.1.0': {} '@emmetio/abbreviation@2.3.3': @@ -5528,7 +5905,7 @@ snapshots: '@emnapi/runtime@1.2.0': dependencies: - tslib: 2.7.0 + tslib: 2.8.1 optional: true '@esbuild/aix-ppc64@0.21.5': @@ -5703,7 +6080,7 @@ snapshots: graphql: 16.9.0 tslib: 2.6.3 - '@graphql-codegen/cli@5.0.2(@types/node@22.9.0)(graphql@16.9.0)(typescript@5.6.2)': + '@graphql-codegen/cli@5.0.2(@types/node@22.9.0)(enquirer@2.4.1)(graphql@16.9.0)(typescript@5.6.2)': dependencies: '@babel/generator': 7.25.6 '@babel/template': 7.25.0 @@ -5732,7 +6109,7 @@ snapshots: is-glob: 4.0.3 jiti: 1.21.6 json-to-pretty-yaml: 1.2.2 - listr2: 4.0.5 + listr2: 4.0.5(enquirer@2.4.1) log-symbols: 4.1.0 micromatch: 4.0.8 shell-quote: 1.8.1 @@ -5751,7 +6128,7 @@ snapshots: - typescript - utf-8-validate - '@graphql-codegen/cli@5.0.2(@types/node@22.9.0)(graphql@16.9.0)(typescript@5.7.2)': + '@graphql-codegen/cli@5.0.2(@types/node@22.9.0)(enquirer@2.4.1)(graphql@16.9.0)(typescript@5.7.2)': dependencies: '@babel/generator': 7.25.6 '@babel/template': 7.25.0 @@ -5780,7 +6157,7 @@ snapshots: is-glob: 4.0.3 jiti: 1.21.6 json-to-pretty-yaml: 1.2.2 - listr2: 4.0.5 + listr2: 4.0.5(enquirer@2.4.1) log-symbols: 4.1.0 micromatch: 4.0.8 shell-quote: 1.8.1 @@ -6275,6 +6652,22 @@ snapshots: '@kamilkisiela/fast-url-parser@1.1.4': {} + '@manypkg/find-root@1.1.0': + dependencies: + '@babel/runtime': 7.25.6 + '@types/node': 12.20.55 + find-up: 4.1.0 + fs-extra: 8.1.0 + + '@manypkg/get-packages@1.1.3': + dependencies: + '@babel/runtime': 7.25.6 + '@changesets/types': 4.1.0 + '@manypkg/find-root': 1.1.0 + fs-extra: 8.1.0 + globby: 11.1.0 + read-yaml-file: 1.1.0 + '@mapbox/node-pre-gyp@1.0.11': dependencies: detect-libc: 2.0.3 @@ -6779,6 +7172,8 @@ snapshots: dependencies: '@types/unist': 3.0.3 + '@types/node@12.20.55': {} + '@types/node@17.0.45': {} '@types/node@22.7.3': @@ -7010,6 +7405,8 @@ snapshots: dependencies: string-width: 4.2.3 + ansi-colors@4.1.3: {} + ansi-escapes@4.3.2: dependencies: type-fest: 0.21.3 @@ -7101,7 +7498,7 @@ snapshots: aria-query: 5.3.2 axobject-query: 4.1.0 boxen: 7.1.1 - ci-info: 4.0.0 + ci-info: 4.1.0 clsx: 2.1.1 common-ancestor-path: 1.0.1 cookie: 0.6.0 @@ -7124,7 +7521,7 @@ snapshots: http-cache-semantics: 4.1.1 js-yaml: 4.1.0 kleur: 4.1.5 - magic-string: 0.30.12 + magic-string: 0.30.13 magicast: 0.3.5 micromatch: 4.0.8 mrmime: 2.0.0 @@ -7136,7 +7533,7 @@ snapshots: prompts: 2.4.2 rehype: 13.0.2 semver: 7.6.3 - shiki: 1.22.2 + shiki: 1.23.1 string-width: 7.2.0 strip-ansi: 7.1.0 tinyexec: 0.3.1 @@ -7146,7 +7543,7 @@ snapshots: vite: 5.4.8(@types/node@22.9.0) vitefu: 1.0.3(vite@5.4.8(@types/node@22.9.0)) which-pm: 3.0.0 - xxhash-wasm: 1.0.2 + xxhash-wasm: 1.1.0 yargs-parser: 21.1.1 zod: 3.23.8 zod-to-json-schema: 3.23.5(zod@3.23.8) @@ -7180,7 +7577,7 @@ snapshots: aria-query: 5.3.2 axobject-query: 4.1.0 boxen: 7.1.1 - ci-info: 4.0.0 + ci-info: 4.1.0 clsx: 2.1.1 common-ancestor-path: 1.0.1 cookie: 0.6.0 @@ -7203,7 +7600,7 @@ snapshots: http-cache-semantics: 4.1.1 js-yaml: 4.1.0 kleur: 4.1.5 - magic-string: 0.30.12 + magic-string: 0.30.13 magicast: 0.3.5 micromatch: 4.0.8 mrmime: 2.0.0 @@ -7215,7 +7612,7 @@ snapshots: prompts: 2.4.2 rehype: 13.0.2 semver: 7.6.3 - shiki: 1.22.2 + shiki: 1.23.1 string-width: 7.2.0 strip-ansi: 7.1.0 tinyexec: 0.3.1 @@ -7225,7 +7622,7 @@ snapshots: vite: 5.4.8(@types/node@22.9.0) vitefu: 1.0.3(vite@5.4.8(@types/node@22.9.0)) which-pm: 3.0.0 - xxhash-wasm: 1.0.2 + xxhash-wasm: 1.1.0 yargs-parser: 21.1.1 zod: 3.23.8 zod-to-json-schema: 3.23.5(zod@3.23.8) @@ -7334,7 +7731,7 @@ snapshots: caniuse-lite: 1.0.30001664 fraction.js: 4.3.7 normalize-range: 0.1.2 - picocolors: 1.1.0 + picocolors: 1.1.1 postcss: 8.4.47 postcss-value-parser: 4.2.0 @@ -7391,6 +7788,10 @@ snapshots: is-alphanumerical: 2.0.1 is-decimal: 2.0.1 + better-path-resolve@1.0.0: + dependencies: + is-windows: 1.0.2 + binary-extensions@2.3.0: {} bindings@1.5.0: @@ -7456,6 +7857,11 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 + bundle-require@5.0.0(esbuild@0.24.0): + dependencies: + esbuild: 0.24.0 + load-tsconfig: 0.2.5 + busboy@1.6.0: dependencies: streamsearch: 1.1.0 @@ -7568,7 +7974,7 @@ snapshots: chownr@2.0.0: {} - ci-info@4.0.0: {} + ci-info@3.9.0: {} ci-info@4.1.0: {} @@ -7661,6 +8067,8 @@ snapshots: concat-map@0.0.1: {} + consola@3.2.3: {} + console-control-strings@1.1.0: {} constant-case@3.0.4: @@ -7727,6 +8135,12 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 + cross-spawn@7.0.6: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + css-selector-parser@3.0.5: {} cssesc@3.0.0: {} @@ -7821,6 +8235,11 @@ snapshots: emoji-regex@9.2.2: {} + enquirer@2.4.1: + dependencies: + ansi-colors: 4.1.3 + strip-ansi: 6.0.1 + entities@4.5.0: {} env-paths@2.2.1: {} @@ -7961,6 +8380,8 @@ snapshots: extend@3.0.2: {} + extendable-error@0.1.7: {} + external-editor@3.1.0: dependencies: chardet: 0.7.0 @@ -8013,6 +8434,10 @@ snapshots: transitivePeerDependencies: - encoding + fdir@6.4.2(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + figures@3.2.0: dependencies: escape-string-regexp: 1.0.5 @@ -8054,6 +8479,18 @@ snapshots: jsonfile: 6.1.0 universalify: 2.0.1 + fs-extra@7.0.1: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + + fs-extra@8.1.0: + dependencies: + graceful-fs: 4.2.11 + jsonfile: 4.0.0 + universalify: 0.1.2 + fs-minipass@2.1.0: dependencies: minipass: 3.3.6 @@ -8440,6 +8877,8 @@ snapshots: transitivePeerDependencies: - supports-color + human-id@1.0.2: {} + i18next@23.15.1: dependencies: '@babel/runtime': 7.25.6 @@ -8563,6 +9002,10 @@ snapshots: dependencies: is-unc-path: 1.0.0 + is-subdir@1.2.0: + dependencies: + better-path-resolve: 1.0.0 + is-unc-path@1.0.0: dependencies: unc-path-regex: 0.1.2 @@ -8610,6 +9053,8 @@ snapshots: jose@5.9.3: {} + joycon@3.1.1: {} + js-tokens@4.0.0: {} js-yaml@3.14.1: @@ -8638,6 +9083,10 @@ snapshots: jsonc-parser@3.3.1: {} + jsonfile@4.0.0: + optionalDependencies: + graceful-fs: 4.2.11 + jsonfile@6.1.0: dependencies: universalify: 2.0.1 @@ -8656,7 +9105,7 @@ snapshots: lines-and-columns@1.2.4: {} - listr2@4.0.5: + listr2@4.0.5(enquirer@2.4.1): dependencies: cli-truncate: 2.1.0 colorette: 2.0.20 @@ -8666,6 +9115,10 @@ snapshots: rxjs: 7.8.1 through: 2.3.8 wrap-ansi: 7.0.0 + optionalDependencies: + enquirer: 2.4.1 + + load-tsconfig@0.2.5: {} load-yaml-file@0.2.0: dependencies: @@ -8680,6 +9133,8 @@ snapshots: lodash.sortby@4.7.0: {} + lodash.startcase@4.4.0: {} + lodash@4.17.21: {} log-symbols@4.1.0: @@ -9256,6 +9711,8 @@ snapshots: mkdirp@1.0.4: {} + mri@1.2.0: {} + mrmime@2.0.0: {} ms@2.1.3: {} @@ -9374,6 +9831,12 @@ snapshots: os-tmpdir@1.0.2: {} + outdent@0.5.0: {} + + p-filter@2.1.0: + dependencies: + p-map: 2.1.0 + p-limit@2.3.0: dependencies: p-try: 2.2.0 @@ -9390,6 +9853,8 @@ snapshots: dependencies: p-limit: 2.3.0 + p-map@2.1.0: {} + p-map@4.0.0: dependencies: aggregate-error: 3.1.0 @@ -9405,6 +9870,8 @@ snapshots: package-json-from-dist@1.0.1: {} + package-manager-detector@0.2.5: {} + pagefind@1.1.1: optionalDependencies: '@pagefind/darwin-arm64': 1.1.1 @@ -9533,6 +10000,14 @@ snapshots: optionalDependencies: postcss: 8.4.47 + postcss-load-config@6.0.1(jiti@1.21.6)(postcss@8.4.49)(yaml@2.5.1): + dependencies: + lilconfig: 3.1.2 + optionalDependencies: + jiti: 1.21.6 + postcss: 8.4.49 + yaml: 2.5.1 + postcss-nested@6.2.0(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -9548,7 +10023,7 @@ snapshots: postcss@8.4.47: dependencies: nanoid: 3.3.7 - picocolors: 1.1.0 + picocolors: 1.1.1 source-map-js: 1.2.1 postcss@8.4.49: @@ -9563,8 +10038,7 @@ snapshots: find-yarn-workspace-root2: 1.2.16 which-pm: 3.0.0 - prettier@2.8.7: - optional: true + prettier@2.8.7: {} prettier@3.0.3: {} @@ -9583,6 +10057,8 @@ snapshots: punycode@1.4.1: {} + punycode@2.3.1: {} + pvtsutils@1.3.5: dependencies: tslib: 2.7.0 @@ -9607,6 +10083,13 @@ snapshots: dependencies: pify: 2.3.0 + read-yaml-file@1.1.0: + dependencies: + graceful-fs: 4.2.11 + js-yaml: 3.14.1 + pify: 4.0.1 + strip-bom: 3.0.0 + readable-stream@3.6.2: dependencies: inherits: 2.0.4 @@ -10046,8 +10529,17 @@ snapshots: source-map@0.7.4: {} + source-map@0.8.0-beta.0: + dependencies: + whatwg-url: 7.1.0 + space-separated-tokens@2.0.2: {} + spawndamnit@3.0.1: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + sponge-case@1.0.1: dependencies: tslib: 2.7.0 @@ -10183,6 +10675,8 @@ snapshots: mkdirp: 1.0.4 yallist: 4.0.0 + term-size@2.2.1: {} + thenify-all@1.6.0: dependencies: thenify: 3.3.1 @@ -10215,6 +10709,11 @@ snapshots: tinyexec@0.3.1: {} + tinyglobby@0.2.10: + dependencies: + fdir: 6.4.2(picomatch@4.0.2) + picomatch: 4.0.2 + tinypool@1.0.1: {} tinyrainbow@1.2.0: {} @@ -10237,6 +10736,12 @@ snapshots: tr46@0.0.3: {} + tr46@1.0.1: + dependencies: + punycode: 2.3.1 + + tree-kill@1.2.2: {} + trim-lines@3.0.1: {} trough@2.2.0: {} @@ -10282,6 +10787,33 @@ snapshots: tslib@2.8.1: {} + tsup@8.3.5(jiti@1.21.6)(postcss@8.4.49)(typescript@5.7.2)(yaml@2.5.1): + dependencies: + bundle-require: 5.0.0(esbuild@0.24.0) + cac: 6.7.14 + chokidar: 4.0.1 + consola: 3.2.3 + debug: 4.3.7(supports-color@8.1.1) + esbuild: 0.24.0 + joycon: 3.1.1 + picocolors: 1.1.1 + postcss-load-config: 6.0.1(jiti@1.21.6)(postcss@8.4.49)(yaml@2.5.1) + resolve-from: 5.0.0 + rollup: 4.27.4 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tinyexec: 0.3.1 + tinyglobby: 0.2.10 + tree-kill: 1.2.2 + optionalDependencies: + postcss: 8.4.49 + typescript: 5.7.2 + transitivePeerDependencies: + - jiti + - supports-color + - tsx + - yaml + tsutils@3.21.0(typescript@5.7.2): dependencies: tslib: 1.14.1 @@ -10367,6 +10899,8 @@ snapshots: unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 + universalify@0.1.2: {} + universalify@2.0.1: {} unixify@1.0.0: @@ -10377,7 +10911,7 @@ snapshots: dependencies: browserslist: 4.24.0 escalade: 3.2.0 - picocolors: 1.1.0 + picocolors: 1.1.1 upper-case-first@2.0.2: dependencies: @@ -10619,11 +11153,19 @@ snapshots: webidl-conversions@3.0.1: {} + webidl-conversions@4.0.2: {} + whatwg-url@5.0.0: dependencies: tr46: 0.0.3 webidl-conversions: 3.0.1 + whatwg-url@7.1.0: + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + which-module@2.0.1: {} which-pm-runs@1.1.0: {} @@ -10687,8 +11229,6 @@ snapshots: ws@8.18.0: {} - xxhash-wasm@1.0.2: {} - xxhash-wasm@1.1.0: {} y18n@4.0.3: {} diff --git a/scripts/release.mjs b/scripts/release.mjs new file mode 100644 index 0000000..e7ae4f5 --- /dev/null +++ b/scripts/release.mjs @@ -0,0 +1,53 @@ +import { spawn } from "node:child_process"; +import { resolve } from "node:path"; + +/** + * + * @param {string} command + * @param {...Array} args + * + * @returns {Promise} + */ +const run = async (command, ...args) => { + const cwd = resolve(); + return new Promise((resolve) => { + const cmd = spawn(command, args, { + stdio: ["inherit", "pipe", "pipe"], // Inherit stdin, pipe stdout, pipe stderr + shell: true, + cwd, + }); + + let output = ""; + + cmd.stdout.on("data", (data) => { + process.stdout.write(data.toString()); + output += data.toString(); + }); + + cmd.stderr.on("data", (data) => { + process.stderr.write(data.toString()); + }); + + cmd.on("close", () => { + resolve(output); + }); + }); +}; + +const main = async () => { + await run("pnpm changeset version"); + await run("git add ."); + await run('git commit -m "chore: update version"'); + await run("git push"); + await run("pnpm --filter desquidex build"); + await run("npm config set registry https://registry.npmjs.org/"); + await run("pnpm changeset publish"); + await run("npm config set registry https://registry.npmmirror.com"); + await run("git push --follow-tags"); + const tag = (await run("git describe --abbrev=0")).replace("\n", ""); + await run( + `gh release create ${tag} --title ${tag} --notes "Please refer to [CHANGELOG.md](https://github.com/sgalcheung/starlight-squidex/blob/main/packages/desquidex/CHANGELOG.md) for details."` + ); +}; + +main();