diff --git a/.changeset/itchy-turkeys-cheat.md b/.changeset/itchy-turkeys-cheat.md new file mode 100644 index 000000000..cf0573ae7 --- /dev/null +++ b/.changeset/itchy-turkeys-cheat.md @@ -0,0 +1,5 @@ +--- +"openapi-fetch": minor +--- + +Build package with unbuild. Also remove the minified version (openapi-fetch is only useful in a TypeScript/bundler environment, so there’s no sense in loading it from a CDN clientside). diff --git a/.changeset/shy-cars-sin.md b/.changeset/shy-cars-sin.md new file mode 100644 index 000000000..941d27741 --- /dev/null +++ b/.changeset/shy-cars-sin.md @@ -0,0 +1,7 @@ +--- +"openapi-react-query": minor +"openapi-typescript": minor +"swr-openapi": minor +--- + +Build package with unbuild to improve CJS support diff --git a/package.json b/package.json index 0f9423af5..f6276d0b8 100644 --- a/package.json +++ b/package.json @@ -19,22 +19,23 @@ "version": "pnpm run build && changeset version && pnpm i" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.18.1", "@biomejs/biome": "^1.9.4", "@changesets/changelog-github": "^0.5.1", "@changesets/cli": "^2.29.2", "@playwright/test": "^1.52.0", "@size-limit/preset-small-lib": "^11.2.0", "@types/node": "^22.15.3", - "del-cli": "^6.0.0", "prettier": "^3.5.3", "size-limit": "^11.2.0", "turbo": "^2.5.2", "typescript": "^5.8.3", + "unbuild": "^3.5.0", "vitest": "^3.1.3" }, "size-limit": [ { - "path": "packages/openapi-fetch/dist/index.min.js", + "path": "packages/openapi-fetch/dist/index.mjs", "limit": "7 kB", "brotli": false } diff --git a/packages/openapi-fetch/.npmignore b/packages/openapi-fetch/.npmignore index 8b5258f82..a2b1fad14 100644 --- a/packages/openapi-fetch/.npmignore +++ b/packages/openapi-fetch/.npmignore @@ -1,4 +1,5 @@ .turbo +*.config.* examples test test-results diff --git a/packages/openapi-fetch/build.config.ts b/packages/openapi-fetch/build.config.ts new file mode 100644 index 000000000..ade617ddf --- /dev/null +++ b/packages/openapi-fetch/build.config.ts @@ -0,0 +1,12 @@ +import { defineBuildConfig } from "unbuild"; + +export default defineBuildConfig({ + entries: ["./src/index.js"], + declaration: "compatible", + clean: true, + sourcemap: true, + rollup: { + // Ship CommonJS-compatible bundle + emitCJS: true, + }, +}); diff --git a/packages/openapi-fetch/examples/vue-3/tsconfig.node.json b/packages/openapi-fetch/examples/vue-3/tsconfig.node.json index f09406303..293b39221 100644 --- a/packages/openapi-fetch/examples/vue-3/tsconfig.node.json +++ b/packages/openapi-fetch/examples/vue-3/tsconfig.node.json @@ -11,7 +11,6 @@ "composite": true, "noEmit": true, "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", - "module": "ESNext", "moduleResolution": "Bundler", "types": ["node"] diff --git a/packages/openapi-fetch/package.json b/packages/openapi-fetch/package.json index 5b514b9ed..afdec8421 100644 --- a/packages/openapi-fetch/package.json +++ b/packages/openapi-fetch/package.json @@ -8,19 +8,12 @@ }, "license": "MIT", "type": "module", - "main": "./dist/index.js", - "module": "./dist/index.js", - "types": "./dist/index.d.ts", + "main": "./dist/index.mjs", "exports": { ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "require": { - "types": "./dist/cjs/index.d.cts", - "default": "./dist/cjs/index.cjs" - } + "import": "./dist/index.mjs", + "require": "./dist/index.cjs", + "default": "./dist/index.mjs" }, "./*": "./*" }, @@ -47,19 +40,18 @@ "svelte" ], "scripts": { - "build": "pnpm run build:clean && pnpm run build:js && pnpm run build:js-min && pnpm run build:cjs", - "build:clean": "del-cli dist", - "build:js": "mkdir -p dist && cp src/* dist", - "build:js-min": "esbuild --bundle src/index.js --format=esm --minify --outfile=dist/index.min.js && cp dist/index.d.ts dist/index.min.d.ts", - "build:cjs": "esbuild --bundle src/index.js --format=cjs --outfile=dist/cjs/index.cjs && cp dist/index.d.ts dist/cjs/index.d.cts", + "build": "unbuild", "format": "biome format . --write", - "lint": "biome check .", + "lint": "pnpm run lint:js && pnpm run lint:ts && pnpm run lint:ts-no-strict", + "lint:js": "biome check .", + "lint:ts": "tsc --noEmit", + "lint:ts-no-strict": "tsc --noEmit -p test/no-strict-null-checks/tsconfig.json", "generate-types": "openapi-typescript -c test/redocly.yaml", + "prepack": "pnpm run build", "pretest": "pnpm run generate-types", - "test": "pnpm run \"/^test:/\"", + "test": "pnpm run test:js && pnpm run test:exports", "test:js": "vitest run", - "test:ts": "tsc --noEmit", - "test:ts-no-strict": "tsc --noEmit -p test/no-strict-null-checks/tsconfig.json", + "test:exports": "pnpm run build && attw --pack .", "test-e2e": "playwright test", "bench:js": "vitest bench", "e2e-vite-build": "vite build test/e2e/app", @@ -71,8 +63,6 @@ }, "devDependencies": { "axios": "^1.9.0", - "del-cli": "^6.0.0", - "esbuild": "^0.25.3", "execa": "^9.5.2", "express": "^5.0.0", "feature-fetch": "^0.0.43", diff --git a/packages/openapi-fetch/test/bench/index.bench.js b/packages/openapi-fetch/test/bench/index.bench.js index 3b03354eb..6055b2b31 100644 --- a/packages/openapi-fetch/test/bench/index.bench.js +++ b/packages/openapi-fetch/test/bench/index.bench.js @@ -3,7 +3,7 @@ import { Fetcher } from "openapi-typescript-fetch"; import { createApiFetchClient } from "feature-fetch"; import superagent from "superagent"; import { afterAll, bench, describe, vi } from "vitest"; -import createClient, { createPathBasedClient } from "../../dist/index.js"; +import createClient, { createPathBasedClient } from "../../dist/index.mjs"; import * as openapiTSCodegen from "./openapi-typescript-codegen.min.js"; const BASE_URL = "https://api.test.local"; diff --git a/packages/openapi-metadata/.npmignore b/packages/openapi-metadata/.npmignore index 57813066e..959bfa5d5 100644 --- a/packages/openapi-metadata/.npmignore +++ b/packages/openapi-metadata/.npmignore @@ -1,4 +1,5 @@ .turbo +*.config.* test tsconfig*.json vitest.config.ts diff --git a/packages/openapi-metadata/build.config.ts b/packages/openapi-metadata/build.config.ts new file mode 100644 index 000000000..3e8522eb7 --- /dev/null +++ b/packages/openapi-metadata/build.config.ts @@ -0,0 +1,20 @@ +import { defineBuildConfig } from "unbuild"; + +export default defineBuildConfig({ + entries: [ + "./src/index.ts", + "./src/decorators/index.ts", + "./src/metadata/index.ts", + "./src/errors/index.ts", + "./src/ui/index.ts", + ], + declaration: "compatible", + clean: true, + sourcemap: true, + rollup: { + // Ship CommonJS-compatible bundle + emitCJS: true, + // Don’t bundle .js files together to more closely match old exports (can remove in next major) + output: { preserveModules: true }, + }, +}); diff --git a/packages/openapi-metadata/package.json b/packages/openapi-metadata/package.json index a2c917c9b..27739a1fd 100644 --- a/packages/openapi-metadata/package.json +++ b/packages/openapi-metadata/package.json @@ -71,7 +71,6 @@ "@vitest/coverage-v8": "^3.1.3", "reflect-metadata": "^0.2.2", "typescript": "^5.8.3", - "unbuild": "^3.5.0", "unplugin-swc": "^1.5.2" } } diff --git a/packages/openapi-metadata/tsconfig.build.json b/packages/openapi-metadata/tsconfig.build.json deleted file mode 100644 index b90fc83e0..000000000 --- a/packages/openapi-metadata/tsconfig.build.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "./tsconfig.json", - "include": ["src"] -} diff --git a/packages/openapi-react-query/.npmignore b/packages/openapi-react-query/.npmignore index 20c0b3b59..d3d855adb 100644 --- a/packages/openapi-react-query/.npmignore +++ b/packages/openapi-react-query/.npmignore @@ -1,4 +1,5 @@ .turbo +*.config.* test vitest.config.ts tsconfig*.json diff --git a/packages/openapi-react-query/build.config.ts b/packages/openapi-react-query/build.config.ts new file mode 100644 index 000000000..a92d707a0 --- /dev/null +++ b/packages/openapi-react-query/build.config.ts @@ -0,0 +1,12 @@ +import { defineBuildConfig } from "unbuild"; + +export default defineBuildConfig({ + entries: ["./src/index.ts"], + declaration: "compatible", + clean: true, + sourcemap: true, + rollup: { + // Ship CommonJS-compatible bundle + emitCJS: true, + }, +}); diff --git a/packages/openapi-react-query/package.json b/packages/openapi-react-query/package.json index 02e9485b3..b3bb2986b 100644 --- a/packages/openapi-react-query/package.json +++ b/packages/openapi-react-query/package.json @@ -8,19 +8,12 @@ }, "license": "MIT", "type": "module", - "main": "./dist/index.js", - "module": "./dist/index.js", - "types": "./dist/index.d.ts", + "main": "./dist/index.mjs", "exports": { ".": { - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "require": { - "types": "./dist/index.d.ts", - "default": "./dist/index.cjs" - } + "import": "./dist/index.mjs", + "require": "./dist/index.cjs", + "default": "./dist/index.mjs" }, "./*": "./*" }, @@ -47,18 +40,17 @@ "tanstack" ], "scripts": { - "build": "pnpm run build:clean && pnpm run build:esm && pnpm run build:cjs", - "build:clean": "del-cli dist", - "build:esm": "tsc -p tsconfig.build.json", - "build:cjs": "esbuild --bundle --platform=node --target=es2019 --outfile=dist/index.cjs --external:typescript src/index.ts", + "build": "unbuild", "dev": "tsc -p tsconfig.build.json --watch", "format": "biome format . --write", - "lint": "biome check .", + "lint": "pnpm run lint:js && pnpm run lint:ts", + "lint:js": "biome check .", + "lint:ts": "tsc --noEmit", "generate-types": "openapi-typescript test/fixtures/api.yaml -o test/fixtures/api.d.ts", - "pretest": "pnpm run generate-types", - "test": "pnpm run \"/^test:/\"", + "prepack": "pnpm run build", + "test": "pnpm run generate-types && pnpm run test:js && pnpm run test:exports", "test:js": "vitest run", - "test:ts": "tsc --noEmit", + "test:exports": "pnpm run build && attw --pack .", "version": "pnpm run prepare && pnpm run build" }, "dependencies": { @@ -69,8 +61,6 @@ "@testing-library/react": "^16.3.0", "@types/react": "18.3.21", "@vitejs/plugin-react": "^4.4.1", - "del-cli": "^6.0.0", - "esbuild": "^0.25.0", "execa": "^9.0.0", "msw": "^2.7.5", "openapi-fetch": "workspace:^", diff --git a/packages/openapi-react-query/tsconfig.build.json b/packages/openapi-react-query/tsconfig.build.json deleted file mode 100644 index b90fc83e0..000000000 --- a/packages/openapi-react-query/tsconfig.build.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "./tsconfig.json", - "include": ["src"] -} diff --git a/packages/openapi-typescript-helpers/.npmignore b/packages/openapi-typescript-helpers/.npmignore index 6ee4588fc..f8f90f0a3 100644 --- a/packages/openapi-typescript-helpers/.npmignore +++ b/packages/openapi-typescript-helpers/.npmignore @@ -1,3 +1,5 @@ .turbo +*.config.* biome.json +src tsconfig*.json diff --git a/packages/openapi-typescript-helpers/build.config.ts b/packages/openapi-typescript-helpers/build.config.ts new file mode 100644 index 000000000..fcba5abaa --- /dev/null +++ b/packages/openapi-typescript-helpers/build.config.ts @@ -0,0 +1,14 @@ +import { defineBuildConfig } from "unbuild"; + +export default defineBuildConfig({ + entries: ["./src/index.ts"], + declaration: "compatible", + clean: true, + sourcemap: true, + rollup: { + // Ship CommonJS-compatible bundle + emitCJS: true, + // Don’t bundle .js files together to more closely match old exports (can remove in next major) + output: { preserveModules: true }, + }, +}); diff --git a/packages/openapi-typescript-helpers/index.cjs b/packages/openapi-typescript-helpers/index.cjs deleted file mode 100644 index 2e4eaeca8..000000000 --- a/packages/openapi-typescript-helpers/index.cjs +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Stub file to allow importing from the root of the package. - */ -module.exports = null; diff --git a/packages/openapi-typescript-helpers/index.js b/packages/openapi-typescript-helpers/index.js deleted file mode 100644 index 6e5f33030..000000000 --- a/packages/openapi-typescript-helpers/index.js +++ /dev/null @@ -1,4 +0,0 @@ -/** - * Stub file to allow importing from the root of the package. - */ -export default null; diff --git a/packages/openapi-typescript-helpers/package.json b/packages/openapi-typescript-helpers/package.json index ec365ab32..77cd2b451 100644 --- a/packages/openapi-typescript-helpers/package.json +++ b/packages/openapi-typescript-helpers/package.json @@ -8,27 +8,15 @@ }, "license": "MIT", "type": "module", - "main": "./index.js", - "types": "./index.d.ts", + "main": "./dist/index.mjs", "exports": { ".": { - "import": { - "types": "./index.d.ts", - "default": "./index.js" - }, - "require": { - "types": "./index.d.cts", - "default": "./index.cjs" - } + "import": "./dist/index.mjs", + "require": "./dist/index.cjs", + "default": "./dist/index.mjs" }, "./*": "./*" }, - "files": [ - "index.js", - "index.cjs", - "index.d.ts", - "index.d.cts" - ], "homepage": "https://openapi-ts.dev", "repository": { "type": "git", @@ -39,10 +27,11 @@ "url": "https://github.com/openapi-ts/openapi-typescript/issues" }, "scripts": { - "build": "cp index.d.ts index.d.cts", - "format": "biome format . --write", - "lint": "biome check .", - "test": "tsc --noEmit" + "build": "unbuild", + "format": "biome format src --write", + "lint": "pnpm run lint:js && pnpm run lint:ts", + "lint:js": "biome check src", + "lint:ts": "tsc --noEmit" }, "devDependencies": { "typescript": "^5.8.3" diff --git a/packages/openapi-typescript-helpers/index.d.ts b/packages/openapi-typescript-helpers/src/index.ts similarity index 99% rename from packages/openapi-typescript-helpers/index.d.ts rename to packages/openapi-typescript-helpers/src/index.ts index 1715c07cc..3c8a004ce 100644 --- a/packages/openapi-typescript-helpers/index.d.ts +++ b/packages/openapi-typescript-helpers/src/index.ts @@ -122,7 +122,7 @@ export type SuccessResponse< Media extends MediaType = MediaType, > = GetResponseContent; -type GetResponseContent< +export type GetResponseContent< T extends Record, Media extends MediaType = MediaType, ResponseCode extends keyof T = keyof T, diff --git a/packages/openapi-typescript-helpers/tsconfig.json b/packages/openapi-typescript-helpers/tsconfig.json index ea5a9e7db..48e008b72 100644 --- a/packages/openapi-typescript-helpers/tsconfig.json +++ b/packages/openapi-typescript-helpers/tsconfig.json @@ -1,8 +1,7 @@ { "extends": "../../tsconfig.json", "compilerOptions": { - "rootDir": ".", "skipLibCheck": false }, - "include": ["."] + "include": ["src"] } diff --git a/packages/openapi-typescript/.npmignore b/packages/openapi-typescript/.npmignore index 0616f3a9c..c66b9f355 100644 --- a/packages/openapi-typescript/.npmignore +++ b/packages/openapi-typescript/.npmignore @@ -1,4 +1,5 @@ .turbo +*.config.* examples/ scripts/ test/ diff --git a/packages/openapi-typescript/bin/cli.js b/packages/openapi-typescript/bin/cli.js index d40bd6606..fea433124 100755 --- a/packages/openapi-typescript/bin/cli.js +++ b/packages/openapi-typescript/bin/cli.js @@ -5,7 +5,7 @@ import fs from "node:fs"; import path from "node:path"; import { performance } from "node:perf_hooks"; import parser from "yargs-parser"; -import openapiTS, { COMMENT_HEADER, astToString, c, error, formatTime, warn } from "../dist/index.js"; +import openapiTS, { COMMENT_HEADER, astToString, c, error, formatTime, warn } from "../dist/index.mjs"; const HELP = `Usage $ openapi-typescript [input] [options] diff --git a/packages/openapi-typescript/build.config.ts b/packages/openapi-typescript/build.config.ts new file mode 100644 index 000000000..fcba5abaa --- /dev/null +++ b/packages/openapi-typescript/build.config.ts @@ -0,0 +1,14 @@ +import { defineBuildConfig } from "unbuild"; + +export default defineBuildConfig({ + entries: ["./src/index.ts"], + declaration: "compatible", + clean: true, + sourcemap: true, + rollup: { + // Ship CommonJS-compatible bundle + emitCJS: true, + // Don’t bundle .js files together to more closely match old exports (can remove in next major) + output: { preserveModules: true }, + }, +}); diff --git a/packages/openapi-typescript/package.json b/packages/openapi-typescript/package.json index 0d6f8a554..159aa80e8 100644 --- a/packages/openapi-typescript/package.json +++ b/packages/openapi-typescript/package.json @@ -11,12 +11,14 @@ "openapi-typescript": "bin/cli.js" }, "type": "module", - "main": "./dist/index.js", + "main": "./dist/index.mjs", "exports": { ".": { - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "import": "./dist/index.mjs", + "require": "./dist/index.cjs", + "default": "./dist/index.mjs" }, + "./*.js": "./*.mjs", "./*": "./*" }, "homepage": "https://openapi-ts.dev", @@ -40,18 +42,18 @@ "url": "https://github.com/openapi-ts/openapi-typescript/issues" }, "scripts": { - "build": "pnpm run build:clean && pnpm run build:esm && pnpm run build:cjs", - "build:clean": "del-cli dist", - "build:esm": "tsc -p tsconfig.build.json", - "build:cjs": "esbuild --bundle --platform=node --target=es2019 --outfile=dist/index.cjs --external:@redocly/ajv --external:@redocly/openapi-core --external:typescript src/index.ts", + "build": "unbuild", "dev": "tsc -p tsconfig.build.json --watch", "download:schemas": "vite-node ./scripts/download-schemas.ts", "format": "biome format . --write", - "lint": "biome check .", - "test": "pnpm run \"/^test:/\"", - "test:examples": "tsc -p tsconfig.examples.json --noEmit", + "lint": "pnpm run lint:js && pnpm run lint:ts", + "lint:js": "biome check .", + "lint:ts": "tsc --noEmit", + "prepack": "pnpm run build", + "test": "pnpm run test:js && pnpm run test:examples && pnpm run test:exports", "test:js": "vitest run", - "test:ts": "tsc --noEmit", + "test:exports": "pnpm run build && attw --pack .", + "test:examples": "tsc -p tsconfig.examples.json --noEmit", "update:examples": "pnpm run build && pnpm run download:schemas && vite-node ./scripts/update-examples.ts", "prepublish": "pnpm run build", "version": "pnpm run build" @@ -60,7 +62,7 @@ "typescript": "^5.x" }, "dependencies": { - "@redocly/openapi-core": "^1.34.2", + "@redocly/openapi-core": "^1.34.3", "ansi-colors": "^4.1.3", "change-case": "^5.4.4", "parse-json": "^8.3.0", @@ -71,11 +73,9 @@ "@types/degit": "^2.8.6", "@types/js-yaml": "^4.0.9", "degit": "^2.8.4", - "del-cli": "^6.0.0", - "esbuild": "^0.25.0", - "execa": "^9.0.0", + "execa": "^9.5.3", "strip-ansi": "^7.1.0", "typescript": "^5.8.3", - "vite-node": "^3.0.0" + "vite-node": "^3.1.3" } } diff --git a/packages/openapi-typescript/tsconfig.build.json b/packages/openapi-typescript/tsconfig.build.json deleted file mode 100644 index e0f85712e..000000000 --- a/packages/openapi-typescript/tsconfig.build.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "module": "ES2022", - "moduleResolution": "Node" - }, - "exclude": ["scripts", "test", "*.ts"] -} diff --git a/packages/swr-openapi/.npmignore b/packages/swr-openapi/.npmignore new file mode 100644 index 000000000..17775deea --- /dev/null +++ b/packages/swr-openapi/.npmignore @@ -0,0 +1,4 @@ +.turbo +*.config.* +biome.json +tsconfig*.json diff --git a/packages/swr-openapi/build.config.ts b/packages/swr-openapi/build.config.ts new file mode 100644 index 000000000..a92d707a0 --- /dev/null +++ b/packages/swr-openapi/build.config.ts @@ -0,0 +1,12 @@ +import { defineBuildConfig } from "unbuild"; + +export default defineBuildConfig({ + entries: ["./src/index.ts"], + declaration: "compatible", + clean: true, + sourcemap: true, + rollup: { + // Ship CommonJS-compatible bundle + emitCJS: true, + }, +}); diff --git a/packages/swr-openapi/package.json b/packages/swr-openapi/package.json index 5e4253fce..1e8782a37 100644 --- a/packages/swr-openapi/package.json +++ b/packages/swr-openapi/package.json @@ -8,10 +8,14 @@ }, "license": "MIT", "type": "module", - "main": "dist/index.js", + "main": "./dist/index.mjs", "exports": { - "import": "./dist/index.js", - "types": "./dist/index.d.ts" + ".": { + "import": "./dist/index.mjs", + "require": "./dist/index.cjs", + "default": "./dist/index.mjs" + }, + "./package.json": "./package.json" }, "sideEffects": false, "repository": { @@ -42,16 +46,16 @@ "README.md" ], "scripts": { - "build": "pnpm run build:clean && pnpm run build:esm", - "build:clean": "del-cli dist", - "build:esm": "tsc -p tsconfig.build.json", + "build": "unbuild", "dev": "vitest --typecheck", "format": "biome format . --write", - "lint": "biome check .", - "test": "pnpm run --sequential \"/^test:/\"", + "lint": "pnpm run lint:js && pnpm run lint:ts", + "lint:js": "biome check .", + "lint:ts": "tsc --noEmit", + "prepack": "pnpm run build", + "test": "pnpm run test:js && pnpm run test:exports", "test:js": "vitest run --typecheck", - "test:ts": "tsc --noEmit", - "test:exports": "pnpm run build && attw --pack . --ignore-rules=cjs-resolves-to-esm", + "test:exports": "pnpm run build && attw --pack .", "prepublish": "pnpm run build", "version": "pnpm run build" }, @@ -72,10 +76,8 @@ "type-fest": "^4.40.1" }, "devDependencies": { - "@arethetypeswrong/cli": "^0.18.0", "@types/lodash": "^4.17.16", "@types/react": "^18.3.20", - "del-cli": "^6.0.0", "husky": "^9.1.7", "lint-staged": "15.5.2", "lodash": "^4.17.21", diff --git a/packages/swr-openapi/tsconfig.build.json b/packages/swr-openapi/tsconfig.build.json deleted file mode 100644 index 15247a8f8..000000000 --- a/packages/swr-openapi/tsconfig.build.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - "outDir": "dist", - "rootDir": "src", - "noEmit": false - }, - "include": ["src"], - "exclude": ["src/**/*.test.*", "**/__test__/*"] -} diff --git a/packages/swr-openapi/tsconfig.json b/packages/swr-openapi/tsconfig.json index 89eb0630c..ae36afe11 100644 --- a/packages/swr-openapi/tsconfig.json +++ b/packages/swr-openapi/tsconfig.json @@ -20,7 +20,6 @@ "module": "NodeNext", "moduleResolution": "nodenext", // "outDir": "dist", - // "rootDir": "src", "sourceMap": true, /* AND if you're building for a library: */ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 463b041a9..2ac352226 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ importers: .: devDependencies: + '@arethetypeswrong/cli': + specifier: ^0.18.1 + version: 0.18.1 '@biomejs/biome': specifier: ^1.9.4 version: 1.9.4 @@ -26,9 +29,6 @@ importers: '@types/node': specifier: ^22.15.3 version: 22.15.17 - del-cli: - specifier: ^6.0.0 - version: 6.0.0 prettier: specifier: ^3.5.3 version: 3.5.3 @@ -41,6 +41,9 @@ importers: typescript: specifier: ^5.8.3 version: 5.8.3 + unbuild: + specifier: ^3.5.0 + version: 3.5.0(typescript@5.8.3)(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3)) vitest: specifier: ^3.1.3 version: 3.1.3(@types/debug@4.1.12)(@types/node@22.15.17)(jiti@2.4.2)(jsdom@20.0.3)(msw@2.8.2(@types/node@22.15.17)(typescript@5.8.3))(yaml@2.7.1) @@ -69,12 +72,6 @@ importers: axios: specifier: ^1.9.0 version: 1.9.0 - del-cli: - specifier: ^6.0.0 - version: 6.0.0 - esbuild: - specifier: ^0.25.3 - version: 0.25.4 execa: specifier: ^9.5.2 version: 9.5.3 @@ -104,7 +101,7 @@ importers: version: 5.8.3 undici: specifier: ^7.0.0 - version: 7.8.0 + version: 7.9.0 vite: specifier: ^6.3.4 version: 6.3.5(@types/node@22.15.17)(jiti@2.4.2)(yaml@2.7.1) @@ -229,12 +226,9 @@ importers: typescript: specifier: ^5.8.3 version: 5.8.3 - unbuild: - specifier: ^3.5.0 - version: 3.5.0(typescript@5.8.3)(vue-tsc@2.2.10(typescript@5.8.3))(vue@3.5.13(typescript@5.8.3)) unplugin-swc: specifier: ^1.5.2 - version: 1.5.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(rollup@4.40.1) + version: 1.5.2(@swc/core@1.11.24)(rollup@4.40.1) packages/openapi-react-query: dependencies: @@ -254,12 +248,6 @@ importers: '@vitejs/plugin-react': specifier: ^4.4.1 version: 4.4.1(vite@6.3.5(@types/node@22.15.17)(jiti@2.4.2)(yaml@2.7.1)) - del-cli: - specifier: ^6.0.0 - version: 6.0.0 - esbuild: - specifier: ^0.25.0 - version: 0.25.4 execa: specifier: ^9.0.0 version: 9.5.3 @@ -282,7 +270,7 @@ importers: packages/openapi-typescript: dependencies: '@redocly/openapi-core': - specifier: ^1.34.2 + specifier: ^1.34.3 version: 1.34.3(supports-color@10.0.0) ansi-colors: specifier: ^4.1.3 @@ -309,14 +297,8 @@ importers: degit: specifier: ^2.8.4 version: 2.8.4 - del-cli: - specifier: ^6.0.0 - version: 6.0.0 - esbuild: - specifier: ^0.25.0 - version: 0.25.4 execa: - specifier: ^9.0.0 + specifier: ^9.5.3 version: 9.5.3 strip-ansi: specifier: ^7.1.0 @@ -325,7 +307,7 @@ importers: specifier: ^5.8.3 version: 5.8.3 vite-node: - specifier: ^3.0.0 + specifier: ^3.1.3 version: 3.1.3(@types/node@22.15.17)(jiti@2.4.2)(supports-color@10.0.0)(yaml@2.7.1) packages/openapi-typescript-helpers: @@ -343,18 +325,12 @@ importers: specifier: ^4.40.1 version: 4.41.0 devDependencies: - '@arethetypeswrong/cli': - specifier: ^0.18.0 - version: 0.18.1 '@types/lodash': specifier: ^4.17.16 version: 4.17.16 '@types/react': specifier: ^18.3.20 version: 18.3.21 - del-cli: - specifier: ^6.0.0 - version: 6.0.0 husky: specifier: ^9.1.7 version: 9.1.7 @@ -737,12 +713,6 @@ packages: cpu: [ppc64] os: [aix] - '@esbuild/aix-ppc64@0.25.3': - resolution: {integrity: sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [aix] - '@esbuild/aix-ppc64@0.25.4': resolution: {integrity: sha512-1VCICWypeQKhVbE9oW/sJaAmjLxhVqacdkvPLEjwlttjfwENRSClS8EjBz0KzRyFSCPDIkuXW34Je/vk7zdB7Q==} engines: {node: '>=18'} @@ -755,12 +725,6 @@ packages: cpu: [arm64] os: [android] - '@esbuild/android-arm64@0.25.3': - resolution: {integrity: sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==} - engines: {node: '>=18'} - cpu: [arm64] - os: [android] - '@esbuild/android-arm64@0.25.4': resolution: {integrity: sha512-bBy69pgfhMGtCnwpC/x5QhfxAz/cBgQ9enbtwjf6V9lnPI/hMyT9iWpR1arm0l3kttTr4L0KSLpKmLp/ilKS9A==} engines: {node: '>=18'} @@ -773,12 +737,6 @@ packages: cpu: [arm] os: [android] - '@esbuild/android-arm@0.25.3': - resolution: {integrity: sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==} - engines: {node: '>=18'} - cpu: [arm] - os: [android] - '@esbuild/android-arm@0.25.4': resolution: {integrity: sha512-QNdQEps7DfFwE3hXiU4BZeOV68HHzYwGd0Nthhd3uCkkEKK7/R6MTgM0P7H7FAs5pU/DIWsviMmEGxEoxIZ+ZQ==} engines: {node: '>=18'} @@ -791,12 +749,6 @@ packages: cpu: [x64] os: [android] - '@esbuild/android-x64@0.25.3': - resolution: {integrity: sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==} - engines: {node: '>=18'} - cpu: [x64] - os: [android] - '@esbuild/android-x64@0.25.4': resolution: {integrity: sha512-TVhdVtQIFuVpIIR282btcGC2oGQoSfZfmBdTip2anCaVYcqWlZXGcdcKIUklfX2wj0JklNYgz39OBqh2cqXvcQ==} engines: {node: '>=18'} @@ -809,12 +761,6 @@ packages: cpu: [arm64] os: [darwin] - '@esbuild/darwin-arm64@0.25.3': - resolution: {integrity: sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==} - engines: {node: '>=18'} - cpu: [arm64] - os: [darwin] - '@esbuild/darwin-arm64@0.25.4': resolution: {integrity: sha512-Y1giCfM4nlHDWEfSckMzeWNdQS31BQGs9/rouw6Ub91tkK79aIMTH3q9xHvzH8d0wDru5Ci0kWB8b3up/nl16g==} engines: {node: '>=18'} @@ -827,12 +773,6 @@ packages: cpu: [x64] os: [darwin] - '@esbuild/darwin-x64@0.25.3': - resolution: {integrity: sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==} - engines: {node: '>=18'} - cpu: [x64] - os: [darwin] - '@esbuild/darwin-x64@0.25.4': resolution: {integrity: sha512-CJsry8ZGM5VFVeyUYB3cdKpd/H69PYez4eJh1W/t38vzutdjEjtP7hB6eLKBoOdxcAlCtEYHzQ/PJ/oU9I4u0A==} engines: {node: '>=18'} @@ -845,12 +785,6 @@ packages: cpu: [arm64] os: [freebsd] - '@esbuild/freebsd-arm64@0.25.3': - resolution: {integrity: sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==} - engines: {node: '>=18'} - cpu: [arm64] - os: [freebsd] - '@esbuild/freebsd-arm64@0.25.4': resolution: {integrity: sha512-yYq+39NlTRzU2XmoPW4l5Ifpl9fqSk0nAJYM/V/WUGPEFfek1epLHJIkTQM6bBs1swApjO5nWgvr843g6TjxuQ==} engines: {node: '>=18'} @@ -863,12 +797,6 @@ packages: cpu: [x64] os: [freebsd] - '@esbuild/freebsd-x64@0.25.3': - resolution: {integrity: sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==} - engines: {node: '>=18'} - cpu: [x64] - os: [freebsd] - '@esbuild/freebsd-x64@0.25.4': resolution: {integrity: sha512-0FgvOJ6UUMflsHSPLzdfDnnBBVoCDtBTVyn/MrWloUNvq/5SFmh13l3dvgRPkDihRxb77Y17MbqbCAa2strMQQ==} engines: {node: '>=18'} @@ -881,12 +809,6 @@ packages: cpu: [arm64] os: [linux] - '@esbuild/linux-arm64@0.25.3': - resolution: {integrity: sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==} - engines: {node: '>=18'} - cpu: [arm64] - os: [linux] - '@esbuild/linux-arm64@0.25.4': resolution: {integrity: sha512-+89UsQTfXdmjIvZS6nUnOOLoXnkUTB9hR5QAeLrQdzOSWZvNSAXAtcRDHWtqAUtAmv7ZM1WPOOeSxDzzzMogiQ==} engines: {node: '>=18'} @@ -899,12 +821,6 @@ packages: cpu: [arm] os: [linux] - '@esbuild/linux-arm@0.25.3': - resolution: {integrity: sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==} - engines: {node: '>=18'} - cpu: [arm] - os: [linux] - '@esbuild/linux-arm@0.25.4': resolution: {integrity: sha512-kro4c0P85GMfFYqW4TWOpvmF8rFShbWGnrLqlzp4X1TNWjRY3JMYUfDCtOxPKOIY8B0WC8HN51hGP4I4hz4AaQ==} engines: {node: '>=18'} @@ -917,12 +833,6 @@ packages: cpu: [ia32] os: [linux] - '@esbuild/linux-ia32@0.25.3': - resolution: {integrity: sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==} - engines: {node: '>=18'} - cpu: [ia32] - os: [linux] - '@esbuild/linux-ia32@0.25.4': resolution: {integrity: sha512-yTEjoapy8UP3rv8dB0ip3AfMpRbyhSN3+hY8mo/i4QXFeDxmiYbEKp3ZRjBKcOP862Ua4b1PDfwlvbuwY7hIGQ==} engines: {node: '>=18'} @@ -935,12 +845,6 @@ packages: cpu: [loong64] os: [linux] - '@esbuild/linux-loong64@0.25.3': - resolution: {integrity: sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==} - engines: {node: '>=18'} - cpu: [loong64] - os: [linux] - '@esbuild/linux-loong64@0.25.4': resolution: {integrity: sha512-NeqqYkrcGzFwi6CGRGNMOjWGGSYOpqwCjS9fvaUlX5s3zwOtn1qwg1s2iE2svBe4Q/YOG1q6875lcAoQK/F4VA==} engines: {node: '>=18'} @@ -953,12 +857,6 @@ packages: cpu: [mips64el] os: [linux] - '@esbuild/linux-mips64el@0.25.3': - resolution: {integrity: sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==} - engines: {node: '>=18'} - cpu: [mips64el] - os: [linux] - '@esbuild/linux-mips64el@0.25.4': resolution: {integrity: sha512-IcvTlF9dtLrfL/M8WgNI/qJYBENP3ekgsHbYUIzEzq5XJzzVEV/fXY9WFPfEEXmu3ck2qJP8LG/p3Q8f7Zc2Xg==} engines: {node: '>=18'} @@ -971,12 +869,6 @@ packages: cpu: [ppc64] os: [linux] - '@esbuild/linux-ppc64@0.25.3': - resolution: {integrity: sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==} - engines: {node: '>=18'} - cpu: [ppc64] - os: [linux] - '@esbuild/linux-ppc64@0.25.4': resolution: {integrity: sha512-HOy0aLTJTVtoTeGZh4HSXaO6M95qu4k5lJcH4gxv56iaycfz1S8GO/5Jh6X4Y1YiI0h7cRyLi+HixMR+88swag==} engines: {node: '>=18'} @@ -989,12 +881,6 @@ packages: cpu: [riscv64] os: [linux] - '@esbuild/linux-riscv64@0.25.3': - resolution: {integrity: sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==} - engines: {node: '>=18'} - cpu: [riscv64] - os: [linux] - '@esbuild/linux-riscv64@0.25.4': resolution: {integrity: sha512-i8JUDAufpz9jOzo4yIShCTcXzS07vEgWzyX3NH2G7LEFVgrLEhjwL3ajFE4fZI3I4ZgiM7JH3GQ7ReObROvSUA==} engines: {node: '>=18'} @@ -1007,12 +893,6 @@ packages: cpu: [s390x] os: [linux] - '@esbuild/linux-s390x@0.25.3': - resolution: {integrity: sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==} - engines: {node: '>=18'} - cpu: [s390x] - os: [linux] - '@esbuild/linux-s390x@0.25.4': resolution: {integrity: sha512-jFnu+6UbLlzIjPQpWCNh5QtrcNfMLjgIavnwPQAfoGx4q17ocOU9MsQ2QVvFxwQoWpZT8DvTLooTvmOQXkO51g==} engines: {node: '>=18'} @@ -1025,24 +905,12 @@ packages: cpu: [x64] os: [linux] - '@esbuild/linux-x64@0.25.3': - resolution: {integrity: sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==} - engines: {node: '>=18'} - cpu: [x64] - os: [linux] - '@esbuild/linux-x64@0.25.4': resolution: {integrity: sha512-6e0cvXwzOnVWJHq+mskP8DNSrKBr1bULBvnFLpc1KY+d+irZSgZ02TGse5FsafKS5jg2e4pbvK6TPXaF/A6+CA==} engines: {node: '>=18'} cpu: [x64] os: [linux] - '@esbuild/netbsd-arm64@0.25.3': - resolution: {integrity: sha512-1QaLtOWq0mzK6tzzp0jRN3eccmN3hezey7mhLnzC6oNlJoUJz4nym5ZD7mDnS/LZQgkrhEbEiTn515lPeLpgWA==} - engines: {node: '>=18'} - cpu: [arm64] - os: [netbsd] - '@esbuild/netbsd-arm64@0.25.4': resolution: {integrity: sha512-vUnkBYxZW4hL/ie91hSqaSNjulOnYXE1VSLusnvHg2u3jewJBz3YzB9+oCw8DABeVqZGg94t9tyZFoHma8gWZQ==} engines: {node: '>=18'} @@ -1055,24 +923,12 @@ packages: cpu: [x64] os: [netbsd] - '@esbuild/netbsd-x64@0.25.3': - resolution: {integrity: sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==} - engines: {node: '>=18'} - cpu: [x64] - os: [netbsd] - '@esbuild/netbsd-x64@0.25.4': resolution: {integrity: sha512-XAg8pIQn5CzhOB8odIcAm42QsOfa98SBeKUdo4xa8OvX8LbMZqEtgeWE9P/Wxt7MlG2QqvjGths+nq48TrUiKw==} engines: {node: '>=18'} cpu: [x64] os: [netbsd] - '@esbuild/openbsd-arm64@0.25.3': - resolution: {integrity: sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==} - engines: {node: '>=18'} - cpu: [arm64] - os: [openbsd] - '@esbuild/openbsd-arm64@0.25.4': resolution: {integrity: sha512-Ct2WcFEANlFDtp1nVAXSNBPDxyU+j7+tId//iHXU2f/lN5AmO4zLyhDcpR5Cz1r08mVxzt3Jpyt4PmXQ1O6+7A==} engines: {node: '>=18'} @@ -1085,12 +941,6 @@ packages: cpu: [x64] os: [openbsd] - '@esbuild/openbsd-x64@0.25.3': - resolution: {integrity: sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==} - engines: {node: '>=18'} - cpu: [x64] - os: [openbsd] - '@esbuild/openbsd-x64@0.25.4': resolution: {integrity: sha512-xAGGhyOQ9Otm1Xu8NT1ifGLnA6M3sJxZ6ixylb+vIUVzvvd6GOALpwQrYrtlPouMqd/vSbgehz6HaVk4+7Afhw==} engines: {node: '>=18'} @@ -1103,12 +953,6 @@ packages: cpu: [x64] os: [sunos] - '@esbuild/sunos-x64@0.25.3': - resolution: {integrity: sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==} - engines: {node: '>=18'} - cpu: [x64] - os: [sunos] - '@esbuild/sunos-x64@0.25.4': resolution: {integrity: sha512-Mw+tzy4pp6wZEK0+Lwr76pWLjrtjmJyUB23tHKqEDP74R3q95luY/bXqXZeYl4NYlvwOqoRKlInQialgCKy67Q==} engines: {node: '>=18'} @@ -1121,12 +965,6 @@ packages: cpu: [arm64] os: [win32] - '@esbuild/win32-arm64@0.25.3': - resolution: {integrity: sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==} - engines: {node: '>=18'} - cpu: [arm64] - os: [win32] - '@esbuild/win32-arm64@0.25.4': resolution: {integrity: sha512-AVUP428VQTSddguz9dO9ngb+E5aScyg7nOeJDrF1HPYu555gmza3bDGMPhmVXL8svDSoqPCsCPjb265yG/kLKQ==} engines: {node: '>=18'} @@ -1139,12 +977,6 @@ packages: cpu: [ia32] os: [win32] - '@esbuild/win32-ia32@0.25.3': - resolution: {integrity: sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==} - engines: {node: '>=18'} - cpu: [ia32] - os: [win32] - '@esbuild/win32-ia32@0.25.4': resolution: {integrity: sha512-i1sW+1i+oWvQzSgfRcxxG2k4I9n3O9NRqy8U+uugaT2Dy7kLO9Y7wI72haOahxceMX8hZAzgGou1FhndRldxRg==} engines: {node: '>=18'} @@ -1157,12 +989,6 @@ packages: cpu: [x64] os: [win32] - '@esbuild/win32-x64@0.25.3': - resolution: {integrity: sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==} - engines: {node: '>=18'} - cpu: [x64] - os: [win32] - '@esbuild/win32-x64@0.25.4': resolution: {integrity: sha512-nOT2vZNw6hJ+z43oP1SPea/G/6AbN6X+bGNhNuq8NtRHy4wsMhw765IKLNmnjek7GvjWBYQ8Q5VBoYTFg9y1UQ==} engines: {node: '>=18'} @@ -1685,10 +1511,6 @@ packages: resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} - '@sindresorhus/merge-streams@2.3.0': - resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} - engines: {node: '>=18'} - '@sindresorhus/merge-streams@4.0.0': resolution: {integrity: sha512-tlqY9xq5ukxTUZBmoOp+m61cqwQD5pHJtFY3Mn8CA8ps6yghLH/Hw8UPdqg4OLmFW3IFlcXnQNmo/dh8HzXYIQ==} engines: {node: '>=18'} @@ -1744,71 +1566,71 @@ packages: svelte: ^5.0.0 vite: ^6.0.0 - '@swc/core-darwin-arm64@1.10.4': - resolution: {integrity: sha512-sV/eurLhkjn/197y48bxKP19oqcLydSel42Qsy2zepBltqUx+/zZ8+/IS0Bi7kaWVFxerbW1IPB09uq8Zuvm3g==} + '@swc/core-darwin-arm64@1.11.24': + resolution: {integrity: sha512-dhtVj0PC1APOF4fl5qT2neGjRLgHAAYfiVP8poJelhzhB/318bO+QCFWAiimcDoyMgpCXOhTp757gnoJJrheWA==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] - '@swc/core-darwin-x64@1.10.4': - resolution: {integrity: sha512-gjYNU6vrAUO4+FuovEo9ofnVosTFXkF0VDuo1MKPItz6e2pxc2ale4FGzLw0Nf7JB1sX4a8h06CN16/pLJ8Q2w==} + '@swc/core-darwin-x64@1.11.24': + resolution: {integrity: sha512-H/3cPs8uxcj2Fe3SoLlofN5JG6Ny5bl8DuZ6Yc2wr7gQFBmyBkbZEz+sPVgsID7IXuz7vTP95kMm1VL74SO5AQ==} engines: {node: '>=10'} cpu: [x64] os: [darwin] - '@swc/core-linux-arm-gnueabihf@1.10.4': - resolution: {integrity: sha512-zd7fXH5w8s+Sfvn2oO464KDWl+ZX1MJiVmE4Pdk46N3PEaNwE0koTfgx2vQRqRG4vBBobzVvzICC3618WcefOA==} + '@swc/core-linux-arm-gnueabihf@1.11.24': + resolution: {integrity: sha512-PHJgWEpCsLo/NGj+A2lXZ2mgGjsr96ULNW3+T3Bj2KTc8XtMUkE8tmY2Da20ItZOvPNC/69KroU7edyo1Flfbw==} engines: {node: '>=10'} cpu: [arm] os: [linux] - '@swc/core-linux-arm64-gnu@1.10.4': - resolution: {integrity: sha512-+UGfoHDxsMZgFD3tABKLeEZHqLNOkxStu+qCG7atGBhS4Slri6h6zijVvf4yI5X3kbXdvc44XV/hrP/Klnui2A==} + '@swc/core-linux-arm64-gnu@1.11.24': + resolution: {integrity: sha512-C2FJb08+n5SD4CYWCTZx1uR88BN41ZieoHvI8A55hfVf2woT8+6ZiBzt74qW2g+ntZ535Jts5VwXAKdu41HpBg==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-arm64-musl@1.10.4': - resolution: {integrity: sha512-cDDj2/uYsOH0pgAnDkovLZvKJpFmBMyXkxEG6Q4yw99HbzO6QzZ5HDGWGWVq/6dLgYKlnnmpjZCPPQIu01mXEg==} + '@swc/core-linux-arm64-musl@1.11.24': + resolution: {integrity: sha512-ypXLIdszRo0re7PNNaXN0+2lD454G8l9LPK/rbfRXnhLWDBPURxzKlLlU/YGd2zP98wPcVooMmegRSNOKfvErw==} engines: {node: '>=10'} cpu: [arm64] os: [linux] - '@swc/core-linux-x64-gnu@1.10.4': - resolution: {integrity: sha512-qJXh9D6Kf5xSdGWPINpLGixAbB5JX8JcbEJpRamhlDBoOcQC79dYfOMEIxWPhTS1DGLyFakAx2FX/b2VmQmj0g==} + '@swc/core-linux-x64-gnu@1.11.24': + resolution: {integrity: sha512-IM7d+STVZD48zxcgo69L0yYptfhaaE9cMZ+9OoMxirNafhKKXwoZuufol1+alEFKc+Wbwp+aUPe/DeWC/Lh3dg==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-linux-x64-musl@1.10.4': - resolution: {integrity: sha512-A76lIAeyQnHCVt0RL/pG+0er8Qk9+acGJqSZOZm67Ve3B0oqMd871kPtaHBM0BW3OZAhoILgfHW3Op9Q3mx3Cw==} + '@swc/core-linux-x64-musl@1.11.24': + resolution: {integrity: sha512-DZByJaMVzSfjQKKQn3cqSeqwy6lpMaQDQQ4HPlch9FWtDx/dLcpdIhxssqZXcR2rhaQVIaRQsCqwV6orSDGAGw==} engines: {node: '>=10'} cpu: [x64] os: [linux] - '@swc/core-win32-arm64-msvc@1.10.4': - resolution: {integrity: sha512-e6j5kBu4fIY7fFxFxnZI0MlEovRvp50Lg59Fw+DVbtqHk3C85dckcy5xKP+UoXeuEmFceauQDczUcGs19SRGSQ==} + '@swc/core-win32-arm64-msvc@1.11.24': + resolution: {integrity: sha512-Q64Ytn23y9aVDKN5iryFi8mRgyHw3/kyjTjT4qFCa8AEb5sGUuSj//AUZ6c0J7hQKMHlg9do5Etvoe61V98/JQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] - '@swc/core-win32-ia32-msvc@1.10.4': - resolution: {integrity: sha512-RSYHfdKgNXV/amY5Tqk1EWVsyQnhlsM//jeqMLw5Fy9rfxP592W9UTumNikNRPdjI8wKKzNMXDb1U29tQjN0dg==} + '@swc/core-win32-ia32-msvc@1.11.24': + resolution: {integrity: sha512-9pKLIisE/Hh2vJhGIPvSoTK4uBSPxNVyXHmOrtdDot4E1FUUI74Vi8tFdlwNbaj8/vusVnb8xPXsxF1uB0VgiQ==} engines: {node: '>=10'} cpu: [ia32] os: [win32] - '@swc/core-win32-x64-msvc@1.10.4': - resolution: {integrity: sha512-1ujYpaqfqNPYdwKBlvJnOqcl+Syn3UrQ4XE0Txz6zMYgyh6cdU6a3pxqLqIUSJ12MtXRA9ZUhEz1ekU3LfLWXw==} + '@swc/core-win32-x64-msvc@1.11.24': + resolution: {integrity: sha512-sybnXtOsdB+XvzVFlBVGgRHLqp3yRpHK7CrmpuDKszhj/QhmsaZzY/GHSeALlMtLup13M0gqbcQvsTNlAHTg3w==} engines: {node: '>=10'} cpu: [x64] os: [win32] - '@swc/core@1.10.4': - resolution: {integrity: sha512-ut3zfiTLORMxhr6y/GBxkHmzcGuVpwJYX4qyXWuBKkpw/0g0S5iO1/wW7RnLnZbAi8wS/n0atRZoaZlXWBkeJg==} + '@swc/core@1.11.24': + resolution: {integrity: sha512-MaQEIpfcEMzx3VWWopbofKJvaraqmL6HbLlw2bFZ7qYqYw3rkhM0cQVEgyzbHtTWwCwPMFZSC2DUbhlZgrMfLg==} engines: {node: '>=10'} peerDependencies: - '@swc/helpers': '*' + '@swc/helpers': '>=0.5.17' peerDependenciesMeta: '@swc/helpers': optional: true @@ -2320,8 +2142,8 @@ packages: caniuse-api@3.0.0: resolution: {integrity: sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==} - caniuse-lite@1.0.30001716: - resolution: {integrity: sha512-49/c1+x3Kwz7ZIWt+4DvK3aMJy9oYXXG6/97JKsnjdCk/6n9vVyWL8NAwVt95Lwt9eigI10Hl782kDfZUUlRXw==} + caniuse-lite@1.0.30001717: + resolution: {integrity: sha512-auPpttCq6BDEG8ZAuHJIplGw6GODhjw+/11e7IjpnYCxZcW/ONgPs0KVBJ0d1bY3e2+7PRe5RCLyP+PfwVgkYw==} ccount@2.0.1: resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==} @@ -2615,15 +2437,6 @@ packages: engines: {node: '>=8.0.0'} hasBin: true - del-cli@6.0.0: - resolution: {integrity: sha512-9nitGV2W6KLFyya4qYt4+9AKQFL+c0Ehj5K7V7IwlxTc6RMCfQUGY9E9pLG6e8TQjtwXpuiWIGGZb3mfVxyZkw==} - engines: {node: '>=18'} - hasBin: true - - del@8.0.0: - resolution: {integrity: sha512-R6ep6JJ+eOBZsBr9esiNN1gxFbZE4Q2cULkUSFumGYecAiS6qodDvcPx/sFuWHMNul7DWmrtoEOpYSm7o6tbSA==} - engines: {node: '>=18'} - delayed-stream@1.0.0: resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} @@ -2757,11 +2570,6 @@ packages: engines: {node: '>=12'} hasBin: true - esbuild@0.25.3: - resolution: {integrity: sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==} - engines: {node: '>=18'} - hasBin: true - esbuild@0.25.4: resolution: {integrity: sha512-8pgjLUcUjcgDg+2Q4NYXnPbo/vncAY4UmyaCm0jZevERqCHZIaWwdJHkf8XQtu4AxSKCdvrUbT0XUr1IdZzI8Q==} engines: {node: '>=18'} @@ -3007,10 +2815,6 @@ packages: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} - globby@14.1.0: - resolution: {integrity: sha512-0Ia46fDOaT7k4og1PDW4YbodWWr3scS2vAr2lTbsplOt2WkKp0vQbkI9wKis/T5LV/dqPjO3bpS/z6GTJB82LA==} - engines: {node: '>=18'} - gopd@1.2.0: resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} engines: {node: '>= 0.4'} @@ -3117,10 +2921,6 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} - ignore@7.0.4: - resolution: {integrity: sha512-gJzzk+PQNznz8ysRrC0aOkBNVRBDtE1n53IqyqEf3PXrYwomFs5q4pGMizBMJF+ykh03insJ27hB8gSrD2Hn8A==} - engines: {node: '>= 4'} - import-meta-resolve@4.1.0: resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} @@ -3180,14 +2980,6 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-path-cwd@3.0.0: - resolution: {integrity: sha512-kyiNFFLU0Ampr6SDZitD/DwUo4Zs1nSdnygUBqsu3LooL00Qvb5j+UnvApUn/TTj1J3OuE6BTdQ5rudKmU2ZaA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - - is-path-inside@4.0.0: - resolution: {integrity: sha512-lJJV/5dYS+RcL8uQdBDW9c9uWFLLBNRyFhnAKXw5tVqLlKZ4RMGZKv+YQ/IA3OhD+RpbJa1LLFM1FQPGyIXvOA==} - engines: {node: '>=12'} - is-plain-obj@4.1.0: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} @@ -3449,10 +3241,6 @@ packages: resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==} engines: {node: '>= 0.8'} - meow@13.2.0: - resolution: {integrity: sha512-pxQJQzB6djGPXh08dacEloMFopsOqGVRKFPYvPOt9XDZ1HasbgDZA74CJGreSU4G3Ak7EFJGoiH2auq+yXISgA==} - engines: {node: '>=18'} - merge-descriptors@2.0.0: resolution: {integrity: sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==} engines: {node: '>=18'} @@ -3803,10 +3591,6 @@ packages: resolution: {integrity: sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==} engines: {node: '>=6'} - p-map@7.0.3: - resolution: {integrity: sha512-VkndIv2fIB99swvQoA65bm+fsmt6UNdGeIB0oxBs+WhAhdh08QA04JXpI7rbB9r08/nkbysKoya9rtDERYOYMA==} - engines: {node: '>=18'} - p-try@2.2.0: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} @@ -3878,10 +3662,6 @@ packages: resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} engines: {node: '>=8'} - path-type@6.0.0: - resolution: {integrity: sha512-Vj7sf++t5pBD637NSfkxpHSMfWaeig5+DKWLhcqIYx6mWQz5hdJTGDVMQiJcw1ZYkhs7AazKDGpRVji1LJCZUQ==} - engines: {node: '>=18'} - pathe@2.0.3: resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} @@ -4392,10 +4172,6 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - slash@5.1.0: - resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==} - engines: {node: '>=14.16'} - slice-ansi@5.0.0: resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} engines: {node: '>=12'} @@ -4754,8 +4530,8 @@ packages: undici-types@6.21.0: resolution: {integrity: sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==} - undici@7.8.0: - resolution: {integrity: sha512-vFv1GA99b7eKO1HG/4RPu2Is3FBTWBrmzqzO0mz+rLxN3yXkE4mqRcb8g8fHxzX4blEysrNZLqg5RbJLqX5buA==} + undici@7.9.0: + resolution: {integrity: sha512-e696y354tf5cFZPXsF26Yg+5M63+5H3oE6Vtkh2oqbvsE2Oe7s2nIbcQh5lmG7Lp/eS29vJtTpw9+p6PX0qNSg==} engines: {node: '>=20.18.1'} unicode-emoji-modifier-base@1.0.0: @@ -5623,219 +5399,144 @@ snapshots: '@esbuild/aix-ppc64@0.21.5': optional: true - '@esbuild/aix-ppc64@0.25.3': - optional: true - '@esbuild/aix-ppc64@0.25.4': optional: true '@esbuild/android-arm64@0.21.5': optional: true - '@esbuild/android-arm64@0.25.3': - optional: true - '@esbuild/android-arm64@0.25.4': optional: true '@esbuild/android-arm@0.21.5': optional: true - '@esbuild/android-arm@0.25.3': - optional: true - '@esbuild/android-arm@0.25.4': optional: true '@esbuild/android-x64@0.21.5': optional: true - '@esbuild/android-x64@0.25.3': - optional: true - '@esbuild/android-x64@0.25.4': optional: true '@esbuild/darwin-arm64@0.21.5': optional: true - '@esbuild/darwin-arm64@0.25.3': - optional: true - '@esbuild/darwin-arm64@0.25.4': optional: true '@esbuild/darwin-x64@0.21.5': optional: true - '@esbuild/darwin-x64@0.25.3': - optional: true - '@esbuild/darwin-x64@0.25.4': optional: true '@esbuild/freebsd-arm64@0.21.5': optional: true - '@esbuild/freebsd-arm64@0.25.3': - optional: true - '@esbuild/freebsd-arm64@0.25.4': optional: true '@esbuild/freebsd-x64@0.21.5': optional: true - '@esbuild/freebsd-x64@0.25.3': - optional: true - '@esbuild/freebsd-x64@0.25.4': optional: true '@esbuild/linux-arm64@0.21.5': optional: true - '@esbuild/linux-arm64@0.25.3': - optional: true - '@esbuild/linux-arm64@0.25.4': optional: true '@esbuild/linux-arm@0.21.5': optional: true - '@esbuild/linux-arm@0.25.3': - optional: true - '@esbuild/linux-arm@0.25.4': optional: true '@esbuild/linux-ia32@0.21.5': optional: true - '@esbuild/linux-ia32@0.25.3': - optional: true - '@esbuild/linux-ia32@0.25.4': optional: true '@esbuild/linux-loong64@0.21.5': optional: true - '@esbuild/linux-loong64@0.25.3': - optional: true - '@esbuild/linux-loong64@0.25.4': optional: true '@esbuild/linux-mips64el@0.21.5': optional: true - '@esbuild/linux-mips64el@0.25.3': - optional: true - '@esbuild/linux-mips64el@0.25.4': optional: true '@esbuild/linux-ppc64@0.21.5': optional: true - '@esbuild/linux-ppc64@0.25.3': - optional: true - '@esbuild/linux-ppc64@0.25.4': optional: true '@esbuild/linux-riscv64@0.21.5': optional: true - '@esbuild/linux-riscv64@0.25.3': - optional: true - '@esbuild/linux-riscv64@0.25.4': optional: true '@esbuild/linux-s390x@0.21.5': optional: true - '@esbuild/linux-s390x@0.25.3': - optional: true - '@esbuild/linux-s390x@0.25.4': optional: true '@esbuild/linux-x64@0.21.5': optional: true - '@esbuild/linux-x64@0.25.3': - optional: true - '@esbuild/linux-x64@0.25.4': optional: true - '@esbuild/netbsd-arm64@0.25.3': - optional: true - '@esbuild/netbsd-arm64@0.25.4': optional: true '@esbuild/netbsd-x64@0.21.5': optional: true - '@esbuild/netbsd-x64@0.25.3': - optional: true - '@esbuild/netbsd-x64@0.25.4': optional: true - '@esbuild/openbsd-arm64@0.25.3': - optional: true - '@esbuild/openbsd-arm64@0.25.4': optional: true '@esbuild/openbsd-x64@0.21.5': optional: true - '@esbuild/openbsd-x64@0.25.3': - optional: true - '@esbuild/openbsd-x64@0.25.4': optional: true '@esbuild/sunos-x64@0.21.5': optional: true - '@esbuild/sunos-x64@0.25.3': - optional: true - '@esbuild/sunos-x64@0.25.4': optional: true '@esbuild/win32-arm64@0.21.5': optional: true - '@esbuild/win32-arm64@0.25.3': - optional: true - '@esbuild/win32-arm64@0.25.4': optional: true '@esbuild/win32-ia32@0.21.5': optional: true - '@esbuild/win32-ia32@0.25.3': - optional: true - '@esbuild/win32-ia32@0.25.4': optional: true '@esbuild/win32-x64@0.21.5': optional: true - '@esbuild/win32-x64@0.25.3': - optional: true - '@esbuild/win32-x64@0.25.4': optional: true @@ -6322,8 +6023,6 @@ snapshots: '@sindresorhus/is@4.6.0': {} - '@sindresorhus/merge-streams@2.3.0': {} - '@sindresorhus/merge-streams@4.0.0': {} '@size-limit/esbuild@11.2.0(size-limit@11.2.0)': @@ -6390,52 +6089,51 @@ snapshots: transitivePeerDependencies: - supports-color - '@swc/core-darwin-arm64@1.10.4': + '@swc/core-darwin-arm64@1.11.24': optional: true - '@swc/core-darwin-x64@1.10.4': + '@swc/core-darwin-x64@1.11.24': optional: true - '@swc/core-linux-arm-gnueabihf@1.10.4': + '@swc/core-linux-arm-gnueabihf@1.11.24': optional: true - '@swc/core-linux-arm64-gnu@1.10.4': + '@swc/core-linux-arm64-gnu@1.11.24': optional: true - '@swc/core-linux-arm64-musl@1.10.4': + '@swc/core-linux-arm64-musl@1.11.24': optional: true - '@swc/core-linux-x64-gnu@1.10.4': + '@swc/core-linux-x64-gnu@1.11.24': optional: true - '@swc/core-linux-x64-musl@1.10.4': + '@swc/core-linux-x64-musl@1.11.24': optional: true - '@swc/core-win32-arm64-msvc@1.10.4': + '@swc/core-win32-arm64-msvc@1.11.24': optional: true - '@swc/core-win32-ia32-msvc@1.10.4': + '@swc/core-win32-ia32-msvc@1.11.24': optional: true - '@swc/core-win32-x64-msvc@1.10.4': + '@swc/core-win32-x64-msvc@1.11.24': optional: true - '@swc/core@1.10.4(@swc/helpers@0.5.15)': + '@swc/core@1.11.24': dependencies: '@swc/counter': 0.1.3 '@swc/types': 0.1.21 optionalDependencies: - '@swc/core-darwin-arm64': 1.10.4 - '@swc/core-darwin-x64': 1.10.4 - '@swc/core-linux-arm-gnueabihf': 1.10.4 - '@swc/core-linux-arm64-gnu': 1.10.4 - '@swc/core-linux-arm64-musl': 1.10.4 - '@swc/core-linux-x64-gnu': 1.10.4 - '@swc/core-linux-x64-musl': 1.10.4 - '@swc/core-win32-arm64-msvc': 1.10.4 - '@swc/core-win32-ia32-msvc': 1.10.4 - '@swc/core-win32-x64-msvc': 1.10.4 - '@swc/helpers': 0.5.15 + '@swc/core-darwin-arm64': 1.11.24 + '@swc/core-darwin-x64': 1.11.24 + '@swc/core-linux-arm-gnueabihf': 1.11.24 + '@swc/core-linux-arm64-gnu': 1.11.24 + '@swc/core-linux-arm64-musl': 1.11.24 + '@swc/core-linux-x64-gnu': 1.11.24 + '@swc/core-linux-x64-musl': 1.11.24 + '@swc/core-win32-arm64-msvc': 1.11.24 + '@swc/core-win32-ia32-msvc': 1.11.24 + '@swc/core-win32-x64-msvc': 1.11.24 '@swc/counter@0.1.3': {} @@ -6904,7 +6602,7 @@ snapshots: autoprefixer@10.4.21(postcss@8.5.3): dependencies: browserslist: 4.24.5 - caniuse-lite: 1.0.30001716 + caniuse-lite: 1.0.30001717 fraction.js: 4.3.7 normalize-range: 0.1.2 picocolors: 1.1.1 @@ -6962,7 +6660,7 @@ snapshots: browserslist@4.24.5: dependencies: - caniuse-lite: 1.0.30001716 + caniuse-lite: 1.0.30001717 electron-to-chromium: 1.5.149 node-releases: 2.0.19 update-browserslist-db: 1.1.3(browserslist@4.24.5) @@ -6994,11 +6692,11 @@ snapshots: caniuse-api@3.0.0: dependencies: browserslist: 4.24.5 - caniuse-lite: 1.0.30001716 + caniuse-lite: 1.0.30001717 lodash.memoize: 4.1.2 lodash.uniq: 4.5.0 - caniuse-lite@1.0.30001716: {} + caniuse-lite@1.0.30001717: {} ccount@2.0.1: {} @@ -7292,20 +6990,6 @@ snapshots: degit@2.8.4: {} - del-cli@6.0.0: - dependencies: - del: 8.0.0 - meow: 13.2.0 - - del@8.0.0: - dependencies: - globby: 14.1.0 - is-glob: 4.0.3 - is-path-cwd: 3.0.0 - is-path-inside: 4.0.0 - p-map: 7.0.3 - slash: 5.1.0 - delayed-stream@1.0.0: {} depd@2.0.0: {} @@ -7440,34 +7124,6 @@ snapshots: '@esbuild/win32-ia32': 0.21.5 '@esbuild/win32-x64': 0.21.5 - esbuild@0.25.3: - optionalDependencies: - '@esbuild/aix-ppc64': 0.25.3 - '@esbuild/android-arm': 0.25.3 - '@esbuild/android-arm64': 0.25.3 - '@esbuild/android-x64': 0.25.3 - '@esbuild/darwin-arm64': 0.25.3 - '@esbuild/darwin-x64': 0.25.3 - '@esbuild/freebsd-arm64': 0.25.3 - '@esbuild/freebsd-x64': 0.25.3 - '@esbuild/linux-arm': 0.25.3 - '@esbuild/linux-arm64': 0.25.3 - '@esbuild/linux-ia32': 0.25.3 - '@esbuild/linux-loong64': 0.25.3 - '@esbuild/linux-mips64el': 0.25.3 - '@esbuild/linux-ppc64': 0.25.3 - '@esbuild/linux-riscv64': 0.25.3 - '@esbuild/linux-s390x': 0.25.3 - '@esbuild/linux-x64': 0.25.3 - '@esbuild/netbsd-arm64': 0.25.3 - '@esbuild/netbsd-x64': 0.25.3 - '@esbuild/openbsd-arm64': 0.25.3 - '@esbuild/openbsd-x64': 0.25.3 - '@esbuild/sunos-x64': 0.25.3 - '@esbuild/win32-arm64': 0.25.3 - '@esbuild/win32-ia32': 0.25.3 - '@esbuild/win32-x64': 0.25.3 - esbuild@0.25.4: optionalDependencies: '@esbuild/aix-ppc64': 0.25.4 @@ -7794,15 +7450,6 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 - globby@14.1.0: - dependencies: - '@sindresorhus/merge-streams': 2.3.0 - fast-glob: 3.3.3 - ignore: 7.0.4 - path-type: 6.0.0 - slash: 5.1.0 - unicorn-magic: 0.3.0 - gopd@1.2.0: {} graceful-fs@4.2.11: {} @@ -7915,8 +7562,6 @@ snapshots: ignore@5.3.2: {} - ignore@7.0.4: {} - import-meta-resolve@4.1.0: {} index-to-position@1.1.0: {} @@ -7961,10 +7606,6 @@ snapshots: is-number@7.0.0: {} - is-path-cwd@3.0.0: {} - - is-path-inside@4.0.0: {} - is-plain-obj@4.1.0: {} is-potential-custom-element-name@1.0.1: @@ -8315,8 +7956,6 @@ snapshots: media-typer@1.1.0: {} - meow@13.2.0: {} - merge-descriptors@2.0.0: {} merge-stream@2.0.0: {} @@ -8513,7 +8152,7 @@ snapshots: citty: 0.1.6 cssnano: 7.0.6(postcss@8.5.3) defu: 6.1.4 - esbuild: 0.25.3 + esbuild: 0.25.4 jiti: 1.21.7 mlly: 1.7.4 pathe: 2.0.3 @@ -8593,7 +8232,7 @@ snapshots: '@swc/counter': 0.1.3 '@swc/helpers': 0.5.15 busboy: 1.6.0 - caniuse-lite: 1.0.30001716 + caniuse-lite: 1.0.30001717 postcss: 8.4.31 react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -8714,8 +8353,6 @@ snapshots: p-map@2.1.0: {} - p-map@7.0.3: {} - p-try@2.2.0: {} package-json-from-dist@1.0.1: {} @@ -8770,8 +8407,6 @@ snapshots: path-type@4.0.0: {} - path-type@6.0.0: {} - pathe@2.0.3: {} pathval@2.0.0: {} @@ -9335,8 +8970,6 @@ snapshots: slash@3.0.0: {} - slash@5.1.0: {} - slice-ansi@5.0.0: dependencies: ansi-styles: 6.2.1 @@ -9672,7 +9305,7 @@ snapshots: citty: 0.1.6 consola: 3.4.2 defu: 6.1.4 - esbuild: 0.25.3 + esbuild: 0.25.4 fix-dts-default-cjs-exports: 1.0.1 hookable: 5.5.3 jiti: 2.4.2 @@ -9697,7 +9330,7 @@ snapshots: undici-types@6.21.0: {} - undici@7.8.0: {} + undici@7.9.0: {} unicode-emoji-modifier-base@1.0.0: {} @@ -9734,10 +9367,10 @@ snapshots: unpipe@1.0.0: {} - unplugin-swc@1.5.2(@swc/core@1.10.4(@swc/helpers@0.5.15))(rollup@4.40.1): + unplugin-swc@1.5.2(@swc/core@1.11.24)(rollup@4.40.1): dependencies: '@rollup/pluginutils': 5.1.4(rollup@4.40.1) - '@swc/core': 1.10.4(@swc/helpers@0.5.15) + '@swc/core': 1.11.24 load-tsconfig: 0.2.5 unplugin: 1.16.1 transitivePeerDependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 560dd7bc9..d60a57886 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,11 @@ packages: - docs - packages/** +ignoredBuiltDependencies: + - '@swc/core' + - esbuild + - msw + - sharp + - svelte-preprocess +onlyBuiltDependencies: + - '@biomejs/biome' diff --git a/tsconfig.json b/tsconfig.json index 3eb9aafc3..405922ab3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "declaration": true, + "erasableSyntaxOnly": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "lib": ["ESNext"], @@ -10,6 +11,7 @@ "sourceMap": true, "strict": true, "target": "ESNext", - "useDefineForClassFields": true + "useDefineForClassFields": true, + "verbatimModuleSyntax": true } }