From d2593994a5d763f27797215115187ab9a44e3dc0 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:24:05 +0100 Subject: [PATCH 01/15] #80 wip --- packages/style-guide/.github/banner.svg | 6 + packages/style-guide/README.md | 99 ++++ packages/style-guide/eslint/base.js | 33 ++ packages/style-guide/eslint/library.js | 13 + packages/style-guide/eslint/next.js | 43 ++ packages/style-guide/eslint/react-internal.js | 33 ++ packages/style-guide/package.json | 51 ++ packages/style-guide/prettier/index.js | 40 ++ .../style-guide/typescript/tsconfig.base.json | 43 ++ .../typescript/tsconfig.library.json | 22 + .../style-guide/typescript/tsconfig.next.json | 37 ++ .../typescript/tsconfig.node20.json | 23 + .../typescript/tsconfig.react-internal.json | 24 + packages/style-guide/vite/library.js | 13 + pnpm-lock.yaml | 549 ++++++++++++++++++ 15 files changed, 1029 insertions(+) create mode 100644 packages/style-guide/.github/banner.svg create mode 100644 packages/style-guide/README.md create mode 100644 packages/style-guide/eslint/base.js create mode 100644 packages/style-guide/eslint/library.js create mode 100644 packages/style-guide/eslint/next.js create mode 100644 packages/style-guide/eslint/react-internal.js create mode 100644 packages/style-guide/package.json create mode 100644 packages/style-guide/prettier/index.js create mode 100644 packages/style-guide/typescript/tsconfig.base.json create mode 100644 packages/style-guide/typescript/tsconfig.library.json create mode 100644 packages/style-guide/typescript/tsconfig.next.json create mode 100644 packages/style-guide/typescript/tsconfig.node20.json create mode 100644 packages/style-guide/typescript/tsconfig.react-internal.json create mode 100644 packages/style-guide/vite/library.js diff --git a/packages/style-guide/.github/banner.svg b/packages/style-guide/.github/banner.svg new file mode 100644 index 00000000..94ed4479 --- /dev/null +++ b/packages/style-guide/.github/banner.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/packages/style-guide/README.md b/packages/style-guide/README.md new file mode 100644 index 00000000..fbb82ec5 --- /dev/null +++ b/packages/style-guide/README.md @@ -0,0 +1,99 @@ +

+ @blgc/style-guide banner +

+ +

+ + GitHub License + + + NPM total downloads + + + Join Discord + +

+ +`@blgc/style-guide` is a collection of configurations for +popular linting and styling tools. + +The following configs are available, and are designed to be used together. + +- [Prettier](#prettier) +- [ESLint](#eslint) +- [TypeScript](#typescript) + +## 📖 Usage + +### [Prettier](https://prettier.io/) + +> Note: Prettier is a peer-dependency of this package, and should be installed +> at the root of your project. +> +> See: https://prettier.io/docs/en/install.html + +To use the shared Prettier config, set the following in `package.json`. + +```json +{ + "prettier": "@vercel/style-guide/prettier" +} +``` + +### [Typescript](https://www.typescriptlang.org/) + +> Note: Typescript is a peer-dependency of this package, and should be installed +> at the root of your project. + +```json +{ + "extends": "@blgc/style-guide/typescript/react-library", + "compilerOptions": { + "outDir": "./dist", + "rootDir": "./src", + "declarationDir": "./dist/types" + }, + "include": ["src"] +} +``` + +### [ESLint](https://eslint.org/) + +> Note: ESLint is a peer-dependency of this package, and should be installed +> at the root of your project. +> +> See: https://eslint.org/docs/user-guide/getting-started#installation-and-usage + +```js +/** + * @type {import('eslint').Linter.Config} + */ +module.exports = { + root: true, + extends: [require.resolve('@blgc/style-guide/eslint/react-internal'), 'plugin:storybook/recommended'] +}; +``` + +### [Vitest](https://vitest.dev/) + +```js +const { defineConfig, mergeConfig } = require('vitest/config'); +const { nodeConfig } = require('@blgc/style-guide/vite/library'); + +module.exports = mergeConfig(nodeConfig, defineConfig({})); +``` + +## 🙏 Contribution + +### Debugging ESLint Configuration + +If you are encountering issues or unexpected behavior with ESLint, you can use the following command to output the final configuration. + +```bash +npx eslint --print-config ./some/file/to/test/on.ts +``` + +## 🌟 Credits + +- [`turbo-basic`](https://github.com/vercel/turbo/tree/main/examples/basic) - Base configuration from Vercel's official starter template for optimal Next.js settings +- [`tsconfig/bases`](https://github.com/tsconfig/bases) - TypeScript configuration best practices and recommendations diff --git a/packages/style-guide/eslint/base.js b/packages/style-guide/eslint/base.js new file mode 100644 index 00000000..7c29fbbb --- /dev/null +++ b/packages/style-guide/eslint/base.js @@ -0,0 +1,33 @@ +import js from '@eslint/js'; +import eslintConfigPrettier from 'eslint-config-prettier'; +import onlyWarn from 'eslint-plugin-only-warn'; +import turboPlugin from 'eslint-plugin-turbo'; +import tseslint from 'typescript-eslint'; + +/** + * Base ESLint configuration. + * + * @type {import("eslint").Linter.Config} + * */ +export const config = [ + js.configs.recommended, + eslintConfigPrettier, + ...tseslint.configs.recommended, + ...tseslint.configs.strict, + { + plugins: { + turbo: turboPlugin + }, + rules: { + 'turbo/no-undeclared-env-vars': 'warn' + } + }, + { + plugins: { + onlyWarn + } + }, + { + ignores: ['dist/**'] + } +]; diff --git a/packages/style-guide/eslint/library.js b/packages/style-guide/eslint/library.js new file mode 100644 index 00000000..5aaa16db --- /dev/null +++ b/packages/style-guide/eslint/library.js @@ -0,0 +1,13 @@ +import { config as baseConfig } from './base.js'; + +/** + * ESLint configuration for TypeScript libraries. + * + * @type {import("eslint").Linter.Config} + */ +export const libraryConfig = [ + ...baseConfig, + { + rules: {} + } +]; diff --git a/packages/style-guide/eslint/next.js b/packages/style-guide/eslint/next.js new file mode 100644 index 00000000..62355110 --- /dev/null +++ b/packages/style-guide/eslint/next.js @@ -0,0 +1,43 @@ +import pluginNext from '@next/eslint-plugin-next'; +import pluginReact from 'eslint-plugin-react'; +import pluginReactHooks from 'eslint-plugin-react-hooks'; +import globals from 'globals'; + +import { config as baseConfig } from './base.js'; + +/** + * ESLint configuration for applications that use Next.js. + * + * @type {import("eslint").Linter.Config} + * */ +export const nextJsConfig = [ + ...baseConfig, + { + ...pluginReact.configs.flat.recommended, + languageOptions: { + ...pluginReact.configs.flat.recommended.languageOptions, + globals: { + ...globals.serviceworker + } + } + }, + { + plugins: { + '@next/next': pluginNext + }, + rules: { + ...pluginNext.configs.recommended.rules, + ...pluginNext.configs['core-web-vitals'].rules + } + }, + { + plugins: { + 'react-hooks': pluginReactHooks + }, + settings: { react: { version: 'detect' } }, + rules: { + ...pluginReactHooks.configs.recommended.rules, + 'react/react-in-jsx-scope': 'off' + } + } +]; diff --git a/packages/style-guide/eslint/react-internal.js b/packages/style-guide/eslint/react-internal.js new file mode 100644 index 00000000..ec9d75e2 --- /dev/null +++ b/packages/style-guide/eslint/react-internal.js @@ -0,0 +1,33 @@ +import pluginReact from 'eslint-plugin-react'; +import pluginReactHooks from 'eslint-plugin-react-hooks'; +import globals from 'globals'; + +import { config as baseConfig } from './base.js'; + +/** + * ESLint configuration for applications and libraries that use React. + * + * @type {import("eslint").Linter.Config} */ +export const config = [ + ...baseConfig, + pluginReact.configs.flat.recommended, + { + languageOptions: { + ...pluginReact.configs.flat.recommended.languageOptions, + globals: { + ...globals.serviceworker, + ...globals.browser + } + } + }, + { + plugins: { + 'react-hooks': pluginReactHooks + }, + settings: { react: { version: 'detect' } }, + rules: { + ...pluginReactHooks.configs.recommended.rules, + 'react/react-in-jsx-scope': 'off' + } + } +]; diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json new file mode 100644 index 00000000..d441871e --- /dev/null +++ b/packages/style-guide/package.json @@ -0,0 +1,51 @@ +{ + "name": "@blgc/style-guide", + "description": "Builder.Group's engineering style guide", + "version": "0.0.1", + "private": false, + "scripts": { + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "update:latest": "pnpm update --latest", + "publish:patch": "pnpm version patch && pnpm publish --no-git-checks --access=public" + }, + "exports": { + "./eslint/*": "./eslint/*.js", + "./vite/*": "./vite/*.js", + "./prettier": "./prettier/index.js", + "./typescript": "./typescript/tsconfig.base.json", + "./typescript/node20": "./typescript/tsconfig.node20.json" + }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" + }, + "keywords": [], + "author": "@bennobuilder", + "license": "MIT", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" + }, + "homepage": "https://builder.group/?source=github", + "dependencies": { + "@ianvs/prettier-plugin-sort-imports": "^4.3.1", + "@next/eslint-plugin-next": "^14.2.6", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-only-warn": "^1.1.0", + "eslint-plugin-react": "^7.37.2", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-turbo": "^2.3.3", + "prettier-plugin-packagejson": "^2.5.6", + "prettier-plugin-tailwindcss": "^0.6.8", + "typescript-eslint": "^8.16.0", + "vite-tsconfig-paths": "^5.1.0" + }, + "peerDependencies": { + "eslint": "^9.15.0" + }, + "devDependencies": { + "eslint": "^9.15.0" + } +} diff --git a/packages/style-guide/prettier/index.js b/packages/style-guide/prettier/index.js new file mode 100644 index 00000000..84f113ba --- /dev/null +++ b/packages/style-guide/prettier/index.js @@ -0,0 +1,40 @@ +/** + * @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} + */ +module.exports = { + // Editor Config Overrides + // These settings can be overridden by EditorConfig, so we define them explicitly + // https://github.com/prettier/prettier/blob/main/docs/configuration.md#editorconfig + endOfLine: 'lf', + tabWidth: 2, + useTabs: true, + printWidth: 100, + + // Code Style + singleQuote: true, + trailingComma: 'none', + semi: true, + quoteProps: 'consistent', + bracketSameLine: false, + + // Plugins + plugins: [ + '@ianvs/prettier-plugin-sort-imports', + 'prettier-plugin-tailwindcss', + 'prettier-plugin-packagejson' + ], + + // Import Sorting Configuration + // https://github.com/IanVS/prettier-plugin-sort-imports + importOrder: [ + // External packages + '', + // Internal packages + '^@/', + // Relative imports + '^[../]', + '^[./]' + ], + importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'], + importOrderTypeScriptVersion: '5.2.2' +}; diff --git a/packages/style-guide/typescript/tsconfig.base.json b/packages/style-guide/typescript/tsconfig.base.json new file mode 100644 index 00000000..97b0cc86 --- /dev/null +++ b/packages/style-guide/typescript/tsconfig.base.json @@ -0,0 +1,43 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Base Typescript configuration", + "compilerOptions": { + // Projects + "composite": false, + "declaration": true, + "declarationMap": true, + + // Language and Environment + "target": "esnext", + "module": "esnext", + + // Modules + "moduleResolution": "node", + "resolveJsonModule": true, + "isolatedModules": true, + + // Emit + "inlineSources": false, + + // Interop Constraints + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + + // Type Checking + "strict": true, + "noImplicitAny": true, + "strictNullChecks": true, + "strictPropertyInitialization": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noUncheckedIndexedAccess": true, + "noFallthroughCasesInSwitch": true, + "noImplicitReturns": true, + "noPropertyAccessFromIndexSignature": true, + + // Performance + "skipLibCheck": true, + "preserveWatchOutput": true + }, + "exclude": ["node_modules"] +} diff --git a/packages/style-guide/typescript/tsconfig.library.json b/packages/style-guide/typescript/tsconfig.library.json new file mode 100644 index 00000000..ad2bcd66 --- /dev/null +++ b/packages/style-guide/typescript/tsconfig.library.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Typescript configuration for TypeScript libraries", + "extends": "./tsconfig.base.json", + "compilerOptions": { + // Language and Environment + "lib": ["esnext"], + "target": "esnext", + + // Modules + "module": "commonjs", + "moduleResolution": "node", + + // Javascript Support + "allowJs": true, + + // Emit + "outDir": "./dist", + "rootDir": "./src", + }, + "include": ["src"] +} \ No newline at end of file diff --git a/packages/style-guide/typescript/tsconfig.next.json b/packages/style-guide/typescript/tsconfig.next.json new file mode 100644 index 00000000..4a27adfc --- /dev/null +++ b/packages/style-guide/typescript/tsconfig.next.json @@ -0,0 +1,37 @@ +// https://github.com/tsconfig/bases/blob/main/bases/next.json +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Typescript configuration for applications that use Next.js", + "extends": "./tsconfig.base.json", + "compilerOptions": { + // Language and Environment + "target": "esnext", + "lib": ["esnext", "dom", "dom.iterable"], + "jsx": "preserve", + + // Modules + "module": "esnext", + "moduleResolution": "bundler", + + // Javascript Support + "allowJs": true, + + // Emit + "noEmit": true, + "incremental": true, + + // Plugins + "plugins": [ + { + "name": "next" + } + ], + + // Path Aliases + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} \ No newline at end of file diff --git a/packages/style-guide/typescript/tsconfig.node20.json b/packages/style-guide/typescript/tsconfig.node20.json new file mode 100644 index 00000000..6a356b45 --- /dev/null +++ b/packages/style-guide/typescript/tsconfig.node20.json @@ -0,0 +1,23 @@ +// https://github.com/tsconfig/bases/blob/main/bases/node20.json +{ + "$schema": "https://json.schemastore.org/tsconfig", + "extends": "./tsconfig.base.json", + "display": "Typescript configuration for applications and libraries that use Node 20", + "compilerOptions": { + // Language and Environment + "lib": ["es2023"], + "target": "es2022", + + // Modules + "module": "node16", + "moduleResolution": "node16", + + // Javascript Support + "allowJs": true, + + // Emit + "outDir": "./dist", + "rootDir": "./src" + }, + "include": ["src"] +} diff --git a/packages/style-guide/typescript/tsconfig.react-internal.json b/packages/style-guide/typescript/tsconfig.react-internal.json new file mode 100644 index 00000000..a2812baf --- /dev/null +++ b/packages/style-guide/typescript/tsconfig.react-internal.json @@ -0,0 +1,24 @@ +// https://github.com/tsconfig/bases/blob/main/bases/vite-react.json +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Typescript configuration for applications and libraries that use React.", + "extends": "./tsconfig.base.json", + "compilerOptions": { + // Language and Environment + "target": "es2020", + "lib": ["es2020", "dom", "dom.Iterable"], + "jsx": "react-jsx", + + // Modules + "module": "esnext", + "moduleResolution": "bundler", + + // Javascript Support + "allowJs": true, + + // Emit + "outDir": "./dist", + "rootDir": "./src" + }, + "include": ["src"] +} diff --git a/packages/style-guide/vite/library.js b/packages/style-guide/vite/library.js new file mode 100644 index 00000000..1cecddbe --- /dev/null +++ b/packages/style-guide/vite/library.js @@ -0,0 +1,13 @@ +import tsconfigPaths from 'vite-tsconfig-paths'; +import { defineConfig } from 'vitest/config'; + +const nodeConfig = defineConfig({ + test: { + coverage: { + reporter: ['text', 'json', 'html'] + } + }, + plugins: [tsconfigPaths()] +}); + +export { nodeConfig }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4167ee96..6dbf4692 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -578,6 +578,52 @@ importers: specifier: workspace:* version: link:../validation-adapters + packages/style-guide: + dependencies: + '@ianvs/prettier-plugin-sort-imports': + specifier: ^4.3.1 + version: 4.3.1(prettier@3.3.3) + '@next/eslint-plugin-next': + specifier: ^14.2.6 + version: 14.2.16 + '@typescript-eslint/eslint-plugin': + specifier: ^8.16.0 + version: 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3))(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/parser': + specifier: ^8.16.0 + version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + eslint-config-prettier: + specifier: ^9.1.0 + version: 9.1.0(eslint@9.15.0(jiti@2.4.0)) + eslint-plugin-only-warn: + specifier: ^1.1.0 + version: 1.1.0 + eslint-plugin-react: + specifier: ^7.37.2 + version: 7.37.2(eslint@9.15.0(jiti@2.4.0)) + eslint-plugin-react-hooks: + specifier: ^5.0.0 + version: 5.0.0(eslint@9.15.0(jiti@2.4.0)) + eslint-plugin-turbo: + specifier: ^2.3.3 + version: 2.3.3(eslint@9.15.0(jiti@2.4.0)) + prettier-plugin-packagejson: + specifier: ^2.5.6 + version: 2.5.6(prettier@3.3.3) + prettier-plugin-tailwindcss: + specifier: ^0.6.8 + version: 0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.3.3))(prettier@3.3.3) + typescript-eslint: + specifier: ^8.16.0 + version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + vite-tsconfig-paths: + specifier: ^5.1.0 + version: 5.1.0(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)) + devDependencies: + eslint: + specifier: ^9.15.0 + version: 9.15.0(jiti@2.4.0) + packages/types: devDependencies: '@blgc/config': @@ -1348,14 +1394,42 @@ packages: resolution: {integrity: sha512-G/M/tIiMrTAxEWRfLfQJMmGNX28IxBg4PBz8XqQhqUHLFI6TL2htpIB1iQCj144V5ee/JaKyT9/WZ0MGZWfA7A==} engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + '@eslint-community/regexpp@4.12.1': + resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} + engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} + + '@eslint/config-array@0.19.0': + resolution: {integrity: sha512-zdHg2FPIFNKPdcHWtiNT+jEFCHYVplAXRDlQDyqy0zGx/q2parwh7brGJSiTxRk/TSMkbM//zt/f5CHgyTyaSQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/core@0.9.0': + resolution: {integrity: sha512-7ATR9F0e4W85D/0w7cU0SNj7qkAexMG+bAHEZOjo9akvGuhHE2m7umzWzfnpa0XAg5Kxc1BWmtPMV67jJ+9VUg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/eslintrc@2.1.4': resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/eslintrc@3.2.0': + resolution: {integrity: sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/js@8.57.0': resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + '@eslint/js@9.15.0': + resolution: {integrity: sha512-tMTqrY+EzbXmKJR5ToI8lxu7jaN5EdmrBFJpQk5JmSlyLsx6o4t27r883K5xsLuCYCpfKBCGswMSWXsM+jB7lg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/object-schema@2.1.4': + resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + + '@eslint/plugin-kit@0.2.3': + resolution: {integrity: sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@figma/plugin-typings@1.100.2': resolution: {integrity: sha512-xRlneaT5D6afuzkt8J28DXgHAcglncqNVzh1qe5bJVzTLfniiDQY5N/IVXIJj/u7vXYMY6uqvJt8UBFe5l4FXA==} @@ -1371,6 +1445,14 @@ packages: hono: '>=3.9.0' zod: ^3.19.1 + '@humanfs/core@0.19.1': + resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==} + engines: {node: '>=18.18.0'} + + '@humanfs/node@0.16.6': + resolution: {integrity: sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==} + engines: {node: '>=18.18.0'} + '@humanwhocodes/config-array@0.11.14': resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} @@ -1384,6 +1466,14 @@ packages: resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} deprecated: Use @eslint/object-schema instead + '@humanwhocodes/retry@0.3.1': + resolution: {integrity: sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==} + engines: {node: '>=18.18'} + + '@humanwhocodes/retry@0.4.1': + resolution: {integrity: sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==} + engines: {node: '>=18.18'} + '@ianvs/prettier-plugin-sort-imports@4.3.1': resolution: {integrity: sha512-ZHwbyjkANZOjaBm3ZosADD2OUYGFzQGxfy67HmGZU94mHqe7g1LCMA7YYKB1Cq+UTPCBqlAYapY0KXAjKEw8Sg==} peerDependencies: @@ -2067,6 +2157,17 @@ packages: typescript: optional: true + '@typescript-eslint/eslint-plugin@8.16.0': + resolution: {integrity: sha512-5YTHKV8MYlyMI6BaEG7crQ9BhSc8RxzshOReKwZwRWN0+XvvTOm+L/UYLCYxFpfwYuAAqhxiq4yae0CMFwbL7Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + '@typescript-eslint/parser': ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/eslint-plugin@8.3.0': resolution: {integrity: sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2088,6 +2189,16 @@ packages: typescript: optional: true + '@typescript-eslint/parser@8.16.0': + resolution: {integrity: sha512-D7DbgGFtsqIPIFMPJwCad9Gfi/hC0PWErRRHFnaCWoEDYi5tQUDiJCTmGUbBiLzjqAck4KcXt9Ayj0CNlIrF+w==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/parser@8.3.0': resolution: {integrity: sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2106,6 +2217,10 @@ packages: resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/scope-manager@8.16.0': + resolution: {integrity: sha512-mwsZWubQvBki2t5565uxF0EYvG+FwdFb8bMtDuGQLdCCnGPrDEDvm1gtfynuKlnpzeBRqdFCkMf9jg1fnAK8sg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/scope-manager@8.3.0': resolution: {integrity: sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2120,6 +2235,16 @@ packages: typescript: optional: true + '@typescript-eslint/type-utils@8.16.0': + resolution: {integrity: sha512-IqZHGG+g1XCWX9NyqnI/0CX5LL8/18awQqmkZSl2ynn8F76j579dByc0jhfVSnSnhf7zv76mKBQv9HQFKvDCgg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/type-utils@8.3.0': resolution: {integrity: sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2137,6 +2262,10 @@ packages: resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/types@8.16.0': + resolution: {integrity: sha512-NzrHj6thBAOSE4d9bsuRNMvk+BvaQvmY4dDglgkgGC0EW/tB3Kelnp3tAKH87GEwzoxgeQn9fNGRyFJM/xd+GQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/types@8.3.0': resolution: {integrity: sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2159,6 +2288,15 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.16.0': + resolution: {integrity: sha512-E2+9IzzXMc1iaBy9zmo+UYvluE3TW7bCGWSF41hVWUE01o8nzr1rvOQYSxelxr6StUvRcTMe633eY8mXASMaNw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/typescript-estree@8.3.0': resolution: {integrity: sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2180,6 +2318,16 @@ packages: peerDependencies: eslint: ^8.56.0 + '@typescript-eslint/utils@8.16.0': + resolution: {integrity: sha512-C1zRy/mOL8Pj157GiX4kaw7iyRLKfJXBR3L82hk5kS/GyHcOFmy4YUq/zfZti72I9wnuQtA/+xzft4wCC8PJdA==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + '@typescript-eslint/utils@8.3.0': resolution: {integrity: sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2194,6 +2342,10 @@ packages: resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/visitor-keys@8.16.0': + resolution: {integrity: sha512-pq19gbaMOmFE3CbL0ZB8J8BFCo2ckfHBfaIsaOZgBIF4EoISJIdLX5xRhd0FGB0LlHReNRuzoJoMGpTjq8F2CQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/visitor-keys@8.3.0': resolution: {integrity: sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2618,6 +2770,10 @@ packages: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + css-declaration-sorter@6.4.1: resolution: {integrity: sha512-rtdthzxKuyq6IzqX6jEcIzQF/YqccluefyCYheovBOLhFT/drQA9zj/UbRAa9J7C0o6EG6u3E6g+vKkay7/k3g==} engines: {node: ^10 || ^12 || >=14} @@ -2884,6 +3040,10 @@ packages: resolution: {integrity: sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==} engines: {node: '>= 0.4'} + es-iterator-helpers@1.2.0: + resolution: {integrity: sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==} + engines: {node: '>= 0.4'} + es-module-lexer@1.5.4: resolution: {integrity: sha512-MVNK56NiMrOwitFB7cqDwq0CQutbw+0BvLshJSse0MUNU+y1FC3bUS/AQg7oUng+/wKrrki7JfmwtVHkVfPLlw==} @@ -3024,6 +3184,10 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 + eslint-plugin-only-warn@1.1.0: + resolution: {integrity: sha512-2tktqUAT+Q3hCAU0iSf4xAN1k9zOpjK5WO8104mB0rT/dGhOa09582HN5HlbxNbPRZ0THV7nLGvzugcNOSjzfA==} + engines: {node: '>=6'} + eslint-plugin-playwright@1.6.2: resolution: {integrity: sha512-mraN4Em3b5jLt01q7qWPyLg0Q5v3KAWfJSlEWwldyUXoa7DSPrBR4k6B6LROLqipsG8ndkwWMdjl1Ffdh15tag==} engines: {node: '>=16.6.0'} @@ -3040,6 +3204,12 @@ packages: peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 + eslint-plugin-react-hooks@5.0.0: + resolution: {integrity: sha512-hIOwI+5hYGpJEc4uPRmz2ulCjAGD/N13Lukkh8cLV0i2IRk/bdZDYjgLVHj+U9Z704kLIdIO6iueGvxNur0sgw==} + engines: {node: '>=10'} + peerDependencies: + eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 + eslint-plugin-react-refresh@0.4.11: resolution: {integrity: sha512-wrAKxMbVr8qhXTtIKfXqAn5SAtRZt0aXxe5P23Fh4pUAdC6XEsybGLB8P0PI4j1yYqOgUEUlzKAGDfo7rJOjcw==} peerDependencies: @@ -3056,6 +3226,12 @@ packages: peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + eslint-plugin-react@7.37.2: + resolution: {integrity: sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==} + engines: {node: '>=4'} + peerDependencies: + eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 + eslint-plugin-testing-library@6.3.0: resolution: {integrity: sha512-GYcEErTt6EGwE0bPDY+4aehfEBpB2gDBFKohir8jlATSUvzStEyzCx8QWB/14xeKc/AwyXkzScSzMHnFojkWrA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'} @@ -3070,6 +3246,11 @@ packages: peerDependencies: eslint: '>6.6.0' + eslint-plugin-turbo@2.3.3: + resolution: {integrity: sha512-j8UEA0Z+NNCsjZep9G5u5soDQHcXq/x4amrwulk6eHF1U91H2qAjp5I4jQcvJewmccCJbVp734PkHHTRnosjpg==} + peerDependencies: + eslint: '>6.6.0' + eslint-plugin-unicorn@51.0.1: resolution: {integrity: sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==} engines: {node: '>=16'} @@ -3097,6 +3278,10 @@ packages: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-scope@8.2.0: + resolution: {integrity: sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint-visitor-keys@2.1.0: resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} engines: {node: '>=10'} @@ -3105,11 +3290,29 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true + eslint@9.15.0: + resolution: {integrity: sha512-7CrWySmIibCgT1Os28lUU6upBshZ+GxybLOrmRzi08kS8MBuO8QA7pXEgYgY5W8vK3e74xv0lpjo9DbaGU9Rkw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + hasBin: true + peerDependencies: + jiti: '*' + peerDependenciesMeta: + jiti: + optional: true + + espree@10.3.0: + resolution: {integrity: sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3234,6 +3437,10 @@ packages: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} engines: {node: ^10.12.0 || >=12.0.0} + file-entry-cache@8.0.0: + resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==} + engines: {node: '>=16.0.0'} + filelist@1.0.4: resolution: {integrity: sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==} @@ -3257,6 +3464,10 @@ packages: resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} engines: {node: ^10.12.0 || >=12.0.0} + flat-cache@4.0.1: + resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==} + engines: {node: '>=16'} + flatted@3.3.1: resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==} @@ -3366,6 +3577,10 @@ packages: resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} engines: {node: '>=8'} + globals@14.0.0: + resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} + engines: {node: '>=18'} + globalthis@1.0.4: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} @@ -3719,6 +3934,10 @@ packages: iterator.prototype@1.1.2: resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} + iterator.prototype@1.1.3: + resolution: {integrity: sha512-FW5iMbeQ6rBGm/oKgzq2aW4KvAGpxPzYES8N4g4xNXUKpL1mclMvOe+76AcLDTvD+Ze+sOpVhgdAQEKF4L9iGQ==} + engines: {node: '>= 0.4'} + jackspeak@2.3.6: resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} engines: {node: '>=14'} @@ -4508,6 +4727,14 @@ packages: prettier: optional: true + prettier-plugin-packagejson@2.5.6: + resolution: {integrity: sha512-TY7KiLtyt6Tlf53BEbXUWkN0+TRdHKgIMmtXtDCyHH6yWnZ50Lwq6Vb6lyjapZrhDTXooC4EtlY5iLe1sCgi5w==} + peerDependencies: + prettier: '>= 1.16.0' + peerDependenciesMeta: + prettier: + optional: true + prettier-plugin-tailwindcss@0.6.8: resolution: {integrity: sha512-dGu3kdm7SXPkiW4nzeWKCl3uoImdd5CTZEJGxyypEPL37Wj0HT2pLqjrvSei1nTeuQfO4PUfjeW5cTUNRLZ4sA==} engines: {node: '>=14.21.3'} @@ -4912,6 +5139,10 @@ packages: resolution: {integrity: sha512-MYecfvObMwJjjJskhxYfuOADkXp1ZMMnCFC8yhp+9HDsk7HhR336hd7eiBs96lTXfiqmUNI+WQCeCMRBhl251g==} hasBin: true + sort-package-json@2.12.0: + resolution: {integrity: sha512-/HrPQAeeLaa+vbAH/znjuhwUluuiM/zL5XX9kop8UpDgjtyWKt43hGDk2vd/TBdDpzIyzIHVUgmYofzYrAQjew==} + hasBin: true + source-map-js@1.2.0: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} @@ -5083,6 +5314,10 @@ packages: resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} engines: {node: ^14.18.0 || >=16.0.0} + synckit@0.9.2: + resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==} + engines: {node: ^14.18.0 || >=16.0.0} + tapable@2.2.1: resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} engines: {node: '>=6'} @@ -5287,6 +5522,16 @@ packages: resolution: {integrity: sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==} engines: {node: '>= 0.4'} + typescript-eslint@8.16.0: + resolution: {integrity: sha512-wDkVmlY6O2do4V+lZd0GtRfbtXbeD0q9WygwXXSJnC1xorE8eqyC2L1tJimqpSeFrOzRlYtWnUp/uzgHQOgfBQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + typescript@5.5.4: resolution: {integrity: sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==} engines: {node: '>=14.17'} @@ -6290,8 +6535,25 @@ snapshots: eslint: 8.57.0 eslint-visitor-keys: 3.4.3 + '@eslint-community/eslint-utils@4.4.0(eslint@9.15.0(jiti@2.4.0))': + dependencies: + eslint: 9.15.0(jiti@2.4.0) + eslint-visitor-keys: 3.4.3 + '@eslint-community/regexpp@4.11.0': {} + '@eslint-community/regexpp@4.12.1': {} + + '@eslint/config-array@0.19.0': + dependencies: + '@eslint/object-schema': 2.1.4 + debug: 4.3.7(supports-color@8.1.1) + minimatch: 3.1.2 + transitivePeerDependencies: + - supports-color + + '@eslint/core@0.9.0': {} + '@eslint/eslintrc@2.1.4': dependencies: ajv: 6.12.6 @@ -6306,8 +6568,30 @@ snapshots: transitivePeerDependencies: - supports-color + '@eslint/eslintrc@3.2.0': + dependencies: + ajv: 6.12.6 + debug: 4.3.7(supports-color@8.1.1) + espree: 10.3.0 + globals: 14.0.0 + ignore: 5.3.2 + import-fresh: 3.3.0 + js-yaml: 4.1.0 + minimatch: 3.1.2 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - supports-color + '@eslint/js@8.57.0': {} + '@eslint/js@9.15.0': {} + + '@eslint/object-schema@2.1.4': {} + + '@eslint/plugin-kit@0.2.3': + dependencies: + levn: 0.4.1 + '@figma/plugin-typings@1.100.2': {} '@hono/node-server@1.12.2(hono@4.5.9)': @@ -6319,6 +6603,13 @@ snapshots: hono: 4.5.9 zod: 3.23.8 + '@humanfs/core@0.19.1': {} + + '@humanfs/node@0.16.6': + dependencies: + '@humanfs/core': 0.19.1 + '@humanwhocodes/retry': 0.3.1 + '@humanwhocodes/config-array@0.11.14': dependencies: '@humanwhocodes/object-schema': 2.0.3 @@ -6331,6 +6622,10 @@ snapshots: '@humanwhocodes/object-schema@2.0.3': {} + '@humanwhocodes/retry@0.3.1': {} + + '@humanwhocodes/retry@0.4.1': {} + '@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.3.3)': dependencies: '@babel/core': 7.26.0 @@ -6990,6 +7285,24 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/eslint-plugin@8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3))(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + dependencies: + '@eslint-community/regexpp': 4.11.0 + '@typescript-eslint/parser': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/type-utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/visitor-keys': 8.16.0 + eslint: 9.15.0(jiti@2.4.0) + graphemer: 1.4.0 + ignore: 5.3.2 + natural-compare: 1.4.0 + ts-api-utils: 1.3.0(typescript@5.6.3) + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/eslint-plugin@8.3.0(@typescript-eslint/parser@8.3.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 @@ -7034,6 +7347,19 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + dependencies: + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.6.3) + '@typescript-eslint/visitor-keys': 8.16.0 + debug: 4.3.7(supports-color@8.1.1) + eslint: 9.15.0(jiti@2.4.0) + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/parser@8.3.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@typescript-eslint/scope-manager': 8.3.0 @@ -7057,6 +7383,11 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 + '@typescript-eslint/scope-manager@8.16.0': + dependencies: + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/visitor-keys': 8.16.0 + '@typescript-eslint/scope-manager@8.3.0': dependencies: '@typescript-eslint/types': 8.3.0 @@ -7086,6 +7417,18 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/type-utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + dependencies: + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.6.3) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + debug: 4.3.7(supports-color@8.1.1) + eslint: 9.15.0(jiti@2.4.0) + ts-api-utils: 1.3.0(typescript@5.6.3) + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/type-utils@8.3.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) @@ -7102,6 +7445,8 @@ snapshots: '@typescript-eslint/types@7.18.0': {} + '@typescript-eslint/types@8.16.0': {} + '@typescript-eslint/types@8.3.0': {} '@typescript-eslint/typescript-estree@5.62.0(typescript@5.6.3)': @@ -7148,6 +7493,21 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/typescript-estree@8.16.0(typescript@5.6.3)': + dependencies: + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/visitor-keys': 8.16.0 + debug: 4.3.7(supports-color@8.1.1) + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.6.3) + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/typescript-estree@8.3.0(typescript@5.5.4)': dependencies: '@typescript-eslint/types': 8.3.0 @@ -7200,6 +7560,18 @@ snapshots: - supports-color - typescript + '@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.15.0(jiti@2.4.0)) + '@typescript-eslint/scope-manager': 8.16.0 + '@typescript-eslint/types': 8.16.0 + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.6.3) + eslint: 9.15.0(jiti@2.4.0) + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/utils@8.3.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -7221,6 +7593,11 @@ snapshots: '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.16.0': + dependencies: + '@typescript-eslint/types': 8.16.0 + eslint-visitor-keys: 4.2.0 + '@typescript-eslint/visitor-keys@8.3.0': dependencies: '@typescript-eslint/types': 8.3.0 @@ -7334,6 +7711,10 @@ snapshots: dependencies: acorn: 8.12.1 + acorn-jsx@5.3.2(acorn@8.14.0): + dependencies: + acorn: 8.14.0 + acorn-walk@8.3.4: dependencies: acorn: 8.14.0 @@ -7709,6 +8090,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-declaration-sorter@6.4.1(postcss@8.4.47): dependencies: postcss: 8.4.47 @@ -8048,6 +8435,24 @@ snapshots: iterator.prototype: 1.1.2 safe-array-concat: 1.1.2 + es-iterator-helpers@1.2.0: + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-set-tostringtag: 2.0.3 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + globalthis: 1.0.4 + gopd: 1.0.1 + has-property-descriptors: 1.0.2 + has-proto: 1.0.3 + has-symbols: 1.0.3 + internal-slot: 1.0.7 + iterator.prototype: 1.1.3 + safe-array-concat: 1.1.2 + es-module-lexer@1.5.4: {} es-object-atoms@1.0.0: @@ -8170,6 +8575,10 @@ snapshots: dependencies: eslint: 8.57.0 + eslint-config-prettier@9.1.0(eslint@9.15.0(jiti@2.4.0)): + dependencies: + eslint: 9.15.0(jiti@2.4.0) + eslint-config-turbo@2.2.3(eslint@8.57.0): dependencies: eslint: 8.57.0 @@ -8278,6 +8687,8 @@ snapshots: safe-regex-test: 1.0.3 string.prototype.includes: 2.0.0 + eslint-plugin-only-warn@1.1.0: {} + eslint-plugin-playwright@1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0): dependencies: eslint: 8.57.0 @@ -8289,6 +8700,10 @@ snapshots: dependencies: eslint: 8.57.0 + eslint-plugin-react-hooks@5.0.0(eslint@9.15.0(jiti@2.4.0)): + dependencies: + eslint: 9.15.0(jiti@2.4.0) + eslint-plugin-react-refresh@0.4.11(eslint@8.57.0): dependencies: eslint: 8.57.0 @@ -8319,6 +8734,28 @@ snapshots: string.prototype.matchall: 4.0.11 string.prototype.repeat: 1.0.0 + eslint-plugin-react@7.37.2(eslint@9.15.0(jiti@2.4.0)): + dependencies: + array-includes: 3.1.8 + array.prototype.findlast: 1.2.5 + array.prototype.flatmap: 1.3.2 + array.prototype.tosorted: 1.1.4 + doctrine: 2.1.0 + es-iterator-helpers: 1.2.0 + eslint: 9.15.0(jiti@2.4.0) + estraverse: 5.3.0 + hasown: 2.0.2 + jsx-ast-utils: 3.3.5 + minimatch: 3.1.2 + object.entries: 1.1.8 + object.fromentries: 2.0.8 + object.values: 1.2.0 + prop-types: 15.8.1 + resolve: 2.0.0-next.5 + semver: 6.3.1 + string.prototype.matchall: 4.0.11 + string.prototype.repeat: 1.0.0 + eslint-plugin-testing-library@6.3.0(eslint@8.57.0)(typescript@5.6.3): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.6.3) @@ -8337,6 +8774,11 @@ snapshots: dotenv: 16.0.3 eslint: 8.57.0 + eslint-plugin-turbo@2.3.3(eslint@9.15.0(jiti@2.4.0)): + dependencies: + dotenv: 16.0.3 + eslint: 9.15.0(jiti@2.4.0) + eslint-plugin-unicorn@51.0.1(eslint@8.57.0): dependencies: '@babel/helper-validator-identifier': 7.24.7 @@ -8380,10 +8822,17 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 + eslint-scope@8.2.0: + dependencies: + esrecurse: 4.3.0 + estraverse: 5.3.0 + eslint-visitor-keys@2.1.0: {} eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.0: {} + eslint@8.57.0: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -8427,6 +8876,53 @@ snapshots: transitivePeerDependencies: - supports-color + eslint@9.15.0(jiti@2.4.0): + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@9.15.0(jiti@2.4.0)) + '@eslint-community/regexpp': 4.12.1 + '@eslint/config-array': 0.19.0 + '@eslint/core': 0.9.0 + '@eslint/eslintrc': 3.2.0 + '@eslint/js': 9.15.0 + '@eslint/plugin-kit': 0.2.3 + '@humanfs/node': 0.16.6 + '@humanwhocodes/module-importer': 1.0.1 + '@humanwhocodes/retry': 0.4.1 + '@types/estree': 1.0.6 + '@types/json-schema': 7.0.15 + ajv: 6.12.6 + chalk: 4.1.2 + cross-spawn: 7.0.6 + debug: 4.3.7(supports-color@8.1.1) + escape-string-regexp: 4.0.0 + eslint-scope: 8.2.0 + eslint-visitor-keys: 4.2.0 + espree: 10.3.0 + esquery: 1.6.0 + esutils: 2.0.3 + fast-deep-equal: 3.1.3 + file-entry-cache: 8.0.0 + find-up: 5.0.0 + glob-parent: 6.0.2 + ignore: 5.3.2 + imurmurhash: 0.1.4 + is-glob: 4.0.3 + json-stable-stringify-without-jsonify: 1.0.1 + lodash.merge: 4.6.2 + minimatch: 3.1.2 + natural-compare: 1.4.0 + optionator: 0.9.4 + optionalDependencies: + jiti: 2.4.0 + transitivePeerDependencies: + - supports-color + + espree@10.3.0: + dependencies: + acorn: 8.14.0 + acorn-jsx: 5.3.2(acorn@8.14.0) + eslint-visitor-keys: 4.2.0 + espree@9.6.1: dependencies: acorn: 8.12.1 @@ -8570,6 +9066,10 @@ snapshots: dependencies: flat-cache: 3.2.0 + file-entry-cache@8.0.0: + dependencies: + flat-cache: 4.0.1 + filelist@1.0.4: dependencies: minimatch: 5.1.6 @@ -8606,6 +9106,11 @@ snapshots: keyv: 4.5.4 rimraf: 3.0.2 + flat-cache@4.0.1: + dependencies: + flatted: 3.3.1 + keyv: 4.5.4 + flatted@3.3.1: {} for-each@0.3.3: @@ -8718,6 +9223,8 @@ snapshots: dependencies: type-fest: 0.20.2 + globals@14.0.0: {} + globalthis@1.0.4: dependencies: define-properties: 1.2.1 @@ -9032,6 +9539,14 @@ snapshots: reflect.getprototypeof: 1.0.6 set-function-name: 2.0.2 + iterator.prototype@1.1.3: + dependencies: + define-properties: 1.2.1 + get-intrinsic: 1.2.4 + has-symbols: 1.0.3 + reflect.getprototypeof: 1.0.6 + set-function-name: 2.0.2 + jackspeak@2.3.6: dependencies: '@isaacs/cliui': 8.0.2 @@ -9772,6 +10287,13 @@ snapshots: optionalDependencies: prettier: 3.3.3 + prettier-plugin-packagejson@2.5.6(prettier@3.3.3): + dependencies: + sort-package-json: 2.12.0 + synckit: 0.9.2 + optionalDependencies: + prettier: 3.3.3 + prettier-plugin-tailwindcss@0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.3.3))(prettier@3.3.3): dependencies: prettier: 3.3.3 @@ -10236,6 +10758,17 @@ snapshots: semver: 7.6.3 sort-object-keys: 1.1.3 + sort-package-json@2.12.0: + dependencies: + detect-indent: 7.0.1 + detect-newline: 4.0.1 + get-stdin: 9.0.0 + git-hooks-list: 3.1.0 + is-plain-obj: 4.1.0 + semver: 7.6.3 + sort-object-keys: 1.1.3 + tinyglobby: 0.2.10 + source-map-js@1.2.0: {} source-map-js@1.2.1: {} @@ -10422,6 +10955,11 @@ snapshots: '@pkgr/core': 0.1.1 tslib: 2.6.3 + synckit@0.9.2: + dependencies: + '@pkgr/core': 0.1.1 + tslib: 2.6.3 + tapable@2.2.1: {} term-size@2.2.1: {} @@ -10631,6 +11169,17 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 + typescript-eslint@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3): + dependencies: + '@typescript-eslint/eslint-plugin': 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3))(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/parser': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + eslint: 9.15.0(jiti@2.4.0) + optionalDependencies: + typescript: 5.6.3 + transitivePeerDependencies: + - supports-color + typescript@5.5.4: {} typescript@5.6.3: {} From 4383543449421947c11fee37d0916542611f3389 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:38:07 +0100 Subject: [PATCH 02/15] #80 fixed typo --- packages/style-guide/eslint/react-internal.js | 2 +- packages/style-guide/typescript/tsconfig.library.json | 4 ++-- packages/style-guide/typescript/tsconfig.next.json | 5 ----- packages/style-guide/typescript/tsconfig.node20.json | 4 ++-- .../style-guide/typescript/tsconfig.react-internal.json | 6 +++--- 5 files changed, 8 insertions(+), 13 deletions(-) diff --git a/packages/style-guide/eslint/react-internal.js b/packages/style-guide/eslint/react-internal.js index ec9d75e2..63e6bf1b 100644 --- a/packages/style-guide/eslint/react-internal.js +++ b/packages/style-guide/eslint/react-internal.js @@ -5,7 +5,7 @@ import globals from 'globals'; import { config as baseConfig } from './base.js'; /** - * ESLint configuration for applications and libraries that use React. + * ESLint configuration for applications and libraries that use ReactJs. * * @type {import("eslint").Linter.Config} */ export const config = [ diff --git a/packages/style-guide/typescript/tsconfig.library.json b/packages/style-guide/typescript/tsconfig.library.json index ad2bcd66..639d381d 100644 --- a/packages/style-guide/typescript/tsconfig.library.json +++ b/packages/style-guide/typescript/tsconfig.library.json @@ -15,8 +15,8 @@ "allowJs": true, // Emit - "outDir": "./dist", - "rootDir": "./src", + // "outDir": "./dist", + // "rootDir": "./src", }, "include": ["src"] } \ No newline at end of file diff --git a/packages/style-guide/typescript/tsconfig.next.json b/packages/style-guide/typescript/tsconfig.next.json index 4a27adfc..6e73b7a0 100644 --- a/packages/style-guide/typescript/tsconfig.next.json +++ b/packages/style-guide/typescript/tsconfig.next.json @@ -26,11 +26,6 @@ "name": "next" } ], - - // Path Aliases - "paths": { - "@/*": ["./src/*"] - } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] diff --git a/packages/style-guide/typescript/tsconfig.node20.json b/packages/style-guide/typescript/tsconfig.node20.json index 6a356b45..836ae47c 100644 --- a/packages/style-guide/typescript/tsconfig.node20.json +++ b/packages/style-guide/typescript/tsconfig.node20.json @@ -16,8 +16,8 @@ "allowJs": true, // Emit - "outDir": "./dist", - "rootDir": "./src" + // "outDir": "./dist", + // "rootDir": "./src" }, "include": ["src"] } diff --git a/packages/style-guide/typescript/tsconfig.react-internal.json b/packages/style-guide/typescript/tsconfig.react-internal.json index a2812baf..498994c7 100644 --- a/packages/style-guide/typescript/tsconfig.react-internal.json +++ b/packages/style-guide/typescript/tsconfig.react-internal.json @@ -1,7 +1,7 @@ // https://github.com/tsconfig/bases/blob/main/bases/vite-react.json { "$schema": "https://json.schemastore.org/tsconfig", - "display": "Typescript configuration for applications and libraries that use React.", + "display": "Typescript configuration for applications and libraries that use ReactJs", "extends": "./tsconfig.base.json", "compilerOptions": { // Language and Environment @@ -17,8 +17,8 @@ "allowJs": true, // Emit - "outDir": "./dist", - "rootDir": "./src" + // "outDir": "./dist", + // "rootDir": "./src" }, "include": ["src"] } From 879b662464dd914d22a55e48588dbdec150f2df0 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:47:58 +0100 Subject: [PATCH 03/15] #80 fixed Typescript config exports --- .prettierrc.js | 32 +++++-------------------------- package.json | 1 + packages/style-guide/package.json | 6 ++++-- pnpm-lock.yaml | 3 +++ tsconfig.json | 2 +- 5 files changed, 14 insertions(+), 30 deletions(-) diff --git a/.prettierrc.js b/.prettierrc.js index 61209107..ba13f1b2 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,31 +1,9 @@ +const baseConfig = require('@blgc/style-guide/prettier'); + /** - * @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} + * @see https://prettier.io/docs/en/configuration.html + * @type {import("prettier").Config} */ module.exports = { - // Standard prettier options - useTabs: true, - printWidth: 100, - singleQuote: true, - trailingComma: 'none', - bracketSameLine: false, - semi: true, - quoteProps: 'consistent', - plugins: ['@ianvs/prettier-plugin-sort-imports', 'prettier-plugin-tailwindcss'], - - // prettier-plugin-sort-imports options - // https://github.com/IanVS/prettier-plugin-sort-imports - importOrder: [ - // External packages - '', - // builder.group packages - '^@blgc/', - // Internal packages - '^@/', - '', - // Relative - '^[../]', - '^[./]' - ], - importOrderParserPlugins: ['typescript', 'jsx', 'decorators-legacy'], - importOrderTypeScriptVersion: '5.2.2' + ...baseConfig }; diff --git a/package.json b/package.json index 7024140e..3136725e 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "devDependencies": { "@blgc/cli": "workspace:*", "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.9", "@ianvs/prettier-plugin-sort-imports": "^4.3.1", diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index d441871e..31c1e4de 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -13,8 +13,10 @@ "./eslint/*": "./eslint/*.js", "./vite/*": "./vite/*.js", "./prettier": "./prettier/index.js", - "./typescript": "./typescript/tsconfig.base.json", - "./typescript/node20": "./typescript/tsconfig.node20.json" + "./typescript/base": "./typescript/tsconfig.base.json", + "./typescript/next": "./typescript/tsconfig.next.json", + "./typescript/node20": "./typescript/tsconfig.node20.json", + "./typescript/react-internal": "./typescript/tsconfig.react-internal.json" }, "repository": { "type": "git", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6dbf4692..de17d19c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ importers: '@blgc/config': specifier: workspace:* version: link:packages/config + '@blgc/style-guide': + specifier: workspace:* + version: link:packages/style-guide '@changesets/changelog-github': specifier: ^0.5.0 version: 0.5.0 diff --git a/tsconfig.json b/tsconfig.json index 0017eaa3..a6383ee8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "@blgc/config/base.tsconfig.json" + "extends": "@blgc/style-guide/typescript/base" } From 17560a021ffa45ba7761566279b6089408f7d337 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:06:49 +0100 Subject: [PATCH 04/15] #80 decided to stick with cjs for configs for now --- packages/style-guide/README.md | 25 +++++++++++++------ packages/style-guide/eslint/base.js | 15 +++++------ packages/style-guide/eslint/library.js | 5 ++-- packages/style-guide/eslint/next.js | 16 ++++++------ packages/style-guide/eslint/react-internal.js | 15 +++++------ packages/style-guide/prettier/index.js | 3 ++- 6 files changed, 47 insertions(+), 32 deletions(-) diff --git a/packages/style-guide/README.md b/packages/style-guide/README.md index fbb82ec5..86a174fb 100644 --- a/packages/style-guide/README.md +++ b/packages/style-guide/README.md @@ -32,11 +32,11 @@ The following configs are available, and are designed to be used together. > > See: https://prettier.io/docs/en/install.html -To use the shared Prettier config, set the following in `package.json`. +To use the shared Prettier config, set the following in `package.json`: ```json { - "prettier": "@vercel/style-guide/prettier" + "prettier": "@blgc/style-guide/prettier" } ``` @@ -45,9 +45,11 @@ To use the shared Prettier config, set the following in `package.json`. > Note: Typescript is a peer-dependency of this package, and should be installed > at the root of your project. +To use the shared Typescript config, set the following in `tsconfig.json`: + ```json { - "extends": "@blgc/style-guide/typescript/react-library", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", @@ -64,18 +66,27 @@ To use the shared Prettier config, set the following in `package.json`. > > See: https://eslint.org/docs/user-guide/getting-started#installation-and-usage + +To use the shared ESLint config, set the following in `eslint.config.js`: + ```js +const styleGuide = require('@blgc/style-guide/eslint/library'); + /** * @type {import('eslint').Linter.Config} */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/style-guide/eslint/react-internal'), 'plugin:storybook/recommended'] -}; +module.exports = [ + ...styleGuide, + { + // Any additional custom rules + } +]; ``` ### [Vitest](https://vitest.dev/) +To use the shared Vitest config, set the following in `vitest.config.js`: + ```js const { defineConfig, mergeConfig } = require('vitest/config'); const { nodeConfig } = require('@blgc/style-guide/vite/library'); diff --git a/packages/style-guide/eslint/base.js b/packages/style-guide/eslint/base.js index 7c29fbbb..2c082cca 100644 --- a/packages/style-guide/eslint/base.js +++ b/packages/style-guide/eslint/base.js @@ -1,15 +1,16 @@ -import js from '@eslint/js'; -import eslintConfigPrettier from 'eslint-config-prettier'; -import onlyWarn from 'eslint-plugin-only-warn'; -import turboPlugin from 'eslint-plugin-turbo'; -import tseslint from 'typescript-eslint'; +const js = require('@eslint/js'); +const eslintConfigPrettier = require('eslint-config-prettier'); +const onlyWarn = require('eslint-plugin-only-warn'); +const turboPlugin = require('eslint-plugin-turbo'); +const tseslint = require('typescript-eslint'); /** * Base ESLint configuration. * + * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} - * */ -export const config = [ + */ +module.exports = [ js.configs.recommended, eslintConfigPrettier, ...tseslint.configs.recommended, diff --git a/packages/style-guide/eslint/library.js b/packages/style-guide/eslint/library.js index 5aaa16db..d1764515 100644 --- a/packages/style-guide/eslint/library.js +++ b/packages/style-guide/eslint/library.js @@ -1,11 +1,12 @@ -import { config as baseConfig } from './base.js'; +const { baseConfig } = require('./base.js'); /** * ESLint configuration for TypeScript libraries. * + * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -export const libraryConfig = [ +module.exports = [ ...baseConfig, { rules: {} diff --git a/packages/style-guide/eslint/next.js b/packages/style-guide/eslint/next.js index 62355110..e235f4c9 100644 --- a/packages/style-guide/eslint/next.js +++ b/packages/style-guide/eslint/next.js @@ -1,16 +1,16 @@ -import pluginNext from '@next/eslint-plugin-next'; -import pluginReact from 'eslint-plugin-react'; -import pluginReactHooks from 'eslint-plugin-react-hooks'; -import globals from 'globals'; - -import { config as baseConfig } from './base.js'; +const pluginNext = require('@next/eslint-plugin-next'); +const pluginReact = require('eslint-plugin-react'); +const pluginReactHooks = require('eslint-plugin-react-hooks'); +const globals = require('globals'); +const { baseConfig } = require('./base.js'); /** * ESLint configuration for applications that use Next.js. * + * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} - * */ -export const nextJsConfig = [ + */ +module.exports = [ ...baseConfig, { ...pluginReact.configs.flat.recommended, diff --git a/packages/style-guide/eslint/react-internal.js b/packages/style-guide/eslint/react-internal.js index 63e6bf1b..2fea7bb4 100644 --- a/packages/style-guide/eslint/react-internal.js +++ b/packages/style-guide/eslint/react-internal.js @@ -1,14 +1,15 @@ -import pluginReact from 'eslint-plugin-react'; -import pluginReactHooks from 'eslint-plugin-react-hooks'; -import globals from 'globals'; - -import { config as baseConfig } from './base.js'; +const pluginReact = require('eslint-plugin-react'); +const pluginReactHooks = require('eslint-plugin-react-hooks'); +const globals = require('globals'); +const baseConfig = require('./base.js'); /** * ESLint configuration for applications and libraries that use ReactJs. * - * @type {import("eslint").Linter.Config} */ -export const config = [ + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [ ...baseConfig, pluginReact.configs.flat.recommended, { diff --git a/packages/style-guide/prettier/index.js b/packages/style-guide/prettier/index.js index 84f113ba..93a66f42 100644 --- a/packages/style-guide/prettier/index.js +++ b/packages/style-guide/prettier/index.js @@ -1,5 +1,6 @@ /** - * @type {import("@ianvs/prettier-plugin-sort-imports").PrettierConfig} + * @see https://prettier.io/docs/en/configuration.html + * @type {import("prettier").Config} */ module.exports = { // Editor Config Overrides From 89987d8f0d3b249968546bb5833426bd7f367896 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 09:09:28 +0100 Subject: [PATCH 05/15] #80 fixed typo --- packages/style-guide/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/style-guide/README.md b/packages/style-guide/README.md index 86a174fb..c96556b6 100644 --- a/packages/style-guide/README.md +++ b/packages/style-guide/README.md @@ -1,5 +1,5 @@

- @blgc/style-guide banner + @blgc/style-guide banner

From 6545c2446df98fa0276976de0436dbb85e34face Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:42:04 +0100 Subject: [PATCH 06/15] #80 prettier format --- .prettierrc.js | 4 +- .../vanilla/open-meteo/package.json | 2 +- .../vanilla/open-meteo/src/api.ts | 1 - .../vanilla/open-meteo/src/openapi.ts | 1 - .../feature-form/react/basic/package.json | 2 +- examples/feature-form/react/basic/src/App.tsx | 5 +- .../feature-form/react/basic/src/main.tsx | 1 - .../feature-state/react/counter/package.json | 2 +- .../feature-state/react/counter/src/App.tsx | 1 - .../feature-state/react/counter/src/main.tsx | 1 - .../express/petstore/package.json | 14 +- .../express/petstore/src/index.ts | 1 - .../src/middlewares/error-middleware.ts | 3 +- .../middlewares/invalid-path-middleware.ts | 2 +- .../express/petstore/src/router.ts | 3 +- .../petstore/src/handlers/error-handler.ts | 3 +- .../src/handlers/invalid-path-handler.ts | 2 +- .../openapi-router/hono/petstore/src/index.ts | 1 - .../hono/petstore/src/router.ts | 3 +- .../vanilla/playground/package.json | 2 +- package.json | 59 +- packages/_archived/README.md | 2 +- packages/_archived/logger/package.json | 48 +- packages/_archived/logger/src/Logger.test.ts | 1 - packages/_archived/openapi-express/README.md | 3 - .../_archived/openapi-express/package.json | 48 +- .../openapi-express/src/OpenApiRouter.ts | 3 +- .../src/__tests__/playground.test.ts | 1 - .../src/create-openapi-router.ts | 1 - .../openapi-express/src/types/express.ts | 4 +- .../openapi-express/src/types/validation.ts | 1 - .../roxmltree_byte-only/package.json | 52 +- .../src/__tests__/count-nodes.bench.ts | 1 - .../src/tokenizer/tokenizer.test.ts | 1 - .../_archived/roxmltree_wasm/package.json | 56 +- .../src/__tests__/count-nodes.bench.ts | 1 - .../src/__tests__/xml-to-object.bench.ts | 1 - .../src/tokenizer/tokenizer.test.ts | 1 - .../roxmltree_wasm/src/xml-to-object.test.ts | 1 - packages/cli/package.json | 68 +- packages/cli/src/commands/bundle/figma.ts | 1 - packages/cli/src/commands/bundle/index.ts | 1 - packages/cli/src/commands/bundle/node.ts | 1 - packages/cli/src/commands/bundle/rust.ts | 1 - packages/cli/src/commands/hello.ts | 1 - .../cli/src/services/dyn/get-dyn-config.ts | 1 - packages/cli/src/services/dyn/types.ts | 1 - .../cli/src/services/rollup/bundle-all.ts | 1 - packages/cli/src/services/rollup/bundle.ts | 1 - .../figma/create-figma-rollup-config.ts | 1 - .../configs/figma/rollup.config.base.app.ts | 1 - .../configs/figma/rollup.config.override.ts | 1 - .../library/create-library-rollup-config.ts | 1 - .../configs/library/rollup.config.base.ts | 1 - .../configs/node/create-node-rollup-config.ts | 1 - .../rollup/configs/node/rollup.config.base.ts | 1 - .../services/rollup/merge-rollup-configs.ts | 1 - .../services/rollup/modules/configure-cjs.ts | 1 - .../services/rollup/modules/configure-esm.ts | 1 - .../src/services/rollup/plugins-to-keys.ts | 1 - .../plugins/rollup-plugin-bundle-size.ts | 1 - .../plugins/rollup-plugin-typescript-paths.ts | 1 - packages/cli/src/services/rollup/watch-all.ts | 1 - packages/cli/src/services/rollup/watch.ts | 1 - packages/cli/src/services/tsc/bundle.ts | 1 - packages/cli/src/services/tsc/generate-dts.ts | 1 - packages/cli/src/utils/execa-verbose.ts | 1 - .../utils/get-ts-config-compiler-options.ts | 1 - .../utils/resolve-paths-from-package-json.ts | 1 - packages/cli/src/utils/resolve-paths.ts | 1 - .../cli/src/utils/resolve-ts-paths-factory.ts | 1 - packages/config/package.json | 26 +- packages/elevenlabs-client/package.json | 50 +- .../src/create-elevenlabs-client.test.ts | 1 - .../src/create-elevenlabs-client.ts | 1 - packages/elevenlabs-client/src/gen/v1.ts | 11973 ++++++++-------- packages/elevenlabs-client/src/index.ts | 1 - .../elevenlabs-client/src/with-elevenlabs.ts | 3 +- packages/eprel-client/package.json | 50 +- .../src/create-eprel-client.test.ts | 1 - .../eprel-client/src/create-eprel-client.ts | 1 - packages/eprel-client/src/gen/v1.ts | 1374 +- packages/eprel-client/src/index.ts | 1 - packages/eprel-client/src/with-eprel.ts | 3 +- packages/feature-fetch/README.md | 2 - packages/feature-fetch/package.json | 48 +- .../src/__tests__/playground.test.ts | 1 - .../src/create-fetch-client.test.ts | 3 +- .../feature-fetch/src/create-fetch-client.ts | 1 - .../src/features/with-api/with-api.test.ts | 1 - .../src/features/with-delay.test.ts | 1 - .../feature-fetch/src/features/with-delay.ts | 1 - .../features/with-graphql/get-query-string.ts | 1 - .../src/features/with-graphql/gql.test.ts | 1 - .../src/features/with-graphql/with-graphql.ts | 1 - .../src/features/with-retry.test.ts | 1 - .../feature-fetch/src/features/with-retry.ts | 1 - .../src/helper/FetchHeaders.test.ts | 1 - .../mapper/map-response-to-request-error.ts | 1 - .../serialize-path-params.test.ts | 1 - .../serialize-query-params.test.ts | 1 - .../src/types/features/graphql.ts | 1 - .../feature-fetch/src/types/features/index.ts | 1 - .../src/types/features/openapi.ts | 1 - .../feature-fetch/src/types/fetch-client.ts | 1 - packages/feature-form/package.json | 48 +- packages/feature-form/src/create-form.test.ts | 1 - packages/feature-form/src/create-form.ts | 3 +- .../src/form-field/create-form-field.ts | 3 +- .../src/form-field/create-status.ts | 1 - packages/feature-form/src/types/features.ts | 1 - packages/feature-form/src/types/form-field.ts | 2 +- packages/feature-form/src/types/form.ts | 1 - packages/feature-logger/package.json | 48 +- .../feature-logger/src/create-logger.test.ts | 1 - .../src/features/with-method-prefix.test.ts | 1 - .../src/features/with-prefix.test.ts | 1 - .../src/features/with-timestamp.test.ts | 1 - packages/feature-react/package.json | 56 +- .../feature-react/src/form/hooks/use-form.ts | 1 - .../src/form/register-form-field.ts | 2 +- .../src/state/hooks/use-selector.ts | 2 +- packages/feature-state/README.md | 1 - packages/feature-state/package.json | 48 +- .../feature-state/src/create-state.test.ts | 1 - .../src/features/with-multi-undo.test.ts | 1 - .../src/features/with-selector.test.ts | 1 - .../src/features/with-selector.ts | 1 - .../src/features/with-storage.test.ts | 3 +- .../src/features/with-undo.test.ts | 1 - .../feature-state/src/has-features.test.ts | 1 - packages/feature-state/src/types/features.ts | 1 - packages/feature-state/src/types/state.ts | 1 - packages/figma-connect/README.md | 3 - packages/figma-connect/package.json | 50 +- packages/figma-connect/src/app/AppCallback.ts | 1 - .../src/plugin/PluginCallback.ts | 1 - packages/figma-connect/src/types.test.ts | 1 - packages/google-webfonts-client/package.json | 50 +- .../src/create-google-webfonts-client.test.ts | 1 - .../src/create-google-webfonts-client.ts | 1 - packages/google-webfonts-client/src/index.ts | 1 - .../src/with-google-webfonts.ts | 3 +- packages/openapi-router/README.md | 6 +- packages/openapi-router/package.json | 48 +- .../src/__tests__/playground.test.ts | 1 - .../src/exceptions/ValidationError.ts | 1 - .../create-express-openapi-router.ts | 1 - .../src/features/with-express/with-express.ts | 3 +- .../with-hono/create-hono-openapi-router.ts | 1 - .../src/features/with-hono/with-hono.ts | 3 +- .../src/helper/format-path.test.ts | 1 - .../src/helper/parse-params.test.ts | 1 - .../src/types/features/express.ts | 7 +- .../openapi-router/src/types/features/hono.ts | 7 +- .../src/types/features/index.ts | 1 - packages/style-guide/README.md | 7 +- packages/style-guide/eslint/library.js | 4 +- packages/style-guide/eslint/next.js | 3 +- packages/style-guide/eslint/react-internal.js | 3 +- packages/style-guide/package.json | 37 +- .../typescript/tsconfig.library.json | 4 +- .../style-guide/typescript/tsconfig.next.json | 4 +- .../typescript/tsconfig.node20.json | 2 +- .../typescript/tsconfig.react-internal.json | 2 +- packages/types/package.json | 46 +- packages/utils/package.json | 48 +- packages/utils/src/BitwiseFlag.test.ts | 1 - packages/utils/src/ContinuousId.test.ts | 1 - .../utils/src/apply-mat3-to-point.test.ts | 1 - packages/utils/src/calculate-bytes.test.ts | 1 - packages/utils/src/deep-copy.test.ts | 1 - packages/utils/src/deep-replace-var.test.ts | 1 - packages/utils/src/define-config.test.ts | 1 - packages/utils/src/deg-to-rad.test.ts | 1 - packages/utils/src/extract-error-data.test.ts | 1 - packages/utils/src/from-hex.test.ts | 1 - .../utils/src/get-nested-property.test.ts | 1 - packages/utils/src/has-property.test.ts | 1 - packages/utils/src/hex-to-rgb.test.ts | 1 - packages/utils/src/inverse-mat3.test.ts | 1 - packages/utils/src/is-hex-color.test.ts | 1 - packages/utils/src/is-object.test.ts | 1 - packages/utils/src/is-rgb-color.test.ts | 1 - packages/utils/src/json-function.test.ts | 1 - packages/utils/src/not-empty.test.ts | 1 - packages/utils/src/pick-properties.test.ts | 1 - packages/utils/src/rad-to-deg.test.ts | 1 - packages/utils/src/result.test.ts | 1 - packages/utils/src/rgb-to-hex.test.ts | 1 - packages/utils/src/shallow-merge.test.ts | 1 - packages/utils/src/short-id.test.ts | 1 - packages/utils/src/sleep.test.ts | 1 - packages/utils/src/to-array.test.ts | 1 - packages/utils/src/to-hex.test.ts | 1 - packages/validation-adapter/package.json | 48 +- .../src/create-validator.ts | 1 - packages/validation-adapters/package.json | 50 +- packages/xml-tokenizer/.eslintrc.js | 15 - packages/xml-tokenizer/eslint.config.js | 17 + packages/xml-tokenizer/package.json | 53 +- .../src/__tests__/count-nodes.bench.ts | 1 - .../src/__tests__/playground.test.ts | 1 - .../src/__tests__/select-node.bench.ts | 1 - .../src/__tests__/xml-to-object.bench.ts | 1 - .../xml-tokenizer/src/selector/select.test.ts | 1 - .../src/tokenizer/tokenize.test.ts | 1 - .../xml-tokenizer/src/tokens-to-xml.test.ts | 1 - .../xml-tokenizer/src/xml-to-object.test.ts | 1 - .../src/xml-to-simplified-object.test.ts | 1 - packages/xml-tokenizer/tsconfig.json | 2 +- pnpm-lock.yaml | 1411 +- 212 files changed, 8230 insertions(+), 7984 deletions(-) delete mode 100644 packages/xml-tokenizer/.eslintrc.js create mode 100644 packages/xml-tokenizer/eslint.config.js diff --git a/.prettierrc.js b/.prettierrc.js index ba13f1b2..7da524d6 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,9 +1,7 @@ -const baseConfig = require('@blgc/style-guide/prettier'); - /** * @see https://prettier.io/docs/en/configuration.html * @type {import("prettier").Config} */ module.exports = { - ...baseConfig + ...require('@blgc/style-guide/prettier') }; diff --git a/examples/feature-fetch/vanilla/open-meteo/package.json b/examples/feature-fetch/vanilla/open-meteo/package.json index be42f652..da6e96c7 100644 --- a/examples/feature-fetch/vanilla/open-meteo/package.json +++ b/examples/feature-fetch/vanilla/open-meteo/package.json @@ -1,7 +1,7 @@ { "name": "feature-fetch-vanilla-open-meteo", - "private": true, "version": "0.0.1", + "private": true, "type": "module", "scripts": { "dev": "vite", diff --git a/examples/feature-fetch/vanilla/open-meteo/src/api.ts b/examples/feature-fetch/vanilla/open-meteo/src/api.ts index b2d950fd..da6bba6d 100644 --- a/examples/feature-fetch/vanilla/open-meteo/src/api.ts +++ b/examples/feature-fetch/vanilla/open-meteo/src/api.ts @@ -1,5 +1,4 @@ import { createApiFetchClient } from 'feature-fetch'; - import { paths } from './gen/v1'; const apiFetchClient = createApiFetchClient({ prefixUrl: 'https://api.open-meteo.com/' }); diff --git a/examples/feature-fetch/vanilla/open-meteo/src/openapi.ts b/examples/feature-fetch/vanilla/open-meteo/src/openapi.ts index bb14f11a..84b5d234 100644 --- a/examples/feature-fetch/vanilla/open-meteo/src/openapi.ts +++ b/examples/feature-fetch/vanilla/open-meteo/src/openapi.ts @@ -1,5 +1,4 @@ import { createOpenApiFetchClient } from 'feature-fetch'; - import { type paths } from './gen/v1'; const openApiFetchClient = createOpenApiFetchClient({ diff --git a/examples/feature-form/react/basic/package.json b/examples/feature-form/react/basic/package.json index 4840b9d7..1dbbc655 100644 --- a/examples/feature-form/react/basic/package.json +++ b/examples/feature-form/react/basic/package.json @@ -1,7 +1,7 @@ { "name": "feature-form-react-basic", - "private": true, "version": "0.0.1", + "private": true, "type": "module", "scripts": { "dev": "vite" diff --git a/examples/feature-form/react/basic/src/App.tsx b/examples/feature-form/react/basic/src/App.tsx index 0f6312c6..56f97fb7 100644 --- a/examples/feature-form/react/basic/src/App.tsx +++ b/examples/feature-form/react/basic/src/App.tsx @@ -1,3 +1,4 @@ +import { randomHex, shortId } from '@blgc/utils'; import { bitwiseFlag, createForm, @@ -11,13 +12,9 @@ import { useGlobalState, withGlobalBind } from 'feature-react/state'; import React from 'react'; import * as v from 'valibot'; import * as z from 'zod'; -import { randomHex, shortId } from '@blgc/utils'; - import './App.css'; - import { vValidator } from 'validation-adapters/valibot'; import { zValidator } from 'validation-adapters/zod'; - import { StatusMessage } from './components'; import { isLightColor } from './utils'; diff --git a/examples/feature-form/react/basic/src/main.tsx b/examples/feature-form/react/basic/src/main.tsx index 1016b28c..fc03c18f 100644 --- a/examples/feature-form/react/basic/src/main.tsx +++ b/examples/feature-form/react/basic/src/main.tsx @@ -1,6 +1,5 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; - import App from './App.tsx'; ReactDOM.createRoot(document.getElementById('root')!).render( diff --git a/examples/feature-state/react/counter/package.json b/examples/feature-state/react/counter/package.json index 1da8d79b..652de8d5 100644 --- a/examples/feature-state/react/counter/package.json +++ b/examples/feature-state/react/counter/package.json @@ -1,7 +1,7 @@ { "name": "feature-state-react-counter", - "private": true, "version": "0.0.1", + "private": true, "type": "module", "scripts": { "dev": "vite" diff --git a/examples/feature-state/react/counter/src/App.tsx b/examples/feature-state/react/counter/src/App.tsx index ac1bd208..1b96afa4 100644 --- a/examples/feature-state/react/counter/src/App.tsx +++ b/examples/feature-state/react/counter/src/App.tsx @@ -1,5 +1,4 @@ import { useGlobalState } from 'feature-react/state'; - import { $counter } from './store'; export default function App() { diff --git a/examples/feature-state/react/counter/src/main.tsx b/examples/feature-state/react/counter/src/main.tsx index 1016b28c..fc03c18f 100644 --- a/examples/feature-state/react/counter/src/main.tsx +++ b/examples/feature-state/react/counter/src/main.tsx @@ -1,6 +1,5 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; - import App from './App.tsx'; ReactDOM.createRoot(document.getElementById('root')!).render( diff --git a/examples/openapi-router/express/petstore/package.json b/examples/openapi-router/express/petstore/package.json index 41e1df07..06063710 100644 --- a/examples/openapi-router/express/petstore/package.json +++ b/examples/openapi-router/express/petstore/package.json @@ -2,12 +2,16 @@ "name": "openapi-router-express-petstore", "version": "0.0.1", "private": true, + "main": "./dist/index.js", + "source": "./src/index.ts", + "files": [ + "dist", + "README.md" + ], "scripts": { "dev": "nodemon --config ./nodemon.json", "openapi:generate": "npx openapi-typescript ./resources/openapi-v1.yaml -o ./src/gen/v1.ts" }, - "source": "./src/index.ts", - "main": "./dist/index.js", "dependencies": { "@blgc/openapi-router": "workspace:*", "express": "^4.21.1", @@ -21,9 +25,5 @@ "nodemon": "^3.1.7", "openapi-typescript": "^7.4.2", "ts-node": "^10.9.2" - }, - "files": [ - "dist", - "README.md" - ] + } } diff --git a/examples/openapi-router/express/petstore/src/index.ts b/examples/openapi-router/express/petstore/src/index.ts index 38f2d1e3..226ee0c8 100644 --- a/examples/openapi-router/express/petstore/src/index.ts +++ b/examples/openapi-router/express/petstore/src/index.ts @@ -1,5 +1,4 @@ import express from 'express'; - import { errorMiddleware, invalidPathMiddleware } from './middlewares'; import { router } from './router'; diff --git a/examples/openapi-router/express/petstore/src/middlewares/error-middleware.ts b/examples/openapi-router/express/petstore/src/middlewares/error-middleware.ts index 58d6e555..d6b5b3f9 100644 --- a/examples/openapi-router/express/petstore/src/middlewares/error-middleware.ts +++ b/examples/openapi-router/express/petstore/src/middlewares/error-middleware.ts @@ -1,6 +1,5 @@ -import type express from 'express'; import { AppError } from '@blgc/openapi-router'; - +import type express from 'express'; import { type components } from '../gen/v1'; export function errorMiddleware( diff --git a/examples/openapi-router/express/petstore/src/middlewares/invalid-path-middleware.ts b/examples/openapi-router/express/petstore/src/middlewares/invalid-path-middleware.ts index 3d0631fe..26b97510 100644 --- a/examples/openapi-router/express/petstore/src/middlewares/invalid-path-middleware.ts +++ b/examples/openapi-router/express/petstore/src/middlewares/invalid-path-middleware.ts @@ -1,5 +1,5 @@ -import type express from 'express'; import { AppError } from '@blgc/openapi-router'; +import type express from 'express'; export function invalidPathMiddleware( req: express.Request, diff --git a/examples/openapi-router/express/petstore/src/router.ts b/examples/openapi-router/express/petstore/src/router.ts index eada3d95..694f5f68 100644 --- a/examples/openapi-router/express/petstore/src/router.ts +++ b/examples/openapi-router/express/petstore/src/router.ts @@ -1,8 +1,7 @@ +import { createExpressOpenApiRouter } from '@blgc/openapi-router'; import { Router } from 'express'; import * as v from 'valibot'; import { vValidator } from 'validation-adapters/valibot'; -import { createExpressOpenApiRouter } from '@blgc/openapi-router'; - import { type paths } from './gen/v1'; import { PetSchema } from './schemas'; diff --git a/examples/openapi-router/hono/petstore/src/handlers/error-handler.ts b/examples/openapi-router/hono/petstore/src/handlers/error-handler.ts index a3e2411c..2077145e 100644 --- a/examples/openapi-router/hono/petstore/src/handlers/error-handler.ts +++ b/examples/openapi-router/hono/petstore/src/handlers/error-handler.ts @@ -1,7 +1,6 @@ +import { AppError } from '@blgc/openapi-router'; import type * as hono from 'hono/types'; import { StatusCode } from 'hono/utils/http-status'; -import { AppError } from '@blgc/openapi-router'; - import { components } from '../gen/v1'; export const errorHandler: hono.ErrorHandler = (err, c) => { diff --git a/examples/openapi-router/hono/petstore/src/handlers/invalid-path-handler.ts b/examples/openapi-router/hono/petstore/src/handlers/invalid-path-handler.ts index a2e3306e..73dbac3b 100644 --- a/examples/openapi-router/hono/petstore/src/handlers/invalid-path-handler.ts +++ b/examples/openapi-router/hono/petstore/src/handlers/invalid-path-handler.ts @@ -1,5 +1,5 @@ -import type * as hono from 'hono/types'; import { AppError } from '@blgc/openapi-router'; +import type * as hono from 'hono/types'; export const invalidPathHandler: hono.NotFoundHandler = (c) => { throw new AppError('#ERR_PATH_NOT_FOUND', 404, { diff --git a/examples/openapi-router/hono/petstore/src/index.ts b/examples/openapi-router/hono/petstore/src/index.ts index 137109d5..35862de0 100644 --- a/examples/openapi-router/hono/petstore/src/index.ts +++ b/examples/openapi-router/hono/petstore/src/index.ts @@ -1,6 +1,5 @@ import { serve } from '@hono/node-server'; import { Hono } from 'hono'; - import { errorHandler, invalidPathHandler } from './handlers'; import { router } from './router'; diff --git a/examples/openapi-router/hono/petstore/src/router.ts b/examples/openapi-router/hono/petstore/src/router.ts index cd0a563b..d17c60d4 100644 --- a/examples/openapi-router/hono/petstore/src/router.ts +++ b/examples/openapi-router/hono/petstore/src/router.ts @@ -1,8 +1,7 @@ +import { createHonoOpenApiRouter } from '@blgc/openapi-router'; import { Hono } from 'hono'; import { zValidator } from 'validation-adapters/zod'; import * as z from 'zod'; -import { createHonoOpenApiRouter } from '@blgc/openapi-router'; - import { paths } from './gen/v1'; import { PetSchema } from './schemas'; diff --git a/examples/xml-tokenizer/vanilla/playground/package.json b/examples/xml-tokenizer/vanilla/playground/package.json index 38219fa0..db09b235 100644 --- a/examples/xml-tokenizer/vanilla/playground/package.json +++ b/examples/xml-tokenizer/vanilla/playground/package.json @@ -1,7 +1,7 @@ { "name": "xml-tokenizer-vanilla-playground", - "private": true, "version": "0.0.1", + "private": true, "type": "module", "scripts": { "dev": "vite" diff --git a/package.json b/package.json index 3136725e..5afc6007 100644 --- a/package.json +++ b/package.json @@ -1,58 +1,51 @@ { "name": "community", - "description": "Community libraries maintained by builder.group", "private": true, - "scripts": { - "build": "pnpm build:cli && turbo run build", - "build:cli": "turbo run build --filter=@blgc/cli && pnpm run cli:hello", - "packages:version": "changeset version", - "packages:publish": "changeset publish", - "packages:change": "changeset", - "clean": "turbo run clean && shx rm -rf node_modules", - "install:clean": "pnpm run clean && pnpm install", - "lint": "turbo lint", - "format": "prettier --write \"**/*.{ts,tsx,md,json,js,jsx}\"", - "update:latest": "turbo run update:latest", - "cli:hello": "chmod +x ./scripts/cli.sh && sh ./scripts/cli.sh hello" + "description": "Community libraries maintained by builder.group", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "scripts": { + "build": "pnpm build:cli && turbo run build", + "build:cli": "turbo run build --filter=@blgc/cli && pnpm run cli:hello", + "clean": "turbo run clean && shx rm -rf node_modules", + "cli:hello": "chmod +x ./scripts/cli.sh && sh ./scripts/cli.sh hello", + "format": "prettier --write \"**/*.{ts,tsx,md,json,js,jsx}\"", + "install:clean": "pnpm run clean && pnpm install", + "lint": "turbo lint", + "packages:change": "changeset", + "packages:publish": "changeset publish", + "packages:version": "changeset version", + "update:latest": "turbo run update:latest" }, - "homepage": "https://builder.group/?source=github", "devDependencies": { "@blgc/cli": "workspace:*", "@blgc/config": "workspace:*", "@blgc/style-guide": "workspace:*", "@changesets/changelog-github": "^0.5.0", - "@changesets/cli": "^2.27.9", - "@ianvs/prettier-plugin-sort-imports": "^4.3.1", + "@changesets/cli": "^2.27.10", + "@ianvs/prettier-plugin-sort-imports": "^4.4.0", "@size-limit/esbuild": "^11.1.6", "@size-limit/esbuild-why": "^11.1.6", "@size-limit/preset-small-lib": "^11.1.6", - "eslint": "^8.57.0", - "prettier": "^3.3.3", - "prettier-plugin-tailwindcss": "^0.6.8", + "eslint": "^9.15.0", + "prettier": "^3.4.1", + "prettier-plugin-tailwindcss": "^0.6.9", "shx": "^0.3.4", "size-limit": "^11.1.6", - "turbo": "^2.2.3", - "typescript": "^5.6.3", - "vitest": "^2.1.4" + "turbo": "^2.3.3", + "typescript": "^5.7.2", + "vitest": "^2.1.6" }, "packageManager": "pnpm@9.2.0", - "pnpm": { - "updateConfig": { - "ignoreDependencies": [ - "eslint" - ] - } - }, "engines": { "node": ">=20" } diff --git a/packages/_archived/README.md b/packages/_archived/README.md index 71e80fcb..8d7ccad4 100644 --- a/packages/_archived/README.md +++ b/packages/_archived/README.md @@ -1 +1 @@ -# Archived packages and code chunks \ No newline at end of file +# Archived packages and code chunks diff --git a/packages/_archived/logger/package.json b/packages/_archived/logger/package.json index 01176d5c..49c81183 100644 --- a/packages/_archived/logger/package.json +++ b/packages/_archived/logger/package.json @@ -1,39 +1,39 @@ { "name": "feature-logger", - "description": "Straightforward and typesafe logging library", "version": "0.0.11", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public" + "description": "Straightforward and typesafe logging library", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "devDependencies": { "@blgc/config": "workspace:*", "@types/node": "^20.14.1" - }, - "files": [ - "dist", - "README.md" - ] + } } diff --git a/packages/_archived/logger/src/Logger.test.ts b/packages/_archived/logger/src/Logger.test.ts index 468b6712..d75839db 100644 --- a/packages/_archived/logger/src/Logger.test.ts +++ b/packages/_archived/logger/src/Logger.test.ts @@ -1,5 +1,4 @@ import { afterEach, beforeEach, describe, expect, it, vi, type SpyInstance } from 'vitest'; - import { LOG_LEVEL, Logger } from './Logger'; describe('Logger class tests', () => { diff --git a/packages/_archived/openapi-express/README.md b/packages/_archived/openapi-express/README.md index dc84845c..3d45a637 100644 --- a/packages/_archived/openapi-express/README.md +++ b/packages/_archived/openapi-express/README.md @@ -48,7 +48,6 @@ Import the generated `paths` and use `createOpenApiRouter()` to create an OpenAP ```ts import { createOpenApiRouter } from 'openapi-express'; - import { paths } from './openapi-paths'; // Import generated paths export const router: Router = Router(); @@ -63,7 +62,6 @@ Integrate the OpenAPI router into your Express application to handle requests. U ```ts import express from 'express'; - import { router } from './router'; const app = express(); @@ -82,7 +80,6 @@ Define your API endpoints with full type safety and request validation using Zod ```ts import { Router } from 'express'; import { z } from 'zod'; - import { openApiRouter } from '../router'; const posts = [ diff --git a/packages/_archived/openapi-express/package.json b/packages/_archived/openapi-express/package.json index 3e28daa1..4b501a34 100644 --- a/packages/_archived/openapi-express/package.json +++ b/packages/_archived/openapi-express/package.json @@ -1,34 +1,38 @@ { "name": "openapi-express", - "description": "Typesafe Express Router wrapper supporting OpenAPI types", "version": "0.0.7", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Typesafe Express Router wrapper supporting OpenAPI types", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "devDependencies": { "@blgc/config": "workspace:*", "@blgc/types": "workspace:*", @@ -38,10 +42,6 @@ "express": "^4.19.2", "zod": "^3.23.8" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/_archived/openapi-express/src/OpenApiRouter.ts b/packages/_archived/openapi-express/src/OpenApiRouter.ts index 41347885..23608f26 100644 --- a/packages/_archived/openapi-express/src/OpenApiRouter.ts +++ b/packages/_archived/openapi-express/src/OpenApiRouter.ts @@ -1,7 +1,6 @@ -import type express from 'express'; import { type TPathsWithMethod } from '@blgc/types/openapi'; import { type TFilterKeys } from '@blgc/types/utils'; - +import type express from 'express'; import { ValidationError, type TValidationErrorDetails } from './exceptions'; import { parseRequestQuery } from './helper'; import { diff --git a/packages/_archived/openapi-express/src/__tests__/playground.test.ts b/packages/_archived/openapi-express/src/__tests__/playground.test.ts index 72ec6bb4..ffaf39c9 100644 --- a/packages/_archived/openapi-express/src/__tests__/playground.test.ts +++ b/packages/_archived/openapi-express/src/__tests__/playground.test.ts @@ -1,6 +1,5 @@ import { Router } from 'express'; import { describe, it } from 'vitest'; - import { createOpenApiRouter } from '../create-openapi-router'; import { paths } from './resources/mock-openapi-types'; diff --git a/packages/_archived/openapi-express/src/create-openapi-router.ts b/packages/_archived/openapi-express/src/create-openapi-router.ts index 6fcbe33b..86982614 100644 --- a/packages/_archived/openapi-express/src/create-openapi-router.ts +++ b/packages/_archived/openapi-express/src/create-openapi-router.ts @@ -1,5 +1,4 @@ import type express from 'express'; - import { OpenApiRouter } from './OpenApiRouter'; export function createOpenApiRouter( diff --git a/packages/_archived/openapi-express/src/types/express.ts b/packages/_archived/openapi-express/src/types/express.ts index 2644a89e..d269866e 100644 --- a/packages/_archived/openapi-express/src/types/express.ts +++ b/packages/_archived/openapi-express/src/types/express.ts @@ -1,11 +1,11 @@ -import type express from 'express'; -import type * as core from 'express-serve-static-core'; import type { TOperationPathParams, TOperationQueryParams, TOperationSuccessResponseContent, TRequestBody } from '@blgc/types/openapi'; +import type express from 'express'; +import type * as core from 'express-serve-static-core'; // ============================================================================= // Request Options diff --git a/packages/_archived/openapi-express/src/types/validation.ts b/packages/_archived/openapi-express/src/types/validation.ts index 728a841f..76a0f0eb 100644 --- a/packages/_archived/openapi-express/src/types/validation.ts +++ b/packages/_archived/openapi-express/src/types/validation.ts @@ -3,7 +3,6 @@ import type { TOperationQueryParams, TRequestBody } from '@blgc/types/openapi'; - import type { TParserSchema } from './parser'; // ============================================================================= diff --git a/packages/_archived/roxmltree_byte-only/package.json b/packages/_archived/roxmltree_byte-only/package.json index 4b353a7c..d77110f4 100644 --- a/packages/_archived/roxmltree_byte-only/package.json +++ b/packages/_archived/roxmltree_byte-only/package.json @@ -1,36 +1,40 @@ { "name": "roxmltree", "version": "0.0.6", - "description": "Read Only XML Tree", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "build:dev": "shx rm -rf dist && ../../scripts/cli.sh bundle --target=dev", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "bench": "vitest bench", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Read Only XML Tree", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "bench": "vitest bench", + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "build:dev": "shx rm -rf dist && ../../scripts/cli.sh bundle --target=dev", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "devDependencies": { "@blgc/config": "workspace:*", "@types/node": "^20.14.10", @@ -42,10 +46,6 @@ "txml": "^5.1.1", "xml2js": "^0.6.2" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/_archived/roxmltree_byte-only/src/__tests__/count-nodes.bench.ts b/packages/_archived/roxmltree_byte-only/src/__tests__/count-nodes.bench.ts index 79c2ead1..4aac3079 100644 --- a/packages/_archived/roxmltree_byte-only/src/__tests__/count-nodes.bench.ts +++ b/packages/_archived/roxmltree_byte-only/src/__tests__/count-nodes.bench.ts @@ -3,7 +3,6 @@ import { describe } from 'node:test'; import * as sax from 'sax'; import * as saxen from 'saxen'; import { beforeAll, bench, expect } from 'vitest'; - import { ByteXmlStream, parseXmlStream } from '../index'; void describe('count nodes', () => { diff --git a/packages/_archived/roxmltree_byte-only/src/tokenizer/tokenizer.test.ts b/packages/_archived/roxmltree_byte-only/src/tokenizer/tokenizer.test.ts index ff9e3f55..6fec47aa 100644 --- a/packages/_archived/roxmltree_byte-only/src/tokenizer/tokenizer.test.ts +++ b/packages/_archived/roxmltree_byte-only/src/tokenizer/tokenizer.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { parseXmlStream } from './tokenizer'; import { type TXMLToken } from './types'; import { XmlError } from './XmlError'; diff --git a/packages/_archived/roxmltree_wasm/package.json b/packages/_archived/roxmltree_wasm/package.json index fcef432d..cf3c11c9 100644 --- a/packages/_archived/roxmltree_wasm/package.json +++ b/packages/_archived/roxmltree_wasm/package.json @@ -1,42 +1,46 @@ { "name": "roxmltree", "version": "0.0.5", - "description": "Read Only XML Tree", "private": false, + "description": "Read Only XML Tree", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" + }, + "license": "MIT", + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], "scripts": { + "bench": "vitest bench", "build": "pnpm run build:rust && pnpm run build:ts", - "build:ts": "pnpm run clean:ts && shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "build:rust": "pnpm run clean:rust && shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle rust", "build:dev": "pnpm run build:dev:rust && pnpm run build:dev:ts", "build:dev:rust": "pnpm run clean:rust && shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle rust --target=dev", "build:dev:ts": "pnpm run clean:ts && shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle --target=dev", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", + "build:rust": "pnpm run clean:rust && shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle rust", + "build:ts": "pnpm run clean:ts && shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "pnpm run clean:ts && shx rm -rf node_modules && pnpm run clean:rust && shx rm -rf rust/target && shx rm -rf .turbo", "clean:rust": "shx rm -rf src/rust_modules", "clean:ts": "shx rm -rf dist", "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "bench": "vitest bench", - "update:latest": "pnpm update --latest", + "lint": "eslint --ext .js,.ts src/", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" - }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" - }, - "keywords": [], - "author": "@bennobuilder", - "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "devDependencies": { "@blgc/config": "workspace:*", "@rollup/plugin-wasm": "^6.2.2", @@ -49,10 +53,6 @@ "txml": "^5.1.1", "xml2js": "^0.6.2" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/_archived/roxmltree_wasm/src/__tests__/count-nodes.bench.ts b/packages/_archived/roxmltree_wasm/src/__tests__/count-nodes.bench.ts index b31c118f..196aede9 100644 --- a/packages/_archived/roxmltree_wasm/src/__tests__/count-nodes.bench.ts +++ b/packages/_archived/roxmltree_wasm/src/__tests__/count-nodes.bench.ts @@ -3,7 +3,6 @@ import { describe } from 'node:test'; import * as sax from 'sax'; import * as saxen from 'saxen'; import { beforeAll, bench, expect } from 'vitest'; - import { parseXmlStream, TextXmlStream } from '../tokenizer'; void describe('count nodes', () => { diff --git a/packages/_archived/roxmltree_wasm/src/__tests__/xml-to-object.bench.ts b/packages/_archived/roxmltree_wasm/src/__tests__/xml-to-object.bench.ts index 0dc869f4..c6606385 100644 --- a/packages/_archived/roxmltree_wasm/src/__tests__/xml-to-object.bench.ts +++ b/packages/_archived/roxmltree_wasm/src/__tests__/xml-to-object.bench.ts @@ -4,7 +4,6 @@ import * as fastXmlParser from 'fast-xml-parser'; import * as txml from 'txml'; import { beforeAll, bench, expect } from 'vitest'; import * as xml2js from 'xml2js'; - // eslint-disable-next-line @typescript-eslint/ban-ts-comment -- Ok // @ts-ignore -- Ok import { wasm, xmlToObject, xmlToObjectWasm } from '../../dist/esm'; diff --git a/packages/_archived/roxmltree_wasm/src/tokenizer/tokenizer.test.ts b/packages/_archived/roxmltree_wasm/src/tokenizer/tokenizer.test.ts index 7198a340..ac9fd001 100644 --- a/packages/_archived/roxmltree_wasm/src/tokenizer/tokenizer.test.ts +++ b/packages/_archived/roxmltree_wasm/src/tokenizer/tokenizer.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { parseXmlStream } from './tokenizer'; import { type TXMLToken } from './types'; import { XmlError } from './XmlError'; diff --git a/packages/_archived/roxmltree_wasm/src/xml-to-object.test.ts b/packages/_archived/roxmltree_wasm/src/xml-to-object.test.ts index affafe30..d84aa9eb 100644 --- a/packages/_archived/roxmltree_wasm/src/xml-to-object.test.ts +++ b/packages/_archived/roxmltree_wasm/src/xml-to-object.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { xmlToObject } from './xml-to-object'; describe('xmlToObject function', () => { diff --git a/packages/cli/package.json b/packages/cli/package.json index 82012186..44442942 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,35 +1,51 @@ { "name": "@blgc/cli", - "description": "Straightforward CLI to bundle Typescript libraries with presets, powered by Rollup and Esbuild", "version": "0.0.19", "private": false, + "description": "Straightforward CLI to bundle Typescript libraries with presets, powered by Rollup and Esbuild", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" + }, + "license": "MIT", + "author": "@bennobuilder", + "main": "./dist/index.js", + "source": "./src/index.ts", + "types": "./dist/index.d.ts", "bin": { "blgc": "./bin/run" }, + "files": [ + "dist", + "bin", + "README.md" + ], "scripts": { "build": "shx rm -rf dist && tsc", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts,.jsx,.tsx src/", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts,.jsx,.tsx src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "start:dev": "tsc -w", "test": "echo \"Error: no test specified\" && exit 1", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public" - }, - "source": "./src/index.ts", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" + "update:latest": "pnpm update --latest" }, - "keywords": [], - "author": "@bennobuilder", - "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "oclif": { + "bin": "blgc", + "commands": "./dist/commands", + "dirname": "blgc", + "topicSeparator": " ", + "topics": { + "bundle": { + "description": "Bundle packages" + } + } }, - "homepage": "https://builder.group/?source=package-json", "dependencies": { "@oclif/core": "^4.0.31", "@rollup/plugin-commonjs": "^28.0.1", @@ -56,11 +72,6 @@ "@types/node": "^22.9.0", "type-fest": "^4.26.1" }, - "files": [ - "dist", - "bin", - "README.md" - ], "pnpm": { "updateConfig": { "ignoreDependencies": [ @@ -69,16 +80,5 @@ "rollup-plugin-node-externals" ] } - }, - "oclif": { - "bin": "blgc", - "dirname": "blgc", - "commands": "./dist/commands", - "topicSeparator": " ", - "topics": { - "bundle": { - "description": "Bundle packages" - } - } } } diff --git a/packages/cli/src/commands/bundle/figma.ts b/packages/cli/src/commands/bundle/figma.ts index 90bec34e..7daad693 100644 --- a/packages/cli/src/commands/bundle/figma.ts +++ b/packages/cli/src/commands/bundle/figma.ts @@ -3,7 +3,6 @@ import path from 'node:path'; import { Flags } from '@oclif/core'; import chalk from 'chalk'; import type { PackageJson } from 'type-fest'; - import { DynCommand } from '../../DynCommand'; import { bundleAllWithRollup, diff --git a/packages/cli/src/commands/bundle/index.ts b/packages/cli/src/commands/bundle/index.ts index 593ff0a2..23d33a47 100644 --- a/packages/cli/src/commands/bundle/index.ts +++ b/packages/cli/src/commands/bundle/index.ts @@ -2,7 +2,6 @@ import path from 'node:path'; import { Flags } from '@oclif/core'; import chalk from 'chalk'; import type { PackageJson } from 'type-fest'; - import { DynCommand } from '../../DynCommand'; import { bundleAllWithRollup, diff --git a/packages/cli/src/commands/bundle/node.ts b/packages/cli/src/commands/bundle/node.ts index 060b38fc..f86ba4aa 100644 --- a/packages/cli/src/commands/bundle/node.ts +++ b/packages/cli/src/commands/bundle/node.ts @@ -2,7 +2,6 @@ import path from 'node:path'; import { Flags } from '@oclif/core'; import chalk from 'chalk'; import type { PackageJson } from 'type-fest'; - import { DynCommand } from '../../DynCommand'; import { bundleAllWithRollup, createNodeRollupConfig, getDynConfig } from '../../services'; import { doesFileExist, promisifyFiglet, readJsonFile } from '../../utils'; diff --git a/packages/cli/src/commands/bundle/rust.ts b/packages/cli/src/commands/bundle/rust.ts index 0ed95b1b..19402fa6 100644 --- a/packages/cli/src/commands/bundle/rust.ts +++ b/packages/cli/src/commands/bundle/rust.ts @@ -3,7 +3,6 @@ import path from 'node:path'; import { Flags } from '@oclif/core'; import chalk from 'chalk'; import type { PackageJson } from 'type-fest'; - import { DynCommand } from '../../DynCommand'; import { getDynConfig } from '../../services'; import { diff --git a/packages/cli/src/commands/hello.ts b/packages/cli/src/commands/hello.ts index 28e7d29e..8eaf8eb1 100644 --- a/packages/cli/src/commands/hello.ts +++ b/packages/cli/src/commands/hello.ts @@ -1,5 +1,4 @@ import chalk from 'chalk'; - import { DynCommand } from '../DynCommand'; import { promisifyFiglet } from '../utils'; diff --git a/packages/cli/src/services/dyn/get-dyn-config.ts b/packages/cli/src/services/dyn/get-dyn-config.ts index df4b3db9..32036195 100644 --- a/packages/cli/src/services/dyn/get-dyn-config.ts +++ b/packages/cli/src/services/dyn/get-dyn-config.ts @@ -1,6 +1,5 @@ import path from 'node:path'; import chalk from 'chalk'; - import type { DynCommand } from '../../DynCommand'; import { readJsFile } from '../../utils'; import type { TDynConfig } from './types'; diff --git a/packages/cli/src/services/dyn/types.ts b/packages/cli/src/services/dyn/types.ts index a0dd224c..50894fd2 100644 --- a/packages/cli/src/services/dyn/types.ts +++ b/packages/cli/src/services/dyn/types.ts @@ -1,6 +1,5 @@ import type { InputPluginOption, MaybePromise, OutputOptions, RollupOptions } from 'rollup'; import type { PackageJson } from 'type-fest'; - import type { DynCommand } from '../../DynCommand'; import type { TInputOutputPath } from '../../utils'; diff --git a/packages/cli/src/services/rollup/bundle-all.ts b/packages/cli/src/services/rollup/bundle-all.ts index a343e435..fac9c4e0 100644 --- a/packages/cli/src/services/rollup/bundle-all.ts +++ b/packages/cli/src/services/rollup/bundle-all.ts @@ -1,5 +1,4 @@ import type { RollupOptions, RollupOutput } from 'rollup'; - import type { DynCommand } from '../../DynCommand'; import { bundleWithRollup } from './bundle'; diff --git a/packages/cli/src/services/rollup/bundle.ts b/packages/cli/src/services/rollup/bundle.ts index 7146ca91..e2011b7e 100644 --- a/packages/cli/src/services/rollup/bundle.ts +++ b/packages/cli/src/services/rollup/bundle.ts @@ -1,6 +1,5 @@ import chalk from 'chalk'; import { rollup, type OutputOptions, type RollupOptions, type RollupOutput } from 'rollup'; - import type { DynCommand } from '../../DynCommand'; import { pluginsToKeys } from './plugins-to-keys'; diff --git a/packages/cli/src/services/rollup/configs/figma/create-figma-rollup-config.ts b/packages/cli/src/services/rollup/configs/figma/create-figma-rollup-config.ts index 68313d7f..77f82e4f 100644 --- a/packages/cli/src/services/rollup/configs/figma/create-figma-rollup-config.ts +++ b/packages/cli/src/services/rollup/configs/figma/create-figma-rollup-config.ts @@ -1,6 +1,5 @@ import { defineConfig as rollupDefineConfig, type RollupOptions } from 'rollup'; import type { PackageJson } from 'type-fest'; - import type { DynCommand } from '../../../../DynCommand'; import type { TBaseDynRollupOptions, TDynFigmaConfig } from '../../../dyn'; import { mergeRollupConfigs } from '../../merge-rollup-configs'; diff --git a/packages/cli/src/services/rollup/configs/figma/rollup.config.base.app.ts b/packages/cli/src/services/rollup/configs/figma/rollup.config.base.app.ts index b705fd03..7d8a0102 100644 --- a/packages/cli/src/services/rollup/configs/figma/rollup.config.base.app.ts +++ b/packages/cli/src/services/rollup/configs/figma/rollup.config.base.app.ts @@ -2,7 +2,6 @@ import path from 'node:path'; import html from '@rollup/plugin-html'; import postcss from 'rollup-plugin-postcss'; import type { PackageJson } from 'type-fest'; - import { readHtmlFile } from '../../../../utils'; import type { TBaseDynRollupOptions, TDynRollupOptionsCallbackConfig } from '../../../dyn'; diff --git a/packages/cli/src/services/rollup/configs/figma/rollup.config.override.ts b/packages/cli/src/services/rollup/configs/figma/rollup.config.override.ts index c1e3d7bc..11ae1120 100644 --- a/packages/cli/src/services/rollup/configs/figma/rollup.config.override.ts +++ b/packages/cli/src/services/rollup/configs/figma/rollup.config.override.ts @@ -4,7 +4,6 @@ import { nodeResolve } from '@rollup/plugin-node-resolve'; import replace from '@rollup/plugin-replace'; import esbuild from 'rollup-plugin-esbuild'; import license from 'rollup-plugin-license'; - import { getPathDetails, readDotenvFile } from '../../../../utils'; import type { TBaseDynRollupOptions, TDynRollupOptionsCallbackConfig } from '../../../dyn'; import { bundleSize, typescriptPaths } from '../../plugins'; diff --git a/packages/cli/src/services/rollup/configs/library/create-library-rollup-config.ts b/packages/cli/src/services/rollup/configs/library/create-library-rollup-config.ts index c4b866f5..4e4009f2 100644 --- a/packages/cli/src/services/rollup/configs/library/create-library-rollup-config.ts +++ b/packages/cli/src/services/rollup/configs/library/create-library-rollup-config.ts @@ -1,7 +1,6 @@ import chalk from 'chalk'; import { defineConfig as rollupDefineConfig, type RollupOptions } from 'rollup'; import type { PackageJson } from 'type-fest'; - import type { DynCommand } from '../../../../DynCommand'; import { resolvePaths, toArray, type TInputOutputPath } from '../../../../utils'; import type { TDynLibraryConfig, TDynRollupOptionsCallbackConfig } from '../../../dyn'; diff --git a/packages/cli/src/services/rollup/configs/library/rollup.config.base.ts b/packages/cli/src/services/rollup/configs/library/rollup.config.base.ts index b59b3eca..72b7bf70 100644 --- a/packages/cli/src/services/rollup/configs/library/rollup.config.base.ts +++ b/packages/cli/src/services/rollup/configs/library/rollup.config.base.ts @@ -1,7 +1,6 @@ import commonjs from '@rollup/plugin-commonjs'; import esbuild from 'rollup-plugin-esbuild'; import nodeExternals from 'rollup-plugin-node-externals'; - import { isExternal } from '../../../../utils'; import type { TBaseDynRollupOptions, TDynRollupOptionsCallbackConfig } from '../../../dyn'; import { bundleSize, typescriptPaths } from '../../plugins'; diff --git a/packages/cli/src/services/rollup/configs/node/create-node-rollup-config.ts b/packages/cli/src/services/rollup/configs/node/create-node-rollup-config.ts index 79da0c38..8c0c9754 100644 --- a/packages/cli/src/services/rollup/configs/node/create-node-rollup-config.ts +++ b/packages/cli/src/services/rollup/configs/node/create-node-rollup-config.ts @@ -1,7 +1,6 @@ import chalk from 'chalk'; import { defineConfig as rollupDefineConfig, type RollupOptions } from 'rollup'; import type { PackageJson } from 'type-fest'; - import type { DynCommand } from '../../../../DynCommand'; import { resolvePaths, toArray, type TInputOutputPath } from '../../../../utils'; import type { TDynNodeConfig, TDynRollupOptionsCallbackConfig } from '../../../dyn'; diff --git a/packages/cli/src/services/rollup/configs/node/rollup.config.base.ts b/packages/cli/src/services/rollup/configs/node/rollup.config.base.ts index 3c8529a6..e1d95318 100644 --- a/packages/cli/src/services/rollup/configs/node/rollup.config.base.ts +++ b/packages/cli/src/services/rollup/configs/node/rollup.config.base.ts @@ -5,7 +5,6 @@ import { nodeResolve } from '@rollup/plugin-node-resolve'; import esbuild from 'rollup-plugin-esbuild'; import license from 'rollup-plugin-license'; import nodeExternals from 'rollup-plugin-node-externals'; - import { getPathDetails, isExternal } from '../../../../utils'; import type { TBaseDynRollupOptions, TDynRollupOptionsCallbackConfig } from '../../../dyn'; import { bundleSize, typescriptPaths } from '../../plugins'; diff --git a/packages/cli/src/services/rollup/merge-rollup-configs.ts b/packages/cli/src/services/rollup/merge-rollup-configs.ts index d0e6b693..74b98040 100644 --- a/packages/cli/src/services/rollup/merge-rollup-configs.ts +++ b/packages/cli/src/services/rollup/merge-rollup-configs.ts @@ -1,6 +1,5 @@ import { mergeWith } from 'lodash'; import type { InputPluginOption, Plugin, RollupOptions } from 'rollup'; - import type { DynCommand } from '../../DynCommand'; import type { TBaseDynRollupOptions, TDynRollupPlugin } from '../dyn'; import { isRollupPlugin } from './is-plugin'; diff --git a/packages/cli/src/services/rollup/modules/configure-cjs.ts b/packages/cli/src/services/rollup/modules/configure-cjs.ts index dad7f2fd..4a52cba2 100644 --- a/packages/cli/src/services/rollup/modules/configure-cjs.ts +++ b/packages/cli/src/services/rollup/modules/configure-cjs.ts @@ -1,5 +1,4 @@ import path from 'node:path'; - import type { TConfigureModuleConfig, TConfigureModuleResponse } from '.'; export function configureCJS(config: TConfigureModuleConfig): TConfigureModuleResponse { diff --git a/packages/cli/src/services/rollup/modules/configure-esm.ts b/packages/cli/src/services/rollup/modules/configure-esm.ts index 80efc64c..17721871 100644 --- a/packages/cli/src/services/rollup/modules/configure-esm.ts +++ b/packages/cli/src/services/rollup/modules/configure-esm.ts @@ -1,5 +1,4 @@ import path from 'node:path'; - import type { TConfigureModuleConfig, TConfigureModuleResponse } from '.'; export function configureESM(config: TConfigureModuleConfig): TConfigureModuleResponse { diff --git a/packages/cli/src/services/rollup/plugins-to-keys.ts b/packages/cli/src/services/rollup/plugins-to-keys.ts index d801fdf2..3e478bc5 100644 --- a/packages/cli/src/services/rollup/plugins-to-keys.ts +++ b/packages/cli/src/services/rollup/plugins-to-keys.ts @@ -1,5 +1,4 @@ import type { InputPluginOption } from 'rollup'; - import { isRollupPlugin } from './is-plugin'; export function pluginsToKeys(plugins: InputPluginOption): string[] { diff --git a/packages/cli/src/services/rollup/plugins/rollup-plugin-bundle-size.ts b/packages/cli/src/services/rollup/plugins/rollup-plugin-bundle-size.ts index b0348ab7..81bbbce8 100644 --- a/packages/cli/src/services/rollup/plugins/rollup-plugin-bundle-size.ts +++ b/packages/cli/src/services/rollup/plugins/rollup-plugin-bundle-size.ts @@ -2,7 +2,6 @@ import fs from 'node:fs'; import path from 'node:path'; import chalk from 'chalk'; import type { Plugin } from 'rollup'; - import type { DynCommand } from '../../../DynCommand'; async function bundleSize(command: DynCommand): Promise { diff --git a/packages/cli/src/services/rollup/plugins/rollup-plugin-typescript-paths.ts b/packages/cli/src/services/rollup/plugins/rollup-plugin-typescript-paths.ts index 433cfa48..9cc047d9 100644 --- a/packages/cli/src/services/rollup/plugins/rollup-plugin-typescript-paths.ts +++ b/packages/cli/src/services/rollup/plugins/rollup-plugin-typescript-paths.ts @@ -3,7 +3,6 @@ // https://github.com/justkey007/tsc-alias import type { Plugin } from 'rollup'; - import type { DynCommand } from '../../../DynCommand'; import { resolveTsPathsFactory, type TResolveTsPathsFactoryOptions } from '../../../utils'; diff --git a/packages/cli/src/services/rollup/watch-all.ts b/packages/cli/src/services/rollup/watch-all.ts index e377d045..ec3132ee 100644 --- a/packages/cli/src/services/rollup/watch-all.ts +++ b/packages/cli/src/services/rollup/watch-all.ts @@ -1,5 +1,4 @@ import type { RollupOptions, RollupWatcher } from 'rollup'; - import type { DynCommand } from '../../DynCommand'; import { watchWithRollup, type TEventWatcher } from './watch'; diff --git a/packages/cli/src/services/rollup/watch.ts b/packages/cli/src/services/rollup/watch.ts index 1290a8a2..50c57243 100644 --- a/packages/cli/src/services/rollup/watch.ts +++ b/packages/cli/src/services/rollup/watch.ts @@ -1,6 +1,5 @@ import chalk from 'chalk'; import { watch, type RollupOptions, type RollupWatcher, type RollupWatcherEvent } from 'rollup'; - import type { DynCommand } from '../../DynCommand'; import { pluginsToKeys } from './plugins-to-keys'; diff --git a/packages/cli/src/services/tsc/bundle.ts b/packages/cli/src/services/tsc/bundle.ts index c35bafd8..83cef65d 100644 --- a/packages/cli/src/services/tsc/bundle.ts +++ b/packages/cli/src/services/tsc/bundle.ts @@ -1,6 +1,5 @@ import path from 'node:path'; import chalk from 'chalk'; - import type { DynCommand } from '../../DynCommand'; import { execaVerbose } from '../../utils'; diff --git a/packages/cli/src/services/tsc/generate-dts.ts b/packages/cli/src/services/tsc/generate-dts.ts index 9de113bb..7d695e3e 100644 --- a/packages/cli/src/services/tsc/generate-dts.ts +++ b/packages/cli/src/services/tsc/generate-dts.ts @@ -2,7 +2,6 @@ import * as fs from 'node:fs'; import * as path from 'node:path'; import chalk from 'chalk'; import type { PackageJson } from 'type-fest'; - import type { DynCommand } from '../../DynCommand'; import { execaVerbose, diff --git a/packages/cli/src/utils/execa-verbose.ts b/packages/cli/src/utils/execa-verbose.ts index 545338b9..549a659b 100644 --- a/packages/cli/src/utils/execa-verbose.ts +++ b/packages/cli/src/utils/execa-verbose.ts @@ -1,5 +1,4 @@ import chalk from 'chalk'; - import type { DynCommand } from '../DynCommand'; export async function execaVerbose( diff --git a/packages/cli/src/utils/get-ts-config-compiler-options.ts b/packages/cli/src/utils/get-ts-config-compiler-options.ts index 04167611..6fceaf32 100644 --- a/packages/cli/src/utils/get-ts-config-compiler-options.ts +++ b/packages/cli/src/utils/get-ts-config-compiler-options.ts @@ -1,6 +1,5 @@ import chalk from 'chalk'; import * as ts from 'typescript'; - import type { DynCommand } from '../DynCommand'; import { findNearestTsConfigPath } from './find-nearest-ts-config-path'; diff --git a/packages/cli/src/utils/resolve-paths-from-package-json.ts b/packages/cli/src/utils/resolve-paths-from-package-json.ts index 7df8c2e1..16840ede 100644 --- a/packages/cli/src/utils/resolve-paths-from-package-json.ts +++ b/packages/cli/src/utils/resolve-paths-from-package-json.ts @@ -1,6 +1,5 @@ import path from 'node:path'; import type { PackageJson } from 'type-fest'; - import type { TInputOutputPath } from './resolve-paths'; /** diff --git a/packages/cli/src/utils/resolve-paths.ts b/packages/cli/src/utils/resolve-paths.ts index 13f552bc..d45d9df8 100644 --- a/packages/cli/src/utils/resolve-paths.ts +++ b/packages/cli/src/utils/resolve-paths.ts @@ -1,5 +1,4 @@ import type { PackageJson } from 'type-fest'; - import { resolvePathsFromPackageJson } from './resolve-paths-from-package-json'; import { toArray } from './to-array'; diff --git a/packages/cli/src/utils/resolve-ts-paths-factory.ts b/packages/cli/src/utils/resolve-ts-paths-factory.ts index 6d8b355d..4265cb4d 100644 --- a/packages/cli/src/utils/resolve-ts-paths-factory.ts +++ b/packages/cli/src/utils/resolve-ts-paths-factory.ts @@ -1,6 +1,5 @@ import path from 'node:path'; import * as ts from 'typescript'; - import type { DynCommand } from '../DynCommand'; import { getTsConfigCompilerOptions, diff --git a/packages/config/package.json b/packages/config/package.json index f8fab2e1..3dde0502 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,35 +1,35 @@ { "name": "@blgc/config", - "description": "Collection of ESLint, Vite and Typescript configurations", "version": "0.0.25", "private": false, - "scripts": { - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm version patch && pnpm publish --no-git-checks --access=public" + "description": "Collection of ESLint, Vite and Typescript configurations", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "scripts": { + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "publish:patch": "pnpm version patch && pnpm publish --no-git-checks --access=public", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "dependencies": { "@vercel/style-guide": "^6.0.0", "eslint-config-turbo": "^2.2.3", "vite-tsconfig-paths": "^5.1.0" }, - "peerDependencies": { + "devDependencies": { "@next/eslint-plugin-next": "^14.2.6", "eslint": "^8.57.0" }, - "devDependencies": { + "peerDependencies": { "@next/eslint-plugin-next": "^14.2.6", "eslint": "^8.57.0" } diff --git a/packages/elevenlabs-client/package.json b/packages/elevenlabs-client/package.json index 241d11c7..e3dfa2c3 100644 --- a/packages/elevenlabs-client/package.json +++ b/packages/elevenlabs-client/package.json @@ -1,35 +1,39 @@ { "name": "elevenlabs-client", - "description": "Typesafe and straightforward fetch client for interacting with the ElevenLabs API using feature-fetch", "version": "0.0.9", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-0.json -o ./src/gen/v1.ts", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Typesafe and straightforward fetch client for interacting with the ElevenLabs API using feature-fetch", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-0.json -o ./src/gen/v1.ts", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "dependencies": { "@blgc/utils": "workspace:*", "feature-fetch": "workspace:*" @@ -40,10 +44,6 @@ "dotenv": "^16.4.5", "openapi-typescript": "^7.4.2" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/elevenlabs-client/src/create-elevenlabs-client.test.ts b/packages/elevenlabs-client/src/create-elevenlabs-client.test.ts index 8dfc318e..07965f67 100644 --- a/packages/elevenlabs-client/src/create-elevenlabs-client.test.ts +++ b/packages/elevenlabs-client/src/create-elevenlabs-client.test.ts @@ -3,7 +3,6 @@ import path from 'node:path'; import { pipeline } from 'node:stream'; import { promisify } from 'node:util'; import { beforeAll, describe, expect, it } from 'vitest'; - import { createElvenLabsClient } from './create-elevenlabs-client'; const pipelineAsync = promisify(pipeline); diff --git a/packages/elevenlabs-client/src/create-elevenlabs-client.ts b/packages/elevenlabs-client/src/create-elevenlabs-client.ts index b3151d49..85964f0b 100644 --- a/packages/elevenlabs-client/src/create-elevenlabs-client.ts +++ b/packages/elevenlabs-client/src/create-elevenlabs-client.ts @@ -1,5 +1,4 @@ import { createOpenApiFetchClient, type TFetchClient } from 'feature-fetch'; - import type { paths } from './gen/v1'; import { withElevenLabs } from './with-elevenlabs'; diff --git a/packages/elevenlabs-client/src/gen/v1.ts b/packages/elevenlabs-client/src/gen/v1.ts index 116b3c77..b461075d 100644 --- a/packages/elevenlabs-client/src/gen/v1.ts +++ b/packages/elevenlabs-client/src/gen/v1.ts @@ -4,5984 +4,6009 @@ */ export interface paths { - "/v1/history": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Generated Items - * @description Returns metadata about all your generated audio. - */ - get: operations["Get_generated_items_v1_history_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/history/{history_item_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get History Item By Id - * @description Returns information about an history item by its ID. - */ - get: operations["Get_history_item_by_ID_v1_history__history_item_id__get"]; - put?: never; - post?: never; - /** - * Delete History Item - * @description Delete a history item by its ID - */ - delete: operations["Delete_history_item_v1_history__history_item_id__delete"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/history/{history_item_id}/audio": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Audio From History Item - * @description Returns the audio of an history item. - */ - get: operations["Get_audio_from_history_item_v1_history__history_item_id__audio_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/history/download": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Download History Items - * @description Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file. - */ - post: operations["Download_history_items_v1_history_download_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/sound-generation": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Sound Generation - * @description Converts a text of your choice into sound - */ - post: operations["Sound_Generation_v1_sound_generation_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/audio-isolation": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Audio Isolation - * @description Removes background noise from audio - */ - post: operations["Audio_Isolation_v1_audio_isolation_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/audio-isolation/stream": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Audio Isolation Stream - * @description Removes background noise from audio and streams the result - */ - post: operations["Audio_Isolation_Stream_v1_audio_isolation_stream_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/{voice_id}/samples/{sample_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post?: never; - /** - * Delete Sample - * @description Removes a sample by its ID. - */ - delete: operations["Delete_sample_v1_voices__voice_id__samples__sample_id__delete"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/{voice_id}/samples/{sample_id}/audio": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Audio From Sample - * @description Returns the audio corresponding to a sample attached to a voice. - */ - get: operations["Get_audio_from_sample_v1_voices__voice_id__samples__sample_id__audio_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/text-to-speech/{voice_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Text To Speech - * @description Converts text into speech using a voice of your choice and returns audio. - */ - post: operations["Text_to_speech_v1_text_to_speech__voice_id__post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/text-to-speech/{voice_id}/with-timestamps": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Text To Speech With Timestamps - * @description Converts text into speech using a voice of your choice and returns JSON containing audio as a base64 encoded string together with information on when which character was spoken. - */ - post: operations["Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/text-to-speech/{voice_id}/stream": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Text To Speech Streaming - * @description Converts text into speech using a voice of your choice and returns audio as an audio stream. - */ - post: operations["Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/text-to-speech/{voice_id}/stream/with-timestamps": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Text To Speech Streaming With Timestamps - * @description Converts text into speech using a voice of your choice and returns a stream of JSONs containing audio as a base64 encoded string together with information on when which character was spoken. - */ - post: operations["Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/speech-to-speech/{voice_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Speech To Speech - * @description Create speech by combining the content and emotion of the uploaded audio with a voice of your choice. - */ - post: operations["Speech_to_Speech_v1_speech_to_speech__voice_id__post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/speech-to-speech/{voice_id}/stream": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Speech To Speech Streaming - * @description Create speech by combining the content and emotion of the uploaded audio with a voice of your choice and returns an audio stream. - */ - post: operations["Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voice-generation/generate-voice/parameters": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Voice Generation Parameters - * @description Get possible parameters for the /v1/voice-generation/generate-voice endpoint. - */ - get: operations["Voice_Generation_Parameters_v1_voice_generation_generate_voice_parameters_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voice-generation/generate-voice": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Generate A Random Voice - * @description Generate a random voice based on parameters. This method returns a generated_voice_id in the response header, and a sample of the voice in the body. If you like the generated voice call /v1/voice-generation/create-voice with the generated_voice_id to create the voice. - */ - post: operations["Generate_a_random_voice_v1_voice_generation_generate_voice_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voice-generation/create-voice": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Create A Previously Generated Voice - * @description Create a previously generated voice. This endpoint should be called after you fetched a generated_voice_id using /v1/voice-generation/generate-voice. - */ - post: operations["Create_a_previously_generated_voice_v1_voice_generation_create_voice_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/user/subscription": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get User Subscription Info - * @description Gets extended information about the users subscription - */ - get: operations["Get_user_subscription_info_v1_user_subscription_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/user": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get User Info - * @description Gets information about the user - */ - get: operations["Get_user_info_v1_user_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Voices - * @description Gets a list of all available voices for a user. - */ - get: operations["Get_voices_v1_voices_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/settings/default": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Default Voice Settings. - * @description Gets the default settings for voices. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app. - */ - get: operations["Get_default_voice_settings__v1_voices_settings_default_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/{voice_id}/settings": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Voice Settings - * @description Returns the settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app. - */ - get: operations["Get_voice_settings_v1_voices__voice_id__settings_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/{voice_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Voice - * @description Returns metadata about a specific voice. - */ - get: operations["Get_voice_v1_voices__voice_id__get"]; - put?: never; - post?: never; - /** - * Delete Voice - * @description Deletes a voice by its ID. - */ - delete: operations["Delete_voice_v1_voices__voice_id__delete"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/{voice_id}/settings/edit": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Edit Voice Settings - * @description Edit your settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app. - */ - post: operations["Edit_voice_settings_v1_voices__voice_id__settings_edit_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/add": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Add Voice - * @description Add a new voice to your collection of voices in VoiceLab. - */ - post: operations["Add_voice_v1_voices_add_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/{voice_id}/edit": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Edit Voice - * @description Edit a voice created by you. - */ - post: operations["Edit_voice_v1_voices__voice_id__edit_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/voices/add/{public_user_id}/{voice_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Add Sharing Voice - * @description Add a sharing voice to your collection of voices in VoiceLab. - */ - post: operations["Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Projects - * @description Returns a list of your projects together and its metadata. - */ - get: operations["Get_projects_v1_projects_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/add": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Add Project - * @description Creates a new project, it can be either initialized as blank, from a document or from a URL. - */ - post: operations["Add_project_v1_projects_add_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Project By Id - * @description Returns information about a specific project. This endpoint returns more detailed information about a project than GET api.elevenlabs.io/v1/projects. - */ - get: operations["Get_project_by_ID_v1_projects__project_id__get"]; - put?: never; - /** - * Edit Basic Project Info - * @description Edits basic project info. - */ - post: operations["Edit_basic_project_info_v1_projects__project_id__post"]; - /** - * Delete Project - * @description Delete a project by its project_id. - */ - delete: operations["Delete_project_v1_projects__project_id__delete"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/convert": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Convert Project - * @description Starts conversion of a project and all of its chapters. - */ - post: operations["Convert_project_v1_projects__project_id__convert_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/snapshots": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Project Snapshots - * @description Gets the snapshots of a project. - */ - get: operations["Get_project_snapshots_v1_projects__project_id__snapshots_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/snapshots/{project_snapshot_id}/stream": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Stream Project Audio - * @description Stream the audio from a project snapshot. - */ - post: operations["Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/snapshots/{project_snapshot_id}/archive": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Streams Archive With Project Audio - * @description Streams archive with project audio. - */ - post: operations["Streams_archive_with_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__archive_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/chapters": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Chapters - * @description Returns a list of your chapters for a project together and its metadata. - */ - get: operations["Get_chapters_v1_projects__project_id__chapters_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/chapters/{chapter_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Chapter By Id - * @description Returns information about a specific chapter. - */ - get: operations["Get_chapter_by_ID_v1_projects__project_id__chapters__chapter_id__get"]; - put?: never; - post?: never; - /** - * Delete Chapter - * @description Delete a chapter by its chapter_id. - */ - delete: operations["Delete_chapter_v1_projects__project_id__chapters__chapter_id__delete"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/chapters/add": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Add Chapter To A Project - * @description Creates a new chapter either as blank or from a URL. - */ - post: operations["Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/chapters/{chapter_id}/convert": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Convert Chapter - * @description Starts conversion of a specific chapter. - */ - post: operations["Convert_chapter_v1_projects__project_id__chapters__chapter_id__convert_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/chapters/{chapter_id}/snapshots": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Chapter Snapshots - * @description Gets information about all the snapshots of a chapter, each snapshot corresponds can be downloaded as audio. Whenever a chapter is converted a snapshot will be automatically created. - */ - get: operations["Get_chapter_snapshots_v1_projects__project_id__chapters__chapter_id__snapshots_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Stream Chapter Audio - * @description Stream the audio from a chapter snapshot. Use `GET /v1/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the chapter snapshots of a chapter. - */ - post: operations["Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/projects/{project_id}/update-pronunciation-dictionaries": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Update Pronunciation Dictionaries - * @description Updates the set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does. - */ - post: operations["Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/dubbing": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Dub A Video Or An Audio File - * @description Dubs provided audio or video file into given language. - */ - post: operations["Dub_a_video_or_an_audio_file_v1_dubbing_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/dubbing/{dubbing_id}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Dubbing Project Metadata - * @description Returns metadata about a dubbing project, including whether it's still in progress or not - */ - get: operations["Get_dubbing_project_metadata_v1_dubbing__dubbing_id__get"]; - put?: never; - post?: never; - /** - * Delete Dubbing Project - * @description Deletes a dubbing project. - */ - delete: operations["Delete_dubbing_project_v1_dubbing__dubbing_id__delete"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/dubbing/{dubbing_id}/audio/{language_code}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Dubbed File - * @description Returns dubbed file as a streamed file. Videos will be returned in MP4 format and audio only dubs will be returned in MP3. - */ - get: operations["Get_dubbed_file_v1_dubbing__dubbing_id__audio__language_code__get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/dubbing/{dubbing_id}/transcript/{language_code}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Transcript For Dub - * @description Returns transcript for the dub as an SRT file. - */ - get: operations["Get_transcript_for_dub_v1_dubbing__dubbing_id__transcript__language_code__get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/admin/n8enylacgd/sso-provider": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** Get Sso Provider Admin */ - get: operations["get_sso_provider_admin_admin_n8enylacgd_sso_provider_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/models": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Models - * @description Gets a list of available models. - */ - get: operations["Get_Models_v1_models_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/audio-native": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Creates Audionative Enabled Project. - * @description Creates AudioNative enabled project, optionally starts conversion and returns project id and embeddable html snippet. - */ - post: operations["Creates_AudioNative_enabled_project__v1_audio_native_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/shared-voices": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Voices - * @description Gets a list of shared voices. - */ - get: operations["Get_voices_v1_shared_voices_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/similar-voices": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Get Similar Library Voices - * @description Returns a list of shared voices similar to the provided audio sample. If neither similarity_threshold nor top_k is provided, we will apply default values. - */ - post: operations["Get_similar_library_voices_v1_similar_voices_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/usage/character-stats": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Characters Usage Metrics - * @description Returns the credit usage metrics for the current user or the entire workspace they are part of. The response will return a time axis with unix timestamps for each day and daily usage along that axis. The usage will be broken down by the specified breakdown type. For example, breakdown type "voice" will return the usage of each voice along the time axis. - */ - get: operations["Get_characters_usage_metrics_v1_usage_character_stats_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/pronunciation-dictionaries/add-from-file": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Add A Pronunciation Dictionary - * @description Creates a new pronunciation dictionary from a lexicon .PLS file - */ - post: operations["Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Add Rules To The Pronunciation Dictionary - * @description Add rules to the pronunciation dictionary - */ - post: operations["Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Remove Rules From The Pronunciation Dictionary - * @description Remove rules from the pronunciation dictionary - */ - post: operations["Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Pls File With A Pronunciation Dictionary Version Rules - * @description Get PLS file with a pronunciation dictionary version rules - */ - get: operations["Get_PLS_file_with_a_pronunciation_dictionary_version_rules_v1_pronunciation_dictionaries__dictionary_id___version_id__download_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Metadata For A Pronunciation Dictionary - * @description Get metadata for a pronunciation dictionary - */ - get: operations["Get_metadata_for_a_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id___get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/pronunciation-dictionaries/": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get Pronunciation Dictionaries - * @description Get a list of the pronunciation dictionaries you have access to and their metadata - */ - get: operations["Get_Pronunciation_Dictionaries_v1_pronunciation_dictionaries__get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/workspace/invites/add": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Invite User - * @description Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators. - */ - post: operations["Invite_user_v1_workspace_invites_add_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/workspace/invites": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - post?: never; - /** - * Delete Existing Invitation - * @description Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace administrators. - */ - delete: operations["Delete_existing_invitation_v1_workspace_invites_delete"]; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/v1/workspace/members": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - get?: never; - put?: never; - /** - * Update Member - * @description Updates attributes of a workspace member. Apart from the email identifier, all parameters will remain unchanged unless specified. This endpoint may only be called by workspace administrators. - */ - post: operations["Update_member_v1_workspace_members_post"]; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/profile/{handle}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get A Profile Page - * @description Gets a profile page based on a handle - */ - get: operations["Get_a_profile_page_profile__handle__get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/docs": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** Redirect To Mintlify */ - get: operations["redirect_to_mintlify_docs_get"]; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; + '/v1/history': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Generated Items + * @description Returns metadata about all your generated audio. + */ + get: operations['Get_generated_items_v1_history_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/history/{history_item_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get History Item By Id + * @description Returns information about an history item by its ID. + */ + get: operations['Get_history_item_by_ID_v1_history__history_item_id__get']; + put?: never; + post?: never; + /** + * Delete History Item + * @description Delete a history item by its ID + */ + delete: operations['Delete_history_item_v1_history__history_item_id__delete']; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/history/{history_item_id}/audio': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Audio From History Item + * @description Returns the audio of an history item. + */ + get: operations['Get_audio_from_history_item_v1_history__history_item_id__audio_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/history/download': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Download History Items + * @description Download one or more history items. If one history item ID is provided, we will return a single audio file. If more than one history item IDs are provided, we will provide the history items packed into a .zip file. + */ + post: operations['Download_history_items_v1_history_download_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/sound-generation': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Sound Generation + * @description Converts a text of your choice into sound + */ + post: operations['Sound_Generation_v1_sound_generation_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/audio-isolation': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Audio Isolation + * @description Removes background noise from audio + */ + post: operations['Audio_Isolation_v1_audio_isolation_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/audio-isolation/stream': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Audio Isolation Stream + * @description Removes background noise from audio and streams the result + */ + post: operations['Audio_Isolation_Stream_v1_audio_isolation_stream_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/{voice_id}/samples/{sample_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** + * Delete Sample + * @description Removes a sample by its ID. + */ + delete: operations['Delete_sample_v1_voices__voice_id__samples__sample_id__delete']; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/{voice_id}/samples/{sample_id}/audio': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Audio From Sample + * @description Returns the audio corresponding to a sample attached to a voice. + */ + get: operations['Get_audio_from_sample_v1_voices__voice_id__samples__sample_id__audio_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/text-to-speech/{voice_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Text To Speech + * @description Converts text into speech using a voice of your choice and returns audio. + */ + post: operations['Text_to_speech_v1_text_to_speech__voice_id__post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/text-to-speech/{voice_id}/with-timestamps': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Text To Speech With Timestamps + * @description Converts text into speech using a voice of your choice and returns JSON containing audio as a base64 encoded string together with information on when which character was spoken. + */ + post: operations['Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/text-to-speech/{voice_id}/stream': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Text To Speech Streaming + * @description Converts text into speech using a voice of your choice and returns audio as an audio stream. + */ + post: operations['Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/text-to-speech/{voice_id}/stream/with-timestamps': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Text To Speech Streaming With Timestamps + * @description Converts text into speech using a voice of your choice and returns a stream of JSONs containing audio as a base64 encoded string together with information on when which character was spoken. + */ + post: operations['Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/speech-to-speech/{voice_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Speech To Speech + * @description Create speech by combining the content and emotion of the uploaded audio with a voice of your choice. + */ + post: operations['Speech_to_Speech_v1_speech_to_speech__voice_id__post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/speech-to-speech/{voice_id}/stream': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Speech To Speech Streaming + * @description Create speech by combining the content and emotion of the uploaded audio with a voice of your choice and returns an audio stream. + */ + post: operations['Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voice-generation/generate-voice/parameters': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Voice Generation Parameters + * @description Get possible parameters for the /v1/voice-generation/generate-voice endpoint. + */ + get: operations['Voice_Generation_Parameters_v1_voice_generation_generate_voice_parameters_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voice-generation/generate-voice': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Generate A Random Voice + * @description Generate a random voice based on parameters. This method returns a generated_voice_id in the response header, and a sample of the voice in the body. If you like the generated voice call /v1/voice-generation/create-voice with the generated_voice_id to create the voice. + */ + post: operations['Generate_a_random_voice_v1_voice_generation_generate_voice_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voice-generation/create-voice': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Create A Previously Generated Voice + * @description Create a previously generated voice. This endpoint should be called after you fetched a generated_voice_id using /v1/voice-generation/generate-voice. + */ + post: operations['Create_a_previously_generated_voice_v1_voice_generation_create_voice_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/user/subscription': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get User Subscription Info + * @description Gets extended information about the users subscription + */ + get: operations['Get_user_subscription_info_v1_user_subscription_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/user': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get User Info + * @description Gets information about the user + */ + get: operations['Get_user_info_v1_user_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Voices + * @description Gets a list of all available voices for a user. + */ + get: operations['Get_voices_v1_voices_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/settings/default': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Default Voice Settings. + * @description Gets the default settings for voices. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app. + */ + get: operations['Get_default_voice_settings__v1_voices_settings_default_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/{voice_id}/settings': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Voice Settings + * @description Returns the settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app. + */ + get: operations['Get_voice_settings_v1_voices__voice_id__settings_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/{voice_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Voice + * @description Returns metadata about a specific voice. + */ + get: operations['Get_voice_v1_voices__voice_id__get']; + put?: never; + post?: never; + /** + * Delete Voice + * @description Deletes a voice by its ID. + */ + delete: operations['Delete_voice_v1_voices__voice_id__delete']; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/{voice_id}/settings/edit': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Edit Voice Settings + * @description Edit your settings for a specific voice. "similarity_boost" corresponds to"Clarity + Similarity Enhancement" in the web app and "stability" corresponds to "Stability" slider in the web app. + */ + post: operations['Edit_voice_settings_v1_voices__voice_id__settings_edit_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/add': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Add Voice + * @description Add a new voice to your collection of voices in VoiceLab. + */ + post: operations['Add_voice_v1_voices_add_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/{voice_id}/edit': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Edit Voice + * @description Edit a voice created by you. + */ + post: operations['Edit_voice_v1_voices__voice_id__edit_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/voices/add/{public_user_id}/{voice_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Add Sharing Voice + * @description Add a sharing voice to your collection of voices in VoiceLab. + */ + post: operations['Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Projects + * @description Returns a list of your projects together and its metadata. + */ + get: operations['Get_projects_v1_projects_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/add': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Add Project + * @description Creates a new project, it can be either initialized as blank, from a document or from a URL. + */ + post: operations['Add_project_v1_projects_add_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Project By Id + * @description Returns information about a specific project. This endpoint returns more detailed information about a project than GET api.elevenlabs.io/v1/projects. + */ + get: operations['Get_project_by_ID_v1_projects__project_id__get']; + put?: never; + /** + * Edit Basic Project Info + * @description Edits basic project info. + */ + post: operations['Edit_basic_project_info_v1_projects__project_id__post']; + /** + * Delete Project + * @description Delete a project by its project_id. + */ + delete: operations['Delete_project_v1_projects__project_id__delete']; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/convert': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Convert Project + * @description Starts conversion of a project and all of its chapters. + */ + post: operations['Convert_project_v1_projects__project_id__convert_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/snapshots': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Project Snapshots + * @description Gets the snapshots of a project. + */ + get: operations['Get_project_snapshots_v1_projects__project_id__snapshots_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/snapshots/{project_snapshot_id}/stream': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Stream Project Audio + * @description Stream the audio from a project snapshot. + */ + post: operations['Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/snapshots/{project_snapshot_id}/archive': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Streams Archive With Project Audio + * @description Streams archive with project audio. + */ + post: operations['Streams_archive_with_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__archive_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/chapters': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Chapters + * @description Returns a list of your chapters for a project together and its metadata. + */ + get: operations['Get_chapters_v1_projects__project_id__chapters_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/chapters/{chapter_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Chapter By Id + * @description Returns information about a specific chapter. + */ + get: operations['Get_chapter_by_ID_v1_projects__project_id__chapters__chapter_id__get']; + put?: never; + post?: never; + /** + * Delete Chapter + * @description Delete a chapter by its chapter_id. + */ + delete: operations['Delete_chapter_v1_projects__project_id__chapters__chapter_id__delete']; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/chapters/add': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Add Chapter To A Project + * @description Creates a new chapter either as blank or from a URL. + */ + post: operations['Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/chapters/{chapter_id}/convert': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Convert Chapter + * @description Starts conversion of a specific chapter. + */ + post: operations['Convert_chapter_v1_projects__project_id__chapters__chapter_id__convert_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/chapters/{chapter_id}/snapshots': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Chapter Snapshots + * @description Gets information about all the snapshots of a chapter, each snapshot corresponds can be downloaded as audio. Whenever a chapter is converted a snapshot will be automatically created. + */ + get: operations['Get_chapter_snapshots_v1_projects__project_id__chapters__chapter_id__snapshots_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Stream Chapter Audio + * @description Stream the audio from a chapter snapshot. Use `GET /v1/projects/{project_id}/chapters/{chapter_id}/snapshots` to return the chapter snapshots of a chapter. + */ + post: operations['Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/projects/{project_id}/update-pronunciation-dictionaries': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Update Pronunciation Dictionaries + * @description Updates the set of pronunciation dictionaries acting on a project. This will automatically mark text within this project as requiring reconverting where the new dictionary would apply or the old one no longer does. + */ + post: operations['Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/dubbing': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Dub A Video Or An Audio File + * @description Dubs provided audio or video file into given language. + */ + post: operations['Dub_a_video_or_an_audio_file_v1_dubbing_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/dubbing/{dubbing_id}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Dubbing Project Metadata + * @description Returns metadata about a dubbing project, including whether it's still in progress or not + */ + get: operations['Get_dubbing_project_metadata_v1_dubbing__dubbing_id__get']; + put?: never; + post?: never; + /** + * Delete Dubbing Project + * @description Deletes a dubbing project. + */ + delete: operations['Delete_dubbing_project_v1_dubbing__dubbing_id__delete']; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/dubbing/{dubbing_id}/audio/{language_code}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Dubbed File + * @description Returns dubbed file as a streamed file. Videos will be returned in MP4 format and audio only dubs will be returned in MP3. + */ + get: operations['Get_dubbed_file_v1_dubbing__dubbing_id__audio__language_code__get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/dubbing/{dubbing_id}/transcript/{language_code}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Transcript For Dub + * @description Returns transcript for the dub as an SRT file. + */ + get: operations['Get_transcript_for_dub_v1_dubbing__dubbing_id__transcript__language_code__get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/admin/n8enylacgd/sso-provider': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Get Sso Provider Admin */ + get: operations['get_sso_provider_admin_admin_n8enylacgd_sso_provider_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/models': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Models + * @description Gets a list of available models. + */ + get: operations['Get_Models_v1_models_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/audio-native': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Creates Audionative Enabled Project. + * @description Creates AudioNative enabled project, optionally starts conversion and returns project id and embeddable html snippet. + */ + post: operations['Creates_AudioNative_enabled_project__v1_audio_native_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/shared-voices': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Voices + * @description Gets a list of shared voices. + */ + get: operations['Get_voices_v1_shared_voices_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/similar-voices': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Get Similar Library Voices + * @description Returns a list of shared voices similar to the provided audio sample. If neither similarity_threshold nor top_k is provided, we will apply default values. + */ + post: operations['Get_similar_library_voices_v1_similar_voices_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/usage/character-stats': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Characters Usage Metrics + * @description Returns the credit usage metrics for the current user or the entire workspace they are part of. The response will return a time axis with unix timestamps for each day and daily usage along that axis. The usage will be broken down by the specified breakdown type. For example, breakdown type "voice" will return the usage of each voice along the time axis. + */ + get: operations['Get_characters_usage_metrics_v1_usage_character_stats_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/pronunciation-dictionaries/add-from-file': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Add A Pronunciation Dictionary + * @description Creates a new pronunciation dictionary from a lexicon .PLS file + */ + post: operations['Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Add Rules To The Pronunciation Dictionary + * @description Add rules to the pronunciation dictionary + */ + post: operations['Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Remove Rules From The Pronunciation Dictionary + * @description Remove rules from the pronunciation dictionary + */ + post: operations['Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Pls File With A Pronunciation Dictionary Version Rules + * @description Get PLS file with a pronunciation dictionary version rules + */ + get: operations['Get_PLS_file_with_a_pronunciation_dictionary_version_rules_v1_pronunciation_dictionaries__dictionary_id___version_id__download_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Metadata For A Pronunciation Dictionary + * @description Get metadata for a pronunciation dictionary + */ + get: operations['Get_metadata_for_a_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id___get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/pronunciation-dictionaries/': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get Pronunciation Dictionaries + * @description Get a list of the pronunciation dictionaries you have access to and their metadata + */ + get: operations['Get_Pronunciation_Dictionaries_v1_pronunciation_dictionaries__get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/workspace/invites/add': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Invite User + * @description Sends an email invitation to join your workspace to the provided email. If the user doesn't have an account they will be prompted to create one. If the user accepts this invite they will be added as a user to your workspace and your subscription using one of your seats. This endpoint may only be called by workspace administrators. + */ + post: operations['Invite_user_v1_workspace_invites_add_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/workspace/invites': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + post?: never; + /** + * Delete Existing Invitation + * @description Invalidates an existing email invitation. The invitation will still show up in the inbox it has been delivered to, but activating it to join the workspace won't work. This endpoint may only be called by workspace administrators. + */ + delete: operations['Delete_existing_invitation_v1_workspace_invites_delete']; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/v1/workspace/members': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + get?: never; + put?: never; + /** + * Update Member + * @description Updates attributes of a workspace member. Apart from the email identifier, all parameters will remain unchanged unless specified. This endpoint may only be called by workspace administrators. + */ + post: operations['Update_member_v1_workspace_members_post']; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/profile/{handle}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get A Profile Page + * @description Gets a profile page based on a handle + */ + get: operations['Get_a_profile_page_profile__handle__get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/docs': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** Redirect To Mintlify */ + get: operations['redirect_to_mintlify_docs_get']; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; } export type webhooks = Record; export interface components { - schemas: { - /** AddChapterResponseModel */ - AddChapterResponseModel: { - chapter: components["schemas"]["ChapterResponseModel"]; - }; - /** AddProjectResponseModel */ - AddProjectResponseModel: { - project: components["schemas"]["ProjectResponseModel"]; - }; - /** AddPronunciationDictionaryResponseModel */ - AddPronunciationDictionaryResponseModel: { - /** Id */ - id: string; - /** Name */ - name: string; - /** Created By */ - created_by: string; - /** Creation Time Unix */ - creation_time_unix: number; - /** Version Id */ - version_id: string; - /** Description */ - description?: string; - }; - /** AddPronunciationDictionaryRulesResponseModel */ - AddPronunciationDictionaryRulesResponseModel: { - /** Id */ - id: string; - /** Version Id */ - version_id: string; - }; - /** AddVoiceResponseModel */ - AddVoiceResponseModel: { - /** Voice Id */ - voice_id: string; - }; - /** AudioNativeCreateProjectResponseModel */ - AudioNativeCreateProjectResponseModel: { - /** Project Id */ - project_id: string; - /** Converting */ - converting: boolean; - /** Html Snippet */ - html_snippet: string; - }; - /** Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post */ - Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post: { - /** - * Name - * @description The name of the pronunciation dictionary, used for identification only. - */ - name: string; - /** - * File - * Format: binary - * @description A lexicon .pls file which we will use to initialize the project with. - */ - file?: string; - /** - * Description - * @description A description of the pronunciation dictionary, used for identification only. - */ - description?: string; - /** - * Workspace Access - * @description Should be one of 'editor' or 'viewer'. If not provided, defaults to no access. - * @enum {string} - */ - workspace_access?: "admin" | "editor" | "viewer"; - }; - /** Body_Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post */ - Body_Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post: { - /** - * Name - * @description The name of the chapter, used for identification only. - */ - name: string; - /** - * From Url - * @description An optional URL from which we will extract content to initialize the project. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. - */ - from_url?: string; - }; - /** Body_Add_project_v1_projects_add_post */ - Body_Add_project_v1_projects_add_post: { - /** - * Name - * @description The name of the project, used for identification only. - */ - name: string; - /** - * Default Title Voice Id - * @description The voice_id that corresponds to the default voice used for new titles. - */ - default_title_voice_id: string; - /** - * Default Paragraph Voice Id - * @description The voice_id that corresponds to the default voice used for new paragraphs. - */ - default_paragraph_voice_id: string; - /** - * Default Model Id - * @description The model_id of the model to be used for this project, you can query GET https://api.elevenlabs.io/v1/models to list all available models. - */ - default_model_id: string; - /** - * From Url - * @description An optional URL from which we will extract content to initialize the project. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. - */ - from_url?: string; - /** - * From Document - * Format: binary - * @description An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the project with its content. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. - */ - from_document?: string; - /** - * Quality of the generated audio. - * @description Output quality of the generated audio. Must be one of: - * standard - standard output format, 128kbps with 44.1kHz sample rate. - * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side. Using this setting increases the credit cost by 20%. - * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side. Using this setting increases the credit cost by 50%. - * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format. Using this setting increases the credit cost by 100%. - * - * @default standard - */ - quality_preset: string; - /** - * Title - * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. - */ - title?: string; - /** - * Author - * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. - */ - author?: string; - /** - * Isbn Number - * @description An optional ISBN number of the project you want to create, this will be added as metadata to the mp3 file on project / chapter download. - */ - isbn_number?: string; - /** - * Acx Volume Normalization - * @description [Deprecated] When the project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements - * @default false - */ - acx_volume_normalization: boolean; - /** - * Volume Normalization - * @description When the project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements - * @default false - */ - volume_normalization: boolean; - /** - * Pronunciation Dictionary Locators - * @description A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'. Note that multiple dictionaries are not currently supported by our UI which will only show the first. - */ - pronunciation_dictionary_locators?: string[]; - /** - * Callback Url - * @description [Deprecated] A url that will be called by our service when the project is converted with a json containing the status of the conversion - */ - callback_url?: string; - }; - /** Body_Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post */ - Body_Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post: { - /** - * Rules - * @description List of pronunciation rules. Rule can be either: - * an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } - * or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' } - */ - rules: (components["schemas"]["PronunciationDictionaryAliasRuleRequestModel"] | components["schemas"]["PronunciationDictionaryPhonemeRuleRequestModel"])[]; - }; - /** Body_Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post */ - Body_Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post: { - /** - * New Name - * @description The name that identifies this voice. This will be displayed in the dropdown of the website. - */ - new_name: string; - }; - /** Body_Add_voice_v1_voices_add_post */ - Body_Add_voice_v1_voices_add_post: { - /** - * Name - * @description The name that identifies this voice. This will be displayed in the dropdown of the website. - */ - name: string; - /** - * Files - * @description A list of file paths to audio recordings intended for voice cloning - */ - files: string[]; - /** - * Description - * @description How would you describe the voice? - */ - description?: string; - /** - * Labels - * @description Serialized labels dictionary for the voice. - */ - labels?: string; - }; - /** Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post */ - Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post: { - /** - * Audio - * Format: binary - * @description The audio file from which vocals/speech will be isolated from. - */ - audio: string; - }; - /** Body_Audio_Isolation_v1_audio_isolation_post */ - Body_Audio_Isolation_v1_audio_isolation_post: { - /** - * Audio - * Format: binary - * @description The audio file from which vocals/speech will be isolated from. - */ - audio: string; - }; - /** Body_Create_a_previously_generated_voice_v1_voice_generation_create_voice_post */ - Body_Create_a_previously_generated_voice_v1_voice_generation_create_voice_post: { - /** - * Voice Name - * @description Name to use for the created voice. - */ - voice_name: string; - /** - * Voice Description - * @description Description to use for the created voice. - */ - voice_description: string; - /** - * Generated Voice Id - * @description The generated_voice_id to create, call POST /v1/voice-generation/generate-voice and fetch the generated_voice_id from the response header if don't have one yet. - */ - generated_voice_id: string; - /** - * Labels - * @description Optional, metadata to add to the created voice. Defaults to None. - */ - labels?: { - [key: string]: string; - }; - }; - /** Body_Creates_AudioNative_enabled_project__v1_audio_native_post */ - Body_Creates_AudioNative_enabled_project__v1_audio_native_post: { - /** - * Name - * @description Project name. - */ - name: string; - /** - * Image - * @description Image URL used in the player. If not provided, default image set in the Player settings is used. - */ - image?: string; - /** - * Author - * @description Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used. - */ - author?: string; - /** - * Title - * @description Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used. - */ - title?: string; - /** - * Small - * @description Whether to use small player or not. If not provided, default value set in the Player settings is used. - * @default false - */ - small: boolean; - /** - * Text Color - * @description Text color used in the player. If not provided, default text color set in the Player settings is used. - */ - text_color?: string; - /** - * Background Color - * @description Background color used in the player. If not provided, default background color set in the Player settings is used. - */ - background_color?: string; - /** - * Sessionization - * @description Specifies for how many minutes to persist the session across page reloads. If not provided, default sessionization set in the Player settings is used. - * @default 0 - */ - sessionization: number; - /** - * Voice Id - * @description Voice ID used to voice the content. If not provided, default voice ID set in the Player settings is used. - */ - voice_id?: string; - /** - * Model Id - * @description TTS Model ID used in the player. If not provided, default model ID set in the Player settings is used. - */ - model_id?: string; - /** - * File - * Format: binary - * @description Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</p><h5>More of your content</h5><p>Some more of your content</p></div></body></html>' - */ - file?: string; - /** - * Auto Convert - * @description Whether to auto convert the project to audio or not. - * @default false - */ - auto_convert: boolean; - }; - /** Body_Delete_existing_invitation_v1_workspace_invites_delete */ - Body_Delete_existing_invitation_v1_workspace_invites_delete: { - /** - * Email - * @description Email of the target user. - */ - email: string; - }; - /** Body_Download_history_items_v1_history_download_post */ - Body_Download_history_items_v1_history_download_post: { - /** - * History Item Ids - * @description A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint. - */ - history_item_ids: string[]; - /** - * Output Format - * @description Output format to transcode the audio file, can be wav or default. - */ - output_format?: string; - }; - /** Body_Dub_a_video_or_an_audio_file_v1_dubbing_post */ - Body_Dub_a_video_or_an_audio_file_v1_dubbing_post: { - /** - * File - * Format: binary - * @description A list of file paths to audio recordings intended for voice cloning - */ - file?: string; - /** - * Name - * @description Name of the dubbing project. - */ - name?: string; - /** - * Source Url - * @description URL of the source video/audio file. - */ - source_url?: string; - /** - * Source Lang - * @description Source language. - * @default auto - */ - source_lang: string; - /** - * Target Lang - * @description The Target language to dub the content into. - */ - target_lang?: string; - /** - * Num Speakers - * @description Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers - * @default 0 - */ - num_speakers: number; - /** - * Watermark - * @description Whether to apply watermark to the output video. - * @default false - */ - watermark: boolean; - /** - * Start Time - * @description Start time of the source video/audio file. - */ - start_time?: number; - /** - * End Time - * @description End time of the source video/audio file. - */ - end_time?: number; - /** - * Highest Resolution - * @description Whether to use the highest resolution available. - * @default false - */ - highest_resolution: boolean; - /** - * Drop Background Audio - * @description An advanced setting. Whether to drop background audio from the final dub. This can improve dub quality where it's known that audio shouldn't have a background track such as for speeches or monologues. - * @default false - */ - drop_background_audio: boolean; - /** - * Use Profanity Filter - * @description [BETA] Whether transcripts should have profanities censored with the words '[censored]' - */ - use_profanity_filter?: boolean; - }; - /** Body_Edit_basic_project_info_v1_projects__project_id__post */ - Body_Edit_basic_project_info_v1_projects__project_id__post: { - /** - * Name - * @description The name of the project, used for identification only. - */ - name: string; - /** - * Default Title Voice Id - * @description The voice_id that corresponds to the default voice used for new titles. - */ - default_title_voice_id: string; - /** - * Default Paragraph Voice Id - * @description The voice_id that corresponds to the default voice used for new paragraphs. - */ - default_paragraph_voice_id: string; - /** - * Title - * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. - */ - title?: string; - /** - * Author - * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. - */ - author?: string; - /** - * Isbn Number - * @description An optional ISBN number of the project you want to create, this will be added as metadata to the mp3 file on project / chapter download. - */ - isbn_number?: string; - /** - * Volume Normalization - * @description When the project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements - * @default false - */ - volume_normalization: boolean; - }; - /** Body_Edit_voice_v1_voices__voice_id__edit_post */ - Body_Edit_voice_v1_voices__voice_id__edit_post: { - /** - * Name - * @description The name that identifies this voice. This will be displayed in the dropdown of the website. - */ - name: string; - /** - * Files - * @description Audio files to add to the voice - */ - files?: string[]; - /** - * Description - * @description How would you describe the voice? - */ - description?: string; - /** - * Labels - * @description Serialized labels dictionary for the voice. - */ - labels?: string; - }; - /** Body_Generate_a_random_voice_v1_voice_generation_generate_voice_post */ - Body_Generate_a_random_voice_v1_voice_generation_generate_voice_post: { - /** - * Gender - * @description Category code corresponding to the gender of the generated voice. Possible values: female, male. - * @enum {string} - */ - gender: "female" | "male"; - /** - * Accent - * @description Category code corresponding to the accent of the generated voice. Possible values: american, british, african, australian, indian. - */ - accent: string; - /** - * Age - * @description Category code corresponding to the age of the generated voice. Possible values: young, middle_aged, old. - * @enum {string} - */ - age: "young" | "middle_aged" | "old"; - /** - * Accent Strength - * @description The strength of the accent of the generated voice. Has to be between 0.3 and 2.0. - */ - accent_strength: number; - /** - * Text - * @description Text to generate, text length has to be between 100 and 1000. - */ - text: string; - }; - /** Body_Get_similar_library_voices_v1_similar_voices_post */ - Body_Get_similar_library_voices_v1_similar_voices_post: { - /** - * Audio File - * Format: binary - */ - audio_file?: string; - /** - * Similarity Threshold - * @description Threshold for voice similarity between provided sample and library voices. Must be in range <0, 2>. The smaller the value the more similar voices will be returned. - */ - similarity_threshold?: number; - /** - * Top K - * @description Number of most similar voices to return. If similarity_threshold is provided, less than this number of voices may be returned. Must be in range <1, 100>. - */ - top_k?: number; - }; - /** Body_Invite_user_v1_workspace_invites_add_post */ - Body_Invite_user_v1_workspace_invites_add_post: { - /** - * Email - * @description Email of the target user. - */ - email: string; - }; - /** Body_Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post */ - Body_Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post: { - /** - * Rule Strings - * @description List of strings to remove from the pronunciation dictionary. - */ - rule_strings: string[]; - }; - /** Body_Sound_Generation_v1_sound_generation_post */ - Body_Sound_Generation_v1_sound_generation_post: { - /** - * Text - * @description The text that will get converted into a sound effect. - */ - text: string; - /** - * Duration Seconds - * @description The duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 22. If set to None we will guess the optimal duration using the prompt. Defaults to None. - */ - duration_seconds?: number; - /** - * Prompt Influence - * @description A higher prompt influence makes your generation follow the prompt more closely while also making generations less variable. Must be a value between 0 and 1. Defaults to 0.3. - * @default 0.3 - */ - prompt_influence: number; - }; - /** Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post */ - Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post: { - /** - * Audio - * Format: binary - * @description The audio file which holds the content and emotion that will control the generated speech. - */ - audio: string; - /** - * Model Id - * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for speech to speech, you can check this using the can_do_voice_conversion property. - * @default eleven_english_sts_v2 - */ - model_id: string; - /** - * Voice Settings - * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. Needs to be send as a JSON encoded string. - */ - voice_settings?: string; - /** - * Seed - * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. - */ - seed?: number; - }; - /** Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post */ - Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post: { - /** - * Audio - * Format: binary - * @description The audio file which holds the content and emotion that will control the generated speech. - */ - audio: string; - /** - * Model Id - * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for speech to speech, you can check this using the can_do_voice_conversion property. - * @default eleven_english_sts_v2 - */ - model_id: string; - /** - * Voice Settings - * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. Needs to be send as a JSON encoded string. - */ - voice_settings?: string; - /** - * Seed - * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. - */ - seed?: number; - }; - /** Body_Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post */ - Body_Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post: { - /** - * Convert To Mpeg - * @description Whether to convert the audio to mpeg format. - * @default false - */ - convert_to_mpeg: boolean; - }; - /** Body_Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post */ - Body_Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post: { - /** - * Convert To Mpeg - * @description Whether to convert the audio to mpeg format. - * @default false - */ - convert_to_mpeg: boolean; - }; - /** Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post */ - Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post: { - /** - * Text - * @description The text that will get converted into speech. - */ - text: string; - /** - * Model Id - * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. - * @default eleven_monolingual_v1 - */ - model_id: string; - /** - * Language Code - * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. - */ - language_code?: string; - /** - * Voice Settings - * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. - */ - voice_settings?: components["schemas"]["VoiceSettingsResponseModel"]; - /** - * Pronunciation Dictionary Locators - * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request - * @default [] - */ - pronunciation_dictionary_locators: components["schemas"]["PronunciationDictionaryVersionLocatorDBModel"][]; - /** - * Seed - * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. - */ - seed?: number; - /** - * Previous Text - * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - previous_text?: string; - /** - * Next Text - * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - next_text?: string; - /** - * Previous Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - previous_request_ids: string[]; - /** - * Next Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - next_request_ids: string[]; - /** - * Use Pvc As Ivc - * @deprecated - * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. - * @default false - */ - use_pvc_as_ivc: boolean; - }; - /** Body_Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post */ - Body_Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post: { - /** - * Text - * @description The text that will get converted into speech. - */ - text: string; - /** - * Model Id - * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. - * @default eleven_monolingual_v1 - */ - model_id: string; - /** - * Language Code - * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. - */ - language_code?: string; - /** - * Voice Settings - * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. - */ - voice_settings?: components["schemas"]["VoiceSettingsResponseModel"]; - /** - * Pronunciation Dictionary Locators - * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request - * @default [] - */ - pronunciation_dictionary_locators: components["schemas"]["PronunciationDictionaryVersionLocatorDBModel"][]; - /** - * Seed - * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. - */ - seed?: number; - /** - * Previous Text - * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - previous_text?: string; - /** - * Next Text - * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - next_text?: string; - /** - * Previous Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - previous_request_ids: string[]; - /** - * Next Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - next_request_ids: string[]; - /** - * Use Pvc As Ivc - * @deprecated - * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. - * @default false - */ - use_pvc_as_ivc: boolean; - }; - /** Body_Text_to_speech_v1_text_to_speech__voice_id__post */ - Body_Text_to_speech_v1_text_to_speech__voice_id__post: { - /** - * Text - * @description The text that will get converted into speech. - */ - text: string; - /** - * Model Id - * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. - * @default eleven_monolingual_v1 - */ - model_id: string; - /** - * Language Code - * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. - */ - language_code?: string; - /** - * Voice Settings - * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. - */ - voice_settings?: components["schemas"]["VoiceSettingsResponseModel"]; - /** - * Pronunciation Dictionary Locators - * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request - * @default [] - */ - pronunciation_dictionary_locators: components["schemas"]["PronunciationDictionaryVersionLocatorDBModel"][]; - /** - * Seed - * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. - */ - seed?: number; - /** - * Previous Text - * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - previous_text?: string; - /** - * Next Text - * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - next_text?: string; - /** - * Previous Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - previous_request_ids: string[]; - /** - * Next Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - next_request_ids: string[]; - /** - * Use Pvc As Ivc - * @deprecated - * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. - * @default false - */ - use_pvc_as_ivc: boolean; - }; - /** Body_Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post */ - Body_Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post: { - /** - * Text - * @description The text that will get converted into speech. - */ - text: string; - /** - * Model Id - * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. - * @default eleven_monolingual_v1 - */ - model_id: string; - /** - * Language Code - * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. - */ - language_code?: string; - /** - * Voice Settings - * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. - */ - voice_settings?: components["schemas"]["VoiceSettingsResponseModel"]; - /** - * Pronunciation Dictionary Locators - * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request - * @default [] - */ - pronunciation_dictionary_locators: components["schemas"]["PronunciationDictionaryVersionLocatorDBModel"][]; - /** - * Seed - * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. - */ - seed?: number; - /** - * Previous Text - * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - previous_text?: string; - /** - * Next Text - * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. - */ - next_text?: string; - /** - * Previous Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - previous_request_ids: string[]; - /** - * Next Request Ids - * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. - * @default [] - */ - next_request_ids: string[]; - /** - * Use Pvc As Ivc - * @deprecated - * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. - * @default false - */ - use_pvc_as_ivc: boolean; - }; - /** Body_Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post */ - Body_Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post: { - /** - * Pronunciation Dictionary Locators - * @description A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'. Note that multiple dictionaries are not currently supported by our UI which will only show the first. - */ - pronunciation_dictionary_locators: components["schemas"]["PronunciationDictionaryVersionLocatorDBModel"][]; - }; - /** Body_Update_member_v1_workspace_members_post */ - Body_Update_member_v1_workspace_members_post: { - /** - * Email - * @description Email of the target user. - */ - email: string; - /** - * Is Locked - * @description Whether to lock or unlock the user account. - */ - is_locked?: boolean; - /** - * Workspace Role - * @description Role dictating permissions in the workspace. - * @enum {string} - */ - workspace_role?: "workspace_admin" | "workspace_member"; - }; - /** ChapterResponseModel */ - ChapterResponseModel: { - /** Chapter Id */ - chapter_id: string; - /** Name */ - name: string; - /** Last Conversion Date Unix */ - last_conversion_date_unix: number; - /** Last Block Conversion Unix Ms */ - last_block_conversion_unix_ms: number; - /** Conversion Progress */ - conversion_progress: number; - /** Can Be Downloaded */ - can_be_downloaded: boolean; - /** - * State - * @enum {string} - */ - state: "default" | "converting"; - statistics: components["schemas"]["ChapterStatisticsResponseModel"]; - }; - /** ChapterSnapshotResponseModel */ - ChapterSnapshotResponseModel: { - /** Chapter Snapshot Id */ - chapter_snapshot_id: string; - /** Project Id */ - project_id: string; - /** Chapter Id */ - chapter_id: string; - /** Created At Unix */ - created_at_unix: number; - /** Name */ - name: string; - }; - /** ChapterSnapshotsResponseModel */ - ChapterSnapshotsResponseModel: { - /** Snapshots */ - snapshots: components["schemas"]["ChapterSnapshotResponseModel"][]; - }; - /** ChapterStatisticsResponseModel */ - ChapterStatisticsResponseModel: { - /** Characters Unconverted */ - characters_unconverted: number; - /** Characters Converted */ - characters_converted: number; - /** Paragraphs Converted */ - paragraphs_converted: number; - /** Paragraphs Unconverted */ - paragraphs_unconverted: number; - }; - /** DoDubbingResponseModel */ - DoDubbingResponseModel: { - /** Dubbing Id */ - dubbing_id: string; - /** Expected Duration Sec */ - expected_duration_sec: number; - }; - /** DubbingMetadataResponse */ - DubbingMetadataResponse: { - /** Dubbing Id */ - dubbing_id: string; - /** Name */ - name: string; - /** Status */ - status: string; - /** Target Languages */ - target_languages: string[]; - /** Error */ - error?: string; - }; - /** EditProjectResponseModel */ - EditProjectResponseModel: { - project: components["schemas"]["ProjectResponseModel"]; - }; - /** ExtendedSubscriptionResponseModel */ - ExtendedSubscriptionResponseModel: { - /** Tier */ - tier: string; - /** Character Count */ - character_count: number; - /** Character Limit */ - character_limit: number; - /** Can Extend Character Limit */ - can_extend_character_limit: boolean; - /** Allowed To Extend Character Limit */ - allowed_to_extend_character_limit: boolean; - /** Next Character Count Reset Unix */ - next_character_count_reset_unix: number; - /** Voice Limit */ - voice_limit: number; - /** Max Voice Add Edits */ - max_voice_add_edits: number; - /** Voice Add Edit Counter */ - voice_add_edit_counter: number; - /** Professional Voice Limit */ - professional_voice_limit: number; - /** Can Extend Voice Limit */ - can_extend_voice_limit: boolean; - /** Can Use Instant Voice Cloning */ - can_use_instant_voice_cloning: boolean; - /** Can Use Professional Voice Cloning */ - can_use_professional_voice_cloning: boolean; - /** - * Currency - * @enum {string} - */ - currency: "usd" | "eur"; - /** - * Status - * @enum {string} - */ - status: "trialing" | "active" | "incomplete" | "incomplete_expired" | "past_due" | "canceled" | "unpaid" | "free"; - /** - * Billing Period - * @enum {string} - */ - billing_period: "monthly_period" | "annual_period"; - /** - * Character Refresh Period - * @enum {string} - */ - character_refresh_period: "monthly_period" | "annual_period"; - next_invoice: components["schemas"]["InvoiceResponseModel"]; - /** Has Open Invoices */ - has_open_invoices: boolean; - }; - /** FeedbackResponseModel */ - FeedbackResponseModel: { - /** Thumbs Up */ - thumbs_up: boolean; - /** Feedback */ - feedback: string; - /** Emotions */ - emotions: boolean; - /** Inaccurate Clone */ - inaccurate_clone: boolean; - /** Glitches */ - glitches: boolean; - /** Audio Quality */ - audio_quality: boolean; - /** Other */ - other: boolean; - /** - * Review Status - * @default not_reviewed - */ - review_status: string; - }; - /** FineTuningResponseModel */ - FineTuningResponseModel: { - /** Is Allowed To Fine Tune */ - is_allowed_to_fine_tune: boolean; - /** State */ - state: { - [key: string]: "not_started" | "queued" | "fine_tuning" | "fine_tuned" | "failed" | "delayed"; - }; - /** Verification Failures */ - verification_failures: string[]; - /** Verification Attempts Count */ - verification_attempts_count: number; - /** Manual Verification Requested */ - manual_verification_requested: boolean; - /** Language */ - language?: string; - /** Progress */ - progress?: { - [key: string]: number; - }; - /** Message */ - message?: { - [key: string]: string; - }; - /** Dataset Duration Seconds */ - dataset_duration_seconds?: number; - /** Verification Attempts */ - verification_attempts?: components["schemas"]["VerificationAttemptResponseModel"][]; - /** Slice Ids */ - slice_ids?: string[]; - manual_verification?: components["schemas"]["ManualVerificationResponseModel"]; - }; - /** GetChaptersResponseModel */ - GetChaptersResponseModel: { - /** Chapters */ - chapters: components["schemas"]["ChapterResponseModel"][]; - }; - /** GetLibraryVoicesResponseModel */ - GetLibraryVoicesResponseModel: { - /** Voices */ - voices: components["schemas"]["LibraryVoiceResponseModel"][]; - /** Has More */ - has_more: boolean; - /** Last Sort Id */ - last_sort_id?: string; - }; - /** GetProjectsResponseModel */ - GetProjectsResponseModel: { - /** Projects */ - projects: components["schemas"]["ProjectResponseModel"][]; - }; - /** GetPronunciationDictionariesMetadataResponseModel */ - GetPronunciationDictionariesMetadataResponseModel: { - /** Pronunciation Dictionaries */ - pronunciation_dictionaries: components["schemas"]["GetPronunciationDictionaryMetadataResponseModel"][]; - /** Next Cursor */ - next_cursor: string; - /** Has More */ - has_more: boolean; - }; - /** GetPronunciationDictionaryMetadataResponseModel */ - GetPronunciationDictionaryMetadataResponseModel: { - /** Id */ - id: string; - /** Latest Version Id */ - latest_version_id: string; - /** Name */ - name: string; - /** Created By */ - created_by: string; - /** Creation Time Unix */ - creation_time_unix: number; - /** Description */ - description?: string; - }; - /** GetSpeechHistoryResponseModel */ - GetSpeechHistoryResponseModel: { - /** History */ - history: components["schemas"]["SpeechHistoryItemResponseModel"][]; - /** Last History Item Id */ - last_history_item_id: string; - /** Has More */ - has_more: boolean; - }; - /** GetVoicesResponseModel */ - GetVoicesResponseModel: { - /** Voices */ - voices: components["schemas"]["VoiceResponseModel"][]; - }; - /** HTTPValidationError */ - HTTPValidationError: { - /** Detail */ - detail?: components["schemas"]["ValidationError"][]; - }; - /** HistoryAlignmentResponseModel */ - HistoryAlignmentResponseModel: { - /** Characters */ - characters: string[]; - /** Character Start Times Seconds */ - character_start_times_seconds: number[]; - /** Character End Times Seconds */ - character_end_times_seconds: number[]; - }; - /** HistoryAlignmentsResponseModel */ - HistoryAlignmentsResponseModel: { - alignment: components["schemas"]["HistoryAlignmentResponseModel"]; - normalized_alignment: components["schemas"]["HistoryAlignmentResponseModel"]; - }; - /** InvoiceResponseModel */ - InvoiceResponseModel: { - /** Amount Due Cents */ - amount_due_cents: number; - /** Next Payment Attempt Unix */ - next_payment_attempt_unix: number; - }; - /** LanguageResponseModel */ - LanguageResponseModel: { - /** Language Id */ - language_id: string; - /** Name */ - name: string; - }; - /** LibraryVoiceResponseModel */ - LibraryVoiceResponseModel: { - /** Public Owner Id */ - public_owner_id: string; - /** Voice Id */ - voice_id: string; - /** Date Unix */ - date_unix: number; - /** Name */ - name: string; - /** Accent */ - accent: string; - /** Gender */ - gender: string; - /** Age */ - age: string; - /** Descriptive */ - descriptive: string; - /** Use Case */ - use_case: string; - /** - * Category - * @enum {string} - */ - category: "generated" | "cloned" | "premade" | "professional" | "famous" | "high_quality"; - /** Language */ - language: string; - /** Description */ - description: string; - /** Preview Url */ - preview_url: string; - /** Usage Character Count 1Y */ - usage_character_count_1y: number; - /** Usage Character Count 7D */ - usage_character_count_7d: number; - /** Play Api Usage Character Count 1Y */ - play_api_usage_character_count_1y: number; - /** Cloned By Count */ - cloned_by_count: number; - /** Rate */ - rate: number; - /** Free Users Allowed */ - free_users_allowed: boolean; - /** Live Moderation Enabled */ - live_moderation_enabled: boolean; - /** Featured */ - featured: boolean; - /** Notice Period */ - notice_period?: number; - /** Instagram Username */ - instagram_username?: string; - /** Twitter Username */ - twitter_username?: string; - /** Youtube Username */ - youtube_username?: string; - /** Tiktok Username */ - tiktok_username?: string; - /** Image Url */ - image_url?: string; - }; - /** ManualVerificationFileResponseModel */ - ManualVerificationFileResponseModel: { - /** File Id */ - file_id: string; - /** File Name */ - file_name: string; - /** Mime Type */ - mime_type: string; - /** Size Bytes */ - size_bytes: number; - /** Upload Date Unix */ - upload_date_unix: number; - }; - /** ManualVerificationResponseModel */ - ManualVerificationResponseModel: { - /** Extra Text */ - extra_text: string; - /** Request Time Unix */ - request_time_unix: number; - /** Files */ - files: components["schemas"]["ManualVerificationFileResponseModel"][]; - }; - /** ModelRatesResponseModel */ - ModelRatesResponseModel: { - /** Character Cost Multiplier */ - character_cost_multiplier: number; - }; - /** ModelResponseModel */ - ModelResponseModel: { - /** Model Id */ - model_id: string; - /** Name */ - name: string; - /** Can Be Finetuned */ - can_be_finetuned: boolean; - /** Can Do Text To Speech */ - can_do_text_to_speech: boolean; - /** Can Do Voice Conversion */ - can_do_voice_conversion: boolean; - /** Can Use Style */ - can_use_style: boolean; - /** Can Use Speaker Boost */ - can_use_speaker_boost: boolean; - /** Serves Pro Voices */ - serves_pro_voices: boolean; - /** Token Cost Factor */ - token_cost_factor: number; - /** Description */ - description: string; - /** Requires Alpha Access */ - requires_alpha_access: boolean; - /** Max Characters Request Free User */ - max_characters_request_free_user: number; - /** Max Characters Request Subscribed User */ - max_characters_request_subscribed_user: number; - /** Maximum Text Length Per Request */ - maximum_text_length_per_request: number; - /** Languages */ - languages: components["schemas"]["LanguageResponseModel"][]; - model_rates: components["schemas"]["ModelRatesResponseModel"]; - /** - * Concurrency Group - * @enum {string} - */ - concurrency_group: "standard" | "turbo"; - }; - /** ProfilePageResponseModel */ - ProfilePageResponseModel: { - /** Handle */ - handle: string; - /** Public User Id */ - public_user_id: string; - /** Name */ - name: string; - /** Bio */ - bio: string; - /** Profile Picture */ - profile_picture: string; - }; - /** ProjectExtendedResponseModel */ - ProjectExtendedResponseModel: { - /** Project Id */ - project_id: string; - /** Name */ - name: string; - /** Create Date Unix */ - create_date_unix: number; - /** Default Title Voice Id */ - default_title_voice_id: string; - /** Default Paragraph Voice Id */ - default_paragraph_voice_id: string; - /** Default Model Id */ - default_model_id: string; - /** - * Quality Preset - * @enum {string} - */ - quality_preset: "standard" | "high" | "highest" | "ultra" | "ultra_lossless"; - /** Last Conversion Date Unix */ - last_conversion_date_unix: number; - /** Can Be Downloaded */ - can_be_downloaded: boolean; - /** - * State - * @enum {string} - */ - state: "default" | "converting" | "in_queue"; - /** Chapters */ - chapters: components["schemas"]["ChapterResponseModel"][]; - /** Pronunciation Dictionary Versions */ - pronunciation_dictionary_versions: components["schemas"]["PronunciationDictionaryVersionResponseModel"][]; - /** Volume Normalization */ - volume_normalization: boolean; - /** Title */ - title: string; - /** Author */ - author: string; - /** Isbn Number */ - isbn_number: string; - }; - /** ProjectResponseModel */ - ProjectResponseModel: { - /** Project Id */ - project_id: string; - /** Name */ - name: string; - /** Create Date Unix */ - create_date_unix: number; - /** Default Title Voice Id */ - default_title_voice_id: string; - /** Default Paragraph Voice Id */ - default_paragraph_voice_id: string; - /** Default Model Id */ - default_model_id: string; - /** Last Conversion Date Unix */ - last_conversion_date_unix: number; - /** Can Be Downloaded */ - can_be_downloaded: boolean; - /** Title */ - title: string; - /** Author */ - author: string; - /** Isbn Number */ - isbn_number: string; - /** Volume Normalization */ - volume_normalization: boolean; - /** - * State - * @enum {string} - */ - state: "default" | "converting" | "in_queue"; - }; - /** ProjectSnapshotResponseModel */ - ProjectSnapshotResponseModel: { - /** Project Snapshot Id */ - project_snapshot_id: string; - /** Project Id */ - project_id: string; - /** Created At Unix */ - created_at_unix: number; - /** Name */ - name: string; - audio_upload?: components["schemas"]["ProjectSnapshotUploadResponseModel"]; - zip_upload?: components["schemas"]["ProjectSnapshotUploadResponseModel"]; - }; - /** ProjectSnapshotUploadResponseModel */ - ProjectSnapshotUploadResponseModel: { - /** - * Status - * @enum {string} - */ - status: "success" | "in_queue" | "pending" | "failed"; - /** Acx Volume Normalization */ - acx_volume_normalization?: boolean; - }; - /** ProjectSnapshotsResponseModel */ - ProjectSnapshotsResponseModel: { - /** Snapshots */ - snapshots: components["schemas"]["ProjectSnapshotResponseModel"][]; - }; - /** PronunciationDictionaryAliasRuleRequestModel */ - PronunciationDictionaryAliasRuleRequestModel: { - /** - * Type - * @enum {string} - */ - type: "alias"; - /** String To Replace */ - string_to_replace: string; - /** Alias */ - alias: string; - }; - /** PronunciationDictionaryPhonemeRuleRequestModel */ - PronunciationDictionaryPhonemeRuleRequestModel: { - /** - * Type - * @enum {string} - */ - type: "phoneme"; - /** String To Replace */ - string_to_replace: string; - /** Phoneme */ - phoneme: string; - /** Alphabet */ - alphabet: string; - }; - /** PronunciationDictionaryVersionLocatorDBModel */ - PronunciationDictionaryVersionLocatorDBModel: { - /** Pronunciation Dictionary Id */ - pronunciation_dictionary_id: string; - /** Version Id */ - version_id: string; - }; - /** PronunciationDictionaryVersionResponseModel */ - PronunciationDictionaryVersionResponseModel: { - /** Version Id */ - version_id: string; - /** Pronunciation Dictionary Id */ - pronunciation_dictionary_id: string; - /** Dictionary Name */ - dictionary_name: string; - /** Version Name */ - version_name: string; - /** Created By */ - created_by: string; - /** Creation Time Unix */ - creation_time_unix: number; - }; - /** RecordingResponseModel */ - RecordingResponseModel: { - /** Recording Id */ - recording_id: string; - /** Mime Type */ - mime_type: string; - /** Size Bytes */ - size_bytes: number; - /** Upload Date Unix */ - upload_date_unix: number; - /** Transcription */ - transcription: string; - }; - /** RemovePronunciationDictionaryRulesResponseModel */ - RemovePronunciationDictionaryRulesResponseModel: { - /** Id */ - id: string; - /** Version Id */ - version_id: string; - }; - /** SampleResponseModel */ - SampleResponseModel: { - /** Sample Id */ - sample_id: string; - /** File Name */ - file_name: string; - /** Mime Type */ - mime_type: string; - /** Size Bytes */ - size_bytes: number; - /** Hash */ - hash: string; - }; - /** SpeechHistoryItemResponseModel */ - SpeechHistoryItemResponseModel: { - /** History Item Id */ - history_item_id: string; - /** Request Id */ - request_id: string; - /** Voice Id */ - voice_id: string; - /** Model Id */ - model_id: string; - /** Voice Name */ - voice_name: string; - /** - * Voice Category - * @enum {string} - */ - voice_category: "premade" | "cloned" | "generated" | "professional"; - /** Text */ - text: string; - /** Date Unix */ - date_unix: number; - /** Character Count Change From */ - character_count_change_from: number; - /** Character Count Change To */ - character_count_change_to: number; - /** Content Type */ - content_type: string; - /** - * State - * @enum {string} - */ - state: "created" | "deleted" | "processing"; - /** Settings */ - settings: Record; - feedback: components["schemas"]["FeedbackResponseModel"]; - /** Share Link Id */ - share_link_id: string; - /** - * Source - * @enum {string} - */ - source: "TTS" | "STS"; - alignments?: components["schemas"]["HistoryAlignmentsResponseModel"]; - }; - /** SsoProviderResponseModel */ - SsoProviderResponseModel: { - /** - * Provider Type - * @enum {string} - */ - provider_type: "saml" | "oidc"; - /** Provider Id */ - provider_id: string; - /** Domains */ - domains: string[]; - }; - /** SubscriptionResponseModel */ - SubscriptionResponseModel: { - /** Tier */ - tier: string; - /** Character Count */ - character_count: number; - /** Character Limit */ - character_limit: number; - /** Can Extend Character Limit */ - can_extend_character_limit: boolean; - /** Allowed To Extend Character Limit */ - allowed_to_extend_character_limit: boolean; - /** Next Character Count Reset Unix */ - next_character_count_reset_unix: number; - /** Voice Limit */ - voice_limit: number; - /** Max Voice Add Edits */ - max_voice_add_edits: number; - /** Voice Add Edit Counter */ - voice_add_edit_counter: number; - /** Professional Voice Limit */ - professional_voice_limit: number; - /** Can Extend Voice Limit */ - can_extend_voice_limit: boolean; - /** Can Use Instant Voice Cloning */ - can_use_instant_voice_cloning: boolean; - /** Can Use Professional Voice Cloning */ - can_use_professional_voice_cloning: boolean; - /** - * Currency - * @enum {string} - */ - currency: "usd" | "eur"; - /** - * Status - * @enum {string} - */ - status: "trialing" | "active" | "incomplete" | "incomplete_expired" | "past_due" | "canceled" | "unpaid" | "free"; - /** - * Billing Period - * @enum {string} - */ - billing_period: "monthly_period" | "annual_period"; - /** - * Character Refresh Period - * @enum {string} - */ - character_refresh_period: "monthly_period" | "annual_period"; - }; - /** UsageCharactersResponseModel */ - UsageCharactersResponseModel: { - /** Time */ - time: number[]; - /** Usage */ - usage: { - [key: string]: number[]; - }; - }; - /** UserResponseModel */ - UserResponseModel: { - subscription: components["schemas"]["SubscriptionResponseModel"]; - /** Is New User */ - is_new_user: boolean; - /** Xi Api Key */ - xi_api_key: string; - /** Can Use Delayed Payment Methods */ - can_use_delayed_payment_methods: boolean; - /** Is Onboarding Completed */ - is_onboarding_completed: boolean; - /** Is Onboarding Checklist Completed */ - is_onboarding_checklist_completed: boolean; - /** First Name */ - first_name?: string; - /** - * Is Api Key Hashed - * @default false - */ - is_api_key_hashed: boolean; - /** Xi Api Key Preview */ - xi_api_key_preview?: string; - }; - /** ValidationError */ - ValidationError: { - /** Location */ - loc: (string | number)[]; - /** Message */ - msg: string; - /** Error Type */ - type: string; - }; - /** VerificationAttemptResponseModel */ - VerificationAttemptResponseModel: { - /** Text */ - text: string; - /** Date Unix */ - date_unix: number; - /** Accepted */ - accepted: boolean; - /** Similarity */ - similarity: number; - /** Levenshtein Distance */ - levenshtein_distance: number; - recording?: components["schemas"]["RecordingResponseModel"]; - }; - /** VoiceGenerationParameterOptionResponseModel */ - VoiceGenerationParameterOptionResponseModel: { - /** Name */ - name: string; - /** Code */ - code: string; - }; - /** VoiceGenerationParameterResponseModel */ - VoiceGenerationParameterResponseModel: { - /** Genders */ - genders: components["schemas"]["VoiceGenerationParameterOptionResponseModel"][]; - /** Accents */ - accents: components["schemas"]["VoiceGenerationParameterOptionResponseModel"][]; - /** Ages */ - ages: components["schemas"]["VoiceGenerationParameterOptionResponseModel"][]; - /** Minimum Characters */ - minimum_characters: number; - /** Maximum Characters */ - maximum_characters: number; - /** Minimum Accent Strength */ - minimum_accent_strength: number; - /** Maximum Accent Strength */ - maximum_accent_strength: number; - }; - /** VoiceResponseModel */ - VoiceResponseModel: { - /** Voice Id */ - voice_id: string; - /** Name */ - name: string; - /** Samples */ - samples: components["schemas"]["SampleResponseModel"][]; - /** - * Category - * @enum {string} - */ - category: "generated" | "cloned" | "premade" | "professional" | "famous" | "high_quality"; - fine_tuning: components["schemas"]["FineTuningResponseModel"]; - /** Labels */ - labels: { - [key: string]: string; - }; - /** Description */ - description: string; - /** Preview Url */ - preview_url: string; - /** Available For Tiers */ - available_for_tiers: string[]; - settings: components["schemas"]["VoiceSettingsResponseModel"]; - sharing: components["schemas"]["VoiceSharingResponseModel"]; - /** High Quality Base Model Ids */ - high_quality_base_model_ids: string[]; - /** - * Safety Control - * @enum {string} - */ - safety_control?: "NONE" | "BAN" | "CAPTCHA" | "CAPTCHA_AND_MODERATION"; - voice_verification?: components["schemas"]["VoiceVerificationResponseModel"]; - /** Permission On Resource */ - permission_on_resource?: string; - /** - * Is Legacy - * @default false - */ - is_legacy: boolean; - /** - * Is Mixed - * @default false - */ - is_mixed: boolean; - }; - /** VoiceSettingsResponseModel */ - VoiceSettingsResponseModel: { - /** Stability */ - stability: number; - /** Similarity Boost */ - similarity_boost: number; - /** - * Style - * @default 0 - */ - style: number; - /** - * Use Speaker Boost - * @default true - */ - use_speaker_boost: boolean; - }; - /** VoiceSharingResponseModel */ - VoiceSharingResponseModel: { - /** - * Status - * @enum {string} - */ - status: "enabled" | "disabled" | "copied" | "copied_disabled"; - /** History Item Sample Id */ - history_item_sample_id: string; - /** Date Unix */ - date_unix: number; - /** Whitelisted Emails */ - whitelisted_emails: string[]; - /** Public Owner Id */ - public_owner_id: string; - /** Original Voice Id */ - original_voice_id: string; - /** Financial Rewards Enabled */ - financial_rewards_enabled: boolean; - /** Free Users Allowed */ - free_users_allowed: boolean; - /** Live Moderation Enabled */ - live_moderation_enabled: boolean; - /** Rate */ - rate: number; - /** Notice Period */ - notice_period: number; - /** Disable At Unix */ - disable_at_unix: number; - /** Voice Mixing Allowed */ - voice_mixing_allowed: boolean; - /** Featured */ - featured: boolean; - /** - * Category - * @enum {string} - */ - category: "generated" | "professional" | "high_quality" | "famous"; - /** Reader App Enabled */ - reader_app_enabled: boolean; - /** Image Url */ - image_url: string; - /** Ban Reason */ - ban_reason: string; - /** Liked By Count */ - liked_by_count: number; - /** Cloned By Count */ - cloned_by_count: number; - /** Name */ - name: string; - /** Description */ - description: string; - /** Labels */ - labels: { - [key: string]: string; - }; - /** - * Review Status - * @enum {string} - */ - review_status: "not_requested" | "pending" | "declined" | "allowed" | "allowed_with_changes"; - /** Review Message */ - review_message: string; - /** Enabled In Library */ - enabled_in_library: boolean; - /** Instagram Username */ - instagram_username?: string; - /** Twitter Username */ - twitter_username?: string; - /** Youtube Username */ - youtube_username?: string; - /** Tiktok Username */ - tiktok_username?: string; - }; - /** VoiceVerificationResponseModel */ - VoiceVerificationResponseModel: { - /** Requires Verification */ - requires_verification: boolean; - /** Is Verified */ - is_verified: boolean; - /** Verification Failures */ - verification_failures: string[]; - /** Verification Attempts Count */ - verification_attempts_count: number; - /** Language */ - language?: string; - /** Verification Attempts */ - verification_attempts?: components["schemas"]["VerificationAttemptResponseModel"][]; - }; - }; - responses: never; - parameters: never; - requestBodies: never; - headers: never; - pathItems: never; + schemas: { + /** AddChapterResponseModel */ + AddChapterResponseModel: { + chapter: components['schemas']['ChapterResponseModel']; + }; + /** AddProjectResponseModel */ + AddProjectResponseModel: { + project: components['schemas']['ProjectResponseModel']; + }; + /** AddPronunciationDictionaryResponseModel */ + AddPronunciationDictionaryResponseModel: { + /** Id */ + id: string; + /** Name */ + name: string; + /** Created By */ + created_by: string; + /** Creation Time Unix */ + creation_time_unix: number; + /** Version Id */ + version_id: string; + /** Description */ + description?: string; + }; + /** AddPronunciationDictionaryRulesResponseModel */ + AddPronunciationDictionaryRulesResponseModel: { + /** Id */ + id: string; + /** Version Id */ + version_id: string; + }; + /** AddVoiceResponseModel */ + AddVoiceResponseModel: { + /** Voice Id */ + voice_id: string; + }; + /** AudioNativeCreateProjectResponseModel */ + AudioNativeCreateProjectResponseModel: { + /** Project Id */ + project_id: string; + /** Converting */ + converting: boolean; + /** Html Snippet */ + html_snippet: string; + }; + /** Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post */ + Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post: { + /** + * Name + * @description The name of the pronunciation dictionary, used for identification only. + */ + name: string; + /** + * File + * Format: binary + * @description A lexicon .pls file which we will use to initialize the project with. + */ + file?: string; + /** + * Description + * @description A description of the pronunciation dictionary, used for identification only. + */ + description?: string; + /** + * Workspace Access + * @description Should be one of 'editor' or 'viewer'. If not provided, defaults to no access. + * @enum {string} + */ + workspace_access?: 'admin' | 'editor' | 'viewer'; + }; + /** Body_Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post */ + Body_Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post: { + /** + * Name + * @description The name of the chapter, used for identification only. + */ + name: string; + /** + * From Url + * @description An optional URL from which we will extract content to initialize the project. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. + */ + from_url?: string; + }; + /** Body_Add_project_v1_projects_add_post */ + Body_Add_project_v1_projects_add_post: { + /** + * Name + * @description The name of the project, used for identification only. + */ + name: string; + /** + * Default Title Voice Id + * @description The voice_id that corresponds to the default voice used for new titles. + */ + default_title_voice_id: string; + /** + * Default Paragraph Voice Id + * @description The voice_id that corresponds to the default voice used for new paragraphs. + */ + default_paragraph_voice_id: string; + /** + * Default Model Id + * @description The model_id of the model to be used for this project, you can query GET https://api.elevenlabs.io/v1/models to list all available models. + */ + default_model_id: string; + /** + * From Url + * @description An optional URL from which we will extract content to initialize the project. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. + */ + from_url?: string; + /** + * From Document + * Format: binary + * @description An optional .epub, .pdf, .txt or similar file can be provided. If provided, we will initialize the project with its content. If this is set, 'from_url' must be null. If neither 'from_url' or 'from_document' are provided we will initialize the project as blank. + */ + from_document?: string; + /** + * Quality of the generated audio. + * @description Output quality of the generated audio. Must be one of: + * standard - standard output format, 128kbps with 44.1kHz sample rate. + * high - high quality output format, 192kbps with 44.1kHz sample rate and major improvements on our side. Using this setting increases the credit cost by 20%. + * ultra - ultra quality output format, 192kbps with 44.1kHz sample rate and highest improvements on our side. Using this setting increases the credit cost by 50%. + * ultra lossless - ultra quality output format, 705.6kbps with 44.1kHz sample rate and highest improvements on our side in a fully lossless format. Using this setting increases the credit cost by 100%. + * + * @default standard + */ + quality_preset: string; + /** + * Title + * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. + */ + title?: string; + /** + * Author + * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. + */ + author?: string; + /** + * Isbn Number + * @description An optional ISBN number of the project you want to create, this will be added as metadata to the mp3 file on project / chapter download. + */ + isbn_number?: string; + /** + * Acx Volume Normalization + * @description [Deprecated] When the project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements + * @default false + */ + acx_volume_normalization: boolean; + /** + * Volume Normalization + * @description When the project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements + * @default false + */ + volume_normalization: boolean; + /** + * Pronunciation Dictionary Locators + * @description A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'. Note that multiple dictionaries are not currently supported by our UI which will only show the first. + */ + pronunciation_dictionary_locators?: string[]; + /** + * Callback Url + * @description [Deprecated] A url that will be called by our service when the project is converted with a json containing the status of the conversion + */ + callback_url?: string; + }; + /** Body_Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post */ + Body_Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post: { + /** + * Rules + * @description List of pronunciation rules. Rule can be either: + * an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } + * or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' } + */ + rules: ( + | components['schemas']['PronunciationDictionaryAliasRuleRequestModel'] + | components['schemas']['PronunciationDictionaryPhonemeRuleRequestModel'] + )[]; + }; + /** Body_Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post */ + Body_Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post: { + /** + * New Name + * @description The name that identifies this voice. This will be displayed in the dropdown of the website. + */ + new_name: string; + }; + /** Body_Add_voice_v1_voices_add_post */ + Body_Add_voice_v1_voices_add_post: { + /** + * Name + * @description The name that identifies this voice. This will be displayed in the dropdown of the website. + */ + name: string; + /** + * Files + * @description A list of file paths to audio recordings intended for voice cloning + */ + files: string[]; + /** + * Description + * @description How would you describe the voice? + */ + description?: string; + /** + * Labels + * @description Serialized labels dictionary for the voice. + */ + labels?: string; + }; + /** Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post */ + Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post: { + /** + * Audio + * Format: binary + * @description The audio file from which vocals/speech will be isolated from. + */ + audio: string; + }; + /** Body_Audio_Isolation_v1_audio_isolation_post */ + Body_Audio_Isolation_v1_audio_isolation_post: { + /** + * Audio + * Format: binary + * @description The audio file from which vocals/speech will be isolated from. + */ + audio: string; + }; + /** Body_Create_a_previously_generated_voice_v1_voice_generation_create_voice_post */ + Body_Create_a_previously_generated_voice_v1_voice_generation_create_voice_post: { + /** + * Voice Name + * @description Name to use for the created voice. + */ + voice_name: string; + /** + * Voice Description + * @description Description to use for the created voice. + */ + voice_description: string; + /** + * Generated Voice Id + * @description The generated_voice_id to create, call POST /v1/voice-generation/generate-voice and fetch the generated_voice_id from the response header if don't have one yet. + */ + generated_voice_id: string; + /** + * Labels + * @description Optional, metadata to add to the created voice. Defaults to None. + */ + labels?: { + [key: string]: string; + }; + }; + /** Body_Creates_AudioNative_enabled_project__v1_audio_native_post */ + Body_Creates_AudioNative_enabled_project__v1_audio_native_post: { + /** + * Name + * @description Project name. + */ + name: string; + /** + * Image + * @description Image URL used in the player. If not provided, default image set in the Player settings is used. + */ + image?: string; + /** + * Author + * @description Author used in the player and inserted at the start of the uploaded article. If not provided, the default author set in the Player settings is used. + */ + author?: string; + /** + * Title + * @description Title used in the player and inserted at the top of the uploaded article. If not provided, the default title set in the Player settings is used. + */ + title?: string; + /** + * Small + * @description Whether to use small player or not. If not provided, default value set in the Player settings is used. + * @default false + */ + small: boolean; + /** + * Text Color + * @description Text color used in the player. If not provided, default text color set in the Player settings is used. + */ + text_color?: string; + /** + * Background Color + * @description Background color used in the player. If not provided, default background color set in the Player settings is used. + */ + background_color?: string; + /** + * Sessionization + * @description Specifies for how many minutes to persist the session across page reloads. If not provided, default sessionization set in the Player settings is used. + * @default 0 + */ + sessionization: number; + /** + * Voice Id + * @description Voice ID used to voice the content. If not provided, default voice ID set in the Player settings is used. + */ + voice_id?: string; + /** + * Model Id + * @description TTS Model ID used in the player. If not provided, default model ID set in the Player settings is used. + */ + model_id?: string; + /** + * File + * Format: binary + * @description Either txt or HTML input file containing the article content. HTML should be formatted as follows '<html><body><div><p>Your content</p><h5>More of your content</h5><p>Some more of your content</p></div></body></html>' + */ + file?: string; + /** + * Auto Convert + * @description Whether to auto convert the project to audio or not. + * @default false + */ + auto_convert: boolean; + }; + /** Body_Delete_existing_invitation_v1_workspace_invites_delete */ + Body_Delete_existing_invitation_v1_workspace_invites_delete: { + /** + * Email + * @description Email of the target user. + */ + email: string; + }; + /** Body_Download_history_items_v1_history_download_post */ + Body_Download_history_items_v1_history_download_post: { + /** + * History Item Ids + * @description A list of history items to download, you can get IDs of history items and other metadata using the GET https://api.elevenlabs.io/v1/history endpoint. + */ + history_item_ids: string[]; + /** + * Output Format + * @description Output format to transcode the audio file, can be wav or default. + */ + output_format?: string; + }; + /** Body_Dub_a_video_or_an_audio_file_v1_dubbing_post */ + Body_Dub_a_video_or_an_audio_file_v1_dubbing_post: { + /** + * File + * Format: binary + * @description A list of file paths to audio recordings intended for voice cloning + */ + file?: string; + /** + * Name + * @description Name of the dubbing project. + */ + name?: string; + /** + * Source Url + * @description URL of the source video/audio file. + */ + source_url?: string; + /** + * Source Lang + * @description Source language. + * @default auto + */ + source_lang: string; + /** + * Target Lang + * @description The Target language to dub the content into. + */ + target_lang?: string; + /** + * Num Speakers + * @description Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers + * @default 0 + */ + num_speakers: number; + /** + * Watermark + * @description Whether to apply watermark to the output video. + * @default false + */ + watermark: boolean; + /** + * Start Time + * @description Start time of the source video/audio file. + */ + start_time?: number; + /** + * End Time + * @description End time of the source video/audio file. + */ + end_time?: number; + /** + * Highest Resolution + * @description Whether to use the highest resolution available. + * @default false + */ + highest_resolution: boolean; + /** + * Drop Background Audio + * @description An advanced setting. Whether to drop background audio from the final dub. This can improve dub quality where it's known that audio shouldn't have a background track such as for speeches or monologues. + * @default false + */ + drop_background_audio: boolean; + /** + * Use Profanity Filter + * @description [BETA] Whether transcripts should have profanities censored with the words '[censored]' + */ + use_profanity_filter?: boolean; + }; + /** Body_Edit_basic_project_info_v1_projects__project_id__post */ + Body_Edit_basic_project_info_v1_projects__project_id__post: { + /** + * Name + * @description The name of the project, used for identification only. + */ + name: string; + /** + * Default Title Voice Id + * @description The voice_id that corresponds to the default voice used for new titles. + */ + default_title_voice_id: string; + /** + * Default Paragraph Voice Id + * @description The voice_id that corresponds to the default voice used for new paragraphs. + */ + default_paragraph_voice_id: string; + /** + * Title + * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. + */ + title?: string; + /** + * Author + * @description An optional name of the author of the project, this will be added as metadata to the mp3 file on project / chapter download. + */ + author?: string; + /** + * Isbn Number + * @description An optional ISBN number of the project you want to create, this will be added as metadata to the mp3 file on project / chapter download. + */ + isbn_number?: string; + /** + * Volume Normalization + * @description When the project is downloaded, should the returned audio have postprocessing in order to make it compliant with audiobook normalized volume requirements + * @default false + */ + volume_normalization: boolean; + }; + /** Body_Edit_voice_v1_voices__voice_id__edit_post */ + Body_Edit_voice_v1_voices__voice_id__edit_post: { + /** + * Name + * @description The name that identifies this voice. This will be displayed in the dropdown of the website. + */ + name: string; + /** + * Files + * @description Audio files to add to the voice + */ + files?: string[]; + /** + * Description + * @description How would you describe the voice? + */ + description?: string; + /** + * Labels + * @description Serialized labels dictionary for the voice. + */ + labels?: string; + }; + /** Body_Generate_a_random_voice_v1_voice_generation_generate_voice_post */ + Body_Generate_a_random_voice_v1_voice_generation_generate_voice_post: { + /** + * Gender + * @description Category code corresponding to the gender of the generated voice. Possible values: female, male. + * @enum {string} + */ + gender: 'female' | 'male'; + /** + * Accent + * @description Category code corresponding to the accent of the generated voice. Possible values: american, british, african, australian, indian. + */ + accent: string; + /** + * Age + * @description Category code corresponding to the age of the generated voice. Possible values: young, middle_aged, old. + * @enum {string} + */ + age: 'young' | 'middle_aged' | 'old'; + /** + * Accent Strength + * @description The strength of the accent of the generated voice. Has to be between 0.3 and 2.0. + */ + accent_strength: number; + /** + * Text + * @description Text to generate, text length has to be between 100 and 1000. + */ + text: string; + }; + /** Body_Get_similar_library_voices_v1_similar_voices_post */ + Body_Get_similar_library_voices_v1_similar_voices_post: { + /** + * Audio File + * Format: binary + */ + audio_file?: string; + /** + * Similarity Threshold + * @description Threshold for voice similarity between provided sample and library voices. Must be in range <0, 2>. The smaller the value the more similar voices will be returned. + */ + similarity_threshold?: number; + /** + * Top K + * @description Number of most similar voices to return. If similarity_threshold is provided, less than this number of voices may be returned. Must be in range <1, 100>. + */ + top_k?: number; + }; + /** Body_Invite_user_v1_workspace_invites_add_post */ + Body_Invite_user_v1_workspace_invites_add_post: { + /** + * Email + * @description Email of the target user. + */ + email: string; + }; + /** Body_Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post */ + Body_Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post: { + /** + * Rule Strings + * @description List of strings to remove from the pronunciation dictionary. + */ + rule_strings: string[]; + }; + /** Body_Sound_Generation_v1_sound_generation_post */ + Body_Sound_Generation_v1_sound_generation_post: { + /** + * Text + * @description The text that will get converted into a sound effect. + */ + text: string; + /** + * Duration Seconds + * @description The duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 22. If set to None we will guess the optimal duration using the prompt. Defaults to None. + */ + duration_seconds?: number; + /** + * Prompt Influence + * @description A higher prompt influence makes your generation follow the prompt more closely while also making generations less variable. Must be a value between 0 and 1. Defaults to 0.3. + * @default 0.3 + */ + prompt_influence: number; + }; + /** Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post */ + Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post: { + /** + * Audio + * Format: binary + * @description The audio file which holds the content and emotion that will control the generated speech. + */ + audio: string; + /** + * Model Id + * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for speech to speech, you can check this using the can_do_voice_conversion property. + * @default eleven_english_sts_v2 + */ + model_id: string; + /** + * Voice Settings + * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. Needs to be send as a JSON encoded string. + */ + voice_settings?: string; + /** + * Seed + * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. + */ + seed?: number; + }; + /** Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post */ + Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post: { + /** + * Audio + * Format: binary + * @description The audio file which holds the content and emotion that will control the generated speech. + */ + audio: string; + /** + * Model Id + * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for speech to speech, you can check this using the can_do_voice_conversion property. + * @default eleven_english_sts_v2 + */ + model_id: string; + /** + * Voice Settings + * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. Needs to be send as a JSON encoded string. + */ + voice_settings?: string; + /** + * Seed + * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. + */ + seed?: number; + }; + /** Body_Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post */ + Body_Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post: { + /** + * Convert To Mpeg + * @description Whether to convert the audio to mpeg format. + * @default false + */ + convert_to_mpeg: boolean; + }; + /** Body_Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post */ + Body_Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post: { + /** + * Convert To Mpeg + * @description Whether to convert the audio to mpeg format. + * @default false + */ + convert_to_mpeg: boolean; + }; + /** Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post */ + Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post: { + /** + * Text + * @description The text that will get converted into speech. + */ + text: string; + /** + * Model Id + * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. + * @default eleven_monolingual_v1 + */ + model_id: string; + /** + * Language Code + * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. + */ + language_code?: string; + /** + * Voice Settings + * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. + */ + voice_settings?: components['schemas']['VoiceSettingsResponseModel']; + /** + * Pronunciation Dictionary Locators + * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request + * @default [] + */ + pronunciation_dictionary_locators: components['schemas']['PronunciationDictionaryVersionLocatorDBModel'][]; + /** + * Seed + * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. + */ + seed?: number; + /** + * Previous Text + * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + previous_text?: string; + /** + * Next Text + * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + next_text?: string; + /** + * Previous Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + previous_request_ids: string[]; + /** + * Next Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + next_request_ids: string[]; + /** + * Use Pvc As Ivc + * @deprecated + * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. + * @default false + */ + use_pvc_as_ivc: boolean; + }; + /** Body_Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post */ + Body_Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post: { + /** + * Text + * @description The text that will get converted into speech. + */ + text: string; + /** + * Model Id + * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. + * @default eleven_monolingual_v1 + */ + model_id: string; + /** + * Language Code + * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. + */ + language_code?: string; + /** + * Voice Settings + * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. + */ + voice_settings?: components['schemas']['VoiceSettingsResponseModel']; + /** + * Pronunciation Dictionary Locators + * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request + * @default [] + */ + pronunciation_dictionary_locators: components['schemas']['PronunciationDictionaryVersionLocatorDBModel'][]; + /** + * Seed + * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. + */ + seed?: number; + /** + * Previous Text + * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + previous_text?: string; + /** + * Next Text + * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + next_text?: string; + /** + * Previous Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + previous_request_ids: string[]; + /** + * Next Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + next_request_ids: string[]; + /** + * Use Pvc As Ivc + * @deprecated + * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. + * @default false + */ + use_pvc_as_ivc: boolean; + }; + /** Body_Text_to_speech_v1_text_to_speech__voice_id__post */ + Body_Text_to_speech_v1_text_to_speech__voice_id__post: { + /** + * Text + * @description The text that will get converted into speech. + */ + text: string; + /** + * Model Id + * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. + * @default eleven_monolingual_v1 + */ + model_id: string; + /** + * Language Code + * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. + */ + language_code?: string; + /** + * Voice Settings + * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. + */ + voice_settings?: components['schemas']['VoiceSettingsResponseModel']; + /** + * Pronunciation Dictionary Locators + * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request + * @default [] + */ + pronunciation_dictionary_locators: components['schemas']['PronunciationDictionaryVersionLocatorDBModel'][]; + /** + * Seed + * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. + */ + seed?: number; + /** + * Previous Text + * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + previous_text?: string; + /** + * Next Text + * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + next_text?: string; + /** + * Previous Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + previous_request_ids: string[]; + /** + * Next Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + next_request_ids: string[]; + /** + * Use Pvc As Ivc + * @deprecated + * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. + * @default false + */ + use_pvc_as_ivc: boolean; + }; + /** Body_Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post */ + Body_Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post: { + /** + * Text + * @description The text that will get converted into speech. + */ + text: string; + /** + * Model Id + * @description Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. + * @default eleven_monolingual_v1 + */ + model_id: string; + /** + * Language Code + * @description Language code (ISO 639-1) used to enforce a language for the model. Currently only Turbo v2.5 supports language enforcement. For other models, an error will be returned if language code is provided. + */ + language_code?: string; + /** + * Voice Settings + * @description Voice settings overriding stored setttings for the given voice. They are applied only on the given request. + */ + voice_settings?: components['schemas']['VoiceSettingsResponseModel']; + /** + * Pronunciation Dictionary Locators + * @description A list of pronunciation dictionary locators (id, version_id) to be applied to the text. They will be applied in order. You may have up to 3 locators per request + * @default [] + */ + pronunciation_dictionary_locators: components['schemas']['PronunciationDictionaryVersionLocatorDBModel'][]; + /** + * Seed + * @description If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. + */ + seed?: number; + /** + * Previous Text + * @description The text that came before the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + previous_text?: string; + /** + * Next Text + * @description The text that comes after the text of the current request. Can be used to improve the flow of prosody when concatenating together multiple generations or to influence the prosody in the current generation. + */ + next_text?: string; + /** + * Previous Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both previous_text and previous_request_ids is send, previous_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + previous_request_ids: string[]; + /** + * Next Request Ids + * @description A list of request_id of the samples that were generated before this generation. Can be used to improve the flow of prosody when splitting up a large task into multiple requests. The results will be best when the same model is used across the generations. In case both next_text and next_request_ids is send, next_text will be ignored. A maximum of 3 request_ids can be send. + * @default [] + */ + next_request_ids: string[]; + /** + * Use Pvc As Ivc + * @deprecated + * @description If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. + * @default false + */ + use_pvc_as_ivc: boolean; + }; + /** Body_Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post */ + Body_Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post: { + /** + * Pronunciation Dictionary Locators + * @description A list of pronunciation dictionary locators (pronunciation_dictionary_id, version_id) encoded as a list of JSON strings for pronunciation dictionaries to be applied to the text. A list of json encoded strings is required as adding projects may occur through formData as opposed to jsonBody. To specify multiple dictionaries use multiple --form lines in your curl, such as --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"Vmd4Zor6fplcA7WrINey\",\"version_id\":\"hRPaxjlTdR7wFMhV4w0b\"}"' --form 'pronunciation_dictionary_locators="{\"pronunciation_dictionary_id\":\"JzWtcGQMJ6bnlWwyMo7e\",\"version_id\":\"lbmwxiLu4q6txYxgdZqn\"}"'. Note that multiple dictionaries are not currently supported by our UI which will only show the first. + */ + pronunciation_dictionary_locators: components['schemas']['PronunciationDictionaryVersionLocatorDBModel'][]; + }; + /** Body_Update_member_v1_workspace_members_post */ + Body_Update_member_v1_workspace_members_post: { + /** + * Email + * @description Email of the target user. + */ + email: string; + /** + * Is Locked + * @description Whether to lock or unlock the user account. + */ + is_locked?: boolean; + /** + * Workspace Role + * @description Role dictating permissions in the workspace. + * @enum {string} + */ + workspace_role?: 'workspace_admin' | 'workspace_member'; + }; + /** ChapterResponseModel */ + ChapterResponseModel: { + /** Chapter Id */ + chapter_id: string; + /** Name */ + name: string; + /** Last Conversion Date Unix */ + last_conversion_date_unix: number; + /** Last Block Conversion Unix Ms */ + last_block_conversion_unix_ms: number; + /** Conversion Progress */ + conversion_progress: number; + /** Can Be Downloaded */ + can_be_downloaded: boolean; + /** + * State + * @enum {string} + */ + state: 'default' | 'converting'; + statistics: components['schemas']['ChapterStatisticsResponseModel']; + }; + /** ChapterSnapshotResponseModel */ + ChapterSnapshotResponseModel: { + /** Chapter Snapshot Id */ + chapter_snapshot_id: string; + /** Project Id */ + project_id: string; + /** Chapter Id */ + chapter_id: string; + /** Created At Unix */ + created_at_unix: number; + /** Name */ + name: string; + }; + /** ChapterSnapshotsResponseModel */ + ChapterSnapshotsResponseModel: { + /** Snapshots */ + snapshots: components['schemas']['ChapterSnapshotResponseModel'][]; + }; + /** ChapterStatisticsResponseModel */ + ChapterStatisticsResponseModel: { + /** Characters Unconverted */ + characters_unconverted: number; + /** Characters Converted */ + characters_converted: number; + /** Paragraphs Converted */ + paragraphs_converted: number; + /** Paragraphs Unconverted */ + paragraphs_unconverted: number; + }; + /** DoDubbingResponseModel */ + DoDubbingResponseModel: { + /** Dubbing Id */ + dubbing_id: string; + /** Expected Duration Sec */ + expected_duration_sec: number; + }; + /** DubbingMetadataResponse */ + DubbingMetadataResponse: { + /** Dubbing Id */ + dubbing_id: string; + /** Name */ + name: string; + /** Status */ + status: string; + /** Target Languages */ + target_languages: string[]; + /** Error */ + error?: string; + }; + /** EditProjectResponseModel */ + EditProjectResponseModel: { + project: components['schemas']['ProjectResponseModel']; + }; + /** ExtendedSubscriptionResponseModel */ + ExtendedSubscriptionResponseModel: { + /** Tier */ + tier: string; + /** Character Count */ + character_count: number; + /** Character Limit */ + character_limit: number; + /** Can Extend Character Limit */ + can_extend_character_limit: boolean; + /** Allowed To Extend Character Limit */ + allowed_to_extend_character_limit: boolean; + /** Next Character Count Reset Unix */ + next_character_count_reset_unix: number; + /** Voice Limit */ + voice_limit: number; + /** Max Voice Add Edits */ + max_voice_add_edits: number; + /** Voice Add Edit Counter */ + voice_add_edit_counter: number; + /** Professional Voice Limit */ + professional_voice_limit: number; + /** Can Extend Voice Limit */ + can_extend_voice_limit: boolean; + /** Can Use Instant Voice Cloning */ + can_use_instant_voice_cloning: boolean; + /** Can Use Professional Voice Cloning */ + can_use_professional_voice_cloning: boolean; + /** + * Currency + * @enum {string} + */ + currency: 'usd' | 'eur'; + /** + * Status + * @enum {string} + */ + status: + | 'trialing' + | 'active' + | 'incomplete' + | 'incomplete_expired' + | 'past_due' + | 'canceled' + | 'unpaid' + | 'free'; + /** + * Billing Period + * @enum {string} + */ + billing_period: 'monthly_period' | 'annual_period'; + /** + * Character Refresh Period + * @enum {string} + */ + character_refresh_period: 'monthly_period' | 'annual_period'; + next_invoice: components['schemas']['InvoiceResponseModel']; + /** Has Open Invoices */ + has_open_invoices: boolean; + }; + /** FeedbackResponseModel */ + FeedbackResponseModel: { + /** Thumbs Up */ + thumbs_up: boolean; + /** Feedback */ + feedback: string; + /** Emotions */ + emotions: boolean; + /** Inaccurate Clone */ + inaccurate_clone: boolean; + /** Glitches */ + glitches: boolean; + /** Audio Quality */ + audio_quality: boolean; + /** Other */ + other: boolean; + /** + * Review Status + * @default not_reviewed + */ + review_status: string; + }; + /** FineTuningResponseModel */ + FineTuningResponseModel: { + /** Is Allowed To Fine Tune */ + is_allowed_to_fine_tune: boolean; + /** State */ + state: { + [key: string]: + | 'not_started' + | 'queued' + | 'fine_tuning' + | 'fine_tuned' + | 'failed' + | 'delayed'; + }; + /** Verification Failures */ + verification_failures: string[]; + /** Verification Attempts Count */ + verification_attempts_count: number; + /** Manual Verification Requested */ + manual_verification_requested: boolean; + /** Language */ + language?: string; + /** Progress */ + progress?: { + [key: string]: number; + }; + /** Message */ + message?: { + [key: string]: string; + }; + /** Dataset Duration Seconds */ + dataset_duration_seconds?: number; + /** Verification Attempts */ + verification_attempts?: components['schemas']['VerificationAttemptResponseModel'][]; + /** Slice Ids */ + slice_ids?: string[]; + manual_verification?: components['schemas']['ManualVerificationResponseModel']; + }; + /** GetChaptersResponseModel */ + GetChaptersResponseModel: { + /** Chapters */ + chapters: components['schemas']['ChapterResponseModel'][]; + }; + /** GetLibraryVoicesResponseModel */ + GetLibraryVoicesResponseModel: { + /** Voices */ + voices: components['schemas']['LibraryVoiceResponseModel'][]; + /** Has More */ + has_more: boolean; + /** Last Sort Id */ + last_sort_id?: string; + }; + /** GetProjectsResponseModel */ + GetProjectsResponseModel: { + /** Projects */ + projects: components['schemas']['ProjectResponseModel'][]; + }; + /** GetPronunciationDictionariesMetadataResponseModel */ + GetPronunciationDictionariesMetadataResponseModel: { + /** Pronunciation Dictionaries */ + pronunciation_dictionaries: components['schemas']['GetPronunciationDictionaryMetadataResponseModel'][]; + /** Next Cursor */ + next_cursor: string; + /** Has More */ + has_more: boolean; + }; + /** GetPronunciationDictionaryMetadataResponseModel */ + GetPronunciationDictionaryMetadataResponseModel: { + /** Id */ + id: string; + /** Latest Version Id */ + latest_version_id: string; + /** Name */ + name: string; + /** Created By */ + created_by: string; + /** Creation Time Unix */ + creation_time_unix: number; + /** Description */ + description?: string; + }; + /** GetSpeechHistoryResponseModel */ + GetSpeechHistoryResponseModel: { + /** History */ + history: components['schemas']['SpeechHistoryItemResponseModel'][]; + /** Last History Item Id */ + last_history_item_id: string; + /** Has More */ + has_more: boolean; + }; + /** GetVoicesResponseModel */ + GetVoicesResponseModel: { + /** Voices */ + voices: components['schemas']['VoiceResponseModel'][]; + }; + /** HTTPValidationError */ + HTTPValidationError: { + /** Detail */ + detail?: components['schemas']['ValidationError'][]; + }; + /** HistoryAlignmentResponseModel */ + HistoryAlignmentResponseModel: { + /** Characters */ + characters: string[]; + /** Character Start Times Seconds */ + character_start_times_seconds: number[]; + /** Character End Times Seconds */ + character_end_times_seconds: number[]; + }; + /** HistoryAlignmentsResponseModel */ + HistoryAlignmentsResponseModel: { + alignment: components['schemas']['HistoryAlignmentResponseModel']; + normalized_alignment: components['schemas']['HistoryAlignmentResponseModel']; + }; + /** InvoiceResponseModel */ + InvoiceResponseModel: { + /** Amount Due Cents */ + amount_due_cents: number; + /** Next Payment Attempt Unix */ + next_payment_attempt_unix: number; + }; + /** LanguageResponseModel */ + LanguageResponseModel: { + /** Language Id */ + language_id: string; + /** Name */ + name: string; + }; + /** LibraryVoiceResponseModel */ + LibraryVoiceResponseModel: { + /** Public Owner Id */ + public_owner_id: string; + /** Voice Id */ + voice_id: string; + /** Date Unix */ + date_unix: number; + /** Name */ + name: string; + /** Accent */ + accent: string; + /** Gender */ + gender: string; + /** Age */ + age: string; + /** Descriptive */ + descriptive: string; + /** Use Case */ + use_case: string; + /** + * Category + * @enum {string} + */ + category: 'generated' | 'cloned' | 'premade' | 'professional' | 'famous' | 'high_quality'; + /** Language */ + language: string; + /** Description */ + description: string; + /** Preview Url */ + preview_url: string; + /** Usage Character Count 1Y */ + usage_character_count_1y: number; + /** Usage Character Count 7D */ + usage_character_count_7d: number; + /** Play Api Usage Character Count 1Y */ + play_api_usage_character_count_1y: number; + /** Cloned By Count */ + cloned_by_count: number; + /** Rate */ + rate: number; + /** Free Users Allowed */ + free_users_allowed: boolean; + /** Live Moderation Enabled */ + live_moderation_enabled: boolean; + /** Featured */ + featured: boolean; + /** Notice Period */ + notice_period?: number; + /** Instagram Username */ + instagram_username?: string; + /** Twitter Username */ + twitter_username?: string; + /** Youtube Username */ + youtube_username?: string; + /** Tiktok Username */ + tiktok_username?: string; + /** Image Url */ + image_url?: string; + }; + /** ManualVerificationFileResponseModel */ + ManualVerificationFileResponseModel: { + /** File Id */ + file_id: string; + /** File Name */ + file_name: string; + /** Mime Type */ + mime_type: string; + /** Size Bytes */ + size_bytes: number; + /** Upload Date Unix */ + upload_date_unix: number; + }; + /** ManualVerificationResponseModel */ + ManualVerificationResponseModel: { + /** Extra Text */ + extra_text: string; + /** Request Time Unix */ + request_time_unix: number; + /** Files */ + files: components['schemas']['ManualVerificationFileResponseModel'][]; + }; + /** ModelRatesResponseModel */ + ModelRatesResponseModel: { + /** Character Cost Multiplier */ + character_cost_multiplier: number; + }; + /** ModelResponseModel */ + ModelResponseModel: { + /** Model Id */ + model_id: string; + /** Name */ + name: string; + /** Can Be Finetuned */ + can_be_finetuned: boolean; + /** Can Do Text To Speech */ + can_do_text_to_speech: boolean; + /** Can Do Voice Conversion */ + can_do_voice_conversion: boolean; + /** Can Use Style */ + can_use_style: boolean; + /** Can Use Speaker Boost */ + can_use_speaker_boost: boolean; + /** Serves Pro Voices */ + serves_pro_voices: boolean; + /** Token Cost Factor */ + token_cost_factor: number; + /** Description */ + description: string; + /** Requires Alpha Access */ + requires_alpha_access: boolean; + /** Max Characters Request Free User */ + max_characters_request_free_user: number; + /** Max Characters Request Subscribed User */ + max_characters_request_subscribed_user: number; + /** Maximum Text Length Per Request */ + maximum_text_length_per_request: number; + /** Languages */ + languages: components['schemas']['LanguageResponseModel'][]; + model_rates: components['schemas']['ModelRatesResponseModel']; + /** + * Concurrency Group + * @enum {string} + */ + concurrency_group: 'standard' | 'turbo'; + }; + /** ProfilePageResponseModel */ + ProfilePageResponseModel: { + /** Handle */ + handle: string; + /** Public User Id */ + public_user_id: string; + /** Name */ + name: string; + /** Bio */ + bio: string; + /** Profile Picture */ + profile_picture: string; + }; + /** ProjectExtendedResponseModel */ + ProjectExtendedResponseModel: { + /** Project Id */ + project_id: string; + /** Name */ + name: string; + /** Create Date Unix */ + create_date_unix: number; + /** Default Title Voice Id */ + default_title_voice_id: string; + /** Default Paragraph Voice Id */ + default_paragraph_voice_id: string; + /** Default Model Id */ + default_model_id: string; + /** + * Quality Preset + * @enum {string} + */ + quality_preset: 'standard' | 'high' | 'highest' | 'ultra' | 'ultra_lossless'; + /** Last Conversion Date Unix */ + last_conversion_date_unix: number; + /** Can Be Downloaded */ + can_be_downloaded: boolean; + /** + * State + * @enum {string} + */ + state: 'default' | 'converting' | 'in_queue'; + /** Chapters */ + chapters: components['schemas']['ChapterResponseModel'][]; + /** Pronunciation Dictionary Versions */ + pronunciation_dictionary_versions: components['schemas']['PronunciationDictionaryVersionResponseModel'][]; + /** Volume Normalization */ + volume_normalization: boolean; + /** Title */ + title: string; + /** Author */ + author: string; + /** Isbn Number */ + isbn_number: string; + }; + /** ProjectResponseModel */ + ProjectResponseModel: { + /** Project Id */ + project_id: string; + /** Name */ + name: string; + /** Create Date Unix */ + create_date_unix: number; + /** Default Title Voice Id */ + default_title_voice_id: string; + /** Default Paragraph Voice Id */ + default_paragraph_voice_id: string; + /** Default Model Id */ + default_model_id: string; + /** Last Conversion Date Unix */ + last_conversion_date_unix: number; + /** Can Be Downloaded */ + can_be_downloaded: boolean; + /** Title */ + title: string; + /** Author */ + author: string; + /** Isbn Number */ + isbn_number: string; + /** Volume Normalization */ + volume_normalization: boolean; + /** + * State + * @enum {string} + */ + state: 'default' | 'converting' | 'in_queue'; + }; + /** ProjectSnapshotResponseModel */ + ProjectSnapshotResponseModel: { + /** Project Snapshot Id */ + project_snapshot_id: string; + /** Project Id */ + project_id: string; + /** Created At Unix */ + created_at_unix: number; + /** Name */ + name: string; + audio_upload?: components['schemas']['ProjectSnapshotUploadResponseModel']; + zip_upload?: components['schemas']['ProjectSnapshotUploadResponseModel']; + }; + /** ProjectSnapshotUploadResponseModel */ + ProjectSnapshotUploadResponseModel: { + /** + * Status + * @enum {string} + */ + status: 'success' | 'in_queue' | 'pending' | 'failed'; + /** Acx Volume Normalization */ + acx_volume_normalization?: boolean; + }; + /** ProjectSnapshotsResponseModel */ + ProjectSnapshotsResponseModel: { + /** Snapshots */ + snapshots: components['schemas']['ProjectSnapshotResponseModel'][]; + }; + /** PronunciationDictionaryAliasRuleRequestModel */ + PronunciationDictionaryAliasRuleRequestModel: { + /** + * Type + * @enum {string} + */ + type: 'alias'; + /** String To Replace */ + string_to_replace: string; + /** Alias */ + alias: string; + }; + /** PronunciationDictionaryPhonemeRuleRequestModel */ + PronunciationDictionaryPhonemeRuleRequestModel: { + /** + * Type + * @enum {string} + */ + type: 'phoneme'; + /** String To Replace */ + string_to_replace: string; + /** Phoneme */ + phoneme: string; + /** Alphabet */ + alphabet: string; + }; + /** PronunciationDictionaryVersionLocatorDBModel */ + PronunciationDictionaryVersionLocatorDBModel: { + /** Pronunciation Dictionary Id */ + pronunciation_dictionary_id: string; + /** Version Id */ + version_id: string; + }; + /** PronunciationDictionaryVersionResponseModel */ + PronunciationDictionaryVersionResponseModel: { + /** Version Id */ + version_id: string; + /** Pronunciation Dictionary Id */ + pronunciation_dictionary_id: string; + /** Dictionary Name */ + dictionary_name: string; + /** Version Name */ + version_name: string; + /** Created By */ + created_by: string; + /** Creation Time Unix */ + creation_time_unix: number; + }; + /** RecordingResponseModel */ + RecordingResponseModel: { + /** Recording Id */ + recording_id: string; + /** Mime Type */ + mime_type: string; + /** Size Bytes */ + size_bytes: number; + /** Upload Date Unix */ + upload_date_unix: number; + /** Transcription */ + transcription: string; + }; + /** RemovePronunciationDictionaryRulesResponseModel */ + RemovePronunciationDictionaryRulesResponseModel: { + /** Id */ + id: string; + /** Version Id */ + version_id: string; + }; + /** SampleResponseModel */ + SampleResponseModel: { + /** Sample Id */ + sample_id: string; + /** File Name */ + file_name: string; + /** Mime Type */ + mime_type: string; + /** Size Bytes */ + size_bytes: number; + /** Hash */ + hash: string; + }; + /** SpeechHistoryItemResponseModel */ + SpeechHistoryItemResponseModel: { + /** History Item Id */ + history_item_id: string; + /** Request Id */ + request_id: string; + /** Voice Id */ + voice_id: string; + /** Model Id */ + model_id: string; + /** Voice Name */ + voice_name: string; + /** + * Voice Category + * @enum {string} + */ + voice_category: 'premade' | 'cloned' | 'generated' | 'professional'; + /** Text */ + text: string; + /** Date Unix */ + date_unix: number; + /** Character Count Change From */ + character_count_change_from: number; + /** Character Count Change To */ + character_count_change_to: number; + /** Content Type */ + content_type: string; + /** + * State + * @enum {string} + */ + state: 'created' | 'deleted' | 'processing'; + /** Settings */ + settings: Record; + feedback: components['schemas']['FeedbackResponseModel']; + /** Share Link Id */ + share_link_id: string; + /** + * Source + * @enum {string} + */ + source: 'TTS' | 'STS'; + alignments?: components['schemas']['HistoryAlignmentsResponseModel']; + }; + /** SsoProviderResponseModel */ + SsoProviderResponseModel: { + /** + * Provider Type + * @enum {string} + */ + provider_type: 'saml' | 'oidc'; + /** Provider Id */ + provider_id: string; + /** Domains */ + domains: string[]; + }; + /** SubscriptionResponseModel */ + SubscriptionResponseModel: { + /** Tier */ + tier: string; + /** Character Count */ + character_count: number; + /** Character Limit */ + character_limit: number; + /** Can Extend Character Limit */ + can_extend_character_limit: boolean; + /** Allowed To Extend Character Limit */ + allowed_to_extend_character_limit: boolean; + /** Next Character Count Reset Unix */ + next_character_count_reset_unix: number; + /** Voice Limit */ + voice_limit: number; + /** Max Voice Add Edits */ + max_voice_add_edits: number; + /** Voice Add Edit Counter */ + voice_add_edit_counter: number; + /** Professional Voice Limit */ + professional_voice_limit: number; + /** Can Extend Voice Limit */ + can_extend_voice_limit: boolean; + /** Can Use Instant Voice Cloning */ + can_use_instant_voice_cloning: boolean; + /** Can Use Professional Voice Cloning */ + can_use_professional_voice_cloning: boolean; + /** + * Currency + * @enum {string} + */ + currency: 'usd' | 'eur'; + /** + * Status + * @enum {string} + */ + status: + | 'trialing' + | 'active' + | 'incomplete' + | 'incomplete_expired' + | 'past_due' + | 'canceled' + | 'unpaid' + | 'free'; + /** + * Billing Period + * @enum {string} + */ + billing_period: 'monthly_period' | 'annual_period'; + /** + * Character Refresh Period + * @enum {string} + */ + character_refresh_period: 'monthly_period' | 'annual_period'; + }; + /** UsageCharactersResponseModel */ + UsageCharactersResponseModel: { + /** Time */ + time: number[]; + /** Usage */ + usage: { + [key: string]: number[]; + }; + }; + /** UserResponseModel */ + UserResponseModel: { + subscription: components['schemas']['SubscriptionResponseModel']; + /** Is New User */ + is_new_user: boolean; + /** Xi Api Key */ + xi_api_key: string; + /** Can Use Delayed Payment Methods */ + can_use_delayed_payment_methods: boolean; + /** Is Onboarding Completed */ + is_onboarding_completed: boolean; + /** Is Onboarding Checklist Completed */ + is_onboarding_checklist_completed: boolean; + /** First Name */ + first_name?: string; + /** + * Is Api Key Hashed + * @default false + */ + is_api_key_hashed: boolean; + /** Xi Api Key Preview */ + xi_api_key_preview?: string; + }; + /** ValidationError */ + ValidationError: { + /** Location */ + loc: (string | number)[]; + /** Message */ + msg: string; + /** Error Type */ + type: string; + }; + /** VerificationAttemptResponseModel */ + VerificationAttemptResponseModel: { + /** Text */ + text: string; + /** Date Unix */ + date_unix: number; + /** Accepted */ + accepted: boolean; + /** Similarity */ + similarity: number; + /** Levenshtein Distance */ + levenshtein_distance: number; + recording?: components['schemas']['RecordingResponseModel']; + }; + /** VoiceGenerationParameterOptionResponseModel */ + VoiceGenerationParameterOptionResponseModel: { + /** Name */ + name: string; + /** Code */ + code: string; + }; + /** VoiceGenerationParameterResponseModel */ + VoiceGenerationParameterResponseModel: { + /** Genders */ + genders: components['schemas']['VoiceGenerationParameterOptionResponseModel'][]; + /** Accents */ + accents: components['schemas']['VoiceGenerationParameterOptionResponseModel'][]; + /** Ages */ + ages: components['schemas']['VoiceGenerationParameterOptionResponseModel'][]; + /** Minimum Characters */ + minimum_characters: number; + /** Maximum Characters */ + maximum_characters: number; + /** Minimum Accent Strength */ + minimum_accent_strength: number; + /** Maximum Accent Strength */ + maximum_accent_strength: number; + }; + /** VoiceResponseModel */ + VoiceResponseModel: { + /** Voice Id */ + voice_id: string; + /** Name */ + name: string; + /** Samples */ + samples: components['schemas']['SampleResponseModel'][]; + /** + * Category + * @enum {string} + */ + category: 'generated' | 'cloned' | 'premade' | 'professional' | 'famous' | 'high_quality'; + fine_tuning: components['schemas']['FineTuningResponseModel']; + /** Labels */ + labels: { + [key: string]: string; + }; + /** Description */ + description: string; + /** Preview Url */ + preview_url: string; + /** Available For Tiers */ + available_for_tiers: string[]; + settings: components['schemas']['VoiceSettingsResponseModel']; + sharing: components['schemas']['VoiceSharingResponseModel']; + /** High Quality Base Model Ids */ + high_quality_base_model_ids: string[]; + /** + * Safety Control + * @enum {string} + */ + safety_control?: 'NONE' | 'BAN' | 'CAPTCHA' | 'CAPTCHA_AND_MODERATION'; + voice_verification?: components['schemas']['VoiceVerificationResponseModel']; + /** Permission On Resource */ + permission_on_resource?: string; + /** + * Is Legacy + * @default false + */ + is_legacy: boolean; + /** + * Is Mixed + * @default false + */ + is_mixed: boolean; + }; + /** VoiceSettingsResponseModel */ + VoiceSettingsResponseModel: { + /** Stability */ + stability: number; + /** Similarity Boost */ + similarity_boost: number; + /** + * Style + * @default 0 + */ + style: number; + /** + * Use Speaker Boost + * @default true + */ + use_speaker_boost: boolean; + }; + /** VoiceSharingResponseModel */ + VoiceSharingResponseModel: { + /** + * Status + * @enum {string} + */ + status: 'enabled' | 'disabled' | 'copied' | 'copied_disabled'; + /** History Item Sample Id */ + history_item_sample_id: string; + /** Date Unix */ + date_unix: number; + /** Whitelisted Emails */ + whitelisted_emails: string[]; + /** Public Owner Id */ + public_owner_id: string; + /** Original Voice Id */ + original_voice_id: string; + /** Financial Rewards Enabled */ + financial_rewards_enabled: boolean; + /** Free Users Allowed */ + free_users_allowed: boolean; + /** Live Moderation Enabled */ + live_moderation_enabled: boolean; + /** Rate */ + rate: number; + /** Notice Period */ + notice_period: number; + /** Disable At Unix */ + disable_at_unix: number; + /** Voice Mixing Allowed */ + voice_mixing_allowed: boolean; + /** Featured */ + featured: boolean; + /** + * Category + * @enum {string} + */ + category: 'generated' | 'professional' | 'high_quality' | 'famous'; + /** Reader App Enabled */ + reader_app_enabled: boolean; + /** Image Url */ + image_url: string; + /** Ban Reason */ + ban_reason: string; + /** Liked By Count */ + liked_by_count: number; + /** Cloned By Count */ + cloned_by_count: number; + /** Name */ + name: string; + /** Description */ + description: string; + /** Labels */ + labels: { + [key: string]: string; + }; + /** + * Review Status + * @enum {string} + */ + review_status: 'not_requested' | 'pending' | 'declined' | 'allowed' | 'allowed_with_changes'; + /** Review Message */ + review_message: string; + /** Enabled In Library */ + enabled_in_library: boolean; + /** Instagram Username */ + instagram_username?: string; + /** Twitter Username */ + twitter_username?: string; + /** Youtube Username */ + youtube_username?: string; + /** Tiktok Username */ + tiktok_username?: string; + }; + /** VoiceVerificationResponseModel */ + VoiceVerificationResponseModel: { + /** Requires Verification */ + requires_verification: boolean; + /** Is Verified */ + is_verified: boolean; + /** Verification Failures */ + verification_failures: string[]; + /** Verification Attempts Count */ + verification_attempts_count: number; + /** Language */ + language?: string; + /** Verification Attempts */ + verification_attempts?: components['schemas']['VerificationAttemptResponseModel'][]; + }; + }; + responses: never; + parameters: never; + requestBodies: never; + headers: never; + pathItems: never; } export type $defs = Record; export interface operations { - Get_generated_items_v1_history_get: { - parameters: { - query?: { - /** @description How many history items to return at maximum. Can not exceed 1000, defaults to 100. */ - page_size?: number; - /** @description After which ID to start fetching, use this parameter to paginate across a large collection of history items. In case this parameter is not provided history items will be fetched starting from the most recently created one ordered descending by their creation date. */ - start_after_history_item_id?: string; - /** @description Voice ID to be filtered for, you can use GET https://api.elevenlabs.io/v1/voices to receive a list of voices and their IDs. */ - voice_id?: string; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetSpeechHistoryResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_history_item_by_ID_v1_history__history_item_id__get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. - * @example VW7YKqPnjY4h39yTbx2L - */ - history_item_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["SpeechHistoryItemResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Delete_history_item_v1_history__history_item_id__delete: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. - * @example VW7YKqPnjY4h39yTbx2L - */ - history_item_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_audio_from_history_item_v1_history__history_item_id__audio_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. - * @example VW7YKqPnjY4h39yTbx2L - */ - history_item_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/mpeg": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Download_history_items_v1_history_download_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Download_history_items_v1_history_download_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Sound_Generation_v1_sound_generation_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Sound_Generation_v1_sound_generation_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/mpeg": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Audio_Isolation_v1_audio_isolation_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Audio_Isolation_v1_audio_isolation_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/mpeg": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Audio_Isolation_Stream_v1_audio_isolation_stream_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/mpeg": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Delete_sample_v1_voices__voice_id__samples__sample_id__delete: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - /** - * @description Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice. - * @example VW7YKqPnjY4h39yTbx2L - */ - sample_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_audio_from_sample_v1_voices__voice_id__samples__sample_id__audio_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - /** - * @description Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice. - * @example VW7YKqPnjY4h39yTbx2L - */ - sample_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/*": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Text_to_speech_v1_text_to_speech__voice_id__post: { - parameters: { - query?: { - /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ - enable_logging?: boolean; - /** - * @deprecated - * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: - * 0 - default mode (no latency optimizations) - * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) - * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) - * 3 - max latency optimizations - * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). - * - * Defaults to None. - * - */ - optimize_streaming_latency?: number; - /** @description Output format of the generated audio. Must be one of: - * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. - * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. - * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. - * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. - * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. - * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. - * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. - * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. - * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. - * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. - * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. - * */ - output_format?: string; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Text_to_speech_v1_text_to_speech__voice_id__post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/mpeg": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post: { - parameters: { - query?: { - /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ - enable_logging?: boolean; - /** - * @deprecated - * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: - * 0 - default mode (no latency optimizations) - * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) - * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) - * 3 - max latency optimizations - * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). - * - * Defaults to None. - * - */ - optimize_streaming_latency?: number; - /** @description Output format of the generated audio. Must be one of: - * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. - * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. - * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. - * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. - * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. - * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. - * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. - * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. - * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. - * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. - * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. - * */ - output_format?: string; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post: { - parameters: { - query?: { - /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ - enable_logging?: boolean; - /** - * @deprecated - * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: - * 0 - default mode (no latency optimizations) - * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) - * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) - * 3 - max latency optimizations - * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). - * - * Defaults to None. - * - */ - optimize_streaming_latency?: number; - /** @description Output format of the generated audio. Must be one of: - * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. - * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. - * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. - * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. - * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. - * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. - * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. - * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. - * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. - * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. - * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. - * */ - output_format?: string; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post: { - parameters: { - query?: { - /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ - enable_logging?: boolean; - /** - * @deprecated - * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: - * 0 - default mode (no latency optimizations) - * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) - * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) - * 3 - max latency optimizations - * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). - * - * Defaults to None. - * - */ - optimize_streaming_latency?: number; - /** @description Output format of the generated audio. Must be one of: - * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. - * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. - * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. - * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. - * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. - * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. - * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. - * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. - * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. - * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. - * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. - * */ - output_format?: string; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Speech_to_Speech_v1_speech_to_speech__voice_id__post: { - parameters: { - query?: { - /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ - enable_logging?: boolean; - /** - * @deprecated - * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: - * 0 - default mode (no latency optimizations) - * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) - * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) - * 3 - max latency optimizations - * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). - * - * Defaults to None. - * - */ - optimize_streaming_latency?: number; - /** @description Output format of the generated audio. Must be one of: - * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. - * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. - * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. - * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. - * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. - * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. - * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. - * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. - * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. - * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. - * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. - * */ - output_format?: string; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/mpeg": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post: { - parameters: { - query?: { - /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ - enable_logging?: boolean; - /** - * @deprecated - * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: - * 0 - default mode (no latency optimizations) - * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) - * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) - * 3 - max latency optimizations - * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). - * - * Defaults to None. - * - */ - optimize_streaming_latency?: number; - /** @description Output format of the generated audio. Must be one of: - * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. - * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. - * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. - * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. - * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. - * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. - * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. - * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. - * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. - * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. - * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. - * */ - output_format?: string; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Voice_Generation_Parameters_v1_voice_generation_generate_voice_parameters_get: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["VoiceGenerationParameterResponseModel"]; - }; - }; - }; - }; - Generate_a_random_voice_v1_voice_generation_generate_voice_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Generate_a_random_voice_v1_voice_generation_generate_voice_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "audio/mpeg": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Create_a_previously_generated_voice_v1_voice_generation_create_voice_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Create_a_previously_generated_voice_v1_voice_generation_create_voice_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["VoiceResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_user_subscription_info_v1_user_subscription_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ExtendedSubscriptionResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_user_info_v1_user_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["UserResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_voices_v1_voices_get: { - parameters: { - query?: { - /** - * @description If set to true, legacy premade voices will be included in responses from /v1/voices - * @example true - */ - show_legacy?: boolean; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetVoicesResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_default_voice_settings__v1_voices_settings_default_get: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["VoiceSettingsResponseModel"]; - }; - }; - }; - }; - Get_voice_settings_v1_voices__voice_id__settings_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["VoiceSettingsResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_voice_v1_voices__voice_id__get: { - parameters: { - query?: { - /** @description If set will return settings information corresponding to the voice, requires authorization. */ - with_settings?: boolean; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["VoiceResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Delete_voice_v1_voices__voice_id__delete: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Edit_voice_settings_v1_voices__voice_id__settings_edit_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["VoiceSettingsResponseModel"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Add_voice_v1_voices_add_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Add_voice_v1_voices_add_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AddVoiceResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Edit_voice_v1_voices__voice_id__edit_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Edit_voice_v1_voices__voice_id__edit_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description Public user ID used to publicly identify ElevenLabs users. - * @example 63e06b7e7cafdc46be4d2e0b3f045940231ae058d508589653d74d1265a574ca - */ - public_user_id: string; - /** - * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. - * @example 21m00Tcm4TlvDq8ikWAM - */ - voice_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AddVoiceResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_projects_v1_projects_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetProjectsResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Add_project_v1_projects_add_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Add_project_v1_projects_add_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AddProjectResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_project_by_ID_v1_projects__project_id__get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ProjectExtendedResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Edit_basic_project_info_v1_projects__project_id__post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Edit_basic_project_info_v1_projects__project_id__post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["EditProjectResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Delete_project_v1_projects__project_id__delete: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Convert_project_v1_projects__project_id__convert_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_project_snapshots_v1_projects__project_id__snapshots_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ProjectSnapshotsResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - /** - * @description The project_snapshot_id of the project snapshot. You can query GET /v1/projects/{project_id}/snapshots to list all available snapshots for a project. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_snapshot_id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["Body_Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Streams_archive_with_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__archive_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - /** - * @description The project_snapshot_id of the project snapshot. You can query GET /v1/projects/{project_id}/snapshots to list all available snapshots for a project. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_snapshot_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_chapters_v1_projects__project_id__chapters_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetChaptersResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_chapter_by_ID_v1_projects__project_id__chapters__chapter_id__get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - /** - * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. - * @example 21m00Tcm4TlvDq8ikWAM - */ - chapter_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ChapterResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Delete_chapter_v1_projects__project_id__chapters__chapter_id__delete: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - /** - * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. - * @example 21m00Tcm4TlvDq8ikWAM - */ - chapter_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AddChapterResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Convert_chapter_v1_projects__project_id__chapters__chapter_id__convert_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - /** - * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. - * @example 21m00Tcm4TlvDq8ikWAM - */ - chapter_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_chapter_snapshots_v1_projects__project_id__chapters__chapter_id__snapshots_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - /** - * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. - * @example 21m00Tcm4TlvDq8ikWAM - */ - chapter_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ChapterSnapshotsResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - /** - * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. - * @example 21m00Tcm4TlvDq8ikWAM - */ - chapter_id: string; - /** - * @description The chapter_snapshot_id of the chapter snapshot. You can query GET /v1/projects/{project_id}/chapters/{chapter_id}/snapshots to the all available snapshots for a chapter. - * @example 21m00Tcm4TlvDq8ikWAM - */ - chapter_snapshot_id: string; - }; - cookie?: never; - }; - requestBody?: { - content: { - "application/json": components["schemas"]["Body_Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. - * @example 21m00Tcm4TlvDq8ikWAM - */ - project_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Dub_a_video_or_an_audio_file_v1_dubbing_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "multipart/form-data": components["schemas"]["Body_Dub_a_video_or_an_audio_file_v1_dubbing_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["DoDubbingResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_dubbing_project_metadata_v1_dubbing__dubbing_id__get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** @description ID of the dubbing project. */ - dubbing_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["DubbingMetadataResponse"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Delete_dubbing_project_v1_dubbing__dubbing_id__delete: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** @description ID of the dubbing project. */ - dubbing_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_dubbed_file_v1_dubbing__dubbing_id__audio__language_code__get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** @description ID of the dubbing project. */ - dubbing_id: string; - /** @description ID of the language. */ - language_code: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/octet-stream": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_transcript_for_dub_v1_dubbing__dubbing_id__transcript__language_code__get: { - parameters: { - query?: { - /** @description Format to use for the subtitle file, either 'srt' or 'webvtt' */ - format_type?: "srt" | "webvtt"; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** @description ID of the dubbing project. */ - dubbing_id: string; - /** @description ID of the language. */ - language_code: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - "application/text": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - get_sso_provider_admin_admin_n8enylacgd_sso_provider_get: { - parameters: { - query: { - workspace_id: string; - }; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["SsoProviderResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_Models_v1_models_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ModelResponseModel"][]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Creates_AudioNative_enabled_project__v1_audio_native_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Creates_AudioNative_enabled_project__v1_audio_native_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AudioNativeCreateProjectResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_voices_v1_shared_voices_get: { - parameters: { - query?: { - /** @description How many shared voices to return at maximum. Can not exceed 100, defaults to 30. */ - page_size?: number; - /** - * @description voice category used for filtering - * @example professional - */ - category?: string; - /** - * @description gender used for filtering - * @example male - */ - gender?: string; - /** - * @description age used for filtering - * @example young - */ - age?: string; - /** - * @description accent used for filtering - * @example american - */ - accent?: string; - /** - * @description language used for filtering - * @example en - */ - language?: string; - /** - * @description search term used for filtering - * @example tiktok - */ - search?: string; - /** - * @description use-case used for filtering - * @example audiobook - */ - use_cases?: string[]; - /** - * @description search term used for filtering - * @example tiktok - */ - descriptives?: string[]; - /** - * @description Filter featured voices - * @example true - */ - featured?: boolean; - /** - * @description Filter voices that are enabled for the reader app - * @example true - */ - reader_app_enabled?: boolean; - /** - * @description Filter voices by public owner ID - * @example 7c9fab611d9a0e1fb2e7448a0c294a8804efc2bcc324b0a366a5d5232b7d1532 - */ - owner_id?: string; - /** - * @description sort criteria - * @example created_date - */ - sort?: string; - page?: number; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetLibraryVoicesResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_similar_library_voices_v1_similar_voices_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: { - content: { - "multipart/form-data": components["schemas"]["Body_Get_similar_library_voices_v1_similar_voices_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetLibraryVoicesResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_characters_usage_metrics_v1_usage_character_stats_get: { - parameters: { - query: { - /** - * @description UTC Unix timestamp for the start of the usage window, in milliseconds. To include the first day of the window, the timestamp should be at 00:00:00 of that day. - * @example 1685574000 - */ - start_unix: number; - /** - * @description UTC Unix timestamp for the end of the usage window, in milliseconds. To include the last day of the window, the timestamp should be at 23:59:59 of that day. - * @example 1688165999 - */ - end_unix: number; - /** @description Whether or not to include the statistics of the entire workspace. */ - include_workspace_metrics?: boolean; - /** @description How to break down the information. Cannot be "user" if include_workspace_metrics is False. */ - breakdown_type?: "none" | "voice" | "user" | "api_keys" | "product_type"; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["UsageCharactersResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "multipart/form-data": components["schemas"]["Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AddPronunciationDictionaryResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The id of the pronunciation dictionary - * @example 21m00Tcm4TlvDq8ikWAM - */ - pronunciation_dictionary_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["AddPronunciationDictionaryRulesResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The id of the pronunciation dictionary - * @example 21m00Tcm4TlvDq8ikWAM - */ - pronunciation_dictionary_id: string; - }; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["RemovePronunciationDictionaryRulesResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_PLS_file_with_a_pronunciation_dictionary_version_rules_v1_pronunciation_dictionaries__dictionary_id___version_id__download_get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The id of the pronunciation dictionary - * @example 21m00Tcm4TlvDq8ikWAM - */ - dictionary_id: string; - /** - * @description The id of the version of the pronunciation dictionary - * @example BdF0s0aZ3oFoKnDYdTox - */ - version_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "text/plain": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_metadata_for_a_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id___get: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path: { - /** - * @description The id of the pronunciation dictionary - * @example 21m00Tcm4TlvDq8ikWAM - */ - pronunciation_dictionary_id: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetPronunciationDictionaryMetadataResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_Pronunciation_Dictionaries_v1_pronunciation_dictionaries__get: { - parameters: { - query?: { - /** @description Used for fetching next page. Cursor is returned in the response. */ - cursor?: string; - /** @description How many pronunciation dictionaries to return at maximum. Can not exceed 100, defaults to 30. */ - page_size?: number; - }; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["GetPronunciationDictionariesMetadataResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Invite_user_v1_workspace_invites_add_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Invite_user_v1_workspace_invites_add_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Delete_existing_invitation_v1_workspace_invites_delete: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Delete_existing_invitation_v1_workspace_invites_delete"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Update_member_v1_workspace_members_post: { - parameters: { - query?: never; - header?: { - /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ - "xi-api-key"?: string; - }; - path?: never; - cookie?: never; - }; - requestBody: { - content: { - "application/json": components["schemas"]["Body_Update_member_v1_workspace_members_post"]; - }; - }; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - Get_a_profile_page_profile__handle__get: { - parameters: { - query?: never; - header?: never; - path: { - /** - * @description Handle for a VA's profile page - * @example talexgeorge - */ - handle: string; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ProfilePageResponseModel"]; - }; - }; - /** @description Validation Error */ - 422: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["HTTPValidationError"]; - }; - }; - }; - }; - redirect_to_mintlify_docs_get: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful Response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": unknown; - }; - }; - }; - }; + Get_generated_items_v1_history_get: { + parameters: { + query?: { + /** @description How many history items to return at maximum. Can not exceed 1000, defaults to 100. */ + page_size?: number; + /** @description After which ID to start fetching, use this parameter to paginate across a large collection of history items. In case this parameter is not provided history items will be fetched starting from the most recently created one ordered descending by their creation date. */ + start_after_history_item_id?: string; + /** @description Voice ID to be filtered for, you can use GET https://api.elevenlabs.io/v1/voices to receive a list of voices and their IDs. */ + voice_id?: string; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetSpeechHistoryResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_history_item_by_ID_v1_history__history_item_id__get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. + * @example VW7YKqPnjY4h39yTbx2L + */ + history_item_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['SpeechHistoryItemResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Delete_history_item_v1_history__history_item_id__delete: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. + * @example VW7YKqPnjY4h39yTbx2L + */ + history_item_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_audio_from_history_item_v1_history__history_item_id__audio_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. + * @example VW7YKqPnjY4h39yTbx2L + */ + history_item_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/mpeg': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Download_history_items_v1_history_download_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Download_history_items_v1_history_download_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Sound_Generation_v1_sound_generation_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Sound_Generation_v1_sound_generation_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/mpeg': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Audio_Isolation_v1_audio_isolation_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Audio_Isolation_v1_audio_isolation_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/mpeg': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Audio_Isolation_Stream_v1_audio_isolation_stream_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Audio_Isolation_Stream_v1_audio_isolation_stream_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/mpeg': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Delete_sample_v1_voices__voice_id__samples__sample_id__delete: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + /** + * @description Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice. + * @example VW7YKqPnjY4h39yTbx2L + */ + sample_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_audio_from_sample_v1_voices__voice_id__samples__sample_id__audio_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + /** + * @description Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice. + * @example VW7YKqPnjY4h39yTbx2L + */ + sample_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/*': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Text_to_speech_v1_text_to_speech__voice_id__post: { + parameters: { + query?: { + /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ + enable_logging?: boolean; + /** + * @deprecated + * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: + * 0 - default mode (no latency optimizations) + * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) + * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) + * 3 - max latency optimizations + * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). + * + * Defaults to None. + * + */ + optimize_streaming_latency?: number; + /** @description Output format of the generated audio. Must be one of: + * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. + * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. + * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. + * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. + * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. + * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. + * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. + * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. + * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. + * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. + * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. + * */ + output_format?: string; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Text_to_speech_v1_text_to_speech__voice_id__post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/mpeg': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post: { + parameters: { + query?: { + /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ + enable_logging?: boolean; + /** + * @deprecated + * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: + * 0 - default mode (no latency optimizations) + * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) + * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) + * 3 - max latency optimizations + * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). + * + * Defaults to None. + * + */ + optimize_streaming_latency?: number; + /** @description Output format of the generated audio. Must be one of: + * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. + * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. + * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. + * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. + * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. + * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. + * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. + * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. + * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. + * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. + * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. + * */ + output_format?: string; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Text_to_speech_with_timestamps_v1_text_to_speech__voice_id__with_timestamps_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post: { + parameters: { + query?: { + /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ + enable_logging?: boolean; + /** + * @deprecated + * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: + * 0 - default mode (no latency optimizations) + * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) + * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) + * 3 - max latency optimizations + * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). + * + * Defaults to None. + * + */ + optimize_streaming_latency?: number; + /** @description Output format of the generated audio. Must be one of: + * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. + * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. + * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. + * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. + * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. + * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. + * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. + * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. + * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. + * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. + * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. + * */ + output_format?: string; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Text_to_speech_streaming_v1_text_to_speech__voice_id__stream_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post: { + parameters: { + query?: { + /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ + enable_logging?: boolean; + /** + * @deprecated + * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: + * 0 - default mode (no latency optimizations) + * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) + * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) + * 3 - max latency optimizations + * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). + * + * Defaults to None. + * + */ + optimize_streaming_latency?: number; + /** @description Output format of the generated audio. Must be one of: + * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. + * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. + * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. + * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. + * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. + * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. + * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. + * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. + * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. + * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. + * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. + * */ + output_format?: string; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Text_to_speech_streaming_with_timestamps_v1_text_to_speech__voice_id__stream_with_timestamps_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Speech_to_Speech_v1_speech_to_speech__voice_id__post: { + parameters: { + query?: { + /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ + enable_logging?: boolean; + /** + * @deprecated + * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: + * 0 - default mode (no latency optimizations) + * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) + * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) + * 3 - max latency optimizations + * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). + * + * Defaults to None. + * + */ + optimize_streaming_latency?: number; + /** @description Output format of the generated audio. Must be one of: + * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. + * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. + * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. + * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. + * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. + * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. + * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. + * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. + * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. + * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. + * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. + * */ + output_format?: string; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/mpeg': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post: { + parameters: { + query?: { + /** @description When enable_logging is set to false full privacy mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Full privacy mode may only be used by enterprise customers. */ + enable_logging?: boolean; + /** + * @deprecated + * @description You can turn on latency optimizations at some cost of quality. The best possible final latency varies by model. Possible values: + * 0 - default mode (no latency optimizations) + * 1 - normal latency optimizations (about 50% of possible latency improvement of option 3) + * 2 - strong latency optimizations (about 75% of possible latency improvement of option 3) + * 3 - max latency optimizations + * 4 - max latency optimizations, but also with text normalizer turned off for even more latency savings (best latency, but can mispronounce eg numbers and dates). + * + * Defaults to None. + * + */ + optimize_streaming_latency?: number; + /** @description Output format of the generated audio. Must be one of: + * mp3_22050_32 - output format, mp3 with 22.05kHz sample rate at 32kbps. + * mp3_44100_32 - output format, mp3 with 44.1kHz sample rate at 32kbps. + * mp3_44100_64 - output format, mp3 with 44.1kHz sample rate at 64kbps. + * mp3_44100_96 - output format, mp3 with 44.1kHz sample rate at 96kbps. + * mp3_44100_128 - default output format, mp3 with 44.1kHz sample rate at 128kbps. + * mp3_44100_192 - output format, mp3 with 44.1kHz sample rate at 192kbps. Requires you to be subscribed to Creator tier or above. + * pcm_16000 - PCM format (S16LE) with 16kHz sample rate. + * pcm_22050 - PCM format (S16LE) with 22.05kHz sample rate. + * pcm_24000 - PCM format (S16LE) with 24kHz sample rate. + * pcm_44100 - PCM format (S16LE) with 44.1kHz sample rate. Requires you to be subscribed to Pro tier or above. + * ulaw_8000 - μ-law format (sometimes written mu-law, often approximated as u-law) with 8kHz sample rate. Note that this format is commonly used for Twilio audio inputs. + * */ + output_format?: string; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Voice_Generation_Parameters_v1_voice_generation_generate_voice_parameters_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['VoiceGenerationParameterResponseModel']; + }; + }; + }; + }; + Generate_a_random_voice_v1_voice_generation_generate_voice_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Generate_a_random_voice_v1_voice_generation_generate_voice_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'audio/mpeg': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Create_a_previously_generated_voice_v1_voice_generation_create_voice_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Create_a_previously_generated_voice_v1_voice_generation_create_voice_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['VoiceResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_user_subscription_info_v1_user_subscription_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ExtendedSubscriptionResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_user_info_v1_user_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['UserResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_voices_v1_voices_get: { + parameters: { + query?: { + /** + * @description If set to true, legacy premade voices will be included in responses from /v1/voices + * @example true + */ + show_legacy?: boolean; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetVoicesResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_default_voice_settings__v1_voices_settings_default_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['VoiceSettingsResponseModel']; + }; + }; + }; + }; + Get_voice_settings_v1_voices__voice_id__settings_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['VoiceSettingsResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_voice_v1_voices__voice_id__get: { + parameters: { + query?: { + /** @description If set will return settings information corresponding to the voice, requires authorization. */ + with_settings?: boolean; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['VoiceResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Delete_voice_v1_voices__voice_id__delete: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Edit_voice_settings_v1_voices__voice_id__settings_edit_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['VoiceSettingsResponseModel']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Add_voice_v1_voices_add_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Add_voice_v1_voices_add_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AddVoiceResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Edit_voice_v1_voices__voice_id__edit_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Edit_voice_v1_voices__voice_id__edit_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description Public user ID used to publicly identify ElevenLabs users. + * @example 63e06b7e7cafdc46be4d2e0b3f045940231ae058d508589653d74d1265a574ca + */ + public_user_id: string; + /** + * @description Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. + * @example 21m00Tcm4TlvDq8ikWAM + */ + voice_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Add_sharing_voice_v1_voices_add__public_user_id___voice_id__post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AddVoiceResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_projects_v1_projects_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetProjectsResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Add_project_v1_projects_add_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Add_project_v1_projects_add_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AddProjectResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_project_by_ID_v1_projects__project_id__get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ProjectExtendedResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Edit_basic_project_info_v1_projects__project_id__post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Edit_basic_project_info_v1_projects__project_id__post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['EditProjectResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Delete_project_v1_projects__project_id__delete: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Convert_project_v1_projects__project_id__convert_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_project_snapshots_v1_projects__project_id__snapshots_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ProjectSnapshotsResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + /** + * @description The project_snapshot_id of the project snapshot. You can query GET /v1/projects/{project_id}/snapshots to list all available snapshots for a project. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_snapshot_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + 'application/json': components['schemas']['Body_Stream_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__stream_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Streams_archive_with_project_audio_v1_projects__project_id__snapshots__project_snapshot_id__archive_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + /** + * @description The project_snapshot_id of the project snapshot. You can query GET /v1/projects/{project_id}/snapshots to list all available snapshots for a project. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_snapshot_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_chapters_v1_projects__project_id__chapters_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetChaptersResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_chapter_by_ID_v1_projects__project_id__chapters__chapter_id__get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + /** + * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. + * @example 21m00Tcm4TlvDq8ikWAM + */ + chapter_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ChapterResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Delete_chapter_v1_projects__project_id__chapters__chapter_id__delete: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + /** + * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. + * @example 21m00Tcm4TlvDq8ikWAM + */ + chapter_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Add_chapter_to_a_project_v1_projects__project_id__chapters_add_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AddChapterResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Convert_chapter_v1_projects__project_id__chapters__chapter_id__convert_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + /** + * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. + * @example 21m00Tcm4TlvDq8ikWAM + */ + chapter_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_chapter_snapshots_v1_projects__project_id__chapters__chapter_id__snapshots_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + /** + * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. + * @example 21m00Tcm4TlvDq8ikWAM + */ + chapter_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ChapterSnapshotsResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + /** + * @description The chapter_id of the chapter. You can query GET https://api.elevenlabs.io/v1/projects/{project_id}/chapters to list all available chapters for a project. + * @example 21m00Tcm4TlvDq8ikWAM + */ + chapter_id: string; + /** + * @description The chapter_snapshot_id of the chapter snapshot. You can query GET /v1/projects/{project_id}/chapters/{chapter_id}/snapshots to the all available snapshots for a chapter. + * @example 21m00Tcm4TlvDq8ikWAM + */ + chapter_snapshot_id: string; + }; + cookie?: never; + }; + requestBody?: { + content: { + 'application/json': components['schemas']['Body_Stream_chapter_audio_v1_projects__project_id__chapters__chapter_id__snapshots__chapter_snapshot_id__stream_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The project_id of the project, you can query GET https://api.elevenlabs.io/v1/projects to list all available projects. + * @example 21m00Tcm4TlvDq8ikWAM + */ + project_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Update_Pronunciation_Dictionaries_v1_projects__project_id__update_pronunciation_dictionaries_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Dub_a_video_or_an_audio_file_v1_dubbing_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + 'multipart/form-data': components['schemas']['Body_Dub_a_video_or_an_audio_file_v1_dubbing_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['DoDubbingResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_dubbing_project_metadata_v1_dubbing__dubbing_id__get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** @description ID of the dubbing project. */ + dubbing_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['DubbingMetadataResponse']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Delete_dubbing_project_v1_dubbing__dubbing_id__delete: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** @description ID of the dubbing project. */ + dubbing_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_dubbed_file_v1_dubbing__dubbing_id__audio__language_code__get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** @description ID of the dubbing project. */ + dubbing_id: string; + /** @description ID of the language. */ + language_code: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/octet-stream': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_transcript_for_dub_v1_dubbing__dubbing_id__transcript__language_code__get: { + parameters: { + query?: { + /** @description Format to use for the subtitle file, either 'srt' or 'webvtt' */ + format_type?: 'srt' | 'webvtt'; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** @description ID of the dubbing project. */ + dubbing_id: string; + /** @description ID of the language. */ + language_code: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + 'application/text': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + get_sso_provider_admin_admin_n8enylacgd_sso_provider_get: { + parameters: { + query: { + workspace_id: string; + }; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['SsoProviderResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_Models_v1_models_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ModelResponseModel'][]; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Creates_AudioNative_enabled_project__v1_audio_native_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Creates_AudioNative_enabled_project__v1_audio_native_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AudioNativeCreateProjectResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_voices_v1_shared_voices_get: { + parameters: { + query?: { + /** @description How many shared voices to return at maximum. Can not exceed 100, defaults to 30. */ + page_size?: number; + /** + * @description voice category used for filtering + * @example professional + */ + category?: string; + /** + * @description gender used for filtering + * @example male + */ + gender?: string; + /** + * @description age used for filtering + * @example young + */ + age?: string; + /** + * @description accent used for filtering + * @example american + */ + accent?: string; + /** + * @description language used for filtering + * @example en + */ + language?: string; + /** + * @description search term used for filtering + * @example tiktok + */ + search?: string; + /** + * @description use-case used for filtering + * @example audiobook + */ + use_cases?: string[]; + /** + * @description search term used for filtering + * @example tiktok + */ + descriptives?: string[]; + /** + * @description Filter featured voices + * @example true + */ + featured?: boolean; + /** + * @description Filter voices that are enabled for the reader app + * @example true + */ + reader_app_enabled?: boolean; + /** + * @description Filter voices by public owner ID + * @example 7c9fab611d9a0e1fb2e7448a0c294a8804efc2bcc324b0a366a5d5232b7d1532 + */ + owner_id?: string; + /** + * @description sort criteria + * @example created_date + */ + sort?: string; + page?: number; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetLibraryVoicesResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_similar_library_voices_v1_similar_voices_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: { + content: { + 'multipart/form-data': components['schemas']['Body_Get_similar_library_voices_v1_similar_voices_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetLibraryVoicesResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_characters_usage_metrics_v1_usage_character_stats_get: { + parameters: { + query: { + /** + * @description UTC Unix timestamp for the start of the usage window, in milliseconds. To include the first day of the window, the timestamp should be at 00:00:00 of that day. + * @example 1685574000 + */ + start_unix: number; + /** + * @description UTC Unix timestamp for the end of the usage window, in milliseconds. To include the last day of the window, the timestamp should be at 23:59:59 of that day. + * @example 1688165999 + */ + end_unix: number; + /** @description Whether or not to include the statistics of the entire workspace. */ + include_workspace_metrics?: boolean; + /** @description How to break down the information. Cannot be "user" if include_workspace_metrics is False. */ + breakdown_type?: 'none' | 'voice' | 'user' | 'api_keys' | 'product_type'; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['UsageCharactersResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'multipart/form-data': components['schemas']['Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AddPronunciationDictionaryResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The id of the pronunciation dictionary + * @example 21m00Tcm4TlvDq8ikWAM + */ + pronunciation_dictionary_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Add_rules_to_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__add_rules_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['AddPronunciationDictionaryRulesResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The id of the pronunciation dictionary + * @example 21m00Tcm4TlvDq8ikWAM + */ + pronunciation_dictionary_id: string; + }; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Remove_rules_from_the_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id__remove_rules_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['RemovePronunciationDictionaryRulesResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_PLS_file_with_a_pronunciation_dictionary_version_rules_v1_pronunciation_dictionaries__dictionary_id___version_id__download_get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The id of the pronunciation dictionary + * @example 21m00Tcm4TlvDq8ikWAM + */ + dictionary_id: string; + /** + * @description The id of the version of the pronunciation dictionary + * @example BdF0s0aZ3oFoKnDYdTox + */ + version_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'text/plain': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_metadata_for_a_pronunciation_dictionary_v1_pronunciation_dictionaries__pronunciation_dictionary_id___get: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path: { + /** + * @description The id of the pronunciation dictionary + * @example 21m00Tcm4TlvDq8ikWAM + */ + pronunciation_dictionary_id: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetPronunciationDictionaryMetadataResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_Pronunciation_Dictionaries_v1_pronunciation_dictionaries__get: { + parameters: { + query?: { + /** @description Used for fetching next page. Cursor is returned in the response. */ + cursor?: string; + /** @description How many pronunciation dictionaries to return at maximum. Can not exceed 100, defaults to 30. */ + page_size?: number; + }; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['GetPronunciationDictionariesMetadataResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Invite_user_v1_workspace_invites_add_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Invite_user_v1_workspace_invites_add_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Delete_existing_invitation_v1_workspace_invites_delete: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Delete_existing_invitation_v1_workspace_invites_delete']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Update_member_v1_workspace_members_post: { + parameters: { + query?: never; + header?: { + /** @description Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website. */ + 'xi-api-key'?: string; + }; + path?: never; + cookie?: never; + }; + requestBody: { + content: { + 'application/json': components['schemas']['Body_Update_member_v1_workspace_members_post']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + Get_a_profile_page_profile__handle__get: { + parameters: { + query?: never; + header?: never; + path: { + /** + * @description Handle for a VA's profile page + * @example talexgeorge + */ + handle: string; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ProfilePageResponseModel']; + }; + }; + /** @description Validation Error */ + 422: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + redirect_to_mintlify_docs_get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful Response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': unknown; + }; + }; + }; + }; } diff --git a/packages/elevenlabs-client/src/index.ts b/packages/elevenlabs-client/src/index.ts index c949b1c2..79a7859d 100644 --- a/packages/elevenlabs-client/src/index.ts +++ b/packages/elevenlabs-client/src/index.ts @@ -1,6 +1,5 @@ /* eslint-disable @typescript-eslint/method-signature-style -- Ok here */ import { type FetchError, type TResult } from 'feature-fetch'; - import { type TGenerateTextToSpeechConfig, type TVoiceResponse } from './types'; export * from 'feature-fetch'; diff --git a/packages/elevenlabs-client/src/with-elevenlabs.ts b/packages/elevenlabs-client/src/with-elevenlabs.ts index a5777c61..3584e80d 100644 --- a/packages/elevenlabs-client/src/with-elevenlabs.ts +++ b/packages/elevenlabs-client/src/with-elevenlabs.ts @@ -1,3 +1,4 @@ +import { mapOk, Ok, unwrapOrNull } from '@blgc/utils'; import { Err, FetchError, @@ -7,8 +8,6 @@ import { type TFetchClient, type TSelectFeatures } from 'feature-fetch'; -import { mapOk, Ok, unwrapOrNull } from '@blgc/utils'; - import { type paths } from './gen/v1'; import { isVoiceId } from './helper'; diff --git a/packages/eprel-client/package.json b/packages/eprel-client/package.json index e8d61d0f..b64ddc41 100644 --- a/packages/eprel-client/package.json +++ b/packages/eprel-client/package.json @@ -1,35 +1,39 @@ { "name": "eprel-client", - "description": "Typesafe and straightforward fetch client for interacting with the European Product Registry for Energy Labelling (EPREL) API using feature-fetch", "version": "0.0.19", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-58.yaml -o ./src/gen/v1.ts", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Typesafe and straightforward fetch client for interacting with the European Product Registry for Energy Labelling (EPREL) API using feature-fetch", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-58.yaml -o ./src/gen/v1.ts", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "dependencies": { "@blgc/utils": "workspace:*", "feature-fetch": "workspace:*" @@ -40,10 +44,6 @@ "dotenv": "^16.4.5", "openapi-typescript": "^7.4.2" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/eprel-client/src/create-eprel-client.test.ts b/packages/eprel-client/src/create-eprel-client.test.ts index b6ff9ef2..e483bf89 100644 --- a/packages/eprel-client/src/create-eprel-client.test.ts +++ b/packages/eprel-client/src/create-eprel-client.test.ts @@ -1,5 +1,4 @@ import { beforeAll, describe, expect, it } from 'vitest'; - import { createEPRELClient } from './create-eprel-client'; // 550826 diff --git a/packages/eprel-client/src/create-eprel-client.ts b/packages/eprel-client/src/create-eprel-client.ts index 30af25c1..6721ae64 100644 --- a/packages/eprel-client/src/create-eprel-client.ts +++ b/packages/eprel-client/src/create-eprel-client.ts @@ -1,5 +1,4 @@ import { createOpenApiFetchClient, type TFetchClient } from 'feature-fetch'; - import type { paths } from './gen/v1'; import { withEPREL } from './with-eprel'; diff --git a/packages/eprel-client/src/gen/v1.ts b/packages/eprel-client/src/gen/v1.ts index b6dfa4fc..ce617020 100644 --- a/packages/eprel-client/src/gen/v1.ts +++ b/packages/eprel-client/src/gen/v1.ts @@ -4,684 +4,708 @@ */ export interface paths { - "/product-groups": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get list of product groups - * @description Returns a list of product groups with their associated regulation details. - */ - get: { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ProductGroupList"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/products/{productGroup}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get models in a product group - * @description Retrieve all models within a specific product group. - */ - get: { - parameters: { - query?: { - /** @description Page number for pagination. */ - _page?: components["parameters"]["Page"]; - /** @description Number of results per page (min 1, max 100). */ - _limit?: components["parameters"]["Limit"]; - /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - sort0?: components["parameters"]["Sort0"]; - /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - order0?: components["parameters"]["Order0"]; - /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - sort1?: components["parameters"]["Sort1"]; - /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - order1?: components["parameters"]["Order1"]; - /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - sort2?: components["parameters"]["Sort2"]; - /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - order2?: components["parameters"]["Order2"]; - /** @description Include products that are no longer on the market. */ - includeOldProducts?: components["parameters"]["IncludeOldProducts"]; - }; - header?: never; - path: { - /** @description The product group (e.g., ovens, electronicdisplays). */ - productGroup: components["parameters"]["ProductGroup"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ModelsList"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/product/{registrationNumber}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get a product by registration number - * @description Retrieves detailed information about a product using its registration number. - */ - get: { - parameters: { - query?: never; - header?: never; - path: { - /** @description Unique identifier of the model in the EPREL database. */ - registrationNumber: components["parameters"]["RegistrationNumber"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ModelDetails"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/product/{registrationNumber}/fiches": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Retrieve Product Fiche - * @description Retrieves the product information sheet (fiche) in PDF format for a specific model. - */ - get: { - parameters: { - query?: { - /** @description If true, returns the address of the file without redirection. */ - noRedirect?: components["parameters"]["NoRedirect"]; - /** @description The language in which the fiche should be returned. If not specified, all languages will be returned in a ZIP file. */ - language?: components["parameters"]["FicheLanguage"]; - }; - header?: never; - path: { - /** @description Unique identifier of the model in the EPREL database. */ - registrationNumber: components["parameters"]["RegistrationNumber"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response containing the fiche. */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/zip": string; - "application/pdf": string; - "application/json": components["schemas"]["FileAddress"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/product/{registrationNumber}/labels": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Retrieve Product Label - * @description Retrieves the label for a specific model in the specified format(s). - */ - get: { - parameters: { - query?: { - /** @description If true, returns the address of the file without redirection. */ - noRedirect?: components["parameters"]["NoRedirect"]; - /** @description The format in which the label should be returned. If not specified, all formats will be returned. */ - format?: components["parameters"]["LabelFormat"]; - /** @description Used only for domestic ovens, indicating the cavity number. */ - instance?: components["parameters"]["Instance"]; - /** @description If true, returns the supplier's label if it exists. */ - supplier_label?: components["parameters"]["SupplierLabel"]; - /** @description Used only for light sources to specify the type of label. */ - type?: components["parameters"]["LabelType"]; - }; - header?: never; - path: { - /** @description Unique identifier of the model in the EPREL database. */ - registrationNumber: components["parameters"]["RegistrationNumber"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response containing the label(s). */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/zip": string; - "image/png": string; - "image/svg+xml": string; - "application/pdf": string; - "application/json": components["schemas"]["FileAddress"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/product/{registrationNumber}/nested-label": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Retrieve Nested Label - * @description Retrieves the nested label (SVG image of the arrow with energy efficiency class) for a specific model. - */ - get: { - parameters: { - query?: never; - header?: never; - path: { - /** @description Unique identifier of the model in the EPREL database. */ - registrationNumber: components["parameters"]["RegistrationNumber"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response containing the nested label. */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "image/svg+xml": string; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/products/{productGroup}/{registrationNumber}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Retrieve Model Details by Product Group - * @description Retrieves detailed information about a product model within a specific product group using its unique registration number. - */ - get: { - parameters: { - query?: never; - header?: never; - path: { - /** @description The product group (e.g., ovens, electronicdisplays). */ - productGroup: components["parameters"]["ProductGroup"]; - /** @description Unique identifier of the model in the EPREL database. */ - registrationNumber: components["parameters"]["RegistrationNumber"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/json": components["schemas"]["ModelsList"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/products/{productGroup}/{registrationNumber}/fiches": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Retrieve Product Fiche - * @description Retrieves the product information sheet (fiche) in PDF format for a specific model. - */ - get: { - parameters: { - query?: { - /** @description If true, returns the address of the file without redirection. */ - noRedirect?: components["parameters"]["NoRedirect"]; - /** @description The language in which the fiche should be returned. If not specified, all languages will be returned in a ZIP file. */ - language?: components["parameters"]["FicheLanguage"]; - }; - header?: never; - path: { - /** @description The product group (e.g., ovens, electronicdisplays). */ - productGroup: components["parameters"]["ProductGroup"]; - /** @description Unique identifier of the model in the EPREL database. */ - registrationNumber: components["parameters"]["RegistrationNumber"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response containing the fiche. */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/zip": string; - "application/pdf": string; - "application/json": components["schemas"]["FileAddress"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/products/{productGroup}/{registrationNumber}/labels": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Retrieve Product Label - * @description Retrieves the label for a specific model in the specified format(s). - */ - get: { - parameters: { - query?: { - /** @description If true, returns the address of the file without redirection. */ - noRedirect?: components["parameters"]["NoRedirect"]; - /** @description The format in which the label should be returned. If not specified, all formats will be returned. */ - format?: components["parameters"]["LabelFormat"]; - /** @description Used only for domestic ovens, indicating the cavity number. */ - instance?: components["parameters"]["Instance"]; - /** @description If true, returns the supplier's label if it exists. */ - supplier_label?: components["parameters"]["SupplierLabel"]; - /** @description Used only for light sources to specify the type of label. */ - type?: components["parameters"]["LabelType"]; - }; - header?: never; - path: { - /** @description The product group (e.g., ovens, electronicdisplays). */ - productGroup: components["parameters"]["ProductGroup"]; - /** @description Unique identifier of the model in the EPREL database. */ - registrationNumber: components["parameters"]["RegistrationNumber"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response containing the label(s). */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/zip": string; - "image/png": string; - "image/svg+xml": string; - "application/pdf": string; - "application/json": components["schemas"]["FileAddress"]; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; - "/exportProducts/{productGroup}": { - parameters: { - query?: never; - header?: never; - path?: never; - cookie?: never; - }; - /** - * Get product group's models in a ZIP file - * @description Retrieves all models in a product group in a ZIP file. This endpoint is restricted by API key. - */ - get: { - parameters: { - query?: never; - header?: never; - path: { - /** @description The product group (e.g., ovens, electronicdisplays). */ - productGroup: components["parameters"]["ProductGroup"]; - }; - cookie?: never; - }; - requestBody?: never; - responses: { - /** @description Successful response containing the ZIP file with model data. */ - 200: { - headers: { - [name: string]: unknown; - }; - content: { - "application/zip": string; - }; - }; - "4XX": components["responses"]["ClientError"]; - "5XX": components["responses"]["ServerError"]; - }; - }; - put?: never; - post?: never; - delete?: never; - options?: never; - head?: never; - patch?: never; - trace?: never; - }; + '/product-groups': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get list of product groups + * @description Returns a list of product groups with their associated regulation details. + */ + get: { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ProductGroupList']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/products/{productGroup}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get models in a product group + * @description Retrieve all models within a specific product group. + */ + get: { + parameters: { + query?: { + /** @description Page number for pagination. */ + _page?: components['parameters']['Page']; + /** @description Number of results per page (min 1, max 100). */ + _limit?: components['parameters']['Limit']; + /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + sort0?: components['parameters']['Sort0']; + /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + order0?: components['parameters']['Order0']; + /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + sort1?: components['parameters']['Sort1']; + /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + order1?: components['parameters']['Order1']; + /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + sort2?: components['parameters']['Sort2']; + /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + order2?: components['parameters']['Order2']; + /** @description Include products that are no longer on the market. */ + includeOldProducts?: components['parameters']['IncludeOldProducts']; + }; + header?: never; + path: { + /** @description The product group (e.g., ovens, electronicdisplays). */ + productGroup: components['parameters']['ProductGroup']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ModelsList']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/product/{registrationNumber}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get a product by registration number + * @description Retrieves detailed information about a product using its registration number. + */ + get: { + parameters: { + query?: never; + header?: never; + path: { + /** @description Unique identifier of the model in the EPREL database. */ + registrationNumber: components['parameters']['RegistrationNumber']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ModelDetails']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/product/{registrationNumber}/fiches': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve Product Fiche + * @description Retrieves the product information sheet (fiche) in PDF format for a specific model. + */ + get: { + parameters: { + query?: { + /** @description If true, returns the address of the file without redirection. */ + noRedirect?: components['parameters']['NoRedirect']; + /** @description The language in which the fiche should be returned. If not specified, all languages will be returned in a ZIP file. */ + language?: components['parameters']['FicheLanguage']; + }; + header?: never; + path: { + /** @description Unique identifier of the model in the EPREL database. */ + registrationNumber: components['parameters']['RegistrationNumber']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response containing the fiche. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/zip': string; + 'application/pdf': string; + 'application/json': components['schemas']['FileAddress']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/product/{registrationNumber}/labels': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve Product Label + * @description Retrieves the label for a specific model in the specified format(s). + */ + get: { + parameters: { + query?: { + /** @description If true, returns the address of the file without redirection. */ + noRedirect?: components['parameters']['NoRedirect']; + /** @description The format in which the label should be returned. If not specified, all formats will be returned. */ + format?: components['parameters']['LabelFormat']; + /** @description Used only for domestic ovens, indicating the cavity number. */ + instance?: components['parameters']['Instance']; + /** @description If true, returns the supplier's label if it exists. */ + supplier_label?: components['parameters']['SupplierLabel']; + /** @description Used only for light sources to specify the type of label. */ + type?: components['parameters']['LabelType']; + }; + header?: never; + path: { + /** @description Unique identifier of the model in the EPREL database. */ + registrationNumber: components['parameters']['RegistrationNumber']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response containing the label(s). */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/zip': string; + 'image/png': string; + 'image/svg+xml': string; + 'application/pdf': string; + 'application/json': components['schemas']['FileAddress']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/product/{registrationNumber}/nested-label': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve Nested Label + * @description Retrieves the nested label (SVG image of the arrow with energy efficiency class) for a specific model. + */ + get: { + parameters: { + query?: never; + header?: never; + path: { + /** @description Unique identifier of the model in the EPREL database. */ + registrationNumber: components['parameters']['RegistrationNumber']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response containing the nested label. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'image/svg+xml': string; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/products/{productGroup}/{registrationNumber}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve Model Details by Product Group + * @description Retrieves detailed information about a product model within a specific product group using its unique registration number. + */ + get: { + parameters: { + query?: never; + header?: never; + path: { + /** @description The product group (e.g., ovens, electronicdisplays). */ + productGroup: components['parameters']['ProductGroup']; + /** @description Unique identifier of the model in the EPREL database. */ + registrationNumber: components['parameters']['RegistrationNumber']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/json': components['schemas']['ModelsList']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/products/{productGroup}/{registrationNumber}/fiches': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve Product Fiche + * @description Retrieves the product information sheet (fiche) in PDF format for a specific model. + */ + get: { + parameters: { + query?: { + /** @description If true, returns the address of the file without redirection. */ + noRedirect?: components['parameters']['NoRedirect']; + /** @description The language in which the fiche should be returned. If not specified, all languages will be returned in a ZIP file. */ + language?: components['parameters']['FicheLanguage']; + }; + header?: never; + path: { + /** @description The product group (e.g., ovens, electronicdisplays). */ + productGroup: components['parameters']['ProductGroup']; + /** @description Unique identifier of the model in the EPREL database. */ + registrationNumber: components['parameters']['RegistrationNumber']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response containing the fiche. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/zip': string; + 'application/pdf': string; + 'application/json': components['schemas']['FileAddress']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/products/{productGroup}/{registrationNumber}/labels': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Retrieve Product Label + * @description Retrieves the label for a specific model in the specified format(s). + */ + get: { + parameters: { + query?: { + /** @description If true, returns the address of the file without redirection. */ + noRedirect?: components['parameters']['NoRedirect']; + /** @description The format in which the label should be returned. If not specified, all formats will be returned. */ + format?: components['parameters']['LabelFormat']; + /** @description Used only for domestic ovens, indicating the cavity number. */ + instance?: components['parameters']['Instance']; + /** @description If true, returns the supplier's label if it exists. */ + supplier_label?: components['parameters']['SupplierLabel']; + /** @description Used only for light sources to specify the type of label. */ + type?: components['parameters']['LabelType']; + }; + header?: never; + path: { + /** @description The product group (e.g., ovens, electronicdisplays). */ + productGroup: components['parameters']['ProductGroup']; + /** @description Unique identifier of the model in the EPREL database. */ + registrationNumber: components['parameters']['RegistrationNumber']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response containing the label(s). */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/zip': string; + 'image/png': string; + 'image/svg+xml': string; + 'application/pdf': string; + 'application/json': components['schemas']['FileAddress']; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; + '/exportProducts/{productGroup}': { + parameters: { + query?: never; + header?: never; + path?: never; + cookie?: never; + }; + /** + * Get product group's models in a ZIP file + * @description Retrieves all models in a product group in a ZIP file. This endpoint is restricted by API key. + */ + get: { + parameters: { + query?: never; + header?: never; + path: { + /** @description The product group (e.g., ovens, electronicdisplays). */ + productGroup: components['parameters']['ProductGroup']; + }; + cookie?: never; + }; + requestBody?: never; + responses: { + /** @description Successful response containing the ZIP file with model data. */ + 200: { + headers: { + [name: string]: unknown; + }; + content: { + 'application/zip': string; + }; + }; + '4XX': components['responses']['ClientError']; + '5XX': components['responses']['ServerError']; + }; + }; + put?: never; + post?: never; + delete?: never; + options?: never; + head?: never; + patch?: never; + trace?: never; + }; } export type webhooks = Record; export interface components { - schemas: { - ProductGroupList: components["schemas"]["ProductGroup"][]; - ProductGroup: { - /** @example AIR_CONDITIONER */ - code: string; - /** @example airconditioners */ - url_code: string; - /** @example Air conditioners */ - name: string; - /** @example Regulation (EU) 626/2011 */ - regulation: string; - }; - ModelsList: { - /** @example 1 */ - size?: number; - /** @example 0 */ - offset?: number; - hits?: components["schemas"]["ModelDetails"][]; - }; - /** @description Only contains product group comprehensive properties (https://webgate.ec.europa.eu/fpfis/wikis/pages/viewpage.action?pageId=1847100878). */ - ModelDetails: { - /** @example EU_2019_2017 */ - implementingAct?: string; - /** @example P2422H */ - modelIdentifier?: string; - /** @example [ - * 2020, - * 5, - * 8 - * ] */ - onMarketStartDate?: number[]; - /** @example [ - * 2020, - * 5, - * 8 - * ] */ - onMarketEndDate?: number[] | null; - /** @example false */ - lastVersion?: boolean; - /** @example 72 */ - versionId?: number; - /** - * @example PUBLISHED - * @enum {string} - */ - status?: "PUBLISHED" | "DRAFT" | "ARCHIVED"; - /** @example 72 */ - eprelRegistrationNumber?: string; - /** @example 72 */ - productModelCoreId?: number; - /** @example A */ - energyClass?: string; - /** @example arrow.png */ - energyClassImage?: string; - contactDetails?: components["schemas"]["ContactDetails"]; - /** @example 1 */ - versionNumber?: number; - /** @example electronicdisplays */ - productGroup?: string; - /** - * @example MANUFACTURER - * @enum {string} - */ - registrantNature?: "AUTHORISED_REPRESENTATIVE" | "IMPORTER" | "MANUFACTURER"; - placementCountries?: { - /** @example DE */ - country?: string; - /** @example 1 */ - orderNumber?: number; - }[]; - }; - ContactDetails: { - /** @example Smith */ - lastName?: string; - /** @example BE */ - country?: string; - /** @example 1 */ - streetNumber?: string; - /** @example Brussels */ - city?: string; - /** @example 1000 */ - postalCode?: string; - /** @example Brussels City */ - municipality?: string; - /** @example Support service */ - serviceName?: string; - /** @example support.service.co */ - webSiteURL?: string; - /** @example John */ - firstName?: string; - /** @example Main street 1, 1000 Brussels, BE */ - addressBloc?: string; - /** @example Brussels-Capital */ - province?: string; - /** @example +32123456789 */ - phone?: string; - /** @example Main street */ - street?: string; - /** - * Format: email - * @example support@service.co - */ - email?: string; - }; - /** @description File address when noRedirect is set to true */ - FileAddress: { - /** - * Format: uri - * @description [API_URL]/informationsheet/fiche_[REGISTRATION_NUMBER]_ES.pdf - * @example https://api.example.com/label/Label_117273.png - */ - address?: string; - }; - }; - responses: { - /** @description Client error */ - ClientError: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - /** @description Server error */ - ServerError: { - headers: { - [name: string]: unknown; - }; - content?: never; - }; - }; - parameters: { - /** @description The product group (e.g., ovens, electronicdisplays). */ - ProductGroup: string; - /** @description Unique identifier of the model in the EPREL database. */ - RegistrationNumber: string; - /** @description Page number for pagination. */ - Page: number; - /** @description Number of results per page (min 1, max 100). */ - Limit: number; - /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - Sort0: string; - /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - Order0: "ASC" | "DESC"; - /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - Sort1: string; - /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - Order1: "ASC" | "DESC"; - /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - Sort2: string; - /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ - Order2: "ASC" | "DESC"; - /** @description Include products that are no longer on the market. */ - IncludeOldProducts: boolean; - /** @description If true, returns the address of the file without redirection. */ - NoRedirect: boolean; - /** @description The language in which the fiche should be returned. If not specified, all languages will be returned in a ZIP file. */ - FicheLanguage: "BG" | "CS" | "DA" | "DE" | "ET" | "EL" | "EN" | "ES" | "FR" | "GA" | "HR" | "IT" | "LV" | "LT" | "HU" | "MT" | "NL" | "PL" | "PT" | "RO" | "SK" | "SL" | "FI" | "SV"; - /** @description The format in which the label should be returned. If not specified, all formats will be returned. */ - LabelFormat: "PNG" | "PDF" | "SVG"; - /** @description Used only for domestic ovens, indicating the cavity number. */ - Instance: number; - /** @description If true, returns the supplier's label if it exists. */ - SupplierLabel: boolean; - /** @description Used only for light sources to specify the type of label. */ - LabelType: "BIG_BW" | "BIG_COLOR" | "SMALL_BW" | "SMALL_COLOR"; - }; - requestBodies: never; - headers: never; - pathItems: never; + schemas: { + ProductGroupList: components['schemas']['ProductGroup'][]; + ProductGroup: { + /** @example AIR_CONDITIONER */ + code: string; + /** @example airconditioners */ + url_code: string; + /** @example Air conditioners */ + name: string; + /** @example Regulation (EU) 626/2011 */ + regulation: string; + }; + ModelsList: { + /** @example 1 */ + size?: number; + /** @example 0 */ + offset?: number; + hits?: components['schemas']['ModelDetails'][]; + }; + /** @description Only contains product group comprehensive properties (https://webgate.ec.europa.eu/fpfis/wikis/pages/viewpage.action?pageId=1847100878). */ + ModelDetails: { + /** @example EU_2019_2017 */ + implementingAct?: string; + /** @example P2422H */ + modelIdentifier?: string; + /** @example [ + * 2020, + * 5, + * 8 + * ] */ + onMarketStartDate?: number[]; + /** @example [ + * 2020, + * 5, + * 8 + * ] */ + onMarketEndDate?: number[] | null; + /** @example false */ + lastVersion?: boolean; + /** @example 72 */ + versionId?: number; + /** + * @example PUBLISHED + * @enum {string} + */ + status?: 'PUBLISHED' | 'DRAFT' | 'ARCHIVED'; + /** @example 72 */ + eprelRegistrationNumber?: string; + /** @example 72 */ + productModelCoreId?: number; + /** @example A */ + energyClass?: string; + /** @example arrow.png */ + energyClassImage?: string; + contactDetails?: components['schemas']['ContactDetails']; + /** @example 1 */ + versionNumber?: number; + /** @example electronicdisplays */ + productGroup?: string; + /** + * @example MANUFACTURER + * @enum {string} + */ + registrantNature?: 'AUTHORISED_REPRESENTATIVE' | 'IMPORTER' | 'MANUFACTURER'; + placementCountries?: { + /** @example DE */ + country?: string; + /** @example 1 */ + orderNumber?: number; + }[]; + }; + ContactDetails: { + /** @example Smith */ + lastName?: string; + /** @example BE */ + country?: string; + /** @example 1 */ + streetNumber?: string; + /** @example Brussels */ + city?: string; + /** @example 1000 */ + postalCode?: string; + /** @example Brussels City */ + municipality?: string; + /** @example Support service */ + serviceName?: string; + /** @example support.service.co */ + webSiteURL?: string; + /** @example John */ + firstName?: string; + /** @example Main street 1, 1000 Brussels, BE */ + addressBloc?: string; + /** @example Brussels-Capital */ + province?: string; + /** @example +32123456789 */ + phone?: string; + /** @example Main street */ + street?: string; + /** + * Format: email + * @example support@service.co + */ + email?: string; + }; + /** @description File address when noRedirect is set to true */ + FileAddress: { + /** + * Format: uri + * @description [API_URL]/informationsheet/fiche_[REGISTRATION_NUMBER]_ES.pdf + * @example https://api.example.com/label/Label_117273.png + */ + address?: string; + }; + }; + responses: { + /** @description Client error */ + ClientError: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + /** @description Server error */ + ServerError: { + headers: { + [name: string]: unknown; + }; + content?: never; + }; + }; + parameters: { + /** @description The product group (e.g., ovens, electronicdisplays). */ + ProductGroup: string; + /** @description Unique identifier of the model in the EPREL database. */ + RegistrationNumber: string; + /** @description Page number for pagination. */ + Page: number; + /** @description Number of results per page (min 1, max 100). */ + Limit: number; + /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + Sort0: string; + /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + Order0: 'ASC' | 'DESC'; + /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + Sort1: string; + /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + Order1: 'ASC' | 'DESC'; + /** @description Primary sorting field. Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + Sort2: string; + /** @description Primary sorting order (ASC or DESC). Belongs to list of sorting parameters and their direction to apply to the query in the format of sort0=[Field name]&order0=[ASC/DESC]. */ + Order2: 'ASC' | 'DESC'; + /** @description Include products that are no longer on the market. */ + IncludeOldProducts: boolean; + /** @description If true, returns the address of the file without redirection. */ + NoRedirect: boolean; + /** @description The language in which the fiche should be returned. If not specified, all languages will be returned in a ZIP file. */ + FicheLanguage: + | 'BG' + | 'CS' + | 'DA' + | 'DE' + | 'ET' + | 'EL' + | 'EN' + | 'ES' + | 'FR' + | 'GA' + | 'HR' + | 'IT' + | 'LV' + | 'LT' + | 'HU' + | 'MT' + | 'NL' + | 'PL' + | 'PT' + | 'RO' + | 'SK' + | 'SL' + | 'FI' + | 'SV'; + /** @description The format in which the label should be returned. If not specified, all formats will be returned. */ + LabelFormat: 'PNG' | 'PDF' | 'SVG'; + /** @description Used only for domestic ovens, indicating the cavity number. */ + Instance: number; + /** @description If true, returns the supplier's label if it exists. */ + SupplierLabel: boolean; + /** @description Used only for light sources to specify the type of label. */ + LabelType: 'BIG_BW' | 'BIG_COLOR' | 'SMALL_BW' | 'SMALL_COLOR'; + }; + requestBodies: never; + headers: never; + pathItems: never; } export type $defs = Record; export type operations = Record; diff --git a/packages/eprel-client/src/index.ts b/packages/eprel-client/src/index.ts index 0fcf3d56..7ea1df6b 100644 --- a/packages/eprel-client/src/index.ts +++ b/packages/eprel-client/src/index.ts @@ -1,6 +1,5 @@ /* eslint-disable @typescript-eslint/method-signature-style -- Ok here */ import { type FetchError, type TResult } from 'feature-fetch'; - import type { components } from './gen/v1'; import { type TFileAddress, diff --git a/packages/eprel-client/src/with-eprel.ts b/packages/eprel-client/src/with-eprel.ts index f60bb46f..cd9ef42a 100644 --- a/packages/eprel-client/src/with-eprel.ts +++ b/packages/eprel-client/src/with-eprel.ts @@ -1,3 +1,4 @@ +import { mapOk } from '@blgc/utils'; import { Err, FetchError, @@ -9,8 +10,6 @@ import { type TFetchClient, type TSelectFeatures } from 'feature-fetch'; -import { mapOk } from '@blgc/utils'; - import type { paths } from './gen/v1'; import { getLabelUrl, getLanguageSet, getSheetUrl } from './helper'; import { diff --git a/packages/feature-fetch/README.md b/packages/feature-fetch/README.md index 099331cf..eac97861 100644 --- a/packages/feature-fetch/README.md +++ b/packages/feature-fetch/README.md @@ -117,7 +117,6 @@ Enhance `feature-fetch` with [OpenAPI](https://www.openapis.org/) support to cre ```ts import { createOpenApiFetchClient } from 'feature-fetch'; - import { paths } from './openapi-paths'; const fetchClient = createOpenApiFetchClient({ @@ -146,7 +145,6 @@ Enhance `feature-fetch` to create a typesafe `fetch` wrapper specifically for Gr ```ts import { gql, withGraphQL } from 'feature-fetch'; - import createFetchClient from './createFetchClient'; const baseFetchClient = createFetchClient({ diff --git a/packages/feature-fetch/package.json b/packages/feature-fetch/package.json index c64eccc1..14fbae93 100644 --- a/packages/feature-fetch/package.json +++ b/packages/feature-fetch/package.json @@ -1,34 +1,38 @@ { "name": "feature-fetch", - "description": "Straightforward, typesafe, and feature-based fetch wrapper supporting OpenAPI types", "version": "0.0.31", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Straightforward, typesafe, and feature-based fetch wrapper supporting OpenAPI types", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "dependencies": { "@0no-co/graphql.web": "^1.0.11", "@blgc/types": "workspace:*", @@ -40,10 +44,6 @@ "@types/url-parse": "^1.4.11", "msw": "^2.6.0" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/feature-fetch/src/__tests__/playground.test.ts b/packages/feature-fetch/src/__tests__/playground.test.ts index 599b2540..2148eed5 100644 --- a/packages/feature-fetch/src/__tests__/playground.test.ts +++ b/packages/feature-fetch/src/__tests__/playground.test.ts @@ -1,5 +1,4 @@ import { describe, it } from 'vitest'; - import { createOpenApiFetchClient } from '../features'; import { paths } from './resources/mock-openapi-types'; diff --git a/packages/feature-fetch/src/create-fetch-client.test.ts b/packages/feature-fetch/src/create-fetch-client.test.ts index a05d73c8..5957ba44 100644 --- a/packages/feature-fetch/src/create-fetch-client.test.ts +++ b/packages/feature-fetch/src/create-fetch-client.test.ts @@ -1,8 +1,7 @@ +import { unwrapErr } from '@blgc/utils'; import { http, HttpResponse } from 'msw'; import { setupServer } from 'msw/node'; import { afterAll, afterEach, beforeAll, describe, expect, it } from 'vitest'; -import { unwrapErr } from '@blgc/utils'; - import { createFetchClient } from './create-fetch-client'; const server = setupServer(); diff --git a/packages/feature-fetch/src/create-fetch-client.ts b/packages/feature-fetch/src/create-fetch-client.ts index eed0a910..31803941 100644 --- a/packages/feature-fetch/src/create-fetch-client.ts +++ b/packages/feature-fetch/src/create-fetch-client.ts @@ -1,5 +1,4 @@ import { Err, Ok } from '@blgc/utils'; - import { FetchError } from './exceptions'; import { buildUrl, diff --git a/packages/feature-fetch/src/features/with-api/with-api.test.ts b/packages/feature-fetch/src/features/with-api/with-api.test.ts index 7253155c..5cafc1f4 100644 --- a/packages/feature-fetch/src/features/with-api/with-api.test.ts +++ b/packages/feature-fetch/src/features/with-api/with-api.test.ts @@ -1,7 +1,6 @@ import { http, HttpResponse } from 'msw'; import { setupServer } from 'msw/node'; import { afterAll, afterEach, beforeAll, describe, expect, it } from 'vitest'; - import { createFetchClient } from '../../create-fetch-client'; import { withApi } from './with-api'; diff --git a/packages/feature-fetch/src/features/with-delay.test.ts b/packages/feature-fetch/src/features/with-delay.test.ts index 91294ec1..d55d521b 100644 --- a/packages/feature-fetch/src/features/with-delay.test.ts +++ b/packages/feature-fetch/src/features/with-delay.test.ts @@ -1,7 +1,6 @@ import { http, HttpResponse } from 'msw'; import { setupServer } from 'msw/node'; import { afterAll, afterEach, beforeAll, describe, expect, it } from 'vitest'; - import { createFetchClient } from '../create-fetch-client'; import { withDelay } from './with-delay'; diff --git a/packages/feature-fetch/src/features/with-delay.ts b/packages/feature-fetch/src/features/with-delay.ts index a7b967c9..49c7d854 100644 --- a/packages/feature-fetch/src/features/with-delay.ts +++ b/packages/feature-fetch/src/features/with-delay.ts @@ -1,5 +1,4 @@ import { sleep } from '@blgc/utils'; - import type { TEnforceFeatures, TFeatureKeys, diff --git a/packages/feature-fetch/src/features/with-graphql/get-query-string.ts b/packages/feature-fetch/src/features/with-graphql/get-query-string.ts index 4ed17078..8656049e 100644 --- a/packages/feature-fetch/src/features/with-graphql/get-query-string.ts +++ b/packages/feature-fetch/src/features/with-graphql/get-query-string.ts @@ -1,5 +1,4 @@ import { Ok, type TResult } from '@blgc/utils'; - import { type FetchError } from '../../exceptions'; import { type TDocumentInput } from '../../types'; diff --git a/packages/feature-fetch/src/features/with-graphql/gql.test.ts b/packages/feature-fetch/src/features/with-graphql/gql.test.ts index 6854f2dd..ccf8f683 100644 --- a/packages/feature-fetch/src/features/with-graphql/gql.test.ts +++ b/packages/feature-fetch/src/features/with-graphql/gql.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { gql } from './gql'; describe('gql function', () => { diff --git a/packages/feature-fetch/src/features/with-graphql/with-graphql.ts b/packages/feature-fetch/src/features/with-graphql/with-graphql.ts index d8101d31..378d8d42 100644 --- a/packages/feature-fetch/src/features/with-graphql/with-graphql.ts +++ b/packages/feature-fetch/src/features/with-graphql/with-graphql.ts @@ -1,5 +1,4 @@ import { Err } from '@blgc/utils'; - import type { TEnforceFeatures, TFeatureKeys, TFetchClient, TSelectFeatures } from '../../types'; import { getQueryString } from './get-query-string'; diff --git a/packages/feature-fetch/src/features/with-retry.test.ts b/packages/feature-fetch/src/features/with-retry.test.ts index f2d867b1..744a137b 100644 --- a/packages/feature-fetch/src/features/with-retry.test.ts +++ b/packages/feature-fetch/src/features/with-retry.test.ts @@ -1,7 +1,6 @@ import { http, HttpResponse } from 'msw'; import { setupServer } from 'msw/node'; import { afterAll, afterEach, beforeAll, describe, expect, it } from 'vitest'; - import { createFetchClient } from '../create-fetch-client'; import { RequestError } from '../exceptions'; import { type TFetchLike } from '../types'; diff --git a/packages/feature-fetch/src/features/with-retry.ts b/packages/feature-fetch/src/features/with-retry.ts index 0edf869f..cadd77b9 100644 --- a/packages/feature-fetch/src/features/with-retry.ts +++ b/packages/feature-fetch/src/features/with-retry.ts @@ -1,5 +1,4 @@ import { sleep } from '@blgc/utils'; - import type { TEnforceFeatures, TFeatureKeys, diff --git a/packages/feature-fetch/src/helper/FetchHeaders.test.ts b/packages/feature-fetch/src/helper/FetchHeaders.test.ts index 13a8037d..9e4e0065 100644 --- a/packages/feature-fetch/src/helper/FetchHeaders.test.ts +++ b/packages/feature-fetch/src/helper/FetchHeaders.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { FetchHeaders } from './FetchHeaders'; describe('FetchHeaders class', () => { diff --git a/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts b/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts index 9cd0fa87..d17b777c 100644 --- a/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts +++ b/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts @@ -1,5 +1,4 @@ import { isObject } from '@blgc/utils'; - import { RequestError, type TErrorCode } from '../../exceptions'; export async function mapResponseToRequestError( diff --git a/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-path-params.test.ts b/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-path-params.test.ts index ec82816f..6cbba08a 100644 --- a/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-path-params.test.ts +++ b/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-path-params.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { serializePathParams } from './serialize-path-params'; describe('serializePathParams function', () => { diff --git a/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-query-params.test.ts b/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-query-params.test.ts index 72171feb..eb8feaeb 100644 --- a/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-query-params.test.ts +++ b/packages/feature-fetch/src/helper/serializer/serialize-params/serialize-query-params.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { serializeQueryParams } from './serialize-query-params'; describe('serializeQueryParams function', () => { diff --git a/packages/feature-fetch/src/types/features/graphql.ts b/packages/feature-fetch/src/types/features/graphql.ts index b2571a6e..75806846 100644 --- a/packages/feature-fetch/src/types/features/graphql.ts +++ b/packages/feature-fetch/src/types/features/graphql.ts @@ -1,5 +1,4 @@ import { type DocumentNode } from '@0no-co/graphql.web'; - import { type TParseAs } from '../fetch'; import type { TFetchOptions, TFetchResponse } from '../fetch-client'; diff --git a/packages/feature-fetch/src/types/features/index.ts b/packages/feature-fetch/src/types/features/index.ts index d1bad7d1..98577ffc 100644 --- a/packages/feature-fetch/src/types/features/index.ts +++ b/packages/feature-fetch/src/types/features/index.ts @@ -1,5 +1,4 @@ import type { TUnionToIntersection } from '@blgc/types/utils'; - import type { TApiFeature } from './api'; import { type TGraphQLFeature } from './graphql'; import type { TOpenApiFeature } from './openapi'; diff --git a/packages/feature-fetch/src/types/features/openapi.ts b/packages/feature-fetch/src/types/features/openapi.ts index 529477d5..b1d714d7 100644 --- a/packages/feature-fetch/src/types/features/openapi.ts +++ b/packages/feature-fetch/src/types/features/openapi.ts @@ -8,7 +8,6 @@ import type { TRequestBody } from '@blgc/types/openapi'; import { type TFilterKeys } from '@blgc/types/utils'; - import { type TParseAs } from '../fetch'; import type { TBodySerializer, diff --git a/packages/feature-fetch/src/types/fetch-client.ts b/packages/feature-fetch/src/types/fetch-client.ts index 0fc648e5..da471316 100644 --- a/packages/feature-fetch/src/types/fetch-client.ts +++ b/packages/feature-fetch/src/types/fetch-client.ts @@ -1,5 +1,4 @@ import { type TResult } from '@blgc/utils'; - import type { FetchError, NetworkError, RequestError } from '../exceptions'; import type { FetchHeaders } from '../helper'; import type { TFeatureKeys, TSelectFeatures } from './features'; diff --git a/packages/feature-form/package.json b/packages/feature-form/package.json index 5973ff40..ad9a241a 100644 --- a/packages/feature-form/package.json +++ b/packages/feature-form/package.json @@ -1,34 +1,38 @@ { "name": "feature-form", - "description": "Straightforward, typesafe, and feature-based form library for ReactJs", "version": "0.0.30", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Straightforward, typesafe, and feature-based form library for ReactJs", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "dependencies": { "@blgc/types": "workspace:*", "@blgc/utils": "workspace:*", @@ -39,10 +43,6 @@ "@blgc/config": "workspace:*", "@types/node": "^22.9.0" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/feature-form/src/create-form.test.ts b/packages/feature-form/src/create-form.test.ts index 0260a631..66114a4c 100644 --- a/packages/feature-form/src/create-form.test.ts +++ b/packages/feature-form/src/create-form.test.ts @@ -1,6 +1,5 @@ import { createValidator } from 'validation-adapter'; import { describe, expect, it } from 'vitest'; - import { createForm } from './create-form'; import { fromValidator } from './helper'; diff --git a/packages/feature-form/src/create-form.ts b/packages/feature-form/src/create-form.ts index 5422189a..6a0ce6b9 100644 --- a/packages/feature-form/src/create-form.ts +++ b/packages/feature-form/src/create-form.ts @@ -1,7 +1,6 @@ -import { createState } from 'feature-state'; import { type TEntries } from '@blgc/types/utils'; import { bitwiseFlag, deepCopy, type BitwiseFlag } from '@blgc/utils'; - +import { createState } from 'feature-state'; import { createFormField } from './form-field'; import { FormFieldReValidateMode, diff --git a/packages/feature-form/src/form-field/create-form-field.ts b/packages/feature-form/src/form-field/create-form-field.ts index 78b03c53..dc25aac0 100644 --- a/packages/feature-form/src/form-field/create-form-field.ts +++ b/packages/feature-form/src/form-field/create-form-field.ts @@ -1,7 +1,6 @@ +import { bitwiseFlag, deepCopy } from '@blgc/utils'; import { createState } from 'feature-state'; import { createValidator } from 'validation-adapter'; -import { bitwiseFlag, deepCopy } from '@blgc/utils'; - import { FormFieldReValidateMode, FormFieldValidateMode, diff --git a/packages/feature-form/src/form-field/create-status.ts b/packages/feature-form/src/form-field/create-status.ts index 8136c3d8..88683571 100644 --- a/packages/feature-form/src/form-field/create-status.ts +++ b/packages/feature-form/src/form-field/create-status.ts @@ -1,5 +1,4 @@ import { createState, type TSelectFeatures } from 'feature-state'; - import { type TFormFieldStatus, type TFormFieldStatusValue } from '../types'; export function createStatus(initialValue: TFormFieldStatusValue): TFormFieldStatus { diff --git a/packages/feature-form/src/types/features.ts b/packages/feature-form/src/types/features.ts index e490e6b0..53e86805 100644 --- a/packages/feature-form/src/types/features.ts +++ b/packages/feature-form/src/types/features.ts @@ -1,5 +1,4 @@ import type { TUnionToIntersection } from '@blgc/types/utils'; - import { type TFormData } from './form'; export type TFeatures = { diff --git a/packages/feature-form/src/types/form-field.ts b/packages/feature-form/src/types/form-field.ts index e0e37ae6..0f856f6a 100644 --- a/packages/feature-form/src/types/form-field.ts +++ b/packages/feature-form/src/types/form-field.ts @@ -1,10 +1,10 @@ +import { type BitwiseFlag } from '@blgc/utils'; import { type TState } from 'feature-state'; import { type TBaseValidationContext, type TCollectErrorMode, type TValidator } from 'validation-adapter'; -import { type BitwiseFlag } from '@blgc/utils'; export type TFormField = TState; diff --git a/packages/feature-form/src/types/form.ts b/packages/feature-form/src/types/form.ts index 27aca504..14368118 100644 --- a/packages/feature-form/src/types/form.ts +++ b/packages/feature-form/src/types/form.ts @@ -1,6 +1,5 @@ import { type TState } from 'feature-state'; import { type TCollectErrorMode } from 'validation-adapter'; - import { type TFeatureKeys, type TSelectFeatures } from './features'; import { type TFormField, diff --git a/packages/feature-logger/package.json b/packages/feature-logger/package.json index f7d21f22..fa5417b0 100644 --- a/packages/feature-logger/package.json +++ b/packages/feature-logger/package.json @@ -1,34 +1,38 @@ { "name": "feature-logger", - "description": "Straightforward, typesafe, and feature-based logging library", "version": "0.0.24", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Straightforward, typesafe, and feature-based logging library", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "dependencies": { "@blgc/types": "workspace:*", "@blgc/utils": "workspace:*" @@ -37,10 +41,6 @@ "@blgc/config": "workspace:*", "@types/node": "^22.9.0" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/feature-logger/src/create-logger.test.ts b/packages/feature-logger/src/create-logger.test.ts index 6ada7f20..56c075c7 100644 --- a/packages/feature-logger/src/create-logger.test.ts +++ b/packages/feature-logger/src/create-logger.test.ts @@ -1,5 +1,4 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; - import { mockConsole, restoreConsoleMock, type TConsoleSpies } from './__tests__/mock-console'; import { createLogger, LOG_LEVEL } from './create-logger'; import { type TLoggerMiddleware } from './types'; diff --git a/packages/feature-logger/src/features/with-method-prefix.test.ts b/packages/feature-logger/src/features/with-method-prefix.test.ts index 548e6a13..f19d4381 100644 --- a/packages/feature-logger/src/features/with-method-prefix.test.ts +++ b/packages/feature-logger/src/features/with-method-prefix.test.ts @@ -1,5 +1,4 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; - import { mockConsole, restoreConsoleMock, type TConsoleSpies } from '../__tests__/mock-console'; import { createLogger } from '../create-logger'; import { withMethodPrefix } from './with-method-prefix'; diff --git a/packages/feature-logger/src/features/with-prefix.test.ts b/packages/feature-logger/src/features/with-prefix.test.ts index 55ba62da..8711c5d1 100644 --- a/packages/feature-logger/src/features/with-prefix.test.ts +++ b/packages/feature-logger/src/features/with-prefix.test.ts @@ -1,5 +1,4 @@ import { afterEach, beforeEach, describe, expect, it } from 'vitest'; - import { mockConsole, restoreConsoleMock, type TConsoleSpies } from '../__tests__/mock-console'; import { createLogger } from '../create-logger'; import { withPrefix } from './with-prefix'; diff --git a/packages/feature-logger/src/features/with-timestamp.test.ts b/packages/feature-logger/src/features/with-timestamp.test.ts index 54e3185b..daf30e1c 100644 --- a/packages/feature-logger/src/features/with-timestamp.test.ts +++ b/packages/feature-logger/src/features/with-timestamp.test.ts @@ -1,5 +1,4 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'; - import { mockConsole, restoreConsoleMock, type TConsoleSpies } from '../__tests__/mock-console'; import { createLogger } from '../create-logger'; import { withTimestamp } from './with-timestamp'; diff --git a/packages/feature-react/package.json b/packages/feature-react/package.json index e238e32f..3e47b49c 100644 --- a/packages/feature-react/package.json +++ b/packages/feature-react/package.json @@ -1,19 +1,19 @@ { "name": "feature-react", - "description": "ReactJs extension features for feature-state", "version": "0.0.30", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "ReactJs extension features for feature-state", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" + }, + "license": "MIT", + "author": "@bennobuilder", "exports": { "./state": { "source": "./src/state/index.ts", @@ -38,19 +38,20 @@ ] } }, - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" - }, - "keywords": [], - "author": "@bennobuilder", - "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" - }, - "homepage": "https://builder.group/?source=package-json", - "peerDependencies": { - "react": "^18.3.1" + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, "devDependencies": { "@blgc/config": "workspace:*", @@ -61,10 +62,9 @@ "feature-state": "workspace:*", "react": "^18.3.1" }, - "files": [ - "dist", - "README.md" - ], + "peerDependencies": { + "react": "^18.3.1" + }, "size-limit": [ { "path": "dist/state/esm/index.js" diff --git a/packages/feature-react/src/form/hooks/use-form.ts b/packages/feature-react/src/form/hooks/use-form.ts index c3cd2e58..7b4626c0 100644 --- a/packages/feature-react/src/form/hooks/use-form.ts +++ b/packages/feature-react/src/form/hooks/use-form.ts @@ -6,7 +6,6 @@ import { type TSubmitOptions } from 'feature-form'; import React from 'react'; - import { registerFormField, type TRegisterFormFieldResponse } from '../register-form-field'; export function useForm( diff --git a/packages/feature-react/src/form/register-form-field.ts b/packages/feature-react/src/form/register-form-field.ts index 9e1c6fdf..b5ea061a 100644 --- a/packages/feature-react/src/form/register-form-field.ts +++ b/packages/feature-react/src/form/register-form-field.ts @@ -1,6 +1,6 @@ +import { hasProperty } from '@blgc/utils'; import { type TFormField } from 'feature-form'; import { type ChangeEventHandler, type FocusEventHandler } from 'react'; -import { hasProperty } from '@blgc/utils'; export function registerFormField( formField: TFormField, diff --git a/packages/feature-react/src/state/hooks/use-selector.ts b/packages/feature-react/src/state/hooks/use-selector.ts index c3d0baa9..d0d2df10 100644 --- a/packages/feature-react/src/state/hooks/use-selector.ts +++ b/packages/feature-react/src/state/hooks/use-selector.ts @@ -1,6 +1,6 @@ +import { getNestedProperty, type TNestedPath, type TNestedProperty } from '@blgc/utils'; import type { TState } from 'feature-state'; import React from 'react'; -import { getNestedProperty, type TNestedPath, type TNestedProperty } from '@blgc/utils'; export function useSelector>( state: TState, diff --git a/packages/feature-state/README.md b/packages/feature-state/README.md index f7e0bf07..a1e4606b 100644 --- a/packages/feature-state/README.md +++ b/packages/feature-state/README.md @@ -57,7 +57,6 @@ export function addTask(task: Task) { ```tsx import { useGlobalState } from 'feature-state-react'; - import { $tasks } from '../store/tasks'; export const Tasks = () => { diff --git a/packages/feature-state/package.json b/packages/feature-state/package.json index 18e6995a..c87b56b5 100644 --- a/packages/feature-state/package.json +++ b/packages/feature-state/package.json @@ -1,34 +1,38 @@ { "name": "feature-state", - "description": "Straightforward, typesafe, and feature-based state management library for ReactJs", "version": "0.0.35", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Straightforward, typesafe, and feature-based state management library for ReactJs", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "dependencies": { "@blgc/types": "workspace:*", "@blgc/utils": "workspace:*" @@ -37,10 +41,6 @@ "@blgc/config": "workspace:*", "@types/node": "^22.9.0" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/feature-state/src/create-state.test.ts b/packages/feature-state/src/create-state.test.ts index 47a80a95..92d29f8c 100644 --- a/packages/feature-state/src/create-state.test.ts +++ b/packages/feature-state/src/create-state.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it, vi } from 'vitest'; - import { createState } from './create-state'; describe('createState function', () => { diff --git a/packages/feature-state/src/features/with-multi-undo.test.ts b/packages/feature-state/src/features/with-multi-undo.test.ts index 83534f82..3ed8f871 100644 --- a/packages/feature-state/src/features/with-multi-undo.test.ts +++ b/packages/feature-state/src/features/with-multi-undo.test.ts @@ -1,5 +1,4 @@ import { describe, it } from 'vitest'; - import { createState } from '../create-state'; import { withMultiUndo } from './with-multi-undo'; import { withUndo } from './with-undo'; diff --git a/packages/feature-state/src/features/with-selector.test.ts b/packages/feature-state/src/features/with-selector.test.ts index 6f2c0b63..e1cfcc02 100644 --- a/packages/feature-state/src/features/with-selector.test.ts +++ b/packages/feature-state/src/features/with-selector.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it, vi } from 'vitest'; - import { createState } from '../create-state'; import { withSelector } from './with-selector'; diff --git a/packages/feature-state/src/features/with-selector.ts b/packages/feature-state/src/features/with-selector.ts index 8b36d762..8032d630 100644 --- a/packages/feature-state/src/features/with-selector.ts +++ b/packages/feature-state/src/features/with-selector.ts @@ -1,5 +1,4 @@ import { getNestedProperty } from '@blgc/utils'; - import { type TEnforceFeatures, type TFeatureKeys, diff --git a/packages/feature-state/src/features/with-storage.test.ts b/packages/feature-state/src/features/with-storage.test.ts index 16e595d6..865c648d 100644 --- a/packages/feature-state/src/features/with-storage.test.ts +++ b/packages/feature-state/src/features/with-storage.test.ts @@ -1,6 +1,5 @@ -import { beforeEach, describe, expect, it } from 'vitest'; import { sleep } from '@blgc/utils'; - +import { beforeEach, describe, expect, it } from 'vitest'; import { createState } from '../create-state'; import { FAILED_TO_LOAD_FROM_STORAGE_IDENTIFIER, diff --git a/packages/feature-state/src/features/with-undo.test.ts b/packages/feature-state/src/features/with-undo.test.ts index 7803bdd6..9c9cf1b0 100644 --- a/packages/feature-state/src/features/with-undo.test.ts +++ b/packages/feature-state/src/features/with-undo.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { createState } from '../create-state'; import { withUndo } from './with-undo'; diff --git a/packages/feature-state/src/has-features.test.ts b/packages/feature-state/src/has-features.test.ts index c84ab89d..c3aa785a 100644 --- a/packages/feature-state/src/has-features.test.ts +++ b/packages/feature-state/src/has-features.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { createState } from './create-state'; import { withUndo } from './features'; import { hasFeatures } from './has-features'; diff --git a/packages/feature-state/src/types/features.ts b/packages/feature-state/src/types/features.ts index 2c5280ac..769b3fcc 100644 --- a/packages/feature-state/src/types/features.ts +++ b/packages/feature-state/src/types/features.ts @@ -1,6 +1,5 @@ import type { TUnionToIntersection } from '@blgc/types/utils'; import { type TNestedPath } from '@blgc/utils'; - import { type TListenerCallback, type TListenerOptions, type TStateSetOptions } from './state'; export type TFeatures = { diff --git a/packages/feature-state/src/types/state.ts b/packages/feature-state/src/types/state.ts index a17c8cb7..abaf7933 100644 --- a/packages/feature-state/src/types/state.ts +++ b/packages/feature-state/src/types/state.ts @@ -1,5 +1,4 @@ import { type TNestedPath } from '@blgc/utils'; - import type { TFeatureKeys, TSelectFeatures } from './features'; export type TState[]> = { diff --git a/packages/figma-connect/README.md b/packages/figma-connect/README.md index 2d7e5fd5..57ec8a0c 100644 --- a/packages/figma-connect/README.md +++ b/packages/figma-connect/README.md @@ -82,7 +82,6 @@ Initialize and handle events in the `app/ui` (iframe) part. ```ts import { FigmaAppHandler } from 'figma-connect/app'; - import { TFromAppMessageEvents, TFromPluginMessageEvents } from './shared'; // Create App Handler and pass global 'parent' instance as first argument @@ -117,7 +116,6 @@ Initialize and handle events in the `plugin` (sandbox) part. ```ts import { FigmaPluginHandler } from 'figma-connect/plugin'; - import { TFromAppMessageEvents, TFromPluginMessageEvents } from './shared'; // Create Plugin Handler and pass global 'figma' instance as first argument @@ -152,7 +150,6 @@ To use `figma-connect` in a ReactJS application, you can utilize the `useAppCall ```tsx import React, { useState } from 'react'; - import { appHandler } from './app'; import { useAppCallback } from './hooks'; import { TFromAppMessageEvents, TFromPluginMessageEvents } from './shared'; diff --git a/packages/figma-connect/package.json b/packages/figma-connect/package.json index ff2e34a1..710c3c36 100644 --- a/packages/figma-connect/package.json +++ b/packages/figma-connect/package.json @@ -1,19 +1,19 @@ { "name": "figma-connect", - "description": "Straightforward and typesafe wrapper around the communication between the app/ui (iframe) and plugin (sandbox) part of a Figma Plugin", "version": "0.0.17", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "echo \"Error: no test specified\" && exit 1", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Straightforward and typesafe wrapper around the communication between the app/ui (iframe) and plugin (sandbox) part of a Figma Plugin", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" }, + "license": "MIT", + "author": "@bennobuilder", "exports": { "./app": { "source": "./src/app/index.ts", @@ -38,17 +38,21 @@ ] } }, - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" - }, - "keywords": [], - "author": "@bennobuilder", - "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "echo \"Error: no test specified\" && exit 1", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "dependencies": { "@blgc/utils": "workspace:*" }, @@ -57,10 +61,6 @@ "@figma/plugin-typings": "^1.100.2", "@types/node": "^22.9.0" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/app/esm/index.js" diff --git a/packages/figma-connect/src/app/AppCallback.ts b/packages/figma-connect/src/app/AppCallback.ts index 4848984f..c5edea63 100644 --- a/packages/figma-connect/src/app/AppCallback.ts +++ b/packages/figma-connect/src/app/AppCallback.ts @@ -1,5 +1,4 @@ import { shortId } from '@blgc/utils'; - import type { TAppCallbackRegistration, TFromPluginMessageEvent } from '../types'; export class AppCallback< diff --git a/packages/figma-connect/src/plugin/PluginCallback.ts b/packages/figma-connect/src/plugin/PluginCallback.ts index 3c0fe9bc..c5074060 100644 --- a/packages/figma-connect/src/plugin/PluginCallback.ts +++ b/packages/figma-connect/src/plugin/PluginCallback.ts @@ -1,5 +1,4 @@ import { shortId } from '@blgc/utils'; - import type { TFromAppMessageEvent, TPluginCallbackRegistration } from '../types'; export class PluginCallback< diff --git a/packages/figma-connect/src/types.test.ts b/packages/figma-connect/src/types.test.ts index e02b3567..67f61e94 100644 --- a/packages/figma-connect/src/types.test.ts +++ b/packages/figma-connect/src/types.test.ts @@ -1,5 +1,4 @@ import { describe, it } from 'vitest'; - import { FigmaAppHandler, type TAppCallbackRegistration, type TFromAppMessageEvent } from './app'; import { FigmaPluginHandler, diff --git a/packages/google-webfonts-client/package.json b/packages/google-webfonts-client/package.json index 86472771..5688ab3e 100644 --- a/packages/google-webfonts-client/package.json +++ b/packages/google-webfonts-client/package.json @@ -1,35 +1,39 @@ { "name": "google-webfonts-client", - "description": "Typesafe and straightforward fetch client for interacting with the Google Web Fonts API using feature-fetch", "version": "0.0.22", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "openapi:generate": "npx openapi-typescript ./resources/openapi-v1.yaml -o ./src/gen/v1.ts", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Typesafe and straightforward fetch client for interacting with the Google Web Fonts API using feature-fetch", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "openapi:generate": "npx openapi-typescript ./resources/openapi-v1.yaml -o ./src/gen/v1.ts", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "dependencies": { "@blgc/utils": "workspace:*", "feature-fetch": "workspace:*" @@ -40,10 +44,6 @@ "dotenv": "^16.4.5", "openapi-typescript": "^7.4.2" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/google-webfonts-client/src/create-google-webfonts-client.test.ts b/packages/google-webfonts-client/src/create-google-webfonts-client.test.ts index aebb4db5..824640fc 100644 --- a/packages/google-webfonts-client/src/create-google-webfonts-client.test.ts +++ b/packages/google-webfonts-client/src/create-google-webfonts-client.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { createGoogleWebfontsClient } from './create-google-webfonts-client'; describe('createGoogleWebfontsClient function tests', () => { diff --git a/packages/google-webfonts-client/src/create-google-webfonts-client.ts b/packages/google-webfonts-client/src/create-google-webfonts-client.ts index f2aae708..98a5db44 100644 --- a/packages/google-webfonts-client/src/create-google-webfonts-client.ts +++ b/packages/google-webfonts-client/src/create-google-webfonts-client.ts @@ -1,5 +1,4 @@ import { createOpenApiFetchClient, type TFetchClient } from 'feature-fetch'; - import type { paths } from './gen/v1'; import { withGoogleWebfonts } from './with-google-webfonts'; diff --git a/packages/google-webfonts-client/src/index.ts b/packages/google-webfonts-client/src/index.ts index c1377ed0..d0f024aa 100644 --- a/packages/google-webfonts-client/src/index.ts +++ b/packages/google-webfonts-client/src/index.ts @@ -1,6 +1,5 @@ /* eslint-disable @typescript-eslint/method-signature-style -- Ok here */ import type { FetchError, TFetchClient, TResult } from 'feature-fetch'; - import type { components } from './gen/v1'; import { type TFontCapability, diff --git a/packages/google-webfonts-client/src/with-google-webfonts.ts b/packages/google-webfonts-client/src/with-google-webfonts.ts index 106b274a..cf513c81 100644 --- a/packages/google-webfonts-client/src/with-google-webfonts.ts +++ b/packages/google-webfonts-client/src/with-google-webfonts.ts @@ -1,3 +1,4 @@ +import { mapOk } from '@blgc/utils'; import { createApiFetchClient, Err, @@ -9,8 +10,6 @@ import { type TFetchClient, type TSelectFeatures } from 'feature-fetch'; -import { mapOk } from '@blgc/utils'; - import type { paths } from './gen/v1'; import { type TFontStyle } from './types'; diff --git a/packages/openapi-router/README.md b/packages/openapi-router/README.md index ef3739ed..a65d8814 100644 --- a/packages/openapi-router/README.md +++ b/packages/openapi-router/README.md @@ -40,11 +40,10 @@ Create a typesafe and straightforward wrapper around web framework routers, seam ### ExpressJs ```ts +import { createExpressOpenApiRouter } from '@blgc/openapi-router'; import express, { Router } from 'express'; import * as v from 'valibot'; import { vValidator } from 'validation-adapters/valibot'; -import { createExpressOpenApiRouter } from '@blgc/openapi-router'; - import { paths } from './path/to/openapi/types'; const app = express(); @@ -80,11 +79,10 @@ app.use('/*', router); > Hono's TypeScript integration provides type suggestions for `c.json()` based on generically defined response types, but doesn't enforce these types at compile-time. For example, `c.json('')` won't raise a type error even if the expected type is `{someType: string}`. This is due to Hono's internal use of `TypedResponse`, which infers but doesn't strictly enforce the passed generic type. [Hono Discussion](https://github.com/orgs/honojs/discussions/3331) ```ts +import { createHonoOpenApiRouter } from '@blgc/openapi-router'; import { Hono } from 'hono'; import * as v from 'valibot'; import { vValidator } from 'validation-adapters/valibot'; -import { createHonoOpenApiRouter } from '@blgc/openapi-router'; - import { paths } from './path/to/openapi/types'; export const app = new Hono(); diff --git a/packages/openapi-router/package.json b/packages/openapi-router/package.json index c76fbeab..f2f6d55a 100644 --- a/packages/openapi-router/package.json +++ b/packages/openapi-router/package.json @@ -1,34 +1,38 @@ { "name": "@blgc/openapi-router", - "description": "Thin wrapper around the router of web frameworks like Express and Hono, offering OpenAPI typesafety and seamless integration with validation libraries such as Valibot and Zod", "version": "0.0.21", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Thin wrapper around the router of web frameworks like Express and Hono, offering OpenAPI typesafety and seamless integration with validation libraries such as Valibot and Zod", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "dependencies": { "@blgc/types": "workspace:*", "validation-adapter": "workspace:*" @@ -43,10 +47,6 @@ "valibot": "1.0.0-beta.3", "validation-adapters": "workspace:*" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/openapi-router/src/__tests__/playground.test.ts b/packages/openapi-router/src/__tests__/playground.test.ts index 8fee9397..4225c7de 100644 --- a/packages/openapi-router/src/__tests__/playground.test.ts +++ b/packages/openapi-router/src/__tests__/playground.test.ts @@ -2,7 +2,6 @@ import { Router } from 'express'; import * as v from 'valibot'; import { vValidator } from 'validation-adapters/valibot'; import { describe, it } from 'vitest'; - import { createExpressOpenApiRouter } from '../features'; import { TOpenApiRouter } from '../types'; import { paths } from './resources/mock-openapi-types'; diff --git a/packages/openapi-router/src/exceptions/ValidationError.ts b/packages/openapi-router/src/exceptions/ValidationError.ts index 44aed0ff..f9a72a24 100644 --- a/packages/openapi-router/src/exceptions/ValidationError.ts +++ b/packages/openapi-router/src/exceptions/ValidationError.ts @@ -1,5 +1,4 @@ import { type TValidationError } from 'validation-adapter'; - import { AppError } from './AppError'; export class ValidationError extends AppError { diff --git a/packages/openapi-router/src/features/with-express/create-express-openapi-router.ts b/packages/openapi-router/src/features/with-express/create-express-openapi-router.ts index befcb96e..101207ac 100644 --- a/packages/openapi-router/src/features/with-express/create-express-openapi-router.ts +++ b/packages/openapi-router/src/features/with-express/create-express-openapi-router.ts @@ -1,5 +1,4 @@ import type * as express from 'express'; - import { createOpenApiRouter } from '../../create-openapi-router'; import { type TOpenApiRouter } from '../../types'; import { withExpress } from './with-express'; diff --git a/packages/openapi-router/src/features/with-express/with-express.ts b/packages/openapi-router/src/features/with-express/with-express.ts index a0ccf984..dffd21bf 100644 --- a/packages/openapi-router/src/features/with-express/with-express.ts +++ b/packages/openapi-router/src/features/with-express/with-express.ts @@ -1,8 +1,7 @@ +import { type TOperationPathParams, type TOperationQueryParams } from '@blgc/types/openapi'; import type * as express from 'express'; import { type ParamsDictionary } from 'express-serve-static-core'; import { createValidationContext, type TValidationError } from 'validation-adapter'; -import { type TOperationPathParams, type TOperationQueryParams } from '@blgc/types/openapi'; - import { ValidationError } from '../../exceptions'; import { formatPath, parseParams } from '../../helper'; import { diff --git a/packages/openapi-router/src/features/with-hono/create-hono-openapi-router.ts b/packages/openapi-router/src/features/with-hono/create-hono-openapi-router.ts index ff86d51b..088a0261 100644 --- a/packages/openapi-router/src/features/with-hono/create-hono-openapi-router.ts +++ b/packages/openapi-router/src/features/with-hono/create-hono-openapi-router.ts @@ -1,5 +1,4 @@ import { type Hono } from 'hono'; - import { createOpenApiRouter } from '../../create-openapi-router'; import { type TOpenApiRouter } from '../../types'; import { withHono } from './with-hono'; diff --git a/packages/openapi-router/src/features/with-hono/with-hono.ts b/packages/openapi-router/src/features/with-hono/with-hono.ts index d27a27c5..0e029a49 100644 --- a/packages/openapi-router/src/features/with-hono/with-hono.ts +++ b/packages/openapi-router/src/features/with-hono/with-hono.ts @@ -1,8 +1,7 @@ +import { type TOperationPathParams, type TOperationQueryParams } from '@blgc/types/openapi'; import { type Hono } from 'hono'; import type * as hono from 'hono/types'; import { createValidationContext, type TValidationError } from 'validation-adapter'; -import { type TOperationPathParams, type TOperationQueryParams } from '@blgc/types/openapi'; - import { ValidationError } from '../../exceptions'; import { formatPath, parseParams } from '../../helper'; import { diff --git a/packages/openapi-router/src/helper/format-path.test.ts b/packages/openapi-router/src/helper/format-path.test.ts index 6774de4c..e368e654 100644 --- a/packages/openapi-router/src/helper/format-path.test.ts +++ b/packages/openapi-router/src/helper/format-path.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { formatPath } from './format-path'; describe('formatPath function', () => { diff --git a/packages/openapi-router/src/helper/parse-params.test.ts b/packages/openapi-router/src/helper/parse-params.test.ts index ba172981..f21eaff0 100644 --- a/packages/openapi-router/src/helper/parse-params.test.ts +++ b/packages/openapi-router/src/helper/parse-params.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { parseParams } from './parse-params'; describe('parseRequestQuery function', () => { diff --git a/packages/openapi-router/src/types/features/express.ts b/packages/openapi-router/src/types/features/express.ts index 51a86eaa..2a5bb410 100644 --- a/packages/openapi-router/src/types/features/express.ts +++ b/packages/openapi-router/src/types/features/express.ts @@ -1,6 +1,3 @@ -import type express from 'express'; -import type * as core from 'express-serve-static-core'; -import { type TValidator } from 'validation-adapter'; import { type TOperationPathParams, type TOperationQueryParams, @@ -9,7 +6,9 @@ import { type TRequestBody } from '@blgc/types/openapi'; import { type TFilterKeys } from '@blgc/types/utils'; - +import type express from 'express'; +import type * as core from 'express-serve-static-core'; +import { type TValidator } from 'validation-adapter'; import { type TParseParams } from '../utils'; export interface TOpenApiExpressFeature { diff --git a/packages/openapi-router/src/types/features/hono.ts b/packages/openapi-router/src/types/features/hono.ts index 033bffd0..e566e113 100644 --- a/packages/openapi-router/src/types/features/hono.ts +++ b/packages/openapi-router/src/types/features/hono.ts @@ -1,6 +1,3 @@ -import type { Hono } from 'hono'; -import type hono from 'hono/types'; -import { type TValidator } from 'validation-adapter'; import { type TOperationPathParams, type TOperationQueryParams, @@ -9,7 +6,9 @@ import { type TRequestBody } from '@blgc/types/openapi'; import { type TFilterKeys } from '@blgc/types/utils'; - +import type { Hono } from 'hono'; +import type hono from 'hono/types'; +import { type TValidator } from 'validation-adapter'; import { type TParseParams } from '../utils'; export interface TOpenApiHonoFeature { diff --git a/packages/openapi-router/src/types/features/index.ts b/packages/openapi-router/src/types/features/index.ts index fb9040b3..6a14043c 100644 --- a/packages/openapi-router/src/types/features/index.ts +++ b/packages/openapi-router/src/types/features/index.ts @@ -1,5 +1,4 @@ import { type TUnionToIntersection } from '@blgc/types/utils'; - import { type TOpenApiExpressFeature } from './express'; import { type TOpenApiHonoFeature } from './hono'; diff --git a/packages/style-guide/README.md b/packages/style-guide/README.md index c96556b6..d0d5c3f9 100644 --- a/packages/style-guide/README.md +++ b/packages/style-guide/README.md @@ -36,7 +36,7 @@ To use the shared Prettier config, set the following in `package.json`: ```json { - "prettier": "@blgc/style-guide/prettier" + "prettier": "@blgc/style-guide/prettier" } ``` @@ -66,9 +66,8 @@ To use the shared Typescript config, set the following in `tsconfig.json`: > > See: https://eslint.org/docs/user-guide/getting-started#installation-and-usage - To use the shared ESLint config, set the following in `eslint.config.js`: - + ```js const styleGuide = require('@blgc/style-guide/eslint/library'); @@ -76,7 +75,7 @@ const styleGuide = require('@blgc/style-guide/eslint/library'); * @type {import('eslint').Linter.Config} */ module.exports = [ - ...styleGuide, + ...styleGuide, { // Any additional custom rules } diff --git a/packages/style-guide/eslint/library.js b/packages/style-guide/eslint/library.js index d1764515..f4f9185a 100644 --- a/packages/style-guide/eslint/library.js +++ b/packages/style-guide/eslint/library.js @@ -1,5 +1,3 @@ -const { baseConfig } = require('./base.js'); - /** * ESLint configuration for TypeScript libraries. * @@ -7,7 +5,7 @@ const { baseConfig } = require('./base.js'); * @type {import("eslint").Linter.Config} */ module.exports = [ - ...baseConfig, + ...require('./base.js'), { rules: {} } diff --git a/packages/style-guide/eslint/next.js b/packages/style-guide/eslint/next.js index e235f4c9..add4e461 100644 --- a/packages/style-guide/eslint/next.js +++ b/packages/style-guide/eslint/next.js @@ -2,7 +2,6 @@ const pluginNext = require('@next/eslint-plugin-next'); const pluginReact = require('eslint-plugin-react'); const pluginReactHooks = require('eslint-plugin-react-hooks'); const globals = require('globals'); -const { baseConfig } = require('./base.js'); /** * ESLint configuration for applications that use Next.js. @@ -11,7 +10,7 @@ const { baseConfig } = require('./base.js'); * @type {import("eslint").Linter.Config} */ module.exports = [ - ...baseConfig, + ...require('./base.js'), { ...pluginReact.configs.flat.recommended, languageOptions: { diff --git a/packages/style-guide/eslint/react-internal.js b/packages/style-guide/eslint/react-internal.js index 2fea7bb4..6e3022a5 100644 --- a/packages/style-guide/eslint/react-internal.js +++ b/packages/style-guide/eslint/react-internal.js @@ -1,7 +1,6 @@ const pluginReact = require('eslint-plugin-react'); const pluginReactHooks = require('eslint-plugin-react-hooks'); const globals = require('globals'); -const baseConfig = require('./base.js'); /** * ESLint configuration for applications and libraries that use ReactJs. @@ -10,7 +9,7 @@ const baseConfig = require('./base.js'); * @type {import("eslint").Linter.Config} */ module.exports = [ - ...baseConfig, + ...require('./base.js'), pluginReact.configs.flat.recommended, { languageOptions: { diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 31c1e4de..028b9165 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -1,34 +1,35 @@ { "name": "@blgc/style-guide", - "description": "Builder.Group's engineering style guide", "version": "0.0.1", "private": false, - "scripts": { - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm version patch && pnpm publish --no-git-checks --access=public" + "description": "Builder.Group's engineering style guide", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" }, + "license": "MIT", + "author": "@bennobuilder", "exports": { "./eslint/*": "./eslint/*.js", "./vite/*": "./vite/*.js", "./prettier": "./prettier/index.js", "./typescript/base": "./typescript/tsconfig.base.json", + "./typescript/library": "./typescript/tsconfig.library.json", "./typescript/next": "./typescript/tsconfig.next.json", "./typescript/node20": "./typescript/tsconfig.node20.json", "./typescript/react-internal": "./typescript/tsconfig.react-internal.json" }, - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" - }, - "keywords": [], - "author": "@bennobuilder", - "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "scripts": { + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "publish:patch": "pnpm version patch && pnpm publish --no-git-checks --access=public", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "dependencies": { "@ianvs/prettier-plugin-sort-imports": "^4.3.1", "@next/eslint-plugin-next": "^14.2.6", @@ -44,10 +45,10 @@ "typescript-eslint": "^8.16.0", "vite-tsconfig-paths": "^5.1.0" }, - "peerDependencies": { + "devDependencies": { "eslint": "^9.15.0" }, - "devDependencies": { + "peerDependencies": { "eslint": "^9.15.0" } } diff --git a/packages/style-guide/typescript/tsconfig.library.json b/packages/style-guide/typescript/tsconfig.library.json index 639d381d..82c2082e 100644 --- a/packages/style-guide/typescript/tsconfig.library.json +++ b/packages/style-guide/typescript/tsconfig.library.json @@ -12,11 +12,11 @@ "moduleResolution": "node", // Javascript Support - "allowJs": true, + "allowJs": true // Emit // "outDir": "./dist", // "rootDir": "./src", }, "include": ["src"] -} \ No newline at end of file +} diff --git a/packages/style-guide/typescript/tsconfig.next.json b/packages/style-guide/typescript/tsconfig.next.json index 6e73b7a0..af8f4a60 100644 --- a/packages/style-guide/typescript/tsconfig.next.json +++ b/packages/style-guide/typescript/tsconfig.next.json @@ -25,8 +25,8 @@ { "name": "next" } - ], + ] }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] -} \ No newline at end of file +} diff --git a/packages/style-guide/typescript/tsconfig.node20.json b/packages/style-guide/typescript/tsconfig.node20.json index 836ae47c..33284e99 100644 --- a/packages/style-guide/typescript/tsconfig.node20.json +++ b/packages/style-guide/typescript/tsconfig.node20.json @@ -13,7 +13,7 @@ "moduleResolution": "node16", // Javascript Support - "allowJs": true, + "allowJs": true // Emit // "outDir": "./dist", diff --git a/packages/style-guide/typescript/tsconfig.react-internal.json b/packages/style-guide/typescript/tsconfig.react-internal.json index 498994c7..508389cb 100644 --- a/packages/style-guide/typescript/tsconfig.react-internal.json +++ b/packages/style-guide/typescript/tsconfig.react-internal.json @@ -14,7 +14,7 @@ "moduleResolution": "bundler", // Javascript Support - "allowJs": true, + "allowJs": true // Emit // "outDir": "./dist", diff --git a/packages/types/package.json b/packages/types/package.json index 1c3ef701..dea4a7cf 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,16 +1,19 @@ { "name": "@blgc/types", - "description": "A collection of utility types", "version": "0.0.7", "private": false, - "scripts": { - "build": "shx rm -rf dist && ../../scripts/cli.sh bundle -b typesonly", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public" + "description": "A collection of utility types", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" }, + "license": "MIT", + "author": "@bennobuilder", "exports": { "./api": { "source": "./src/api/index.ts", @@ -38,22 +41,19 @@ ] } }, - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" - }, - "keywords": [], - "author": "@bennobuilder", - "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" - }, - "homepage": "https://builder.group/?source=package-json", - "devDependencies": { - "@blgc/config": "workspace:*" - }, "files": [ "dist", "README.md" - ] + ], + "scripts": { + "build": "shx rm -rf dist && ../../scripts/cli.sh bundle -b typesonly", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "update:latest": "pnpm update --latest" + }, + "devDependencies": { + "@blgc/config": "workspace:*" + } } diff --git a/packages/utils/package.json b/packages/utils/package.json index c3d146b5..cfcabc4b 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,42 +1,42 @@ { "name": "@blgc/utils", - "description": "Straightforward, typesafe, and tree-shakable collection of utility functions", "version": "0.0.25", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Straightforward, typesafe, and tree-shakable collection of utility functions", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "devDependencies": { "@blgc/config": "workspace:*", "@types/node": "^22.9.0" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/utils/src/BitwiseFlag.test.ts b/packages/utils/src/BitwiseFlag.test.ts index e773c18c..62ec1e42 100644 --- a/packages/utils/src/BitwiseFlag.test.ts +++ b/packages/utils/src/BitwiseFlag.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { BitwiseFlag } from './BitwiseFlag'; export enum TestFlag { diff --git a/packages/utils/src/ContinuousId.test.ts b/packages/utils/src/ContinuousId.test.ts index fd4a3acb..d6840b83 100644 --- a/packages/utils/src/ContinuousId.test.ts +++ b/packages/utils/src/ContinuousId.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { ContinuousId } from './ContinuousId'; describe('ContinuousId class tests', () => { diff --git a/packages/utils/src/apply-mat3-to-point.test.ts b/packages/utils/src/apply-mat3-to-point.test.ts index db67bee9..0b8cfb3c 100644 --- a/packages/utils/src/apply-mat3-to-point.test.ts +++ b/packages/utils/src/apply-mat3-to-point.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { applyMat3ToPoint } from './apply-mat3-to-point'; import type { TMat3, TVec2 } from './types'; diff --git a/packages/utils/src/calculate-bytes.test.ts b/packages/utils/src/calculate-bytes.test.ts index 1698a282..18443e67 100644 --- a/packages/utils/src/calculate-bytes.test.ts +++ b/packages/utils/src/calculate-bytes.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { calculateBytes } from './calculate-bytes'; describe('calculateBytes function', () => { diff --git a/packages/utils/src/deep-copy.test.ts b/packages/utils/src/deep-copy.test.ts index bd1b3c86..a2b2b613 100644 --- a/packages/utils/src/deep-copy.test.ts +++ b/packages/utils/src/deep-copy.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { deepCopy } from './deep-copy'; describe('deepCopy function', () => { diff --git a/packages/utils/src/deep-replace-var.test.ts b/packages/utils/src/deep-replace-var.test.ts index 6ab151a8..bcda6ecd 100644 --- a/packages/utils/src/deep-replace-var.test.ts +++ b/packages/utils/src/deep-replace-var.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { deepReplaceVar } from './deep-replace-var'; describe('deepReplaceVar function', () => { diff --git a/packages/utils/src/define-config.test.ts b/packages/utils/src/define-config.test.ts index 865b128f..dd5bc9f7 100644 --- a/packages/utils/src/define-config.test.ts +++ b/packages/utils/src/define-config.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { defineConfig } from './define-config'; describe('defineConfig function', () => { diff --git a/packages/utils/src/deg-to-rad.test.ts b/packages/utils/src/deg-to-rad.test.ts index fd3c89c1..f45e2b06 100644 --- a/packages/utils/src/deg-to-rad.test.ts +++ b/packages/utils/src/deg-to-rad.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { degToRad } from './deg-to-rad'; describe('degToRad function', () => { diff --git a/packages/utils/src/extract-error-data.test.ts b/packages/utils/src/extract-error-data.test.ts index e281bde5..61d1b6c2 100644 --- a/packages/utils/src/extract-error-data.test.ts +++ b/packages/utils/src/extract-error-data.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { extractErrorData } from './extract-error-data'; describe('extractErrorData function', () => { diff --git a/packages/utils/src/from-hex.test.ts b/packages/utils/src/from-hex.test.ts index 7efd9fc3..9e33963b 100644 --- a/packages/utils/src/from-hex.test.ts +++ b/packages/utils/src/from-hex.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { fromHex } from './from-hex'; describe('fromHex function', () => { diff --git a/packages/utils/src/get-nested-property.test.ts b/packages/utils/src/get-nested-property.test.ts index 94159ccc..635de406 100644 --- a/packages/utils/src/get-nested-property.test.ts +++ b/packages/utils/src/get-nested-property.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { getNestedProperty } from './get-nested-property'; describe('getNestedProperty function', () => { diff --git a/packages/utils/src/has-property.test.ts b/packages/utils/src/has-property.test.ts index 64c273c6..17adddaf 100644 --- a/packages/utils/src/has-property.test.ts +++ b/packages/utils/src/has-property.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { hasProperty } from './has-property'; describe('hasProperty function', () => { diff --git a/packages/utils/src/hex-to-rgb.test.ts b/packages/utils/src/hex-to-rgb.test.ts index 6e0c3c7d..07a05a9a 100644 --- a/packages/utils/src/hex-to-rgb.test.ts +++ b/packages/utils/src/hex-to-rgb.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { hexToRgb } from './hex-to-rgb'; describe('hexToRgb function', () => { diff --git a/packages/utils/src/inverse-mat3.test.ts b/packages/utils/src/inverse-mat3.test.ts index 18bc4a30..cd81689e 100644 --- a/packages/utils/src/inverse-mat3.test.ts +++ b/packages/utils/src/inverse-mat3.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { inverseMat3 } from './inverse-mat3'; import type { TMat3 } from './types'; diff --git a/packages/utils/src/is-hex-color.test.ts b/packages/utils/src/is-hex-color.test.ts index fe6d6d34..2fafdb3f 100644 --- a/packages/utils/src/is-hex-color.test.ts +++ b/packages/utils/src/is-hex-color.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { isHexColor } from './is-hex-color'; describe('isHexColor function', () => { diff --git a/packages/utils/src/is-object.test.ts b/packages/utils/src/is-object.test.ts index ada0c82c..5cb74756 100644 --- a/packages/utils/src/is-object.test.ts +++ b/packages/utils/src/is-object.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { isObject } from './is-object'; describe('isObject function', () => { diff --git a/packages/utils/src/is-rgb-color.test.ts b/packages/utils/src/is-rgb-color.test.ts index 2fdff5a7..977388c0 100644 --- a/packages/utils/src/is-rgb-color.test.ts +++ b/packages/utils/src/is-rgb-color.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { isRgbColor } from './is-rgb-color'; describe('isRgbColor function', () => { diff --git a/packages/utils/src/json-function.test.ts b/packages/utils/src/json-function.test.ts index c106ba1e..bec54db4 100644 --- a/packages/utils/src/json-function.test.ts +++ b/packages/utils/src/json-function.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { toFunction } from './json-function'; describe('json-function function', () => { diff --git a/packages/utils/src/not-empty.test.ts b/packages/utils/src/not-empty.test.ts index 30b40ca5..1f22030a 100644 --- a/packages/utils/src/not-empty.test.ts +++ b/packages/utils/src/not-empty.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { notEmpty } from './not-empty'; describe('notEmpty function', () => { diff --git a/packages/utils/src/pick-properties.test.ts b/packages/utils/src/pick-properties.test.ts index aa05fbe6..30ed4584 100644 --- a/packages/utils/src/pick-properties.test.ts +++ b/packages/utils/src/pick-properties.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { pickProperties } from './pick-properties'; describe('pickProperties function', () => { diff --git a/packages/utils/src/rad-to-deg.test.ts b/packages/utils/src/rad-to-deg.test.ts index 567c026a..9cb23a7b 100644 --- a/packages/utils/src/rad-to-deg.test.ts +++ b/packages/utils/src/rad-to-deg.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { radToDeg } from './rad-to-deg'; describe('radToDeg function', () => { diff --git a/packages/utils/src/result.test.ts b/packages/utils/src/result.test.ts index 78f815b7..d96e1bd9 100644 --- a/packages/utils/src/result.test.ts +++ b/packages/utils/src/result.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { Err, mapErr, mapOk, Ok, unwrapErr, unwrapOk, type TResult } from './result'; describe('Result implementation', () => { diff --git a/packages/utils/src/rgb-to-hex.test.ts b/packages/utils/src/rgb-to-hex.test.ts index 0d5f4723..bdccf6ee 100644 --- a/packages/utils/src/rgb-to-hex.test.ts +++ b/packages/utils/src/rgb-to-hex.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { rgbToHex } from './rgb-to-hex'; describe('rgbToHex function', () => { diff --git a/packages/utils/src/shallow-merge.test.ts b/packages/utils/src/shallow-merge.test.ts index fb1464a6..ab755bff 100644 --- a/packages/utils/src/shallow-merge.test.ts +++ b/packages/utils/src/shallow-merge.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { shallowMerge } from './shallow-merge'; describe('shallowMerge function', () => { diff --git a/packages/utils/src/short-id.test.ts b/packages/utils/src/short-id.test.ts index c23c1f3a..6cac2fbd 100644 --- a/packages/utils/src/short-id.test.ts +++ b/packages/utils/src/short-id.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { shortId } from './short-id'; describe('shortId function', () => { diff --git a/packages/utils/src/sleep.test.ts b/packages/utils/src/sleep.test.ts index cf866fd5..3ac2cf88 100644 --- a/packages/utils/src/sleep.test.ts +++ b/packages/utils/src/sleep.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { sleep } from './sleep'; describe('sleep function', () => { diff --git a/packages/utils/src/to-array.test.ts b/packages/utils/src/to-array.test.ts index e8e4c57c..88df771b 100644 --- a/packages/utils/src/to-array.test.ts +++ b/packages/utils/src/to-array.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { toArray } from './to-array'; describe('toArray function', () => { diff --git a/packages/utils/src/to-hex.test.ts b/packages/utils/src/to-hex.test.ts index cb11b6eb..b543eb99 100644 --- a/packages/utils/src/to-hex.test.ts +++ b/packages/utils/src/to-hex.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { toHex } from './to-hex'; describe('toHex function', () => { diff --git a/packages/validation-adapter/package.json b/packages/validation-adapter/package.json index 2bf07826..4fd55b71 100644 --- a/packages/validation-adapter/package.json +++ b/packages/validation-adapter/package.json @@ -1,34 +1,38 @@ { "name": "validation-adapter", - "description": "Universal validation adapter that integrates various validation libraries like Zod, Valibot, and Yup", "version": "0.0.13", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Universal validation adapter that integrates various validation libraries like Zod, Valibot, and Yup", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "dependencies": { "@blgc/utils": "workspace:*" }, @@ -36,10 +40,6 @@ "@blgc/config": "workspace:*", "@types/node": "^22.9.0" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/validation-adapter/src/create-validator.ts b/packages/validation-adapter/src/create-validator.ts index 8dd80acc..2fd59129 100644 --- a/packages/validation-adapter/src/create-validator.ts +++ b/packages/validation-adapter/src/create-validator.ts @@ -1,5 +1,4 @@ import { deepCopy } from '@blgc/utils'; - import { type TValidationChain, type TValidator } from './types'; export function createValidator( diff --git a/packages/validation-adapters/package.json b/packages/validation-adapters/package.json index d23212fc..83a3c88b 100644 --- a/packages/validation-adapters/package.json +++ b/packages/validation-adapters/package.json @@ -1,19 +1,19 @@ { "name": "validation-adapters", - "description": "Pre-made validation adapters for the validation-adapter library, including adapters for Zod and Valibot", "version": "0.0.12", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Pre-made validation adapters for the validation-adapter library, including adapters for Zod and Valibot", + "keywords": [], + "homepage": "https://builder.group/?source=github", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/builder-group/monorepo.git" }, + "license": "MIT", + "author": "@bennobuilder", "exports": { "./valibot": { "source": "./src/valibot/index.ts", @@ -49,17 +49,21 @@ ] } }, - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" - }, - "keywords": [], - "author": "@bennobuilder", - "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "files": [ + "dist", + "README.md" + ], + "scripts": { + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint --ext .js,.ts src/", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=github", "devDependencies": { "@blgc/config": "workspace:*", "@types/node": "^22.9.0", @@ -68,10 +72,6 @@ "yup": "^1.4.0", "zod": "^3.23.8" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/valibot/esm/index.js" diff --git a/packages/xml-tokenizer/.eslintrc.js b/packages/xml-tokenizer/.eslintrc.js deleted file mode 100644 index b208bfbd..00000000 --- a/packages/xml-tokenizer/.eslintrc.js +++ /dev/null @@ -1,15 +0,0 @@ -const OFF = 0; -const WARNING = 1; -const ERROR = 2; - -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')], - rules: { - 'no-bitwise': OFF, - '@typescript-eslint/prefer-literal-enum-member': OFF - } -}; diff --git a/packages/xml-tokenizer/eslint.config.js b/packages/xml-tokenizer/eslint.config.js new file mode 100644 index 00000000..ee6d0831 --- /dev/null +++ b/packages/xml-tokenizer/eslint.config.js @@ -0,0 +1,17 @@ +const OFF = 0; +const WARNING = 1; +const ERROR = 2; + +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [ + ...require('@blgc/style-guide/eslint/library'), + { + rules: { + 'no-bitwise': OFF, + '@typescript-eslint/prefer-literal-enum-member': OFF + } + } +]; diff --git a/packages/xml-tokenizer/package.json b/packages/xml-tokenizer/package.json index def658e9..3a1416a9 100644 --- a/packages/xml-tokenizer/package.json +++ b/packages/xml-tokenizer/package.json @@ -1,38 +1,43 @@ { "name": "xml-tokenizer", "version": "0.0.16", - "description": "Straightforward and typesafe XML tokenizer that streams tokens through a callback mechanism", "private": false, - "scripts": { - "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", - "build:dev": "shx rm -rf dist && ../../scripts/cli.sh bundle --target=dev", - "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "test": "vitest run", - "bench": "vitest bench", - "update:latest": "pnpm update --latest", - "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", - "size": "size-limit --why" + "description": "Straightforward and typesafe XML tokenizer that streams tokens through a callback mechanism", + "keywords": [], + "homepage": "https://builder.group/?source=package-json", + "bugs": { + "url": "https://github.com/builder-group/monorepo/issues" }, - "source": "./src/index.ts", - "main": "./dist/cjs/index.js", - "module": "./dist/esm/index.js", - "types": "./dist/types/index.d.ts", "repository": { "type": "git", "url": "https://github.com/builder-group/monorepo.git" }, - "keywords": [], - "author": "@bennobuilder", "license": "MIT", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" + "author": "@bennobuilder", + "main": "./dist/cjs/index.js", + "module": "./dist/esm/index.js", + "source": "./src/index.ts", + "types": "./dist/types/index.d.ts", + "files": [ + "dist", + "README.md" + ], + "scripts": { + "bench": "vitest bench", + "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", + "build:dev": "shx rm -rf dist && ../../scripts/cli.sh bundle --target=dev", + "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", + "install:clean": "pnpm run clean && pnpm install", + "lint": "eslint src/**", + "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", + "size": "size-limit --why", + "start:dev": "tsc -w", + "test": "vitest run", + "update:latest": "pnpm update --latest" }, - "homepage": "https://builder.group/?source=package-json", "devDependencies": { "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0", "@types/sax": "^1.2.7", "@types/xml2js": "^0.4.14", @@ -43,10 +48,6 @@ "txml": "^5.1.1", "xml2js": "^0.6.2" }, - "files": [ - "dist", - "README.md" - ], "size-limit": [ { "path": "dist/esm/index.js" diff --git a/packages/xml-tokenizer/src/__tests__/count-nodes.bench.ts b/packages/xml-tokenizer/src/__tests__/count-nodes.bench.ts index 8885bdb7..92873f4f 100644 --- a/packages/xml-tokenizer/src/__tests__/count-nodes.bench.ts +++ b/packages/xml-tokenizer/src/__tests__/count-nodes.bench.ts @@ -4,7 +4,6 @@ import * as sax from 'sax'; // @ts-expect-error -- Javascript module import * as saxen from 'saxen'; import { beforeAll, bench, expect } from 'vitest'; - // import * as xt from 'xml-tokenizer'; import { tokenize } from '../index'; diff --git a/packages/xml-tokenizer/src/__tests__/playground.test.ts b/packages/xml-tokenizer/src/__tests__/playground.test.ts index f1678934..fde7514f 100644 --- a/packages/xml-tokenizer/src/__tests__/playground.test.ts +++ b/packages/xml-tokenizer/src/__tests__/playground.test.ts @@ -2,7 +2,6 @@ import { readFile } from 'node:fs/promises'; import { describe } from 'node:test'; import * as camaro from 'camaro'; import { beforeAll, expect, it } from 'vitest'; - import { select } from '../selector'; import { tokenToXml } from '../token-to-xml'; diff --git a/packages/xml-tokenizer/src/__tests__/select-node.bench.ts b/packages/xml-tokenizer/src/__tests__/select-node.bench.ts index 42ac107b..eaf6ec3b 100644 --- a/packages/xml-tokenizer/src/__tests__/select-node.bench.ts +++ b/packages/xml-tokenizer/src/__tests__/select-node.bench.ts @@ -2,7 +2,6 @@ import { readFile } from 'node:fs/promises'; import { describe } from 'node:test'; import * as camaro from 'camaro'; import { beforeAll, bench, expect } from 'vitest'; - // import * as xt from 'xml-tokenizer'; import { select, tokenToXml } from '../index'; diff --git a/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts b/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts index 2bb2458b..bb2f0d77 100644 --- a/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts +++ b/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts @@ -6,7 +6,6 @@ import * as txml from 'txml'; import { beforeAll, bench, expect } from 'vitest'; // import * as xt from 'xml-tokenizer'; import * as xml2js from 'xml2js'; - // @ts-ignore -- Javascript module import * as xtDist from '../../dist/esm'; import { xmlToObject } from '../index'; diff --git a/packages/xml-tokenizer/src/selector/select.test.ts b/packages/xml-tokenizer/src/selector/select.test.ts index 72006e61..acf4ae28 100644 --- a/packages/xml-tokenizer/src/selector/select.test.ts +++ b/packages/xml-tokenizer/src/selector/select.test.ts @@ -1,7 +1,6 @@ import { readFile } from 'node:fs/promises'; import path from 'node:path'; import { beforeAll, describe, expect, it } from 'vitest'; - import { type TXmlToken } from '../tokenizer'; import { tokensToXml } from '../tokens-to-xml'; import { select } from './select'; diff --git a/packages/xml-tokenizer/src/tokenizer/tokenize.test.ts b/packages/xml-tokenizer/src/tokenizer/tokenize.test.ts index 913bee9c..998030e1 100644 --- a/packages/xml-tokenizer/src/tokenizer/tokenize.test.ts +++ b/packages/xml-tokenizer/src/tokenizer/tokenize.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { tokenize } from './tokenize'; import { type TXmlToken } from './types'; import { XmlError } from './XmlError'; diff --git a/packages/xml-tokenizer/src/tokens-to-xml.test.ts b/packages/xml-tokenizer/src/tokens-to-xml.test.ts index e05577ec..2117ffc5 100644 --- a/packages/xml-tokenizer/src/tokens-to-xml.test.ts +++ b/packages/xml-tokenizer/src/tokens-to-xml.test.ts @@ -1,7 +1,6 @@ import { readFile } from 'node:fs/promises'; import path from 'node:path'; import { beforeAll, describe, expect, it } from 'vitest'; - import { tokenize, type TXmlToken } from './tokenizer'; import { tokensToXml } from './tokens-to-xml'; diff --git a/packages/xml-tokenizer/src/xml-to-object.test.ts b/packages/xml-tokenizer/src/xml-to-object.test.ts index 248290db..ed667306 100644 --- a/packages/xml-tokenizer/src/xml-to-object.test.ts +++ b/packages/xml-tokenizer/src/xml-to-object.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { xmlToObject } from './xml-to-object'; describe('xmlToObject function', () => { diff --git a/packages/xml-tokenizer/src/xml-to-simplified-object.test.ts b/packages/xml-tokenizer/src/xml-to-simplified-object.test.ts index 0f544ad5..df91bbcc 100644 --- a/packages/xml-tokenizer/src/xml-to-simplified-object.test.ts +++ b/packages/xml-tokenizer/src/xml-to-simplified-object.test.ts @@ -1,5 +1,4 @@ import { describe, expect, it } from 'vitest'; - import { xmlToSimplifiedObject } from './xml-to-simplified-object'; describe('xmlToObject function', () => { diff --git a/packages/xml-tokenizer/tsconfig.json b/packages/xml-tokenizer/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/xml-tokenizer/tsconfig.json +++ b/packages/xml-tokenizer/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index de17d19c..c3dd108c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,11 +21,11 @@ importers: specifier: ^0.5.0 version: 0.5.0 '@changesets/cli': - specifier: ^2.27.9 - version: 2.27.9 + specifier: ^2.27.10 + version: 2.27.10 '@ianvs/prettier-plugin-sort-imports': - specifier: ^4.3.1 - version: 4.3.1(prettier@3.3.3) + specifier: ^4.4.0 + version: 4.4.0(prettier@3.4.1) '@size-limit/esbuild': specifier: ^11.1.6 version: 11.1.6(size-limit@11.1.6) @@ -36,14 +36,14 @@ importers: specifier: ^11.1.6 version: 11.1.6(size-limit@11.1.6) eslint: - specifier: ^8.57.0 - version: 8.57.0 + specifier: ^9.15.0 + version: 9.15.0(jiti@2.4.0) prettier: - specifier: ^3.3.3 - version: 3.3.3 + specifier: ^3.4.1 + version: 3.4.1 prettier-plugin-tailwindcss: - specifier: ^0.6.8 - version: 0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.3.3))(prettier@3.3.3) + specifier: ^0.6.9 + version: 0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1))(prettier@3.4.1) shx: specifier: ^0.3.4 version: 0.3.4 @@ -51,14 +51,14 @@ importers: specifier: ^11.1.6 version: 11.1.6 turbo: - specifier: ^2.2.3 - version: 2.2.3 + specifier: ^2.3.3 + version: 2.3.3 typescript: - specifier: ^5.6.3 - version: 5.6.3 + specifier: ^5.7.2 + version: 5.7.2 vitest: - specifier: ^2.1.4 - version: 2.1.4(@types/node@22.9.0)(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3)) + specifier: ^2.1.6 + version: 2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2) examples/feature-fetch/vanilla/open-meteo: dependencies: @@ -74,7 +74,7 @@ importers: version: 5.5.4 vite: specifier: ^5.3.4 - version: 5.3.5(@types/node@22.9.0) + version: 5.3.5(@types/node@22.10.0) examples/feature-form/react/basic: dependencies: @@ -117,7 +117,7 @@ importers: version: 8.3.0(eslint@8.57.0)(typescript@5.5.4) '@vitejs/plugin-react': specifier: ^4.3.1 - version: 4.3.1(vite@5.4.2(@types/node@22.9.0)) + version: 4.3.1(vite@5.4.2(@types/node@22.10.0)) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -132,7 +132,7 @@ importers: version: 5.5.4 vite: specifier: ^5.4.2 - version: 5.4.2(@types/node@22.9.0) + version: 5.4.2(@types/node@22.10.0) examples/feature-state/react/counter: dependencies: @@ -163,7 +163,7 @@ importers: version: 7.18.0(eslint@8.57.0)(typescript@5.5.4) '@vitejs/plugin-react': specifier: ^4.2.1 - version: 4.3.1(vite@5.3.5(@types/node@22.9.0)) + version: 4.3.1(vite@5.3.5(@types/node@22.10.0)) eslint: specifier: ^8.57.0 version: 8.57.0 @@ -178,7 +178,7 @@ importers: version: 5.5.4 vite: specifier: ^5.2.0 - version: 5.3.5(@types/node@22.9.0) + version: 5.3.5(@types/node@22.10.0) examples/openapi-router/express/petstore: dependencies: @@ -190,7 +190,7 @@ importers: version: 4.21.1 valibot: specifier: ^0.42.1 - version: 0.42.1(typescript@5.6.3) + version: 0.42.1(typescript@5.7.2) validation-adapters: specifier: workspace:* version: link:../../../../packages/validation-adapters @@ -209,10 +209,10 @@ importers: version: 3.1.7 openapi-typescript: specifier: ^7.4.2 - version: 7.4.2(typescript@5.6.3) + version: 7.4.2(typescript@5.7.2) ts-node: specifier: ^10.9.2 - version: 10.9.2(@types/node@22.8.5)(typescript@5.6.3) + version: 10.9.2(@types/node@22.8.5)(typescript@5.7.2) examples/openapi-router/hono/petstore: dependencies: @@ -271,7 +271,7 @@ importers: version: 5.5.4 vite: specifier: ^5.3.4 - version: 5.4.0(@types/node@22.9.0) + version: 5.4.0(@types/node@22.10.0) packages/cli: dependencies: @@ -328,7 +328,7 @@ importers: version: 5.1.3(rollup@4.24.4) rollup-plugin-postcss: specifier: ^4.0.2 - version: 4.0.2(postcss@8.4.47)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3)) + version: 4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)) devDependencies: '@types/figlet': specifier: ^1.7.0 @@ -347,13 +347,13 @@ importers: dependencies: '@vercel/style-guide': specifier: ^6.0.0 - version: 6.0.0(@next/eslint-plugin-next@14.2.16)(eslint@8.57.0)(prettier@3.3.3)(typescript@5.6.3)(vitest@2.1.4(@types/node@22.9.0)(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3))) + version: 6.0.0(@next/eslint-plugin-next@14.2.16)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)) eslint-config-turbo: specifier: ^2.2.3 version: 2.2.3(eslint@8.57.0) vite-tsconfig-paths: specifier: ^5.1.0 - version: 5.1.0(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)) + version: 5.1.0(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) devDependencies: '@next/eslint-plugin-next': specifier: ^14.2.6 @@ -382,7 +382,7 @@ importers: version: 16.4.5 openapi-typescript: specifier: ^7.4.2 - version: 7.4.2(typescript@5.6.3) + version: 7.4.2(typescript@5.7.2) packages/eprel-client: dependencies: @@ -404,7 +404,7 @@ importers: version: 16.4.5 openapi-typescript: specifier: ^7.4.2 - version: 7.4.2(typescript@5.6.3) + version: 7.4.2(typescript@5.7.2) packages/feature-fetch: dependencies: @@ -429,7 +429,7 @@ importers: version: 1.4.11 msw: specifier: ^2.6.0 - version: 2.6.0(@types/node@22.9.0)(typescript@5.6.3) + version: 2.6.0(@types/node@22.9.0)(typescript@5.7.2) packages/feature-form: dependencies: @@ -545,7 +545,7 @@ importers: version: 16.4.5 openapi-typescript: specifier: ^7.4.2 - version: 7.4.2(typescript@5.6.3) + version: 7.4.2(typescript@5.7.2) packages/openapi-router: dependencies: @@ -576,7 +576,7 @@ importers: version: 4.6.9 valibot: specifier: 1.0.0-beta.3 - version: 1.0.0-beta.3(typescript@5.6.3) + version: 1.0.0-beta.3(typescript@5.7.2) validation-adapters: specifier: workspace:* version: link:../validation-adapters @@ -585,16 +585,16 @@ importers: dependencies: '@ianvs/prettier-plugin-sort-imports': specifier: ^4.3.1 - version: 4.3.1(prettier@3.3.3) + version: 4.3.1(prettier@3.4.1) '@next/eslint-plugin-next': specifier: ^14.2.6 version: 14.2.16 '@typescript-eslint/eslint-plugin': specifier: ^8.16.0 - version: 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3))(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + version: 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) '@typescript-eslint/parser': specifier: ^8.16.0 - version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) eslint-config-prettier: specifier: ^9.1.0 version: 9.1.0(eslint@9.15.0(jiti@2.4.0)) @@ -612,16 +612,16 @@ importers: version: 2.3.3(eslint@9.15.0(jiti@2.4.0)) prettier-plugin-packagejson: specifier: ^2.5.6 - version: 2.5.6(prettier@3.3.3) + version: 2.5.6(prettier@3.4.1) prettier-plugin-tailwindcss: specifier: ^0.6.8 - version: 0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.3.3))(prettier@3.3.3) + version: 0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.4.1))(prettier@3.4.1) typescript-eslint: specifier: ^8.16.0 - version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) vite-tsconfig-paths: specifier: ^5.1.0 - version: 5.1.0(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)) + version: 5.1.0(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) devDependencies: eslint: specifier: ^9.15.0 @@ -665,7 +665,7 @@ importers: version: 22.9.0 valibot: specifier: 1.0.0-beta.3 - version: 1.0.0-beta.3(typescript@5.6.3) + version: 1.0.0-beta.3(typescript@5.7.2) validation-adapter: specifier: workspace:* version: link:../validation-adapter @@ -681,6 +681,9 @@ importers: '@blgc/config': specifier: workspace:* version: link:../config + '@blgc/style-guide': + specifier: workspace:* + version: link:../style-guide '@types/node': specifier: ^22.9.0 version: 22.9.0 @@ -890,17 +893,20 @@ packages: '@bundled-es-modules/cookie@2.0.0': resolution: {integrity: sha512-Or6YHg/kamKHpxULAdSqhGqnWFneIXu1NKvvfBBzKGwpVsYuFIQ5aBPHDnnoR3ghW1nvSkALd+EF9iMtY7Vjxw==} + '@bundled-es-modules/cookie@2.0.1': + resolution: {integrity: sha512-8o+5fRPLNbjbdGRRmJj3h6Hh1AQJf2dk3qQ/5ZFb+PXkRNiSoMGGUKlsgLfrxneb72axVJyIYji64E2+nNfYyw==} + '@bundled-es-modules/statuses@1.0.1': resolution: {integrity: sha512-yn7BklA5acgcBr+7w064fGV+SGIFySjCKpqjcWgBAIfrAkY+4GQTJJHQMeT3V/sgz23VTEVV8TtOmkvJAhFVfg==} '@bundled-es-modules/tough-cookie@0.1.6': resolution: {integrity: sha512-dvMHbL464C0zI+Yqxbz6kZ5TOEp7GLW+pry/RWndAR8MJQAXZ2rPmIs8tziTZjeIyhSNZgZbCePtfSbdWqStJw==} - '@changesets/apply-release-plan@7.0.5': - resolution: {integrity: sha512-1cWCk+ZshEkSVEZrm2fSj1Gz8sYvxgUL4Q78+1ZZqeqfuevPTPk033/yUZ3df8BKMohkqqHfzj0HOOrG0KtXTw==} + '@changesets/apply-release-plan@7.0.6': + resolution: {integrity: sha512-TKhVLtiwtQOgMAC0fCJfmv93faiViKSDqr8oMEqrnNs99gtSC1sZh/aEMS9a+dseU1ESZRCK+ofLgGY7o0fw/Q==} - '@changesets/assemble-release-plan@6.0.4': - resolution: {integrity: sha512-nqICnvmrwWj4w2x0fOhVj2QEGdlUuwVAwESrUo5HLzWMI1rE5SWfsr9ln+rDqWB6RQ2ZyaMZHUcU7/IRaUJS+Q==} + '@changesets/assemble-release-plan@6.0.5': + resolution: {integrity: sha512-IgvBWLNKZd6k4t72MBTBK3nkygi0j3t3zdC1zrfusYo0KpdsvnDjrMM9vPnTCLCMlfNs55jRL4gIMybxa64FCQ==} '@changesets/changelog-git@0.2.0': resolution: {integrity: sha512-bHOx97iFI4OClIT35Lok3sJAwM31VbUM++gnMBV16fdbtBhgYu4dxsphBF/0AZZsyAHMrnM0yFcj5gZM1py6uQ==} @@ -908,12 +914,12 @@ packages: '@changesets/changelog-github@0.5.0': resolution: {integrity: sha512-zoeq2LJJVcPJcIotHRJEEA2qCqX0AQIeFE+L21L8sRLPVqDhSXY8ZWAt2sohtBpFZkBwu+LUwMSKRr2lMy3LJA==} - '@changesets/cli@2.27.9': - resolution: {integrity: sha512-q42a/ZbDnxPpCb5Wkm6tMVIxgeI9C/bexntzTeCFBrQEdpisQqk8kCHllYZMDjYtEc1ZzumbMJAG8H0Z4rdvjg==} + '@changesets/cli@2.27.10': + resolution: {integrity: sha512-PfeXjvs9OfQJV8QSFFHjwHX3QnUL9elPEQ47SgkiwzLgtKGyuikWjrdM+lO9MXzOE22FO9jEGkcs4b+B6D6X0Q==} hasBin: true - '@changesets/config@3.0.3': - resolution: {integrity: sha512-vqgQZMyIcuIpw9nqFIpTSNyc/wgm/Lu1zKN5vECy74u95Qx/Wa9g27HdgO4NkVAaq+BGA8wUc/qvbvVNs93n6A==} + '@changesets/config@3.0.4': + resolution: {integrity: sha512-+DiIwtEBpvvv1z30f8bbOsUQGuccnZl9KRKMM/LxUHuDu5oEjmN+bJQ1RIBKNJjfYMQn8RZzoPiX0UgPaLQyXw==} '@changesets/errors@0.2.0': resolution: {integrity: sha512-6BLOQUscTpZeGljvyQXlWOItQyU71kCdGz7Pi8H8zdw6BI0g3m43iL4xKUVPWtG+qrrL9DTjpdn8eYuCQSRpow==} @@ -924,14 +930,14 @@ packages: '@changesets/get-github-info@0.6.0': resolution: {integrity: sha512-v/TSnFVXI8vzX9/w3DU2Ol+UlTZcu3m0kXTjTT4KlAdwSvwutcByYwyYn9hwerPWfPkT2JfpoX0KgvCEi8Q/SA==} - '@changesets/get-release-plan@4.0.4': - resolution: {integrity: sha512-SicG/S67JmPTrdcc9Vpu0wSQt7IiuN0dc8iR5VScnnTVPfIaLvKmEGRvIaF0kcn8u5ZqLbormZNTO77bCEvyWw==} + '@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.1': - resolution: {integrity: sha512-pdgHcYBLCPcLd82aRcuO0kxCDbw/yISlOtkmwmE8Odo1L6hSiZrBOsRl84eYG7DRCab/iHnOkWqExqc4wxk2LQ==} + '@changesets/git@3.0.2': + resolution: {integrity: sha512-r1/Kju9Y8OxRRdvna+nxpQIsMsRQn9dhhAZt94FLDeu0Hij2hnOozW8iqnHBgvu+KdnJppCveQwK4odwfw/aWQ==} '@changesets/logger@0.1.1': resolution: {integrity: sha512-OQtR36ZlnuTxKqoW4Sv6x5YIhOmClRd5pWsjZsddYxpWs517R0HkyiefQPIytCVh4ZcC5x9XaG8KTdd5iRQUfg==} @@ -942,8 +948,8 @@ packages: '@changesets/pre@2.0.1': resolution: {integrity: sha512-vvBJ/If4jKM4tPz9JdY2kGOgWmCowUYOi5Ycv8dyLnEE8FgpYYUo1mgJZxcdtGGP3aG8rAQulGLyyXGSLkIMTQ==} - '@changesets/read@0.6.1': - resolution: {integrity: sha512-jYMbyXQk3nwP25nRzQQGa1nKLY0KfoOV7VLgwucI0bUO8t8ZLCr6LZmgjXsiKuRDc+5A6doKPr9w2d+FEJ55zQ==} + '@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==} @@ -1486,26 +1492,55 @@ packages: '@vue/compiler-sfc': optional: true + '@ianvs/prettier-plugin-sort-imports@4.4.0': + resolution: {integrity: sha512-f4/e+/ANGk3tHuwRW0uh2YuBR50I4h1ZjGQ+5uD8sWfinHTivQsnieR5cz24t8M6Vx4rYvZ5v/IEKZhYpzQm9Q==} + peerDependencies: + '@vue/compiler-sfc': 2.7.x || 3.x + prettier: 2 || 3 + peerDependenciesMeta: + '@vue/compiler-sfc': + optional: true + '@inquirer/confirm@5.0.1': resolution: {integrity: sha512-6ycMm7k7NUApiMGfVc32yIPp28iPKxhGRMqoNDiUjq2RyTAkbs5Fx0TdzBqhabcKvniDdAAvHCmsRjnNfTsogw==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' + '@inquirer/confirm@5.0.2': + resolution: {integrity: sha512-KJLUHOaKnNCYzwVbryj3TNBxyZIrr56fR5N45v6K9IPrbT6B7DcudBMfylkV1A8PUdJE15mybkEQyp2/ZUpxUA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + '@inquirer/core@10.0.1': resolution: {integrity: sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==} engines: {node: '>=18'} + '@inquirer/core@10.1.0': + resolution: {integrity: sha512-I+ETk2AL+yAVbvuKx5AJpQmoaWhpiTFOg/UJb7ZkMAK4blmtG8ATh5ct+T/8xNld0CZG/2UhtkdMwpgvld92XQ==} + engines: {node: '>=18'} + '@inquirer/figures@1.0.7': resolution: {integrity: sha512-m+Trk77mp54Zma6xLkLuY+mvanPxlE4A7yNKs2HBiyZ4UkVs28Mv5c/pgWrHeInx+USHeX/WEPzjrWrcJiQgjw==} engines: {node: '>=18'} + '@inquirer/figures@1.0.8': + resolution: {integrity: sha512-tKd+jsmhq21AP1LhexC0pPwsCxEhGgAkg28byjJAd+xhmIs8LUX8JbUc3vBf3PhLxWiB5EvyBE5X7JSPAqMAqg==} + engines: {node: '>=18'} + '@inquirer/type@3.0.0': resolution: {integrity: sha512-YYykfbw/lefC7yKj7nanzQXILM7r3suIvyFlCcMskc99axmsSewXWkAfXKwMbgxL76iAFVmRwmYdwNZNc8gjog==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' + '@inquirer/type@3.0.1': + resolution: {integrity: sha512-+ksJMIy92sOAiAccGpcKZUc3bYO07cADnscIxHBknEm3uNts3movSmBofc1908BNy5edKscxYeAdaX1NXkHS6A==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -1547,6 +1582,10 @@ packages: resolution: {integrity: sha512-mMRDUBwSNeCgjSMEWfjoh4Rm9fbyZ7xQ9SBq8eGHiiyRn1ieTip3pNEt0wxWVPPxR4i1Rv9bTkeEbkX7M4c15A==} engines: {node: '>=18'} + '@mswjs/interceptors@0.37.1': + resolution: {integrity: sha512-SvE+tSpcX884RJrPCskXxoS965Ky/pYABDEhWW6oeSRhpUDLrS5nTvT5n1LLSDVDYvty4imVmXsy+3/ROVuknA==} + engines: {node: '>=18'} + '@next/eslint-plugin-next@14.2.16': resolution: {integrity: sha512-noORwKUMkKc96MWjTOwrsUCjky0oFegHbeJ1yEnQBGbMHAaTEIgLZIIfsYF0x3a06PiS+2TXppfifR+O6VWslg==} @@ -1680,6 +1719,11 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.27.4': + resolution: {integrity: sha512-2Y3JT6f5MrQkICUyRVCw4oa0sutfAsgaSsb0Lmmy1Wi2y7X5vT9Euqw4gOsCyy0YfKURBg35nhUKZS4mDcfULw==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.19.2': resolution: {integrity: sha512-k0OC/b14rNzMLDOE6QMBCjDRm3fQOHAL8Ldc9bxEWvMo4Ty9RY6rWmGetNTWhPo+/+FNd1lsQYRd0/1OSix36A==} cpu: [arm64] @@ -1700,6 +1744,11 @@ packages: cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.27.4': + resolution: {integrity: sha512-wzKRQXISyi9UdCVRqEd0H4cMpzvHYt1f/C3CoIjES6cG++RHKhrBj2+29nPF0IB5kpy9MS71vs07fvrNGAl/iA==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.19.2': resolution: {integrity: sha512-IIARRgWCNWMTeQH+kr/gFTHJccKzwEaI0YSvtqkEBPj7AshElFq89TyreKNFAGh5frLfDCbodnq+Ye3dqGKPBw==} cpu: [arm64] @@ -1720,6 +1769,11 @@ packages: cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.27.4': + resolution: {integrity: sha512-PlNiRQapift4LNS8DPUHuDX/IdXiLjf8mc5vdEmUR0fF/pyy2qWwzdLjB+iZquGr8LuN4LnUoSEvKRwjSVYz3Q==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.19.2': resolution: {integrity: sha512-52udDMFDv54BTAdnw+KXNF45QCvcJOcYGl3vQkp4vARyrcdI/cXH8VXTEv/8QWfd6Fru8QQuw1b2uNersXOL0g==} cpu: [x64] @@ -1740,16 +1794,31 @@ packages: cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.27.4': + resolution: {integrity: sha512-o9bH2dbdgBDJaXWJCDTNDYa171ACUdzpxSZt+u/AAeQ20Nk5x+IhA+zsGmrQtpkLiumRJEYef68gcpn2ooXhSQ==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-freebsd-arm64@4.24.4': resolution: {integrity: sha512-py5oNShCCjCyjWXCZNrRGRpjWsF0ic8f4ieBNra5buQz0O/U6mMXCpC1LvrHuhJsNPgRt36tSYMidGzZiJF6mw==} cpu: [arm64] os: [freebsd] + '@rollup/rollup-freebsd-arm64@4.27.4': + resolution: {integrity: sha512-NBI2/i2hT9Q+HySSHTBh52da7isru4aAAo6qC3I7QFVsuhxi2gM8t/EI9EVcILiHLj1vfi+VGGPaLOUENn7pmw==} + cpu: [arm64] + os: [freebsd] + '@rollup/rollup-freebsd-x64@4.24.4': resolution: {integrity: sha512-L7VVVW9FCnTTp4i7KrmHeDsDvjB4++KOBENYtNYAiYl96jeBThFfhP6HVxL74v4SiZEVDH/1ILscR5U9S4ms4g==} cpu: [x64] os: [freebsd] + '@rollup/rollup-freebsd-x64@4.27.4': + resolution: {integrity: sha512-wYcC5ycW2zvqtDYrE7deary2P2UFmSh85PUpAx+dwTCO9uw3sgzD6Gv9n5X4vLaQKsrfTSZZ7Z7uynQozPVvWA==} + cpu: [x64] + os: [freebsd] + '@rollup/rollup-linux-arm-gnueabihf@4.19.2': resolution: {integrity: sha512-r+SI2t8srMPYZeoa1w0o/AfoVt9akI1ihgazGYPQGRilVAkuzMGiTtexNZkrPkQsyFrvqq/ni8f3zOnHw4hUbA==} cpu: [arm] @@ -1770,6 +1839,11 @@ packages: cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.27.4': + resolution: {integrity: sha512-9OwUnK/xKw6DyRlgx8UizeqRFOfi9mf5TYCw1uolDaJSbUmBxP85DE6T4ouCMoN6pXw8ZoTeZCSEfSaYo+/s1w==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.19.2': resolution: {integrity: sha512-+tYiL4QVjtI3KliKBGtUU7yhw0GMcJJuB9mLTCEauHEsqfk49gtUBXGtGP3h1LW8MbaTY6rSFIQV1XOBps1gBA==} cpu: [arm] @@ -1790,6 +1864,11 @@ packages: cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.27.4': + resolution: {integrity: sha512-Vgdo4fpuphS9V24WOV+KwkCVJ72u7idTgQaBoLRD0UxBAWTF9GWurJO9YD9yh00BzbkhpeXtm6na+MvJU7Z73A==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.19.2': resolution: {integrity: sha512-OR5DcvZiYN75mXDNQQxlQPTv4D+uNCUsmSCSY2FolLf9W5I4DSoJyg7z9Ea3TjKfhPSGgMJiey1aWvlWuBzMtg==} cpu: [arm64] @@ -1810,6 +1889,11 @@ packages: cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.27.4': + resolution: {integrity: sha512-pleyNgyd1kkBkw2kOqlBx+0atfIIkkExOTiifoODo6qKDSpnc6WzUY5RhHdmTdIJXBdSnh6JknnYTtmQyobrVg==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.19.2': resolution: {integrity: sha512-Hw3jSfWdUSauEYFBSFIte6I8m6jOj+3vifLg8EU3lreWulAUpch4JBjDMtlKosrBzkr0kwKgL9iCfjA8L3geoA==} cpu: [arm64] @@ -1830,6 +1914,11 @@ packages: cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.27.4': + resolution: {integrity: sha512-caluiUXvUuVyCHr5DxL8ohaaFFzPGmgmMvwmqAITMpV/Q+tPoaHZ/PWa3t8B2WyoRcIIuu1hkaW5KkeTDNSnMA==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.19.2': resolution: {integrity: sha512-rhjvoPBhBwVnJRq/+hi2Q3EMiVF538/o9dBuj9TVLclo9DuONqt5xfWSaE6MYiFKpo/lFPJ/iSI72rYWw5Hc7w==} cpu: [ppc64] @@ -1850,6 +1939,11 @@ packages: cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': + resolution: {integrity: sha512-FScrpHrO60hARyHh7s1zHE97u0KlT/RECzCKAdmI+LEoC1eDh/RDji9JgFqyO+wPDb86Oa/sXkily1+oi4FzJQ==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.19.2': resolution: {integrity: sha512-EAz6vjPwHHs2qOCnpQkw4xs14XJq84I81sDRGPEjKPFVPBw7fwvtwhVjcZR6SLydCv8zNK8YGFblKWd/vRmP8g==} cpu: [riscv64] @@ -1870,6 +1964,11 @@ packages: cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.27.4': + resolution: {integrity: sha512-qyyprhyGb7+RBfMPeww9FlHwKkCXdKHeGgSqmIXw9VSUtvyFZ6WZRtnxgbuz76FK7LyoN8t/eINRbPUcvXB5fw==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.19.2': resolution: {integrity: sha512-IJSUX1xb8k/zN9j2I7B5Re6B0NNJDJ1+soezjNojhT8DEVeDNptq2jgycCOpRhyGj0+xBn7Cq+PK7Q+nd2hxLA==} cpu: [s390x] @@ -1890,6 +1989,11 @@ packages: cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.27.4': + resolution: {integrity: sha512-PFz+y2kb6tbh7m3A7nA9++eInGcDVZUACulf/KzDtovvdTizHpZaJty7Gp0lFwSQcrnebHOqxF1MaKZd7psVRg==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.19.2': resolution: {integrity: sha512-OgaToJ8jSxTpgGkZSkwKE+JQGihdcaqnyHEFOSAU45utQ+yLruE1dkonB2SDI8t375wOKgNn8pQvaWY9kPzxDQ==} cpu: [x64] @@ -1910,6 +2014,11 @@ packages: cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.27.4': + resolution: {integrity: sha512-Ni8mMtfo+o/G7DVtweXXV/Ol2TFf63KYjTtoZ5f078AUgJTmaIJnj4JFU7TK/9SVWTaSJGxPi5zMDgK4w+Ez7Q==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.19.2': resolution: {integrity: sha512-5V3mPpWkB066XZZBgSd1lwozBk7tmOkKtquyCJ6T4LN3mzKENXyBwWNQn8d0Ci81hvlBw5RoFgleVpL6aScLYg==} cpu: [x64] @@ -1930,6 +2039,11 @@ packages: cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.27.4': + resolution: {integrity: sha512-5AeeAF1PB9TUzD+3cROzFTnAJAcVUGLuR8ng0E0WXGkYhp6RD6L+6szYVX+64Rs0r72019KHZS1ka1q+zU/wUw==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.19.2': resolution: {integrity: sha512-ayVstadfLeeXI9zUPiKRVT8qF55hm7hKa+0N1V6Vj+OTNFfKSoUxyZvzVvgtBxqSb5URQ8sK6fhwxr9/MLmxdA==} cpu: [arm64] @@ -1950,6 +2064,11 @@ packages: cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.27.4': + resolution: {integrity: sha512-yOpVsA4K5qVwu2CaS3hHxluWIK5HQTjNV4tWjQXluMiiiu4pJj4BN98CvxohNCpcjMeTXk/ZMJBRbgRg8HBB6A==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.19.2': resolution: {integrity: sha512-Mda7iG4fOLHNsPqjWSjANvNZYoW034yxgrndof0DwCy0D3FvTjeNo+HGE6oGWgvcLZNLlcp0hLEFcRs+UGsMLg==} cpu: [ia32] @@ -1970,6 +2089,11 @@ packages: cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.27.4': + resolution: {integrity: sha512-KtwEJOaHAVJlxV92rNYiG9JQwQAdhBlrjNRp7P9L8Cb4Rer3in+0A+IPhJC9y68WAi9H0sX4AiG2NTsVlmqJeQ==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.19.2': resolution: {integrity: sha512-DPi0ubYhSow/00YqmG1jWm3qt1F8aXziHc/UNy8bo9cpCacqhuWu+iSq/fp2SyEQK7iYTZ60fBU9cat3MXTjIQ==} cpu: [x64] @@ -1990,6 +2114,11 @@ packages: cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.27.4': + resolution: {integrity: sha512-3j4jx1TppORdTAoBJRd+/wJRGCPC0ETWkXOecJ6PPZLj6SptXkrXcNqdj0oclbKML6FkQltdz7bBA3rUSirZug==} + cpu: [x64] + os: [win32] + '@rushstack/eslint-patch@1.10.4': resolution: {integrity: sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==} @@ -2086,6 +2215,9 @@ packages: '@types/node@12.20.55': resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} + '@types/node@22.10.0': + resolution: {integrity: sha512-XC70cRZVElFHfIUB40FgZOBbgJYFKKMa5nb9lxcwYstFG/Mi+/Y0bGS+rs6Dmhmkpq4pnNiLiuZAbc02YCOnmA==} + '@types/node@22.5.1': resolution: {integrity: sha512-KkHsxej0j9IW1KKOOAA/XBA0z08UFSrRQHErzEfA3Vgq57eXIMYboIlHJuYIfd+lwCQjtKqUu3UnmKbtUc9yRw==} @@ -2380,34 +2512,34 @@ packages: peerDependencies: vite: ^4.2.0 || ^5.0.0 - '@vitest/expect@2.1.4': - resolution: {integrity: sha512-DOETT0Oh1avie/D/o2sgMHGrzYUFFo3zqESB2Hn70z6QB1HrS2IQ9z5DfyTqU8sg4Bpu13zZe9V4+UTNQlUeQA==} + '@vitest/expect@2.1.6': + resolution: {integrity: sha512-9M1UR9CAmrhJOMoSwVnPh2rELPKhYo0m/CSgqw9PyStpxtkwhmdM6XYlXGKeYyERY1N6EIuzkQ7e3Lm1WKCoUg==} - '@vitest/mocker@2.1.4': - resolution: {integrity: sha512-Ky/O1Lc0QBbutJdW0rqLeFNbuLEyS+mIPiNdlVlp2/yhJ0SbyYqObS5IHdhferJud8MbbwMnexg4jordE5cCoQ==} + '@vitest/mocker@2.1.6': + resolution: {integrity: sha512-MHZp2Z+Q/A3am5oD4WSH04f9B0T7UvwEb+v5W0kCYMhtXGYbdyl2NUk1wdSMqGthmhpiThPDp/hEoVwu16+u1A==} peerDependencies: msw: ^2.4.9 - vite: ^5.0.0 + vite: ^5.0.0 || ^6.0.0 peerDependenciesMeta: msw: optional: true vite: optional: true - '@vitest/pretty-format@2.1.4': - resolution: {integrity: sha512-L95zIAkEuTDbUX1IsjRl+vyBSLh3PwLLgKpghl37aCK9Jvw0iP+wKwIFhfjdUtA2myLgjrG6VU6JCFLv8q/3Ww==} + '@vitest/pretty-format@2.1.6': + resolution: {integrity: sha512-exZyLcEnHgDMKc54TtHca4McV4sKT+NKAe9ix/yhd/qkYb/TP8HTyXRFDijV19qKqTZM0hPL4753zU/U8L/gAA==} - '@vitest/runner@2.1.4': - resolution: {integrity: sha512-sKRautINI9XICAMl2bjxQM8VfCMTB0EbsBc/EDFA57V6UQevEKY/TOPOF5nzcvCALltiLfXWbq4MaAwWx/YxIA==} + '@vitest/runner@2.1.6': + resolution: {integrity: sha512-SjkRGSFyrA82m5nz7To4CkRSEVWn/rwQISHoia/DB8c6IHIhaE/UNAo+7UfeaeJRE979XceGl00LNkIz09RFsA==} - '@vitest/snapshot@2.1.4': - resolution: {integrity: sha512-3Kab14fn/5QZRog5BPj6Rs8dc4B+mim27XaKWFWHWA87R56AKjHTGcBFKpvZKDzC4u5Wd0w/qKsUIio3KzWW4Q==} + '@vitest/snapshot@2.1.6': + resolution: {integrity: sha512-5JTWHw8iS9l3v4/VSuthCndw1lN/hpPB+mlgn1BUhFbobeIUj1J1V/Bj2t2ovGEmkXLTckFjQddsxS5T6LuVWw==} - '@vitest/spy@2.1.4': - resolution: {integrity: sha512-4JOxa+UAizJgpZfaCPKK2smq9d8mmjZVPMt2kOsg/R8QkoRzydHH1qHxIYNvr1zlEaFj4SXiaaJWxq/LPLKaLg==} + '@vitest/spy@2.1.6': + resolution: {integrity: sha512-oTFObV8bd4SDdRka5O+mSh5w9irgx5IetrD5i+OsUUsk/shsBoHifwCzy45SAORzAhtNiprUVaK3hSCCzZh1jQ==} - '@vitest/utils@2.1.4': - resolution: {integrity: sha512-MXDnZn0Awl2S86PSNIim5PWXgIAx8CIkzu35mBdSApUip6RFOGXBCf3YFyeEu8n1IHk4bWD46DeYFu9mQlFIRg==} + '@vitest/utils@2.1.6': + resolution: {integrity: sha512-ixNkFy3k4vokOUTU2blIUvOgKq/N2PW8vKIjZZYsGJCMX69MRa9J2sKqX5hY/k5O5Gty3YJChepkqZ3KM9LyIQ==} accepts@1.3.8: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} @@ -2760,15 +2892,16 @@ packages: resolution: {integrity: sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==} engines: {node: '>= 0.6'} + cookie@0.7.2: + resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} + engines: {node: '>= 0.6'} + core-js-compat@3.38.1: resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} - cross-spawn@5.1.0: - resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} - cross-spawn@7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} @@ -4085,15 +4218,15 @@ packages: lru-cache@10.4.3: resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - lru-cache@4.1.5: - resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} - lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} magic-string@0.30.12: resolution: {integrity: sha512-Ea8I3sQMVXr8JhN4z+H/d8zwo+tYDgHE9+5G4Wnrwhs0gaK9fXTKx0Tw5Xwsd/bCPTTZNRAdpyzvoeORe9LYpw==} + magic-string@0.30.14: + resolution: {integrity: sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==} + make-error@1.3.6: resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} @@ -4199,17 +4332,27 @@ packages: typescript: optional: true + msw@2.6.6: + resolution: {integrity: sha512-npfIIVRHKQX3Lw4aLWX4wBh+lQwpqdZNyJYB5K/+ktK8NhtkdsTxGK7WDrgknozcVyRI7TOqY6yBS9j2FTR+YQ==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + typescript: '>= 4.8.x' + peerDependenciesMeta: + typescript: + optional: true + mute-stream@2.0.0: resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} engines: {node: ^18.17.0 || >=20.5.0} - nanoid@3.3.7: - resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} + nanoid@3.3.8: + resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true - nanoid@5.0.8: - resolution: {integrity: sha512-TcJPw+9RV9dibz1hHUzlLVy8N4X9TnwirAjrU08Juo6BNKggzVfP2ZJ/3ZUSq15Xl5i85i+Z89XBO90pB2PghQ==} + nanoid@5.0.9: + resolution: {integrity: sha512-Aooyr6MXU6HpvvWXKoVoXwKMs/KyVakWwg7xQfv5/S/RIgJMy0Ifa45H9qqYy7pTCszrHzP21Uk4PZq2HpEM8Q==} engines: {node: ^18 || >=20} hasBin: true @@ -4394,8 +4537,8 @@ packages: resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} engines: {node: '>=6'} - package-manager-detector@0.2.2: - resolution: {integrity: sha512-VgXbyrSNsml4eHWIvxxG/nTL4wgybMTXCV2Un/+yEc3aDKKU6nQBZjbeP3Pl3qm9Qg92X/1ng4ffvCeD/zwHgg==} + package-manager-detector@0.2.5: + resolution: {integrity: sha512-3dS7y28uua+UDbRCLBqltMBrbI+A5U2mI9YuxHRxIWYmLj3DwntEBmERYzIAQ4DMeuCUOBSak7dBHHoXKpOTYQ==} package-name-regex@2.0.6: resolution: {integrity: sha512-gFL35q7kbE/zBaPA3UKhp2vSzcPYx2ecbYuwv1ucE9Il6IIgBDweBlH8D68UFGZic2MkllKa2KHCfC1IQBQUYA==} @@ -4714,8 +4857,8 @@ packages: resolution: {integrity: sha512-hywKUQB9Ra4dR1mGhldy5Aj1X3MWDSIA1cEi+Uy0CjheLvP6Ual5RlwMCh8i/X121yEDLDIKBsrCQ8ba3FDMfQ==} engines: {node: ^10 || ^12 || >=14} - postcss@8.4.47: - resolution: {integrity: sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==} + postcss@8.4.49: + resolution: {integrity: sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==} engines: {node: ^10 || ^12 || >=14} prelude-ls@1.2.1: @@ -4793,13 +4936,68 @@ packages: prettier-plugin-svelte: optional: true + prettier-plugin-tailwindcss@0.6.9: + resolution: {integrity: sha512-r0i3uhaZAXYP0At5xGfJH876W3HHGHDp+LCRUJrs57PBeQ6mYHMwr25KH8NPX44F2yGTvdnH7OqCshlQx183Eg==} + engines: {node: '>=14.21.3'} + peerDependencies: + '@ianvs/prettier-plugin-sort-imports': '*' + '@prettier/plugin-pug': '*' + '@shopify/prettier-plugin-liquid': '*' + '@trivago/prettier-plugin-sort-imports': '*' + '@zackad/prettier-plugin-twig-melody': '*' + prettier: ^3.0 + prettier-plugin-astro: '*' + prettier-plugin-css-order: '*' + prettier-plugin-import-sort: '*' + prettier-plugin-jsdoc: '*' + prettier-plugin-marko: '*' + prettier-plugin-multiline-arrays: '*' + prettier-plugin-organize-attributes: '*' + prettier-plugin-organize-imports: '*' + prettier-plugin-sort-imports: '*' + prettier-plugin-style-order: '*' + prettier-plugin-svelte: '*' + peerDependenciesMeta: + '@ianvs/prettier-plugin-sort-imports': + optional: true + '@prettier/plugin-pug': + optional: true + '@shopify/prettier-plugin-liquid': + optional: true + '@trivago/prettier-plugin-sort-imports': + optional: true + '@zackad/prettier-plugin-twig-melody': + optional: true + prettier-plugin-astro: + optional: true + prettier-plugin-css-order: + optional: true + prettier-plugin-import-sort: + optional: true + prettier-plugin-jsdoc: + optional: true + prettier-plugin-marko: + optional: true + prettier-plugin-multiline-arrays: + optional: true + prettier-plugin-organize-attributes: + optional: true + prettier-plugin-organize-imports: + optional: true + prettier-plugin-sort-imports: + optional: true + prettier-plugin-style-order: + optional: true + prettier-plugin-svelte: + optional: true + prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} hasBin: true - prettier@3.3.3: - resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + prettier@3.4.1: + resolution: {integrity: sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==} engines: {node: '>=14'} hasBin: true @@ -4825,9 +5023,6 @@ packages: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} - pseudomap@1.0.2: - resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} - psl@1.9.0: resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} @@ -5012,6 +5207,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.27.4: + resolution: {integrity: sha512-RLKxqHEMjh/RGLsDxAEsaLO3mWgyoU6x9w6n1ikAzet4B3gI2/3yP6PWY2p9QzRTh6MfEIXB3MwsOY0Iv3vNrw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-applescript@7.0.0: resolution: {integrity: sha512-9by4Ij99JUr/MCFBUkDKLWK3G9HVXmabKz9U5MlIAIuvuzkiOicRYs8XJLxX+xahD+mLiiCYDqF9dKAgtzKP1A==} engines: {node: '>=18'} @@ -5078,18 +5278,10 @@ packages: setprototypeof@1.2.0: resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} - shebang-command@1.2.0: - resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} - engines: {node: '>=0.10.0'} - shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} - shebang-regex@1.0.0: - resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} - engines: {node: '>=0.10.0'} - shebang-regex@3.0.0: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} @@ -5111,9 +5303,6 @@ packages: siginfo@2.0.0: resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} - signal-exit@3.0.7: - resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - signal-exit@4.1.0: resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} engines: {node: '>=14'} @@ -5158,8 +5347,8 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} - spawndamnit@2.0.0: - resolution: {integrity: sha512-j4JKEcncSjFlqIwU5L/rp2N5SIPsdxaRsIv678+TZxZ0SRDJTm8JrxJMjE/XuiEZNEir3S8l0Fa3Ke339WI4qA==} + spawndamnit@3.0.1: + resolution: {integrity: sha512-MmnduQUuHCoFckZoWnXsTg7JaiLBJrKFj9UI2MbRPGaJeVpsLcVBu6P/IGZovziM/YBsellCmsprgNA+w0CzVg==} spdx-compare@1.0.0: resolution: {integrity: sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==} @@ -5199,8 +5388,8 @@ packages: resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} engines: {node: '>= 0.8'} - std-env@3.7.0: - resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} + std-env@3.8.0: + resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} stop-iteration-iterator@1.0.0: resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} @@ -5348,8 +5537,8 @@ packages: resolution: {integrity: sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==} engines: {node: '>=12.0.0'} - tinypool@1.0.1: - resolution: {integrity: sha512-URZYihUbRPcGv95En+sz6MfghfIc2OJ1sv/RmhWZLouPY0/8Vo80viwPvg3dlaS9fuq7fQMEfgRRK7BBZThBEA==} + tinypool@1.0.2: + resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==} engines: {node: ^18.0.0 || >=20.0.0} tinyrainbow@1.2.0: @@ -5440,38 +5629,43 @@ packages: engines: {node: '>=18.0.0'} hasBin: true - turbo-darwin-64@2.2.3: - resolution: {integrity: sha512-Rcm10CuMKQGcdIBS3R/9PMeuYnv6beYIHqfZFeKWVYEWH69sauj4INs83zKMTUiZJ3/hWGZ4jet9AOwhsssLyg==} + tsx@4.19.2: + resolution: {integrity: sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==} + engines: {node: '>=18.0.0'} + hasBin: true + + turbo-darwin-64@2.3.3: + resolution: {integrity: sha512-bxX82xe6du/3rPmm4aCC5RdEilIN99VUld4HkFQuw+mvFg6darNBuQxyWSHZTtc25XgYjQrjsV05888w1grpaA==} cpu: [x64] os: [darwin] - turbo-darwin-arm64@2.2.3: - resolution: {integrity: sha512-+EIMHkuLFqUdJYsA3roj66t9+9IciCajgj+DVek+QezEdOJKcRxlvDOS2BUaeN8kEzVSsNiAGnoysFWYw4K0HA==} + turbo-darwin-arm64@2.3.3: + resolution: {integrity: sha512-DYbQwa3NsAuWkCUYVzfOUBbSUBVQzH5HWUFy2Kgi3fGjIWVZOFk86ss+xsWu//rlEAfYwEmopigsPYSmW4X15A==} cpu: [arm64] os: [darwin] - turbo-linux-64@2.2.3: - resolution: {integrity: sha512-UBhJCYnqtaeOBQLmLo8BAisWbc9v9daL9G8upLR+XGj6vuN/Nz6qUAhverN4Pyej1g4Nt1BhROnj6GLOPYyqxQ==} + turbo-linux-64@2.3.3: + resolution: {integrity: sha512-eHj9OIB0dFaP6BxB88jSuaCLsOQSYWBgmhy2ErCu6D2GG6xW3b6e2UWHl/1Ho9FsTg4uVgo4DB9wGsKa5erjUA==} cpu: [x64] os: [linux] - turbo-linux-arm64@2.2.3: - resolution: {integrity: sha512-hJYT9dN06XCQ3jBka/EWvvAETnHRs3xuO/rb5bESmDfG+d9yQjeTMlhRXKrr4eyIMt6cLDt1LBfyi+6CQ+VAwQ==} + turbo-linux-arm64@2.3.3: + resolution: {integrity: sha512-NmDE/NjZoDj1UWBhMtOPmqFLEBKhzGS61KObfrDEbXvU3lekwHeoPvAMfcovzswzch+kN2DrtbNIlz+/rp8OCg==} cpu: [arm64] os: [linux] - turbo-windows-64@2.2.3: - resolution: {integrity: sha512-NPrjacrZypMBF31b4HE4ROg4P3nhMBPHKS5WTpMwf7wydZ8uvdEHpESVNMOtqhlp857zbnKYgP+yJF30H3N2dQ==} + turbo-windows-64@2.3.3: + resolution: {integrity: sha512-O2+BS4QqjK3dOERscXqv7N2GXNcqHr9hXumkMxDj/oGx9oCatIwnnwx34UmzodloSnJpgSqjl8iRWiY65SmYoQ==} cpu: [x64] os: [win32] - turbo-windows-arm64@2.2.3: - resolution: {integrity: sha512-fnNrYBCqn6zgKPKLHu4sOkihBI/+0oYFr075duRxqUZ+1aLWTAGfHZLgjVeLh3zR37CVzuerGIPWAEkNhkWEIw==} + turbo-windows-arm64@2.3.3: + resolution: {integrity: sha512-dW4ZK1r6XLPNYLIKjC4o87HxYidtRRcBeo/hZ9Wng2XM/MqqYkAyzJXJGgRMsc0MMEN9z4+ZIfnSNBrA0b08ag==} cpu: [arm64] os: [win32] - turbo@2.2.3: - resolution: {integrity: sha512-5lDvSqIxCYJ/BAd6rQGK/AzFRhBkbu4JHVMLmGh/hCb7U3CqSnr5Tjwfy9vc+/5wG2DJ6wttgAaA7MoCgvBKZQ==} + turbo@2.3.3: + resolution: {integrity: sha512-DUHWQAcC8BTiUZDRzAYGvpSpGLiaOQPfYXlCieQbwUvmml/LRGIe3raKdrOPOoiX0DYlzxs2nH6BoWJoZrj8hA==} hasBin: true txml@5.1.1: @@ -5505,6 +5699,10 @@ packages: resolution: {integrity: sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==} engines: {node: '>=16'} + type-fest@4.29.0: + resolution: {integrity: sha512-RPYt6dKyemXJe7I6oNstcH24myUGSReicxcHTvCLgzm4e0n8y05dGvcGB15/SoPRBmhlMthWQ9pvKyL81ko8nQ==} + engines: {node: '>=16'} + type-is@1.6.18: resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} engines: {node: '>= 0.6'} @@ -5540,8 +5738,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - typescript@5.6.3: - resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} + typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} engines: {node: '>=14.17'} hasBin: true @@ -5554,6 +5752,9 @@ packages: undici-types@6.19.8: resolution: {integrity: sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==} + undici-types@6.20.0: + resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + universalify@0.1.2: resolution: {integrity: sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==} engines: {node: '>= 4.0.0'} @@ -5628,9 +5829,9 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - vite-node@2.1.4: - resolution: {integrity: sha512-kqa9v+oi4HwkG6g8ufRnb5AeplcRw8jUF6/7/Qz1qRQOXHImG8YnLbB+LLszENwFnoBl9xIf9nVdCFzNd7GQEg==} - engines: {node: ^18.0.0 || >=20.0.0} + vite-node@2.1.6: + resolution: {integrity: sha512-DBfJY0n9JUwnyLxPSSUmEePT21j8JZp/sR9n+/gBwQU6DcQOioPdb8/pibWfXForbirSagZCilseYIwaL3f95A==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true vite-tsconfig-paths@5.1.0: @@ -5700,8 +5901,8 @@ packages: terser: optional: true - vite@5.4.10: - resolution: {integrity: sha512-1hvaPshuPUtxeQ0hsVH3Mud0ZanOLwVTneA1EgbAM5LhaZEqyPWGRQ7BtaMvUrTDeEaC8pxtj6a6jku3x4z6SQ==} + vite@5.4.2: + resolution: {integrity: sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -5731,22 +5932,27 @@ packages: terser: optional: true - vite@5.4.2: - resolution: {integrity: sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==} - engines: {node: ^18.0.0 || >=20.0.0} + vite@6.0.1: + resolution: {integrity: sha512-Ldn6gorLGr4mCdFnmeAOLweJxZ34HjKnDm4HGo6P66IEqTxQb36VEdFJQENKxWjupNfoIjvRUnswjn1hpYEpjQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: - '@types/node': ^18.0.0 || >=20.0.0 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: '>=1.21.0' less: '*' lightningcss: ^1.21.0 sass: '*' sass-embedded: '*' stylus: '*' sugarss: '*' - terser: ^5.4.0 + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 peerDependenciesMeta: '@types/node': optional: true + jiti: + optional: true less: optional: true lightningcss: @@ -5761,16 +5967,20 @@ packages: optional: true terser: optional: true + tsx: + optional: true + yaml: + optional: true - vitest@2.1.4: - resolution: {integrity: sha512-eDjxbVAJw1UJJCHr5xr/xM86Zx+YxIEXGAR+bmnEID7z9qWfoxpHw0zdobz+TQAFOLT+nEXz3+gx6nUJ7RgmlQ==} - engines: {node: ^18.0.0 || >=20.0.0} + vitest@2.1.6: + resolution: {integrity: sha512-isUCkvPL30J4c5O5hgONeFRsDmlw6kzFEdLQHLezmDdKQHy8Ke/B/dgdTMEgU0vm+iZ0TjW8GuK83DiahBoKWQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true peerDependencies: '@edge-runtime/vm': '*' - '@types/node': ^18.0.0 || >=20.0.0 - '@vitest/browser': 2.1.4 - '@vitest/ui': 2.1.4 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + '@vitest/browser': 2.1.6 + '@vitest/ui': 2.1.6 happy-dom: '*' jsdom: '*' peerDependenciesMeta: @@ -5808,10 +6018,6 @@ packages: resolution: {integrity: sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==} engines: {node: '>= 0.4'} - which@1.3.1: - resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} - hasBin: true - which@2.0.2: resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} engines: {node: '>= 8'} @@ -5860,9 +6066,6 @@ packages: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} - yallist@2.1.2: - resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} - yallist@3.1.1: resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} @@ -6150,6 +6353,11 @@ snapshots: dependencies: cookie: 0.5.0 + '@bundled-es-modules/cookie@2.0.1': + dependencies: + cookie: 0.7.2 + optional: true + '@bundled-es-modules/statuses@1.0.1': dependencies: statuses: 2.0.1 @@ -6159,11 +6367,11 @@ snapshots: '@types/tough-cookie': 4.0.5 tough-cookie: 4.1.4 - '@changesets/apply-release-plan@7.0.5': + '@changesets/apply-release-plan@7.0.6': dependencies: - '@changesets/config': 3.0.3 + '@changesets/config': 3.0.4 '@changesets/get-version-range-type': 0.4.0 - '@changesets/git': 3.0.1 + '@changesets/git': 3.0.2 '@changesets/should-skip-package': 0.1.1 '@changesets/types': 6.0.0 '@manypkg/get-packages': 1.1.3 @@ -6175,7 +6383,7 @@ snapshots: resolve-from: 5.0.0 semver: 7.6.3 - '@changesets/assemble-release-plan@6.0.4': + '@changesets/assemble-release-plan@6.0.5': dependencies: '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.2 @@ -6196,19 +6404,19 @@ snapshots: transitivePeerDependencies: - encoding - '@changesets/cli@2.27.9': + '@changesets/cli@2.27.10': dependencies: - '@changesets/apply-release-plan': 7.0.5 - '@changesets/assemble-release-plan': 6.0.4 + '@changesets/apply-release-plan': 7.0.6 + '@changesets/assemble-release-plan': 6.0.5 '@changesets/changelog-git': 0.2.0 - '@changesets/config': 3.0.3 + '@changesets/config': 3.0.4 '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.2 - '@changesets/get-release-plan': 4.0.4 - '@changesets/git': 3.0.1 + '@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.1 + '@changesets/read': 0.6.2 '@changesets/should-skip-package': 0.1.1 '@changesets/types': 6.0.0 '@changesets/write': 0.3.2 @@ -6220,14 +6428,14 @@ snapshots: fs-extra: 7.0.1 mri: 1.2.0 p-limit: 2.3.0 - package-manager-detector: 0.2.2 + package-manager-detector: 0.2.5 picocolors: 1.1.1 resolve-from: 5.0.0 semver: 7.6.3 - spawndamnit: 2.0.0 + spawndamnit: 3.0.1 term-size: 2.2.1 - '@changesets/config@3.0.3': + '@changesets/config@3.0.4': dependencies: '@changesets/errors': 0.2.0 '@changesets/get-dependents-graph': 2.1.2 @@ -6255,24 +6463,24 @@ snapshots: transitivePeerDependencies: - encoding - '@changesets/get-release-plan@4.0.4': + '@changesets/get-release-plan@4.0.5': dependencies: - '@changesets/assemble-release-plan': 6.0.4 - '@changesets/config': 3.0.3 + '@changesets/assemble-release-plan': 6.0.5 + '@changesets/config': 3.0.4 '@changesets/pre': 2.0.1 - '@changesets/read': 0.6.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.1': + '@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: 2.0.0 + spawndamnit: 3.0.1 '@changesets/logger@0.1.1': dependencies: @@ -6290,9 +6498,9 @@ snapshots: '@manypkg/get-packages': 1.1.3 fs-extra: 7.0.1 - '@changesets/read@0.6.1': + '@changesets/read@0.6.2': dependencies: - '@changesets/git': 3.0.1 + '@changesets/git': 3.0.2 '@changesets/logger': 0.1.1 '@changesets/parse': 0.4.0 '@changesets/types': 6.0.0 @@ -6629,14 +6837,25 @@ snapshots: '@humanwhocodes/retry@0.4.1': {} - '@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.3.3)': + '@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.4.1)': dependencies: '@babel/core': 7.26.0 '@babel/generator': 7.26.2 '@babel/parser': 7.26.2 '@babel/traverse': 7.25.9 '@babel/types': 7.26.0 - prettier: 3.3.3 + prettier: 3.4.1 + semver: 7.6.3 + transitivePeerDependencies: + - supports-color + + '@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1)': + dependencies: + '@babel/generator': 7.26.2 + '@babel/parser': 7.26.2 + '@babel/traverse': 7.25.9 + '@babel/types': 7.26.0 + prettier: 3.4.1 semver: 7.6.3 transitivePeerDependencies: - supports-color @@ -6647,6 +6866,13 @@ snapshots: '@inquirer/type': 3.0.0(@types/node@22.9.0) '@types/node': 22.9.0 + '@inquirer/confirm@5.0.2(@types/node@22.10.0)': + dependencies: + '@inquirer/core': 10.1.0(@types/node@22.10.0) + '@inquirer/type': 3.0.1(@types/node@22.10.0) + '@types/node': 22.10.0 + optional: true + '@inquirer/core@10.0.1(@types/node@22.9.0)': dependencies: '@inquirer/figures': 1.0.7 @@ -6661,12 +6887,35 @@ snapshots: transitivePeerDependencies: - '@types/node' + '@inquirer/core@10.1.0(@types/node@22.10.0)': + dependencies: + '@inquirer/figures': 1.0.8 + '@inquirer/type': 3.0.1(@types/node@22.10.0) + ansi-escapes: 4.3.2 + cli-width: 4.1.0 + mute-stream: 2.0.0 + signal-exit: 4.1.0 + strip-ansi: 6.0.1 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.2 + transitivePeerDependencies: + - '@types/node' + optional: true + '@inquirer/figures@1.0.7': {} + '@inquirer/figures@1.0.8': + optional: true + '@inquirer/type@3.0.0(@types/node@22.9.0)': dependencies: '@types/node': 22.9.0 + '@inquirer/type@3.0.1(@types/node@22.10.0)': + dependencies: + '@types/node': 22.10.0 + optional: true + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -6732,6 +6981,16 @@ snapshots: outvariant: 1.4.3 strict-event-emitter: 0.5.1 + '@mswjs/interceptors@0.37.1': + dependencies: + '@open-draft/deferred-promise': 2.2.0 + '@open-draft/logger': 0.3.0 + '@open-draft/until': 2.1.0 + is-node-process: 1.2.0 + outvariant: 1.4.3 + strict-event-emitter: 0.5.1 + optional: true + '@next/eslint-plugin-next@14.2.16': dependencies: glob: 10.3.10 @@ -6898,6 +7157,9 @@ snapshots: '@rollup/rollup-android-arm-eabi@4.24.4': optional: true + '@rollup/rollup-android-arm-eabi@4.27.4': + optional: true + '@rollup/rollup-android-arm64@4.19.2': optional: true @@ -6910,6 +7172,9 @@ snapshots: '@rollup/rollup-android-arm64@4.24.4': optional: true + '@rollup/rollup-android-arm64@4.27.4': + optional: true + '@rollup/rollup-darwin-arm64@4.19.2': optional: true @@ -6922,6 +7187,9 @@ snapshots: '@rollup/rollup-darwin-arm64@4.24.4': optional: true + '@rollup/rollup-darwin-arm64@4.27.4': + optional: true + '@rollup/rollup-darwin-x64@4.19.2': optional: true @@ -6934,12 +7202,21 @@ snapshots: '@rollup/rollup-darwin-x64@4.24.4': optional: true + '@rollup/rollup-darwin-x64@4.27.4': + optional: true + '@rollup/rollup-freebsd-arm64@4.24.4': optional: true + '@rollup/rollup-freebsd-arm64@4.27.4': + optional: true + '@rollup/rollup-freebsd-x64@4.24.4': optional: true + '@rollup/rollup-freebsd-x64@4.27.4': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.19.2': optional: true @@ -6952,6 +7229,9 @@ snapshots: '@rollup/rollup-linux-arm-gnueabihf@4.24.4': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.27.4': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.19.2': optional: true @@ -6964,6 +7244,9 @@ snapshots: '@rollup/rollup-linux-arm-musleabihf@4.24.4': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.27.4': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.19.2': optional: true @@ -6976,6 +7259,9 @@ snapshots: '@rollup/rollup-linux-arm64-gnu@4.24.4': optional: true + '@rollup/rollup-linux-arm64-gnu@4.27.4': + optional: true + '@rollup/rollup-linux-arm64-musl@4.19.2': optional: true @@ -6988,6 +7274,9 @@ snapshots: '@rollup/rollup-linux-arm64-musl@4.24.4': optional: true + '@rollup/rollup-linux-arm64-musl@4.27.4': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.19.2': optional: true @@ -7000,6 +7289,9 @@ snapshots: '@rollup/rollup-linux-powerpc64le-gnu@4.24.4': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.19.2': optional: true @@ -7012,6 +7304,9 @@ snapshots: '@rollup/rollup-linux-riscv64-gnu@4.24.4': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.27.4': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.19.2': optional: true @@ -7024,6 +7319,9 @@ snapshots: '@rollup/rollup-linux-s390x-gnu@4.24.4': optional: true + '@rollup/rollup-linux-s390x-gnu@4.27.4': + optional: true + '@rollup/rollup-linux-x64-gnu@4.19.2': optional: true @@ -7036,6 +7334,9 @@ snapshots: '@rollup/rollup-linux-x64-gnu@4.24.4': optional: true + '@rollup/rollup-linux-x64-gnu@4.27.4': + optional: true + '@rollup/rollup-linux-x64-musl@4.19.2': optional: true @@ -7048,6 +7349,9 @@ snapshots: '@rollup/rollup-linux-x64-musl@4.24.4': optional: true + '@rollup/rollup-linux-x64-musl@4.27.4': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.19.2': optional: true @@ -7060,6 +7364,9 @@ snapshots: '@rollup/rollup-win32-arm64-msvc@4.24.4': optional: true + '@rollup/rollup-win32-arm64-msvc@4.27.4': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.19.2': optional: true @@ -7072,6 +7379,9 @@ snapshots: '@rollup/rollup-win32-ia32-msvc@4.24.4': optional: true + '@rollup/rollup-win32-ia32-msvc@4.27.4': + optional: true + '@rollup/rollup-win32-x64-msvc@4.19.2': optional: true @@ -7084,6 +7394,9 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.24.4': optional: true + '@rollup/rollup-win32-x64-msvc@4.27.4': + optional: true + '@rushstack/eslint-patch@1.10.4': {} '@size-limit/esbuild-why@11.1.6(size-limit@11.1.6)': @@ -7095,7 +7408,7 @@ snapshots: '@size-limit/esbuild@11.1.6(size-limit@11.1.6)': dependencies: esbuild: 0.24.0 - nanoid: 5.0.8 + nanoid: 5.0.9 size-limit: 11.1.6 '@size-limit/file@11.1.6(size-limit@11.1.6)': @@ -7182,6 +7495,11 @@ snapshots: '@types/node@12.20.55': {} + '@types/node@22.10.0': + dependencies: + undici-types: 6.20.0 + optional: true + '@types/node@22.5.1': dependencies: undici-types: 6.19.8 @@ -7270,39 +7588,39 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) '@typescript-eslint/visitor-keys': 7.18.0 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3))(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + '@typescript-eslint/eslint-plugin@8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/parser': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) '@typescript-eslint/scope-manager': 8.16.0 - '@typescript-eslint/type-utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) - '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/type-utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.16.0 eslint: 9.15.0(jiti@2.4.0) graphemer: 1.4.0 ignore: 5.3.2 natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -7337,29 +7655,29 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2)': dependencies: '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 7.18.0 debug: 4.3.6(supports-color@9.4.0) eslint: 8.57.0 optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + '@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: '@typescript-eslint/scope-manager': 8.16.0 '@typescript-eslint/types': 8.16.0 - '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.16.0 debug: 4.3.7(supports-color@8.1.1) eslint: 9.15.0(jiti@2.4.0) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -7408,27 +7726,27 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.7.2)': dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) debug: 4.3.6(supports-color@9.4.0) eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + '@typescript-eslint/type-utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: - '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.6.3) - '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) debug: 4.3.7(supports-color@8.1.1) eslint: 9.15.0(jiti@2.4.0) - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -7452,7 +7770,7 @@ snapshots: '@typescript-eslint/types@8.3.0': {} - '@typescript-eslint/typescript-estree@5.62.0(typescript@5.6.3)': + '@typescript-eslint/typescript-estree@5.62.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 @@ -7460,9 +7778,9 @@ snapshots: globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.3 - tsutils: 3.21.0(typescript@5.6.3) + tsutils: 3.21.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -7481,7 +7799,7 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.6.3)': + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 @@ -7490,13 +7808,13 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@8.16.0(typescript@5.6.3)': + '@typescript-eslint/typescript-estree@8.16.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 8.16.0 '@typescript-eslint/visitor-keys': 8.16.0 @@ -7505,9 +7823,9 @@ snapshots: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.6.3) + ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -7526,14 +7844,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.7.2) eslint: 8.57.0 eslint-scope: 5.1.1 semver: 7.6.3 @@ -7552,26 +7870,26 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@7.18.0(eslint@8.57.0)(typescript@5.6.3)': + '@typescript-eslint/utils@7.18.0(eslint@8.57.0)(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@typescript-eslint/scope-manager': 7.18.0 '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3)': + '@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.15.0(jiti@2.4.0)) '@typescript-eslint/scope-manager': 8.16.0 '@typescript-eslint/types': 8.16.0 - '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.6.3) + '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) eslint: 9.15.0(jiti@2.4.0) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color @@ -7608,33 +7926,33 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vercel/style-guide@6.0.0(@next/eslint-plugin-next@14.2.16)(eslint@8.57.0)(prettier@3.3.3)(typescript@5.6.3)(vitest@2.1.4(@types/node@22.9.0)(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3)))': + '@vercel/style-guide@6.0.0(@next/eslint-plugin-next@14.2.16)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2))': dependencies: '@babel/core': 7.25.2 '@babel/eslint-parser': 7.25.1(@babel/core@7.25.2)(eslint@8.57.0) '@rushstack/eslint-patch': 1.10.4 - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) eslint-config-prettier: 9.1.0(eslint@8.57.0) - eslint-import-resolver-alias: 1.1.2(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)) - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0) + eslint-import-resolver-alias: 1.1.2(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0) eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) eslint-plugin-jsx-a11y: 6.9.0(eslint@8.57.0) - eslint-plugin-playwright: 1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0) + eslint-plugin-playwright: 1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0) eslint-plugin-react: 7.35.0(eslint@8.57.0) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) - eslint-plugin-testing-library: 6.3.0(eslint@8.57.0)(typescript@5.6.3) + eslint-plugin-testing-library: 6.3.0(eslint@8.57.0)(typescript@5.7.2) eslint-plugin-tsdoc: 0.2.17 eslint-plugin-unicorn: 51.0.1(eslint@8.57.0) - eslint-plugin-vitest: 0.3.26(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)(vitest@2.1.4(@types/node@22.9.0)(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3))) - prettier-plugin-packagejson: 2.5.1(prettier@3.3.3) + eslint-plugin-vitest: 0.3.26(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)) + prettier-plugin-packagejson: 2.5.1(prettier@3.4.1) optionalDependencies: '@next/eslint-plugin-next': 14.2.16 eslint: 8.57.0 - prettier: 3.3.3 - typescript: 5.6.3 + prettier: 3.4.1 + typescript: 5.7.2 transitivePeerDependencies: - eslint-import-resolver-node - eslint-import-resolver-webpack @@ -7642,66 +7960,66 @@ snapshots: - supports-color - vitest - '@vitejs/plugin-react@4.3.1(vite@5.3.5(@types/node@22.9.0))': + '@vitejs/plugin-react@4.3.1(vite@5.3.5(@types/node@22.10.0))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.3.5(@types/node@22.9.0) + vite: 5.3.5(@types/node@22.10.0) transitivePeerDependencies: - supports-color - '@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.9.0))': + '@vitejs/plugin-react@4.3.1(vite@5.4.2(@types/node@22.10.0))': dependencies: '@babel/core': 7.25.2 '@babel/plugin-transform-react-jsx-self': 7.24.7(@babel/core@7.25.2) '@babel/plugin-transform-react-jsx-source': 7.24.7(@babel/core@7.25.2) '@types/babel__core': 7.20.5 react-refresh: 0.14.2 - vite: 5.4.2(@types/node@22.9.0) + vite: 5.4.2(@types/node@22.10.0) transitivePeerDependencies: - supports-color - '@vitest/expect@2.1.4': + '@vitest/expect@2.1.6': dependencies: - '@vitest/spy': 2.1.4 - '@vitest/utils': 2.1.4 + '@vitest/spy': 2.1.6 + '@vitest/utils': 2.1.6 chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.4(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.10(@types/node@22.9.0))': + '@vitest/mocker@2.1.6(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2))': dependencies: - '@vitest/spy': 2.1.4 + '@vitest/spy': 2.1.6 estree-walker: 3.0.3 - magic-string: 0.30.12 + magic-string: 0.30.14 optionalDependencies: - msw: 2.6.0(@types/node@22.9.0)(typescript@5.6.3) - vite: 5.4.10(@types/node@22.9.0) + msw: 2.6.6(@types/node@22.10.0)(typescript@5.7.2) + vite: 6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2) - '@vitest/pretty-format@2.1.4': + '@vitest/pretty-format@2.1.6': dependencies: tinyrainbow: 1.2.0 - '@vitest/runner@2.1.4': + '@vitest/runner@2.1.6': dependencies: - '@vitest/utils': 2.1.4 + '@vitest/utils': 2.1.6 pathe: 1.1.2 - '@vitest/snapshot@2.1.4': + '@vitest/snapshot@2.1.6': dependencies: - '@vitest/pretty-format': 2.1.4 - magic-string: 0.30.12 + '@vitest/pretty-format': 2.1.6 + magic-string: 0.30.14 pathe: 1.1.2 - '@vitest/spy@2.1.4': + '@vitest/spy@2.1.6': dependencies: tinyspy: 3.0.2 - '@vitest/utils@2.1.4': + '@vitest/utils@2.1.6': dependencies: - '@vitest/pretty-format': 2.1.4 + '@vitest/pretty-format': 2.1.6 loupe: 3.1.2 tinyrainbow: 1.2.0 @@ -8075,18 +8393,15 @@ snapshots: cookie@0.7.1: {} + cookie@0.7.2: + optional: true + core-js-compat@3.38.1: dependencies: browserslist: 4.23.3 create-require@1.1.1: {} - cross-spawn@5.1.0: - dependencies: - lru-cache: 4.1.5 - shebang-command: 1.2.0 - which: 1.3.1 - cross-spawn@7.0.3: dependencies: path-key: 3.1.1 @@ -8099,9 +8414,9 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - css-declaration-sorter@6.4.1(postcss@8.4.47): + css-declaration-sorter@6.4.1(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 css-select@4.3.0: dependencies: @@ -8120,48 +8435,48 @@ snapshots: cssesc@3.0.0: {} - cssnano-preset-default@5.2.14(postcss@8.4.47): - dependencies: - css-declaration-sorter: 6.4.1(postcss@8.4.47) - cssnano-utils: 3.1.0(postcss@8.4.47) - postcss: 8.4.47 - postcss-calc: 8.2.4(postcss@8.4.47) - postcss-colormin: 5.3.1(postcss@8.4.47) - postcss-convert-values: 5.1.3(postcss@8.4.47) - postcss-discard-comments: 5.1.2(postcss@8.4.47) - postcss-discard-duplicates: 5.1.0(postcss@8.4.47) - postcss-discard-empty: 5.1.1(postcss@8.4.47) - postcss-discard-overridden: 5.1.0(postcss@8.4.47) - postcss-merge-longhand: 5.1.7(postcss@8.4.47) - postcss-merge-rules: 5.1.4(postcss@8.4.47) - postcss-minify-font-values: 5.1.0(postcss@8.4.47) - postcss-minify-gradients: 5.1.1(postcss@8.4.47) - postcss-minify-params: 5.1.4(postcss@8.4.47) - postcss-minify-selectors: 5.2.1(postcss@8.4.47) - postcss-normalize-charset: 5.1.0(postcss@8.4.47) - postcss-normalize-display-values: 5.1.0(postcss@8.4.47) - postcss-normalize-positions: 5.1.1(postcss@8.4.47) - postcss-normalize-repeat-style: 5.1.1(postcss@8.4.47) - postcss-normalize-string: 5.1.0(postcss@8.4.47) - postcss-normalize-timing-functions: 5.1.0(postcss@8.4.47) - postcss-normalize-unicode: 5.1.1(postcss@8.4.47) - postcss-normalize-url: 5.1.0(postcss@8.4.47) - postcss-normalize-whitespace: 5.1.1(postcss@8.4.47) - postcss-ordered-values: 5.1.3(postcss@8.4.47) - postcss-reduce-initial: 5.1.2(postcss@8.4.47) - postcss-reduce-transforms: 5.1.0(postcss@8.4.47) - postcss-svgo: 5.1.0(postcss@8.4.47) - postcss-unique-selectors: 5.1.1(postcss@8.4.47) - - cssnano-utils@3.1.0(postcss@8.4.47): - dependencies: - postcss: 8.4.47 - - cssnano@5.1.15(postcss@8.4.47): - dependencies: - cssnano-preset-default: 5.2.14(postcss@8.4.47) + cssnano-preset-default@5.2.14(postcss@8.4.49): + dependencies: + css-declaration-sorter: 6.4.1(postcss@8.4.49) + cssnano-utils: 3.1.0(postcss@8.4.49) + postcss: 8.4.49 + postcss-calc: 8.2.4(postcss@8.4.49) + postcss-colormin: 5.3.1(postcss@8.4.49) + postcss-convert-values: 5.1.3(postcss@8.4.49) + postcss-discard-comments: 5.1.2(postcss@8.4.49) + postcss-discard-duplicates: 5.1.0(postcss@8.4.49) + postcss-discard-empty: 5.1.1(postcss@8.4.49) + postcss-discard-overridden: 5.1.0(postcss@8.4.49) + postcss-merge-longhand: 5.1.7(postcss@8.4.49) + postcss-merge-rules: 5.1.4(postcss@8.4.49) + postcss-minify-font-values: 5.1.0(postcss@8.4.49) + postcss-minify-gradients: 5.1.1(postcss@8.4.49) + postcss-minify-params: 5.1.4(postcss@8.4.49) + postcss-minify-selectors: 5.2.1(postcss@8.4.49) + postcss-normalize-charset: 5.1.0(postcss@8.4.49) + postcss-normalize-display-values: 5.1.0(postcss@8.4.49) + postcss-normalize-positions: 5.1.1(postcss@8.4.49) + postcss-normalize-repeat-style: 5.1.1(postcss@8.4.49) + postcss-normalize-string: 5.1.0(postcss@8.4.49) + postcss-normalize-timing-functions: 5.1.0(postcss@8.4.49) + postcss-normalize-unicode: 5.1.1(postcss@8.4.49) + postcss-normalize-url: 5.1.0(postcss@8.4.49) + postcss-normalize-whitespace: 5.1.1(postcss@8.4.49) + postcss-ordered-values: 5.1.3(postcss@8.4.49) + postcss-reduce-initial: 5.1.2(postcss@8.4.49) + postcss-reduce-transforms: 5.1.0(postcss@8.4.49) + postcss-svgo: 5.1.0(postcss@8.4.49) + postcss-unique-selectors: 5.1.1(postcss@8.4.49) + + cssnano-utils@3.1.0(postcss@8.4.49): + dependencies: + postcss: 8.4.49 + + cssnano@5.1.15(postcss@8.4.49): + dependencies: + cssnano-preset-default: 5.2.14(postcss@8.4.49) lilconfig: 2.1.0 - postcss: 8.4.47 + postcss: 8.4.49 yaml: 1.10.2 csso@4.2.0: @@ -8587,9 +8902,9 @@ snapshots: eslint: 8.57.0 eslint-plugin-turbo: 2.2.3(eslint@8.57.0) - eslint-import-resolver-alias@1.1.2(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)): + eslint-import-resolver-alias@1.1.2(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)): dependencies: - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) eslint-import-resolver-node@0.3.9: dependencies: @@ -8599,13 +8914,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0): + eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 4.3.6(supports-color@9.4.0) enhanced-resolve: 5.17.1 eslint: 8.57.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) fast-glob: 3.3.2 get-tsconfig: 4.7.6 is-core-module: 2.15.1 @@ -8616,14 +8931,14 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): + eslint-module-utils@2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0) + eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0) transitivePeerDependencies: - supports-color @@ -8633,7 +8948,7 @@ snapshots: eslint: 8.57.0 ignore: 5.3.2 - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): + eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): dependencies: array-includes: 3.1.8 array.prototype.findlastindex: 1.2.5 @@ -8643,7 +8958,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.0 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) + eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) hasown: 2.0.2 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -8654,18 +8969,18 @@ snapshots: semver: 6.3.1 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.7.2) eslint: 8.57.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) transitivePeerDependencies: - supports-color - typescript @@ -8692,12 +9007,12 @@ snapshots: eslint-plugin-only-warn@1.1.0: {} - eslint-plugin-playwright@1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0): + eslint-plugin-playwright@1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0): dependencies: eslint: 8.57.0 globals: 13.24.0 optionalDependencies: - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) eslint-plugin-react-hooks@4.6.2(eslint@8.57.0): dependencies: @@ -8759,9 +9074,9 @@ snapshots: string.prototype.matchall: 4.0.11 string.prototype.repeat: 1.0.0 - eslint-plugin-testing-library@6.3.0(eslint@8.57.0)(typescript@5.6.3): + eslint-plugin-testing-library@6.3.0(eslint@8.57.0)(typescript@5.7.2): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.7.2) eslint: 8.57.0 transitivePeerDependencies: - supports-color @@ -8804,13 +9119,13 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-vitest@0.3.26(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)(vitest@2.1.4(@types/node@22.9.0)(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3))): + eslint-plugin-vitest@0.3.26(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.6.3) + '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) eslint: 8.57.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) - vitest: 2.1.4(@types/node@22.9.0)(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3)) + '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) + vitest: 2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2) transitivePeerDependencies: - supports-color - typescript @@ -9337,9 +9652,9 @@ snapshots: icss-replace-symbols@1.1.0: {} - icss-utils@5.1.0(postcss@8.4.47): + icss-utils@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 ignore-by-default@1.0.1: {} @@ -9666,11 +9981,6 @@ snapshots: lru-cache@10.4.3: {} - lru-cache@4.1.5: - dependencies: - pseudomap: 1.0.2 - yallist: 2.1.2 - lru-cache@5.1.1: dependencies: yallist: 3.1.1 @@ -9679,6 +9989,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.0 + magic-string@0.30.14: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + make-error@1.3.6: {} maxmin@2.1.0: @@ -9755,7 +10069,7 @@ snapshots: ms@2.1.3: {} - msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3): + msw@2.6.0(@types/node@22.9.0)(typescript@5.7.2): dependencies: '@bundled-es-modules/cookie': 2.0.0 '@bundled-es-modules/statuses': 1.0.1 @@ -9776,15 +10090,41 @@ snapshots: type-fest: 4.26.1 yargs: 17.7.2 optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - '@types/node' + msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2): + dependencies: + '@bundled-es-modules/cookie': 2.0.1 + '@bundled-es-modules/statuses': 1.0.1 + '@bundled-es-modules/tough-cookie': 0.1.6 + '@inquirer/confirm': 5.0.2(@types/node@22.10.0) + '@mswjs/interceptors': 0.37.1 + '@open-draft/deferred-promise': 2.2.0 + '@open-draft/until': 2.1.0 + '@types/cookie': 0.6.0 + '@types/statuses': 2.0.5 + chalk: 4.1.2 + graphql: 16.9.0 + headers-polyfill: 4.0.3 + is-node-process: 1.2.0 + outvariant: 1.4.3 + path-to-regexp: 6.3.0 + strict-event-emitter: 0.5.1 + type-fest: 4.29.0 + yargs: 17.7.2 + optionalDependencies: + typescript: 5.7.2 + transitivePeerDependencies: + - '@types/node' + optional: true + mute-stream@2.0.0: {} - nanoid@3.3.7: {} + nanoid@3.3.8: {} - nanoid@5.0.8: {} + nanoid@5.0.9: {} nanospinner@1.2.0: dependencies: @@ -9925,14 +10265,14 @@ snapshots: transitivePeerDependencies: - encoding - openapi-typescript@7.4.2(typescript@5.6.3): + openapi-typescript@7.4.2(typescript@5.7.2): dependencies: '@redocly/openapi-core': 1.25.10(supports-color@9.4.0) ansi-colors: 4.1.3 change-case: 5.4.4 parse-json: 8.1.0 supports-color: 9.4.0 - typescript: 5.6.3 + typescript: 5.7.2 yargs-parser: 21.1.1 transitivePeerDependencies: - encoding @@ -9987,7 +10327,7 @@ snapshots: p-try@2.2.0: {} - package-manager-detector@0.2.2: {} + package-manager-detector@0.2.5: {} package-name-regex@2.0.6: {} @@ -10061,182 +10401,182 @@ snapshots: possible-typed-array-names@1.0.0: {} - postcss-calc@8.2.4(postcss@8.4.47): + postcss-calc@8.2.4(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-selector-parser: 6.1.2 postcss-value-parser: 4.2.0 - postcss-colormin@5.3.1(postcss@8.4.47): + postcss-colormin@5.3.1(postcss@8.4.49): dependencies: browserslist: 4.24.2 caniuse-api: 3.0.0 colord: 2.9.3 - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-convert-values@5.1.3(postcss@8.4.47): + postcss-convert-values@5.1.3(postcss@8.4.49): dependencies: browserslist: 4.24.2 - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-discard-comments@5.1.2(postcss@8.4.47): + postcss-discard-comments@5.1.2(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 - postcss-discard-duplicates@5.1.0(postcss@8.4.47): + postcss-discard-duplicates@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 - postcss-discard-empty@5.1.1(postcss@8.4.47): + postcss-discard-empty@5.1.1(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 - postcss-discard-overridden@5.1.0(postcss@8.4.47): + postcss-discard-overridden@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 - postcss-load-config@3.1.4(postcss@8.4.47)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3)): + postcss-load-config@3.1.4(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)): dependencies: lilconfig: 2.1.0 yaml: 1.10.2 optionalDependencies: - postcss: 8.4.47 - ts-node: 10.9.2(@types/node@22.9.0)(typescript@5.6.3) + postcss: 8.4.49 + ts-node: 10.9.2(@types/node@22.9.0)(typescript@5.7.2) - postcss-merge-longhand@5.1.7(postcss@8.4.47): + postcss-merge-longhand@5.1.7(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - stylehacks: 5.1.1(postcss@8.4.47) + stylehacks: 5.1.1(postcss@8.4.49) - postcss-merge-rules@5.1.4(postcss@8.4.47): + postcss-merge-rules@5.1.4(postcss@8.4.49): dependencies: browserslist: 4.24.2 caniuse-api: 3.0.0 - cssnano-utils: 3.1.0(postcss@8.4.47) - postcss: 8.4.47 + cssnano-utils: 3.1.0(postcss@8.4.49) + postcss: 8.4.49 postcss-selector-parser: 6.1.2 - postcss-minify-font-values@5.1.0(postcss@8.4.47): + postcss-minify-font-values@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-minify-gradients@5.1.1(postcss@8.4.47): + postcss-minify-gradients@5.1.1(postcss@8.4.49): dependencies: colord: 2.9.3 - cssnano-utils: 3.1.0(postcss@8.4.47) - postcss: 8.4.47 + cssnano-utils: 3.1.0(postcss@8.4.49) + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-minify-params@5.1.4(postcss@8.4.47): + postcss-minify-params@5.1.4(postcss@8.4.49): dependencies: browserslist: 4.24.2 - cssnano-utils: 3.1.0(postcss@8.4.47) - postcss: 8.4.47 + cssnano-utils: 3.1.0(postcss@8.4.49) + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-minify-selectors@5.2.1(postcss@8.4.47): + postcss-minify-selectors@5.2.1(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-selector-parser: 6.1.2 - postcss-modules-extract-imports@3.1.0(postcss@8.4.47): + postcss-modules-extract-imports@3.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 - postcss-modules-local-by-default@4.0.5(postcss@8.4.47): + postcss-modules-local-by-default@4.0.5(postcss@8.4.49): dependencies: - icss-utils: 5.1.0(postcss@8.4.47) - postcss: 8.4.47 + icss-utils: 5.1.0(postcss@8.4.49) + postcss: 8.4.49 postcss-selector-parser: 6.1.2 postcss-value-parser: 4.2.0 - postcss-modules-scope@3.2.0(postcss@8.4.47): + postcss-modules-scope@3.2.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-selector-parser: 6.1.2 - postcss-modules-values@4.0.0(postcss@8.4.47): + postcss-modules-values@4.0.0(postcss@8.4.49): dependencies: - icss-utils: 5.1.0(postcss@8.4.47) - postcss: 8.4.47 + icss-utils: 5.1.0(postcss@8.4.49) + postcss: 8.4.49 - postcss-modules@4.3.1(postcss@8.4.47): + postcss-modules@4.3.1(postcss@8.4.49): dependencies: generic-names: 4.0.0 icss-replace-symbols: 1.1.0 lodash.camelcase: 4.3.0 - postcss: 8.4.47 - postcss-modules-extract-imports: 3.1.0(postcss@8.4.47) - postcss-modules-local-by-default: 4.0.5(postcss@8.4.47) - postcss-modules-scope: 3.2.0(postcss@8.4.47) - postcss-modules-values: 4.0.0(postcss@8.4.47) + postcss: 8.4.49 + postcss-modules-extract-imports: 3.1.0(postcss@8.4.49) + postcss-modules-local-by-default: 4.0.5(postcss@8.4.49) + postcss-modules-scope: 3.2.0(postcss@8.4.49) + postcss-modules-values: 4.0.0(postcss@8.4.49) string-hash: 1.1.3 - postcss-normalize-charset@5.1.0(postcss@8.4.47): + postcss-normalize-charset@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 - postcss-normalize-display-values@5.1.0(postcss@8.4.47): + postcss-normalize-display-values@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-normalize-positions@5.1.1(postcss@8.4.47): + postcss-normalize-positions@5.1.1(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-normalize-repeat-style@5.1.1(postcss@8.4.47): + postcss-normalize-repeat-style@5.1.1(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-normalize-string@5.1.0(postcss@8.4.47): + postcss-normalize-string@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-normalize-timing-functions@5.1.0(postcss@8.4.47): + postcss-normalize-timing-functions@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-normalize-unicode@5.1.1(postcss@8.4.47): + postcss-normalize-unicode@5.1.1(postcss@8.4.49): dependencies: browserslist: 4.24.2 - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-normalize-url@5.1.0(postcss@8.4.47): + postcss-normalize-url@5.1.0(postcss@8.4.49): dependencies: normalize-url: 6.1.0 - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-normalize-whitespace@5.1.1(postcss@8.4.47): + postcss-normalize-whitespace@5.1.1(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-ordered-values@5.1.3(postcss@8.4.47): + postcss-ordered-values@5.1.3(postcss@8.4.49): dependencies: - cssnano-utils: 3.1.0(postcss@8.4.47) - postcss: 8.4.47 + cssnano-utils: 3.1.0(postcss@8.4.49) + postcss: 8.4.49 postcss-value-parser: 4.2.0 - postcss-reduce-initial@5.1.2(postcss@8.4.47): + postcss-reduce-initial@5.1.2(postcss@8.4.49): dependencies: browserslist: 4.24.2 caniuse-api: 3.0.0 - postcss: 8.4.47 + postcss: 8.4.49 - postcss-reduce-transforms@5.1.0(postcss@8.4.47): + postcss-reduce-transforms@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 postcss-selector-parser@6.1.2: @@ -10244,68 +10584,74 @@ snapshots: cssesc: 3.0.0 util-deprecate: 1.0.2 - postcss-svgo@5.1.0(postcss@8.4.47): + postcss-svgo@5.1.0(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-value-parser: 4.2.0 svgo: 2.8.0 - postcss-unique-selectors@5.1.1(postcss@8.4.47): + postcss-unique-selectors@5.1.1(postcss@8.4.49): dependencies: - postcss: 8.4.47 + postcss: 8.4.49 postcss-selector-parser: 6.1.2 postcss-value-parser@4.2.0: {} postcss@8.4.40: dependencies: - nanoid: 3.3.7 + nanoid: 3.3.8 picocolors: 1.1.1 source-map-js: 1.2.0 postcss@8.4.41: dependencies: - nanoid: 3.3.7 + nanoid: 3.3.8 picocolors: 1.1.1 source-map-js: 1.2.0 postcss@8.4.42: dependencies: - nanoid: 3.3.7 + nanoid: 3.3.8 picocolors: 1.1.1 source-map-js: 1.2.0 - postcss@8.4.47: + postcss@8.4.49: dependencies: - nanoid: 3.3.7 + nanoid: 3.3.8 picocolors: 1.1.1 source-map-js: 1.2.1 prelude-ls@1.2.1: {} - prettier-plugin-packagejson@2.5.1(prettier@3.3.3): + prettier-plugin-packagejson@2.5.1(prettier@3.4.1): dependencies: sort-package-json: 2.10.0 synckit: 0.9.1 optionalDependencies: - prettier: 3.3.3 + prettier: 3.4.1 - prettier-plugin-packagejson@2.5.6(prettier@3.3.3): + prettier-plugin-packagejson@2.5.6(prettier@3.4.1): dependencies: sort-package-json: 2.12.0 synckit: 0.9.2 optionalDependencies: - prettier: 3.3.3 + prettier: 3.4.1 + + prettier-plugin-tailwindcss@0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.4.1))(prettier@3.4.1): + dependencies: + prettier: 3.4.1 + optionalDependencies: + '@ianvs/prettier-plugin-sort-imports': 4.3.1(prettier@3.4.1) - prettier-plugin-tailwindcss@0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.3.3))(prettier@3.3.3): + prettier-plugin-tailwindcss@0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1))(prettier@3.4.1): dependencies: - prettier: 3.3.3 + prettier: 3.4.1 optionalDependencies: - '@ianvs/prettier-plugin-sort-imports': 4.3.1(prettier@3.3.3) + '@ianvs/prettier-plugin-sort-imports': 4.4.0(prettier@3.4.1) prettier@2.8.8: {} - prettier@3.3.3: {} + prettier@3.4.1: {} pretty-bytes@3.0.1: dependencies: @@ -10328,8 +10674,6 @@ snapshots: forwarded: 0.2.0 ipaddr.js: 1.9.1 - pseudomap@1.0.2: {} - psl@1.9.0: {} pstree.remy@1.1.8: {} @@ -10497,17 +10841,17 @@ snapshots: dependencies: rollup: 4.24.4 - rollup-plugin-postcss@4.0.2(postcss@8.4.47)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3)): + rollup-plugin-postcss@4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)): dependencies: chalk: 4.1.2 concat-with-sourcemaps: 1.1.0 - cssnano: 5.1.15(postcss@8.4.47) + cssnano: 5.1.15(postcss@8.4.49) import-cwd: 3.0.0 p-queue: 6.6.2 pify: 5.0.0 - postcss: 8.4.47 - postcss-load-config: 3.1.4(postcss@8.4.47)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3)) - postcss-modules: 4.3.1(postcss@8.4.47) + postcss: 8.4.49 + postcss-load-config: 3.1.4(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)) + postcss-modules: 4.3.1(postcss@8.4.49) promise.series: 0.2.0 resolve: 1.22.8 rollup-pluginutils: 2.8.2 @@ -10610,6 +10954,30 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.24.4 fsevents: 2.3.3 + rollup@4.27.4: + dependencies: + '@types/estree': 1.0.6 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.27.4 + '@rollup/rollup-android-arm64': 4.27.4 + '@rollup/rollup-darwin-arm64': 4.27.4 + '@rollup/rollup-darwin-x64': 4.27.4 + '@rollup/rollup-freebsd-arm64': 4.27.4 + '@rollup/rollup-freebsd-x64': 4.27.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.27.4 + '@rollup/rollup-linux-arm-musleabihf': 4.27.4 + '@rollup/rollup-linux-arm64-gnu': 4.27.4 + '@rollup/rollup-linux-arm64-musl': 4.27.4 + '@rollup/rollup-linux-powerpc64le-gnu': 4.27.4 + '@rollup/rollup-linux-riscv64-gnu': 4.27.4 + '@rollup/rollup-linux-s390x-gnu': 4.27.4 + '@rollup/rollup-linux-x64-gnu': 4.27.4 + '@rollup/rollup-linux-x64-musl': 4.27.4 + '@rollup/rollup-win32-arm64-msvc': 4.27.4 + '@rollup/rollup-win32-ia32-msvc': 4.27.4 + '@rollup/rollup-win32-x64-msvc': 4.27.4 + fsevents: 2.3.3 + run-applescript@7.0.0: {} run-parallel@1.2.0: @@ -10694,16 +11062,10 @@ snapshots: setprototypeof@1.2.0: {} - shebang-command@1.2.0: - dependencies: - shebang-regex: 1.0.0 - shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 - shebang-regex@1.0.0: {} - shebang-regex@3.0.0: {} shelljs@0.8.5: @@ -10726,8 +11088,6 @@ snapshots: siginfo@2.0.0: {} - signal-exit@3.0.7: {} - signal-exit@4.1.0: {} simple-update-notifier@2.0.0: @@ -10778,10 +11138,10 @@ snapshots: source-map@0.6.1: {} - spawndamnit@2.0.0: + spawndamnit@3.0.1: dependencies: - cross-spawn: 5.1.0 - signal-exit: 3.0.7 + cross-spawn: 7.0.6 + signal-exit: 4.1.0 spdx-compare@1.0.0: dependencies: @@ -10823,7 +11183,7 @@ snapshots: statuses@2.0.1: {} - std-env@3.7.0: {} + std-env@3.8.0: {} stop-iteration-iterator@1.0.0: dependencies: @@ -10919,10 +11279,10 @@ snapshots: style-inject@0.3.0: {} - stylehacks@5.1.1(postcss@8.4.47): + stylehacks@5.1.1(postcss@8.4.49): dependencies: browserslist: 4.24.2 - postcss: 8.4.47 + postcss: 8.4.49 postcss-selector-parser: 6.1.2 supports-color@2.0.0: {} @@ -10985,7 +11345,7 @@ snapshots: fdir: 6.4.2(picomatch@4.0.2) picomatch: 4.0.2 - tinypool@1.0.1: {} + tinypool@1.0.2: {} tinyrainbow@1.2.0: {} @@ -11020,11 +11380,11 @@ snapshots: dependencies: typescript: 5.5.4 - ts-api-utils@1.3.0(typescript@5.6.3): + ts-api-utils@1.3.0(typescript@5.7.2): dependencies: - typescript: 5.6.3 + typescript: 5.7.2 - ts-node@10.9.2(@types/node@22.8.5)(typescript@5.6.3): + ts-node@10.9.2(@types/node@22.8.5)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -11038,11 +11398,11 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.3 + typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - ts-node@10.9.2(@types/node@22.9.0)(typescript@5.6.3): + ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -11056,14 +11416,14 @@ snapshots: create-require: 1.1.1 diff: 4.0.2 make-error: 1.3.6 - typescript: 5.6.3 + typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optional: true - tsconfck@3.1.4(typescript@5.6.3): + tsconfck@3.1.4(typescript@5.7.2): optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 tsconfig-paths@3.15.0: dependencies: @@ -11076,10 +11436,10 @@ snapshots: tslib@2.6.3: {} - tsutils@3.21.0(typescript@5.6.3): + tsutils@3.21.0(typescript@5.7.2): dependencies: tslib: 1.14.1 - typescript: 5.6.3 + typescript: 5.7.2 tsx@4.19.0: dependencies: @@ -11088,32 +11448,40 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - turbo-darwin-64@2.2.3: + tsx@4.19.2: + dependencies: + esbuild: 0.23.1 + get-tsconfig: 4.8.1 + optionalDependencies: + fsevents: 2.3.3 + optional: true + + turbo-darwin-64@2.3.3: optional: true - turbo-darwin-arm64@2.2.3: + turbo-darwin-arm64@2.3.3: optional: true - turbo-linux-64@2.2.3: + turbo-linux-64@2.3.3: optional: true - turbo-linux-arm64@2.2.3: + turbo-linux-arm64@2.3.3: optional: true - turbo-windows-64@2.2.3: + turbo-windows-64@2.3.3: optional: true - turbo-windows-arm64@2.2.3: + turbo-windows-arm64@2.3.3: optional: true - turbo@2.2.3: + turbo@2.3.3: optionalDependencies: - turbo-darwin-64: 2.2.3 - turbo-darwin-arm64: 2.2.3 - turbo-linux-64: 2.2.3 - turbo-linux-arm64: 2.2.3 - turbo-windows-64: 2.2.3 - turbo-windows-arm64: 2.2.3 + turbo-darwin-64: 2.3.3 + turbo-darwin-arm64: 2.3.3 + turbo-linux-64: 2.3.3 + turbo-linux-arm64: 2.3.3 + turbo-windows-64: 2.3.3 + turbo-windows-arm64: 2.3.3 txml@5.1.1: dependencies: @@ -11135,6 +11503,9 @@ snapshots: type-fest@4.26.1: {} + type-fest@4.29.0: + optional: true + type-is@1.6.18: dependencies: media-typer: 0.3.0 @@ -11172,20 +11543,20 @@ snapshots: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 - typescript-eslint@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3): + typescript-eslint@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2): dependencies: - '@typescript-eslint/eslint-plugin': 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3))(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) - '@typescript-eslint/parser': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) - '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.6.3) + '@typescript-eslint/eslint-plugin': 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) + '@typescript-eslint/parser': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) + '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) eslint: 9.15.0(jiti@2.4.0) optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 transitivePeerDependencies: - supports-color typescript@5.5.4: {} - typescript@5.6.3: {} + typescript@5.7.2: {} unbox-primitive@1.0.2: dependencies: @@ -11198,6 +11569,9 @@ snapshots: undici-types@6.19.8: {} + undici-types@6.20.0: + optional: true + universalify@0.1.2: {} universalify@0.2.0: {} @@ -11237,13 +11611,13 @@ snapshots: optionalDependencies: typescript: 5.5.4 - valibot@0.42.1(typescript@5.6.3): + valibot@0.42.1(typescript@5.7.2): optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 - valibot@1.0.0-beta.3(typescript@5.6.3): + valibot@1.0.0-beta.3(typescript@5.7.2): optionalDependencies: - typescript: 5.6.3 + typescript: 5.7.2 validate-npm-package-license@3.0.4: dependencies: @@ -11252,14 +11626,16 @@ snapshots: vary@1.1.2: {} - vite-node@2.1.4(@types/node@22.9.0): + vite-node@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2): dependencies: cac: 6.7.14 debug: 4.3.7(supports-color@8.1.1) + es-module-lexer: 1.5.4 pathe: 1.1.2 - vite: 5.4.10(@types/node@22.9.0) + vite: 6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2) transitivePeerDependencies: - '@types/node' + - jiti - less - lightningcss - sass @@ -11268,79 +11644,84 @@ snapshots: - sugarss - supports-color - terser + - tsx + - yaml - vite-tsconfig-paths@5.1.0(typescript@5.6.3)(vite@5.4.10(@types/node@22.9.0)): + vite-tsconfig-paths@5.1.0(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)): dependencies: debug: 4.3.7(supports-color@8.1.1) globrex: 0.1.2 - tsconfck: 3.1.4(typescript@5.6.3) + tsconfck: 3.1.4(typescript@5.7.2) optionalDependencies: - vite: 5.4.10(@types/node@22.9.0) + vite: 6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2) transitivePeerDependencies: - supports-color - typescript - vite@5.3.5(@types/node@22.9.0): + vite@5.3.5(@types/node@22.10.0): dependencies: esbuild: 0.21.5 postcss: 8.4.40 rollup: 4.19.2 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.0 fsevents: 2.3.3 - vite@5.4.0(@types/node@22.9.0): + vite@5.4.0(@types/node@22.10.0): dependencies: esbuild: 0.21.5 postcss: 8.4.41 rollup: 4.20.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.0 fsevents: 2.3.3 - vite@5.4.10(@types/node@22.9.0): + vite@5.4.2(@types/node@22.10.0): dependencies: esbuild: 0.21.5 - postcss: 8.4.47 - rollup: 4.24.4 + postcss: 8.4.42 + rollup: 4.21.2 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.0 fsevents: 2.3.3 - vite@5.4.2(@types/node@22.9.0): + vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2): dependencies: - esbuild: 0.21.5 - postcss: 8.4.42 - rollup: 4.21.2 + esbuild: 0.24.0 + postcss: 8.4.49 + rollup: 4.27.4 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.0 fsevents: 2.3.3 + jiti: 2.4.0 + tsx: 4.19.2 - vitest@2.1.4(@types/node@22.9.0)(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3)): + vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2): dependencies: - '@vitest/expect': 2.1.4 - '@vitest/mocker': 2.1.4(msw@2.6.0(@types/node@22.9.0)(typescript@5.6.3))(vite@5.4.10(@types/node@22.9.0)) - '@vitest/pretty-format': 2.1.4 - '@vitest/runner': 2.1.4 - '@vitest/snapshot': 2.1.4 - '@vitest/spy': 2.1.4 - '@vitest/utils': 2.1.4 + '@vitest/expect': 2.1.6 + '@vitest/mocker': 2.1.6(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) + '@vitest/pretty-format': 2.1.6 + '@vitest/runner': 2.1.6 + '@vitest/snapshot': 2.1.6 + '@vitest/spy': 2.1.6 + '@vitest/utils': 2.1.6 chai: 5.1.2 debug: 4.3.7(supports-color@8.1.1) expect-type: 1.1.0 - magic-string: 0.30.12 + magic-string: 0.30.14 pathe: 1.1.2 - std-env: 3.7.0 + std-env: 3.8.0 tinybench: 2.9.0 tinyexec: 0.3.1 - tinypool: 1.0.1 + tinypool: 1.0.2 tinyrainbow: 1.2.0 - vite: 5.4.10(@types/node@22.9.0) - vite-node: 2.1.4(@types/node@22.9.0) + vite: 6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2) + vite-node: 2.1.6(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.0 transitivePeerDependencies: + - jiti - less - lightningcss - msw @@ -11350,6 +11731,8 @@ snapshots: - sugarss - supports-color - terser + - tsx + - yaml webidl-conversions@3.0.1: {} @@ -11396,10 +11779,6 @@ snapshots: gopd: 1.0.1 has-tostringtag: 1.0.2 - which@1.3.1: - dependencies: - isexe: 2.0.0 - which@2.0.2: dependencies: isexe: 2.0.0 @@ -11446,8 +11825,6 @@ snapshots: y18n@5.0.8: {} - yallist@2.1.2: {} - yallist@3.1.1: {} yaml-ast-parser@0.0.43: {} From 951576809de95177b8a2997b53155ab28eeb3028 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:53:05 +0100 Subject: [PATCH 07/15] #80 moved xml-tokenizer to new eslint config --- package.json | 2 +- packages/xml-tokenizer/package.json | 1 - pnpm-lock.yaml | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index 5afc6007..c873065c 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "typescript": "^5.7.2", "vitest": "^2.1.6" }, - "packageManager": "pnpm@9.2.0", + "packageManager": "pnpm@9.14.0", "engines": { "node": ">=20" } diff --git a/packages/xml-tokenizer/package.json b/packages/xml-tokenizer/package.json index 3a1416a9..c88560cf 100644 --- a/packages/xml-tokenizer/package.json +++ b/packages/xml-tokenizer/package.json @@ -36,7 +36,6 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/config": "workspace:*", "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0", "@types/sax": "^1.2.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c3dd108c..3ec89b71 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -678,9 +678,6 @@ importers: packages/xml-tokenizer: devDependencies: - '@blgc/config': - specifier: workspace:* - version: link:../config '@blgc/style-guide': specifier: workspace:* version: link:../style-guide From a05027660f23e289f69c861155064100373415ed Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 19:49:27 +0100 Subject: [PATCH 08/15] #80 updated eslint config for most packages --- CONTRIBUTING.md | 2 +- examples/openapi-router/express/petstore/.eslintrc.js | 7 ------- .../openapi-router/express/petstore/eslint.config.js | 5 +++++ examples/openapi-router/express/petstore/package.json | 2 +- examples/openapi-router/express/petstore/tsconfig.json | 2 +- package.json | 1 - packages/cli/.eslintrc.js | 7 ------- packages/cli/eslint.config.js | 5 +++++ packages/cli/package.json | 3 ++- packages/cli/tsconfig.json | 2 +- packages/elevenlabs-client/.eslintrc.js | 8 -------- packages/elevenlabs-client/eslint.config.js | 10 ++++++++++ packages/elevenlabs-client/package.json | 4 ++-- packages/elevenlabs-client/tsconfig.json | 2 +- packages/elevenlabs-client/vitest.config.mjs | 2 +- packages/eprel-client/.eslintrc.js | 8 -------- packages/eprel-client/eslint.config.js | 10 ++++++++++ packages/eprel-client/package.json | 4 ++-- packages/eprel-client/tsconfig.json | 2 +- packages/eprel-client/vitest.config.mjs | 2 +- packages/feature-fetch/.eslintrc.js | 8 -------- packages/feature-fetch/eslint.config.js | 5 +++++ packages/feature-fetch/package.json | 4 ++-- packages/feature-fetch/tsconfig.json | 2 +- packages/feature-fetch/vitest.config.mjs | 2 +- packages/feature-form/.eslintrc.js | 7 ------- packages/feature-form/eslint.config.js | 5 +++++ packages/feature-form/package.json | 4 ++-- packages/feature-form/tsconfig.json | 2 +- packages/feature-form/vitest.config.mjs | 2 +- packages/feature-logger/.eslintrc.js | 7 ------- packages/feature-logger/eslint.config.js | 5 +++++ packages/feature-logger/package.json | 4 ++-- packages/feature-logger/tsconfig.json | 2 +- packages/feature-logger/vitest.config.mjs | 2 +- packages/feature-react/.eslintrc.js | 7 ------- packages/feature-react/eslint.config.js | 5 +++++ packages/feature-react/package.json | 4 ++-- packages/feature-react/tsconfig.json | 2 +- packages/feature-react/vitest.config.mjs | 2 +- packages/feature-state/.eslintrc.js | 7 ------- packages/feature-state/eslint.config.js | 5 +++++ packages/feature-state/package.json | 4 ++-- packages/feature-state/tsconfig.json | 2 +- packages/feature-state/vitest.config.mjs | 2 +- packages/figma-connect/.eslintrc.js | 7 ------- packages/figma-connect/eslint.config.js | 5 +++++ packages/figma-connect/package.json | 4 ++-- packages/figma-connect/tsconfig.json | 2 +- packages/google-webfonts-client/.eslintrc.js | 8 -------- packages/google-webfonts-client/eslint.config.js | 10 ++++++++++ packages/google-webfonts-client/package.json | 4 ++-- packages/google-webfonts-client/tsconfig.json | 2 +- packages/google-webfonts-client/vitest.config.mjs | 2 +- packages/openapi-router/.eslintrc.js | 8 -------- packages/openapi-router/eslint.config.js | 5 +++++ packages/openapi-router/package.json | 4 ++-- packages/openapi-router/tsconfig.json | 2 +- packages/openapi-router/vitest.config.mjs | 2 +- packages/types/.eslintrc.js | 8 -------- packages/types/eslint.config.js | 5 +++++ packages/types/package.json | 4 ++-- packages/types/tsconfig.json | 2 +- packages/utils/.eslintrc.js | 7 ------- packages/utils/eslint.config.js | 5 +++++ packages/utils/package.json | 4 ++-- packages/utils/tsconfig.json | 2 +- packages/utils/vitest.config.mjs | 2 +- packages/validation-adapter/.eslintrc.js | 7 ------- packages/validation-adapter/eslint.config.js | 5 +++++ packages/validation-adapter/package.json | 4 ++-- packages/validation-adapter/tsconfig.json | 2 +- packages/validation-adapter/vitest.config.mjs | 2 +- packages/validation-adapters/.eslintrc.js | 7 ------- packages/validation-adapters/eslint.config.js | 5 +++++ packages/validation-adapters/package.json | 4 ++-- packages/validation-adapters/tsconfig.json | 2 +- packages/validation-adapters/vitest.config.mjs | 2 +- packages/xml-tokenizer/vitest.config.mjs | 2 +- 79 files changed, 156 insertions(+), 179 deletions(-) delete mode 100644 examples/openapi-router/express/petstore/.eslintrc.js create mode 100644 examples/openapi-router/express/petstore/eslint.config.js delete mode 100644 packages/cli/.eslintrc.js create mode 100644 packages/cli/eslint.config.js delete mode 100644 packages/elevenlabs-client/.eslintrc.js create mode 100644 packages/elevenlabs-client/eslint.config.js delete mode 100644 packages/eprel-client/.eslintrc.js create mode 100644 packages/eprel-client/eslint.config.js delete mode 100644 packages/feature-fetch/.eslintrc.js create mode 100644 packages/feature-fetch/eslint.config.js delete mode 100644 packages/feature-form/.eslintrc.js create mode 100644 packages/feature-form/eslint.config.js delete mode 100644 packages/feature-logger/.eslintrc.js create mode 100644 packages/feature-logger/eslint.config.js delete mode 100644 packages/feature-react/.eslintrc.js create mode 100644 packages/feature-react/eslint.config.js delete mode 100644 packages/feature-state/.eslintrc.js create mode 100644 packages/feature-state/eslint.config.js delete mode 100644 packages/figma-connect/.eslintrc.js create mode 100644 packages/figma-connect/eslint.config.js delete mode 100644 packages/google-webfonts-client/.eslintrc.js create mode 100644 packages/google-webfonts-client/eslint.config.js delete mode 100644 packages/openapi-router/.eslintrc.js create mode 100644 packages/openapi-router/eslint.config.js delete mode 100644 packages/types/.eslintrc.js create mode 100644 packages/types/eslint.config.js delete mode 100644 packages/utils/.eslintrc.js create mode 100644 packages/utils/eslint.config.js delete mode 100644 packages/validation-adapter/.eslintrc.js create mode 100644 packages/validation-adapter/eslint.config.js delete mode 100644 packages/validation-adapters/.eslintrc.js create mode 100644 packages/validation-adapters/eslint.config.js diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fbed50cc..af1048eb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,7 +28,7 @@ The structure of the `package.json` file in this project should adhere to a spec "scripts": { "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "start:dev": "tsc -w", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", "test": "echo \"Error: no test specified\" && exit 1" diff --git a/examples/openapi-router/express/petstore/.eslintrc.js b/examples/openapi-router/express/petstore/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/examples/openapi-router/express/petstore/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/examples/openapi-router/express/petstore/eslint.config.js b/examples/openapi-router/express/petstore/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/examples/openapi-router/express/petstore/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/examples/openapi-router/express/petstore/package.json b/examples/openapi-router/express/petstore/package.json index 06063710..c1939733 100644 --- a/examples/openapi-router/express/petstore/package.json +++ b/examples/openapi-router/express/petstore/package.json @@ -19,7 +19,7 @@ "validation-adapters": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/express": "^5.0.0", "@types/node": "^22.8.5", "nodemon": "^3.1.7", diff --git a/examples/openapi-router/express/petstore/tsconfig.json b/examples/openapi-router/express/petstore/tsconfig.json index 013b32c1..8b2bbf68 100644 --- a/examples/openapi-router/express/petstore/tsconfig.json +++ b/examples/openapi-router/express/petstore/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/node20", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/package.json b/package.json index c873065c..53356810 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ }, "devDependencies": { "@blgc/cli": "workspace:*", - "@blgc/config": "workspace:*", "@blgc/style-guide": "workspace:*", "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.10", diff --git a/packages/cli/.eslintrc.js b/packages/cli/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/cli/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/cli/eslint.config.js b/packages/cli/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/cli/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/cli/package.json b/packages/cli/package.json index 44442942..0b5d81d5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -29,7 +29,7 @@ "build": "shx rm -rf dist && tsc", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts,.jsx,.tsx src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "start:dev": "tsc -w", "test": "echo \"Error: no test specified\" && exit 1", @@ -67,6 +67,7 @@ "rollup-plugin-postcss": "^4.0.2" }, "devDependencies": { + "@blgc/style-guide": "workspace:*", "@types/figlet": "^1.7.0", "@types/lodash": "^4.17.13", "@types/node": "^22.9.0", diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 5806d731..5b95d44c 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/node.tsconfig.json", + "extends": "@blgc/style-guide/typescript/node20", "compilerOptions": { "outDir": "./dist", "rootDir": "./src" diff --git a/packages/elevenlabs-client/.eslintrc.js b/packages/elevenlabs-client/.eslintrc.js deleted file mode 100644 index 4ace0911..00000000 --- a/packages/elevenlabs-client/.eslintrc.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')], - ignorePatterns: ['src/gen/*'] -}; diff --git a/packages/elevenlabs-client/eslint.config.js b/packages/elevenlabs-client/eslint.config.js new file mode 100644 index 00000000..cd05f2de --- /dev/null +++ b/packages/elevenlabs-client/eslint.config.js @@ -0,0 +1,10 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [ + ...require('@blgc/style-guide/eslint/library'), + { + ignores: ['src/gen/*'] + } +]; diff --git a/packages/elevenlabs-client/package.json b/packages/elevenlabs-client/package.json index e3dfa2c3..32746f8f 100644 --- a/packages/elevenlabs-client/package.json +++ b/packages/elevenlabs-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-0.json -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", @@ -39,7 +39,7 @@ "feature-fetch": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0", "dotenv": "^16.4.5", "openapi-typescript": "^7.4.2" diff --git a/packages/elevenlabs-client/tsconfig.json b/packages/elevenlabs-client/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/elevenlabs-client/tsconfig.json +++ b/packages/elevenlabs-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/elevenlabs-client/vitest.config.mjs b/packages/elevenlabs-client/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/elevenlabs-client/vitest.config.mjs +++ b/packages/elevenlabs-client/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/eprel-client/.eslintrc.js b/packages/eprel-client/.eslintrc.js deleted file mode 100644 index 4ace0911..00000000 --- a/packages/eprel-client/.eslintrc.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')], - ignorePatterns: ['src/gen/*'] -}; diff --git a/packages/eprel-client/eslint.config.js b/packages/eprel-client/eslint.config.js new file mode 100644 index 00000000..cd05f2de --- /dev/null +++ b/packages/eprel-client/eslint.config.js @@ -0,0 +1,10 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [ + ...require('@blgc/style-guide/eslint/library'), + { + ignores: ['src/gen/*'] + } +]; diff --git a/packages/eprel-client/package.json b/packages/eprel-client/package.json index b64ddc41..91c836f1 100644 --- a/packages/eprel-client/package.json +++ b/packages/eprel-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-58.yaml -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", @@ -39,7 +39,7 @@ "feature-fetch": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0", "dotenv": "^16.4.5", "openapi-typescript": "^7.4.2" diff --git a/packages/eprel-client/tsconfig.json b/packages/eprel-client/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/eprel-client/tsconfig.json +++ b/packages/eprel-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/eprel-client/vitest.config.mjs b/packages/eprel-client/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/eprel-client/vitest.config.mjs +++ b/packages/eprel-client/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-fetch/.eslintrc.js b/packages/feature-fetch/.eslintrc.js deleted file mode 100644 index b849a678..00000000 --- a/packages/feature-fetch/.eslintrc.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')], - ignorePatterns: ['src/__tests__/*'] -}; diff --git a/packages/feature-fetch/eslint.config.js b/packages/feature-fetch/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/feature-fetch/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/feature-fetch/package.json b/packages/feature-fetch/package.json index 14fbae93..67fa49c1 100644 --- a/packages/feature-fetch/package.json +++ b/packages/feature-fetch/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -39,7 +39,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0", "@types/url-parse": "^1.4.11", "msw": "^2.6.0" diff --git a/packages/feature-fetch/tsconfig.json b/packages/feature-fetch/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/feature-fetch/tsconfig.json +++ b/packages/feature-fetch/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-fetch/vitest.config.mjs b/packages/feature-fetch/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/feature-fetch/vitest.config.mjs +++ b/packages/feature-fetch/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-form/.eslintrc.js b/packages/feature-form/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/feature-form/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/feature-form/eslint.config.js b/packages/feature-form/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/feature-form/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/feature-form/package.json b/packages/feature-form/package.json index ad9a241a..8887ca6b 100644 --- a/packages/feature-form/package.json +++ b/packages/feature-form/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -40,7 +40,7 @@ "validation-adapter": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0" }, "size-limit": [ diff --git a/packages/feature-form/tsconfig.json b/packages/feature-form/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/feature-form/tsconfig.json +++ b/packages/feature-form/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-form/vitest.config.mjs b/packages/feature-form/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/feature-form/vitest.config.mjs +++ b/packages/feature-form/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-logger/.eslintrc.js b/packages/feature-logger/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/feature-logger/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/feature-logger/eslint.config.js b/packages/feature-logger/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/feature-logger/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/feature-logger/package.json b/packages/feature-logger/package.json index fa5417b0..7c71154a 100644 --- a/packages/feature-logger/package.json +++ b/packages/feature-logger/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -38,7 +38,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0" }, "size-limit": [ diff --git a/packages/feature-logger/tsconfig.json b/packages/feature-logger/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/feature-logger/tsconfig.json +++ b/packages/feature-logger/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-logger/vitest.config.mjs b/packages/feature-logger/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/feature-logger/vitest.config.mjs +++ b/packages/feature-logger/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-react/.eslintrc.js b/packages/feature-react/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/feature-react/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/feature-react/eslint.config.js b/packages/feature-react/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/feature-react/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/feature-react/package.json b/packages/feature-react/package.json index 3e47b49c..5d0d4d0d 100644 --- a/packages/feature-react/package.json +++ b/packages/feature-react/package.json @@ -46,7 +46,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -54,7 +54,7 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@blgc/utils": "workspace:*", "@types/node": "^22.9.0", "@types/react": "^18.3.12", diff --git a/packages/feature-react/tsconfig.json b/packages/feature-react/tsconfig.json index 66d1f2c4..10148c00 100644 --- a/packages/feature-react/tsconfig.json +++ b/packages/feature-react/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/react-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/react-internal", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-react/vitest.config.mjs b/packages/feature-react/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/feature-react/vitest.config.mjs +++ b/packages/feature-react/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-state/.eslintrc.js b/packages/feature-state/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/feature-state/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/feature-state/eslint.config.js b/packages/feature-state/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/feature-state/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/feature-state/package.json b/packages/feature-state/package.json index c87b56b5..57f658b5 100644 --- a/packages/feature-state/package.json +++ b/packages/feature-state/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -38,7 +38,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0" }, "size-limit": [ diff --git a/packages/feature-state/tsconfig.json b/packages/feature-state/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/feature-state/tsconfig.json +++ b/packages/feature-state/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-state/vitest.config.mjs b/packages/feature-state/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/feature-state/vitest.config.mjs +++ b/packages/feature-state/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/figma-connect/.eslintrc.js b/packages/figma-connect/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/figma-connect/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/figma-connect/eslint.config.js b/packages/figma-connect/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/figma-connect/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/figma-connect/package.json b/packages/figma-connect/package.json index 710c3c36..623dbf2e 100644 --- a/packages/figma-connect/package.json +++ b/packages/figma-connect/package.json @@ -46,7 +46,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -57,7 +57,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@figma/plugin-typings": "^1.100.2", "@types/node": "^22.9.0" }, diff --git a/packages/figma-connect/tsconfig.json b/packages/figma-connect/tsconfig.json index ba7ab1c1..5d833c4a 100644 --- a/packages/figma-connect/tsconfig.json +++ b/packages/figma-connect/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/google-webfonts-client/.eslintrc.js b/packages/google-webfonts-client/.eslintrc.js deleted file mode 100644 index 4ace0911..00000000 --- a/packages/google-webfonts-client/.eslintrc.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')], - ignorePatterns: ['src/gen/*'] -}; diff --git a/packages/google-webfonts-client/eslint.config.js b/packages/google-webfonts-client/eslint.config.js new file mode 100644 index 00000000..cd05f2de --- /dev/null +++ b/packages/google-webfonts-client/eslint.config.js @@ -0,0 +1,10 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [ + ...require('@blgc/style-guide/eslint/library'), + { + ignores: ['src/gen/*'] + } +]; diff --git a/packages/google-webfonts-client/package.json b/packages/google-webfonts-client/package.json index 5688ab3e..36d3aac9 100644 --- a/packages/google-webfonts-client/package.json +++ b/packages/google-webfonts-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "openapi:generate": "npx openapi-typescript ./resources/openapi-v1.yaml -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", @@ -39,7 +39,7 @@ "feature-fetch": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0", "dotenv": "^16.4.5", "openapi-typescript": "^7.4.2" diff --git a/packages/google-webfonts-client/tsconfig.json b/packages/google-webfonts-client/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/google-webfonts-client/tsconfig.json +++ b/packages/google-webfonts-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/google-webfonts-client/vitest.config.mjs b/packages/google-webfonts-client/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/google-webfonts-client/vitest.config.mjs +++ b/packages/google-webfonts-client/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/openapi-router/.eslintrc.js b/packages/openapi-router/.eslintrc.js deleted file mode 100644 index b849a678..00000000 --- a/packages/openapi-router/.eslintrc.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')], - ignorePatterns: ['src/__tests__/*'] -}; diff --git a/packages/openapi-router/eslint.config.js b/packages/openapi-router/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/openapi-router/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/openapi-router/package.json b/packages/openapi-router/package.json index f2f6d55a..8b15b8c2 100644 --- a/packages/openapi-router/package.json +++ b/packages/openapi-router/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -38,7 +38,7 @@ "validation-adapter": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/express": "^5.0.0", "@types/express-serve-static-core": "^5.0.1", "@types/node": "^22.9.0", diff --git a/packages/openapi-router/tsconfig.json b/packages/openapi-router/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/openapi-router/tsconfig.json +++ b/packages/openapi-router/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/openapi-router/vitest.config.mjs b/packages/openapi-router/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/openapi-router/vitest.config.mjs +++ b/packages/openapi-router/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/types/.eslintrc.js b/packages/types/.eslintrc.js deleted file mode 100644 index adf2a258..00000000 --- a/packages/types/.eslintrc.js +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')], - ignorePatterns: ['src/openapi/__tests__/*'] -}; diff --git a/packages/types/eslint.config.js b/packages/types/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/types/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/types/package.json b/packages/types/package.json index dea4a7cf..d348b431 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -49,11 +49,11 @@ "build": "shx rm -rf dist && ../../scripts/cli.sh bundle -b typesonly", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/config": "workspace:*" + "@blgc/style-guide": "workspace:*" } } diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json index 55efaf9d..ba09944a 100644 --- a/packages/types/tsconfig.json +++ b/packages/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/utils/.eslintrc.js b/packages/utils/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/utils/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/utils/eslint.config.js b/packages/utils/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/utils/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/utils/package.json b/packages/utils/package.json index cfcabc4b..fd9c8a29 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -34,7 +34,7 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0" }, "size-limit": [ diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/utils/vitest.config.mjs b/packages/utils/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/utils/vitest.config.mjs +++ b/packages/utils/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/validation-adapter/.eslintrc.js b/packages/validation-adapter/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/validation-adapter/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/validation-adapter/eslint.config.js b/packages/validation-adapter/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/validation-adapter/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/validation-adapter/package.json b/packages/validation-adapter/package.json index 4fd55b71..cec78fdb 100644 --- a/packages/validation-adapter/package.json +++ b/packages/validation-adapter/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -37,7 +37,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0" }, "size-limit": [ diff --git a/packages/validation-adapter/tsconfig.json b/packages/validation-adapter/tsconfig.json index 48b05761..591b470c 100644 --- a/packages/validation-adapter/tsconfig.json +++ b/packages/validation-adapter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/validation-adapter/vitest.config.mjs b/packages/validation-adapter/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/validation-adapter/vitest.config.mjs +++ b/packages/validation-adapter/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/validation-adapters/.eslintrc.js b/packages/validation-adapters/.eslintrc.js deleted file mode 100644 index 46b3cc44..00000000 --- a/packages/validation-adapters/.eslintrc.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/library')] -}; diff --git a/packages/validation-adapters/eslint.config.js b/packages/validation-adapters/eslint.config.js new file mode 100644 index 00000000..7bda1ed1 --- /dev/null +++ b/packages/validation-adapters/eslint.config.js @@ -0,0 +1,5 @@ +/** + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} + */ +module.exports = [...require('@blgc/style-guide/eslint/library')]; diff --git a/packages/validation-adapters/package.json b/packages/validation-adapters/package.json index 83a3c88b..0f043d6f 100644 --- a/packages/validation-adapters/package.json +++ b/packages/validation-adapters/package.json @@ -57,7 +57,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint --ext .js,.ts src/", + "lint": "eslint src/**", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", @@ -65,7 +65,7 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/config": "workspace:*", + "@blgc/style-guide": "workspace:*", "@types/node": "^22.9.0", "valibot": "1.0.0-beta.3", "validation-adapter": "workspace:*", diff --git a/packages/validation-adapters/tsconfig.json b/packages/validation-adapters/tsconfig.json index 213d45ec..2efcf08a 100644 --- a/packages/validation-adapters/tsconfig.json +++ b/packages/validation-adapters/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/config/shared-library.tsconfig.json", + "extends": "@blgc/style-guide/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/validation-adapters/vitest.config.mjs b/packages/validation-adapters/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/validation-adapters/vitest.config.mjs +++ b/packages/validation-adapters/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/xml-tokenizer/vitest.config.mjs b/packages/xml-tokenizer/vitest.config.mjs index 872ed257..f45b25a5 100644 --- a/packages/xml-tokenizer/vitest.config.mjs +++ b/packages/xml-tokenizer/vitest.config.mjs @@ -1,4 +1,4 @@ +import { nodeConfig } from '@blgc/style-guide/vite/library'; import { defineConfig, mergeConfig } from 'vitest/config'; -import { nodeConfig } from '@blgc/config/vite/node.config'; export default mergeConfig(nodeConfig, defineConfig({})); From 914fab527ac1215843332272963a88a12366bbf5 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Wed, 27 Nov 2024 20:07:24 +0100 Subject: [PATCH 09/15] #80 fixed typos --- packages/cli/package.json | 8 +- packages/cli/src/DynCommand.ts | 4 +- packages/cli/src/services/tsc/generate-dts.ts | 2 +- .../utils/resolve-paths-from-package-json.ts | 2 +- packages/config/package.json | 2 +- packages/elevenlabs-client/package.json | 4 +- packages/eprel-client/package.json | 4 +- packages/feature-fetch/package.json | 4 +- .../mapper/map-response-to-request-error.ts | 6 +- packages/feature-form/package.json | 2 +- packages/feature-logger/package.json | 2 +- packages/feature-react/package.json | 2 +- packages/feature-state/package.json | 2 +- packages/figma-connect/package.json | 4 +- packages/google-webfonts-client/package.json | 4 +- .../src/create-google-webfonts-client.ts | 2 +- packages/openapi-router/package.json | 8 +- .../src/features/with-express/with-express.ts | 6 +- .../src/features/with-hono/with-hono.ts | 6 +- packages/style-guide/package.json | 8 +- .../style-guide/typescript/tsconfig.base.json | 6 +- packages/utils/package.json | 2 +- packages/validation-adapter/package.json | 2 +- packages/validation-adapters/package.json | 4 +- packages/xml-tokenizer/package.json | 2 +- pnpm-lock.yaml | 1080 ++++------------- 26 files changed, 308 insertions(+), 870 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 0b5d81d5..d6fefdbc 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -47,7 +47,7 @@ } }, "dependencies": { - "@oclif/core": "^4.0.31", + "@oclif/core": "^4.0.33", "@rollup/plugin-commonjs": "^28.0.1", "@rollup/plugin-html": "^1.0.4", "@rollup/plugin-json": "^6.1.0", @@ -59,7 +59,7 @@ "figlet": "^1.8.0", "lodash": "^4.17.21", "maxmin": "^4.1.0", - "rollup": "^4.24.4", + "rollup": "^4.27.4", "rollup-plugin-bundle-size": "^1.0.3", "rollup-plugin-esbuild": "^6.1.1", "rollup-plugin-license": "^3.5.3", @@ -70,8 +70,8 @@ "@blgc/style-guide": "workspace:*", "@types/figlet": "^1.7.0", "@types/lodash": "^4.17.13", - "@types/node": "^22.9.0", - "type-fest": "^4.26.1" + "@types/node": "^22.10.0", + "type-fest": "^4.29.0" }, "pnpm": { "updateConfig": { diff --git a/packages/cli/src/DynCommand.ts b/packages/cli/src/DynCommand.ts index 01b4879a..27b44542 100644 --- a/packages/cli/src/DynCommand.ts +++ b/packages/cli/src/DynCommand.ts @@ -1,6 +1,6 @@ import { Command } from '@oclif/core'; export abstract class DynCommand extends Command { - public isVerbose: boolean; - public isProduction: boolean; + public isVerbose = false; + public isProduction = false; } diff --git a/packages/cli/src/services/tsc/generate-dts.ts b/packages/cli/src/services/tsc/generate-dts.ts index 7d695e3e..2a3868dd 100644 --- a/packages/cli/src/services/tsc/generate-dts.ts +++ b/packages/cli/src/services/tsc/generate-dts.ts @@ -118,7 +118,7 @@ function adjustCompilerOptionsForResolvedPaths( compilerOptions: TTsConfigCompilerOptions, relativeDeclarationDirPath: string ): TTsConfigCompilerOptions { - const basePath = path.resolve(compilerOptions.pathsBasePath?.toString() ?? process.cwd()); + const basePath = path.resolve(compilerOptions['pathsBasePath']?.toString() ?? process.cwd()); const relativeRootDir = path.relative(basePath, compilerOptions.rootDir ?? './src'); // Update paths to reflect the new relative declaration directory diff --git a/packages/cli/src/utils/resolve-paths-from-package-json.ts b/packages/cli/src/utils/resolve-paths-from-package-json.ts index 16840ede..9fc8930f 100644 --- a/packages/cli/src/utils/resolve-paths-from-package-json.ts +++ b/packages/cli/src/utils/resolve-paths-from-package-json.ts @@ -50,7 +50,7 @@ function resolveInputPathFromPackageJson( // Try to resolve relative input path let relativeInputPath = './src/index.ts'; - const propertyValue: unknown = exportConditions.source; + const propertyValue: unknown = exportConditions['source']; if (typeof propertyValue === 'string') { relativeInputPath = propertyValue; } diff --git a/packages/config/package.json b/packages/config/package.json index 3dde0502..97ae1a67 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -22,7 +22,7 @@ }, "dependencies": { "@vercel/style-guide": "^6.0.0", - "eslint-config-turbo": "^2.2.3", + "eslint-config-turbo": "^2.2.3", "vite-tsconfig-paths": "^5.1.0" }, "devDependencies": { diff --git a/packages/elevenlabs-client/package.json b/packages/elevenlabs-client/package.json index 32746f8f..a34ce9d8 100644 --- a/packages/elevenlabs-client/package.json +++ b/packages/elevenlabs-client/package.json @@ -40,9 +40,9 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0", + "@types/node": "^22.10.0", "dotenv": "^16.4.5", - "openapi-typescript": "^7.4.2" + "openapi-typescript": "^7.4.3" }, "size-limit": [ { diff --git a/packages/eprel-client/package.json b/packages/eprel-client/package.json index 91c836f1..3c786bbe 100644 --- a/packages/eprel-client/package.json +++ b/packages/eprel-client/package.json @@ -40,9 +40,9 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0", + "@types/node": "^22.10.0", "dotenv": "^16.4.5", - "openapi-typescript": "^7.4.2" + "openapi-typescript": "^7.4.3" }, "size-limit": [ { diff --git a/packages/feature-fetch/package.json b/packages/feature-fetch/package.json index 67fa49c1..42c00bc1 100644 --- a/packages/feature-fetch/package.json +++ b/packages/feature-fetch/package.json @@ -40,9 +40,9 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0", + "@types/node": "^22.10.0", "@types/url-parse": "^1.4.11", - "msw": "^2.6.0" + "msw": "^2.6.6" }, "size-limit": [ { diff --git a/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts b/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts index d17b777c..476dfc27 100644 --- a/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts +++ b/packages/feature-fetch/src/helper/mapper/map-response-to-request-error.ts @@ -38,7 +38,7 @@ export async function mapResponseToRequestError( // Helper function to extract error description from various possible fields function getErrorDescription(data: unknown): string | null { if (isObject(data)) { - return data.error_description || data.error?.toString() || data.message || null; + return data['error_description'] || data['error']?.toString() || data['message'] || null; } return null; } @@ -46,7 +46,9 @@ function getErrorDescription(data: unknown): string | null { // Helper function to extract error code from various possible fields function getErrorCode(data: unknown): TErrorCode | null { if (isObject(data)) { - return data.error_code || data.status || data.code || getErrorCode(data.error) || null; + return ( + data['error_code'] || data['status'] || data['code'] || getErrorCode(data['error']) || null + ); } return null; } diff --git a/packages/feature-form/package.json b/packages/feature-form/package.json index 8887ca6b..01a310c4 100644 --- a/packages/feature-form/package.json +++ b/packages/feature-form/package.json @@ -41,7 +41,7 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0" + "@types/node": "^22.10.0" }, "size-limit": [ { diff --git a/packages/feature-logger/package.json b/packages/feature-logger/package.json index 7c71154a..258a8f81 100644 --- a/packages/feature-logger/package.json +++ b/packages/feature-logger/package.json @@ -39,7 +39,7 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0" + "@types/node": "^22.10.0" }, "size-limit": [ { diff --git a/packages/feature-react/package.json b/packages/feature-react/package.json index 5d0d4d0d..338fdfe1 100644 --- a/packages/feature-react/package.json +++ b/packages/feature-react/package.json @@ -56,7 +56,7 @@ "devDependencies": { "@blgc/style-guide": "workspace:*", "@blgc/utils": "workspace:*", - "@types/node": "^22.9.0", + "@types/node": "^22.10.0", "@types/react": "^18.3.12", "feature-form": "workspace:*", "feature-state": "workspace:*", diff --git a/packages/feature-state/package.json b/packages/feature-state/package.json index 57f658b5..11554080 100644 --- a/packages/feature-state/package.json +++ b/packages/feature-state/package.json @@ -39,7 +39,7 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0" + "@types/node": "^22.10.0" }, "size-limit": [ { diff --git a/packages/figma-connect/package.json b/packages/figma-connect/package.json index 623dbf2e..32f0e602 100644 --- a/packages/figma-connect/package.json +++ b/packages/figma-connect/package.json @@ -58,8 +58,8 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@figma/plugin-typings": "^1.100.2", - "@types/node": "^22.9.0" + "@figma/plugin-typings": "^1.103.0", + "@types/node": "^22.10.0" }, "size-limit": [ { diff --git a/packages/google-webfonts-client/package.json b/packages/google-webfonts-client/package.json index 36d3aac9..11f1bcee 100644 --- a/packages/google-webfonts-client/package.json +++ b/packages/google-webfonts-client/package.json @@ -40,9 +40,9 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0", + "@types/node": "^22.10.0", "dotenv": "^16.4.5", - "openapi-typescript": "^7.4.2" + "openapi-typescript": "^7.4.3" }, "size-limit": [ { diff --git a/packages/google-webfonts-client/src/create-google-webfonts-client.ts b/packages/google-webfonts-client/src/create-google-webfonts-client.ts index 98a5db44..44afa125 100644 --- a/packages/google-webfonts-client/src/create-google-webfonts-client.ts +++ b/packages/google-webfonts-client/src/create-google-webfonts-client.ts @@ -11,7 +11,7 @@ export function createGoogleWebfontsClient( prefixUrl, beforeRequestMiddlewares: [ (data) => { - data.queryParams.key = apiKey; + data.queryParams['key'] = apiKey; } ] }) diff --git a/packages/openapi-router/package.json b/packages/openapi-router/package.json index 8b15b8c2..1f3959e9 100644 --- a/packages/openapi-router/package.json +++ b/packages/openapi-router/package.json @@ -40,11 +40,11 @@ "devDependencies": { "@blgc/style-guide": "workspace:*", "@types/express": "^5.0.0", - "@types/express-serve-static-core": "^5.0.1", - "@types/node": "^22.9.0", + "@types/express-serve-static-core": "^5.0.2", + "@types/node": "^22.10.0", "express": "^4.21.1", - "hono": "^4.6.9", - "valibot": "1.0.0-beta.3", + "hono": "^4.6.12", + "valibot": "1.0.0-beta.8", "validation-adapters": "workspace:*" }, "size-limit": [ diff --git a/packages/openapi-router/src/features/with-express/with-express.ts b/packages/openapi-router/src/features/with-express/with-express.ts index dffd21bf..ac917afa 100644 --- a/packages/openapi-router/src/features/with-express/with-express.ts +++ b/packages/openapi-router/src/features/with-express/with-express.ts @@ -110,7 +110,7 @@ function validationMiddleware( const bodyValidationContext = createValidationContext(req.body); await bodyValidator.validate(bodyValidationContext); for (const error of bodyValidationContext.errors) { - error.source = 'body'; + error['source'] = 'body'; validationErrors.push(error); } } @@ -121,7 +121,7 @@ function validationMiddleware( ); await pathValidator.validate(pathValidationContext); for (const error of pathValidationContext.errors) { - error.source = 'path'; + error['source'] = 'path'; validationErrors.push(error); } } @@ -132,7 +132,7 @@ function validationMiddleware( >(req.query as TOperationQueryParams); await queryValidator.validate(queryValidationContext); for (const error of queryValidationContext.errors) { - error.source = 'query'; + error['source'] = 'query'; validationErrors.push(error); } } diff --git a/packages/openapi-router/src/features/with-hono/with-hono.ts b/packages/openapi-router/src/features/with-hono/with-hono.ts index 0e029a49..a21733e0 100644 --- a/packages/openapi-router/src/features/with-hono/with-hono.ts +++ b/packages/openapi-router/src/features/with-hono/with-hono.ts @@ -111,7 +111,7 @@ function validationMiddleware( const bodyValidationContext = createValidationContext(jsonBody); await bodyValidator.validate(bodyValidationContext); for (const error of bodyValidationContext.errors) { - error.source = 'body'; + error['source'] = 'body'; validationErrors.push(error); } if (bodyValidationContext.errors.length <= 0) { @@ -126,7 +126,7 @@ function validationMiddleware( createValidationContext>(pathParams); await pathValidator.validate(pathValidationContext); for (const error of pathValidationContext.errors) { - error.source = 'path'; + error['source'] = 'path'; validationErrors.push(error); } if (pathValidationContext.errors.length <= 0) { @@ -141,7 +141,7 @@ function validationMiddleware( createValidationContext>(queryParams); await queryValidator.validate(queryValidationContext); for (const error of queryValidationContext.errors) { - error.source = 'query'; + error['source'] = 'query'; validationErrors.push(error); } if (queryValidationContext.errors.length <= 0) { diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json index 028b9165..af5c1e32 100644 --- a/packages/style-guide/package.json +++ b/packages/style-guide/package.json @@ -31,8 +31,8 @@ "update:latest": "pnpm update --latest" }, "dependencies": { - "@ianvs/prettier-plugin-sort-imports": "^4.3.1", - "@next/eslint-plugin-next": "^14.2.6", + "@ianvs/prettier-plugin-sort-imports": "^4.4.0", + "@next/eslint-plugin-next": "^15.0.3", "@typescript-eslint/eslint-plugin": "^8.16.0", "@typescript-eslint/parser": "^8.16.0", "eslint-config-prettier": "^9.1.0", @@ -41,9 +41,9 @@ "eslint-plugin-react-hooks": "^5.0.0", "eslint-plugin-turbo": "^2.3.3", "prettier-plugin-packagejson": "^2.5.6", - "prettier-plugin-tailwindcss": "^0.6.8", + "prettier-plugin-tailwindcss": "^0.6.9", "typescript-eslint": "^8.16.0", - "vite-tsconfig-paths": "^5.1.0" + "vite-tsconfig-paths": "^5.1.3" }, "devDependencies": { "eslint": "^9.15.0" diff --git a/packages/style-guide/typescript/tsconfig.base.json b/packages/style-guide/typescript/tsconfig.base.json index 97b0cc86..6813d3ea 100644 --- a/packages/style-guide/typescript/tsconfig.base.json +++ b/packages/style-guide/typescript/tsconfig.base.json @@ -27,9 +27,9 @@ "strict": true, "noImplicitAny": true, "strictNullChecks": true, - "strictPropertyInitialization": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + "strictPropertyInitialization": false, + "noUnusedLocals": false, + "noUnusedParameters": false, "noUncheckedIndexedAccess": true, "noFallthroughCasesInSwitch": true, "noImplicitReturns": true, diff --git a/packages/utils/package.json b/packages/utils/package.json index fd9c8a29..6696e812 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -35,7 +35,7 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0" + "@types/node": "^22.10.0" }, "size-limit": [ { diff --git a/packages/validation-adapter/package.json b/packages/validation-adapter/package.json index cec78fdb..9dd67fcc 100644 --- a/packages/validation-adapter/package.json +++ b/packages/validation-adapter/package.json @@ -38,7 +38,7 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0" + "@types/node": "^22.10.0" }, "size-limit": [ { diff --git a/packages/validation-adapters/package.json b/packages/validation-adapters/package.json index 0f043d6f..3544acb5 100644 --- a/packages/validation-adapters/package.json +++ b/packages/validation-adapters/package.json @@ -66,8 +66,8 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0", - "valibot": "1.0.0-beta.3", + "@types/node": "^22.10.0", + "valibot": "1.0.0-beta.8", "validation-adapter": "workspace:*", "yup": "^1.4.0", "zod": "^3.23.8" diff --git a/packages/xml-tokenizer/package.json b/packages/xml-tokenizer/package.json index c88560cf..1c3a0562 100644 --- a/packages/xml-tokenizer/package.json +++ b/packages/xml-tokenizer/package.json @@ -37,7 +37,7 @@ }, "devDependencies": { "@blgc/style-guide": "workspace:*", - "@types/node": "^22.9.0", + "@types/node": "^22.10.0", "@types/sax": "^1.2.7", "@types/xml2js": "^0.4.14", "camaro": "^6.2.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3ec89b71..a083677d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,6 @@ importers: '@blgc/cli': specifier: workspace:* version: link:packages/cli - '@blgc/config': - specifier: workspace:* - version: link:packages/config '@blgc/style-guide': specifier: workspace:* version: link:packages/style-guide @@ -195,9 +192,9 @@ importers: specifier: workspace:* version: link:../../../../packages/validation-adapters devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../../../../packages/config + version: link:../../../../packages/style-guide '@types/express': specifier: ^5.0.0 version: 5.0.0 @@ -276,23 +273,23 @@ importers: packages/cli: dependencies: '@oclif/core': - specifier: ^4.0.31 - version: 4.0.31 + specifier: ^4.0.33 + version: 4.0.33 '@rollup/plugin-commonjs': specifier: ^28.0.1 - version: 28.0.1(rollup@4.24.4) + version: 28.0.1(rollup@4.27.4) '@rollup/plugin-html': specifier: ^1.0.4 - version: 1.0.4(rollup@4.24.4) + version: 1.0.4(rollup@4.27.4) '@rollup/plugin-json': specifier: ^6.1.0 - version: 6.1.0(rollup@4.24.4) + version: 6.1.0(rollup@4.27.4) '@rollup/plugin-node-resolve': specifier: ^15.3.0 - version: 15.3.0(rollup@4.24.4) + version: 15.3.0(rollup@4.27.4) '@rollup/plugin-replace': specifier: ^6.0.1 - version: 6.0.1(rollup@4.24.4) + version: 6.0.1(rollup@4.27.4) chalk: specifier: ^4.1.2 version: 4.1.2 @@ -312,24 +309,27 @@ importers: specifier: ^4.1.0 version: 4.1.0 rollup: - specifier: ^4.24.4 - version: 4.24.4 + specifier: ^4.27.4 + version: 4.27.4 rollup-plugin-bundle-size: specifier: ^1.0.3 version: 1.0.3 rollup-plugin-esbuild: specifier: ^6.1.1 - version: 6.1.1(esbuild@0.24.0)(rollup@4.24.4) + version: 6.1.1(esbuild@0.24.0)(rollup@4.27.4) rollup-plugin-license: specifier: ^3.5.3 - version: 3.5.3(picomatch@4.0.2)(rollup@4.24.4) + version: 3.5.3(picomatch@4.0.2)(rollup@4.27.4) rollup-plugin-node-externals: specifier: ^5.1.3 - version: 5.1.3(rollup@4.24.4) + version: 5.1.3(rollup@4.27.4) rollup-plugin-postcss: specifier: ^4.0.2 - version: 4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)) + version: 4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.10.0)(typescript@5.7.2)) devDependencies: + '@blgc/style-guide': + specifier: workspace:* + version: link:../style-guide '@types/figlet': specifier: ^1.7.0 version: 1.7.0 @@ -337,27 +337,27 @@ importers: specifier: ^4.17.13 version: 4.17.13 '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 type-fest: - specifier: ^4.26.1 - version: 4.26.1 + specifier: ^4.29.0 + version: 4.29.0 packages/config: dependencies: '@vercel/style-guide': specifier: ^6.0.0 - version: 6.0.0(@next/eslint-plugin-next@14.2.16)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)) + version: 6.0.0(@next/eslint-plugin-next@14.2.18)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)) eslint-config-turbo: specifier: ^2.2.3 - version: 2.2.3(eslint@8.57.0) + version: 2.3.3(eslint@8.57.0) vite-tsconfig-paths: specifier: ^5.1.0 - version: 5.1.0(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) + version: 5.1.3(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) devDependencies: '@next/eslint-plugin-next': specifier: ^14.2.6 - version: 14.2.16 + version: 14.2.18 eslint: specifier: ^8.57.0 version: 8.57.0 @@ -371,18 +371,18 @@ importers: specifier: workspace:* version: link:../feature-fetch devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 dotenv: specifier: ^16.4.5 version: 16.4.5 openapi-typescript: - specifier: ^7.4.2 - version: 7.4.2(typescript@5.7.2) + specifier: ^7.4.3 + version: 7.4.3(typescript@5.7.2) packages/eprel-client: dependencies: @@ -393,18 +393,18 @@ importers: specifier: workspace:* version: link:../feature-fetch devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 dotenv: specifier: ^16.4.5 version: 16.4.5 openapi-typescript: - specifier: ^7.4.2 - version: 7.4.2(typescript@5.7.2) + specifier: ^7.4.3 + version: 7.4.3(typescript@5.7.2) packages/feature-fetch: dependencies: @@ -418,18 +418,18 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 '@types/url-parse': specifier: ^1.4.11 version: 1.4.11 msw: - specifier: ^2.6.0 - version: 2.6.0(@types/node@22.9.0)(typescript@5.7.2) + specifier: ^2.6.6 + version: 2.6.6(@types/node@22.10.0)(typescript@5.7.2) packages/feature-form: dependencies: @@ -446,12 +446,12 @@ importers: specifier: workspace:* version: link:../validation-adapter devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 packages/feature-logger: dependencies: @@ -462,24 +462,24 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 packages/feature-react: devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@blgc/utils': specifier: workspace:* version: link:../utils '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 '@types/react': specifier: ^18.3.12 version: 18.3.12 @@ -502,12 +502,12 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 packages/figma-connect: dependencies: @@ -515,15 +515,15 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@figma/plugin-typings': - specifier: ^1.100.2 - version: 1.100.2 + specifier: ^1.103.0 + version: 1.103.0 '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 packages/google-webfonts-client: dependencies: @@ -534,18 +534,18 @@ importers: specifier: workspace:* version: link:../feature-fetch devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 dotenv: specifier: ^16.4.5 version: 16.4.5 openapi-typescript: - specifier: ^7.4.2 - version: 7.4.2(typescript@5.7.2) + specifier: ^7.4.3 + version: 7.4.3(typescript@5.7.2) packages/openapi-router: dependencies: @@ -556,27 +556,27 @@ importers: specifier: workspace:* version: link:../validation-adapter devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/express': specifier: ^5.0.0 version: 5.0.0 '@types/express-serve-static-core': - specifier: ^5.0.1 - version: 5.0.1 + specifier: ^5.0.2 + version: 5.0.2 '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 express: specifier: ^4.21.1 version: 4.21.1 hono: - specifier: ^4.6.9 - version: 4.6.9 + specifier: ^4.6.12 + version: 4.6.12 valibot: - specifier: 1.0.0-beta.3 - version: 1.0.0-beta.3(typescript@5.7.2) + specifier: 1.0.0-beta.8 + version: 1.0.0-beta.8(typescript@5.7.2) validation-adapters: specifier: workspace:* version: link:../validation-adapters @@ -584,11 +584,11 @@ importers: packages/style-guide: dependencies: '@ianvs/prettier-plugin-sort-imports': - specifier: ^4.3.1 - version: 4.3.1(prettier@3.4.1) + specifier: ^4.4.0 + version: 4.4.0(prettier@3.4.1) '@next/eslint-plugin-next': - specifier: ^14.2.6 - version: 14.2.16 + specifier: ^15.0.3 + version: 15.0.3 '@typescript-eslint/eslint-plugin': specifier: ^8.16.0 version: 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) @@ -614,14 +614,14 @@ importers: specifier: ^2.5.6 version: 2.5.6(prettier@3.4.1) prettier-plugin-tailwindcss: - specifier: ^0.6.8 - version: 0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.4.1))(prettier@3.4.1) + specifier: ^0.6.9 + version: 0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1))(prettier@3.4.1) typescript-eslint: specifier: ^8.16.0 version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) vite-tsconfig-paths: - specifier: ^5.1.0 - version: 5.1.0(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) + specifier: ^5.1.3 + version: 5.1.3(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) devDependencies: eslint: specifier: ^9.15.0 @@ -629,18 +629,18 @@ importers: packages/types: devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide packages/utils: devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 packages/validation-adapter: dependencies: @@ -648,24 +648,24 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 packages/validation-adapters: devDependencies: - '@blgc/config': + '@blgc/style-guide': specifier: workspace:* - version: link:../config + version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 valibot: - specifier: 1.0.0-beta.3 - version: 1.0.0-beta.3(typescript@5.7.2) + specifier: 1.0.0-beta.8 + version: 1.0.0-beta.8(typescript@5.7.2) validation-adapter: specifier: workspace:* version: link:../validation-adapter @@ -682,8 +682,8 @@ importers: specifier: workspace:* version: link:../style-guide '@types/node': - specifier: ^22.9.0 - version: 22.9.0 + specifier: ^22.10.0 + version: 22.10.0 '@types/sax': specifier: ^1.2.7 version: 1.2.7 @@ -738,18 +738,10 @@ packages: resolution: {integrity: sha512-bYcppcpKBvX4znYaPEeFau03bp89ShqNMLs+rmdptMw+heSZh9+z84d2YG+K7cYLbWwzdjtDoW/uqZmPjulClQ==} engines: {node: '>=6.9.0'} - '@babel/compat-data@7.26.2': - resolution: {integrity: sha512-Z0WgzSEa+aUcdiJuCIqgujCshpMWgUpgOxXotrYPSA53hA3qopNaqcJpyr0hVb1FeWdnqFA35/fUtXgBK8srQg==} - engines: {node: '>=6.9.0'} - '@babel/core@7.25.2': resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} engines: {node: '>=6.9.0'} - '@babel/core@7.26.0': - resolution: {integrity: sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==} - engines: {node: '>=6.9.0'} - '@babel/eslint-parser@7.25.1': resolution: {integrity: sha512-Y956ghgTT4j7rKesabkh5WeqgSFZVFwaPR0IWFm7KFHFmmJ4afbG49SmfW4S+GyRPx0Dy5jxEWA5t0rpxfElWg==} engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} @@ -769,30 +761,16 @@ packages: resolution: {integrity: sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==} engines: {node: '>=6.9.0'} - '@babel/helper-compilation-targets@7.25.9': - resolution: {integrity: sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==} - engines: {node: '>=6.9.0'} - '@babel/helper-module-imports@7.24.7': resolution: {integrity: sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==} engines: {node: '>=6.9.0'} - '@babel/helper-module-imports@7.25.9': - resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==} - engines: {node: '>=6.9.0'} - '@babel/helper-module-transforms@7.25.2': resolution: {integrity: sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==} engines: {node: '>=6.9.0'} peerDependencies: '@babel/core': ^7.0.0 - '@babel/helper-module-transforms@7.26.0': - resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0 - '@babel/helper-plugin-utils@7.24.8': resolution: {integrity: sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==} engines: {node: '>=6.9.0'} @@ -821,18 +799,10 @@ packages: resolution: {integrity: sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==} engines: {node: '>=6.9.0'} - '@babel/helper-validator-option@7.25.9': - resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==} - engines: {node: '>=6.9.0'} - '@babel/helpers@7.25.0': resolution: {integrity: sha512-MjgLZ42aCm0oGjJj8CtSM3DB8NOOf8h2l7DCTePJs29u+v7yO/RBX9nShlKMgFnRks/Q4tBAe7Hxnov9VkGwLw==} engines: {node: '>=6.9.0'} - '@babel/helpers@7.26.0': - resolution: {integrity: sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==} - engines: {node: '>=6.9.0'} - '@babel/highlight@7.24.7': resolution: {integrity: sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==} engines: {node: '>=6.9.0'} @@ -887,9 +857,6 @@ packages: resolution: {integrity: sha512-Z/yiTPj+lDVnF7lWeKCIJzaIkI0vYO87dMpZ4bg4TDrFe4XXLFWL1TbXU27gBP3QccxV9mZICCrnjnYlJjXHOA==} engines: {node: '>=6.9.0'} - '@bundled-es-modules/cookie@2.0.0': - resolution: {integrity: sha512-Or6YHg/kamKHpxULAdSqhGqnWFneIXu1NKvvfBBzKGwpVsYuFIQ5aBPHDnnoR3ghW1nvSkALd+EF9iMtY7Vjxw==} - '@bundled-es-modules/cookie@2.0.1': resolution: {integrity: sha512-8o+5fRPLNbjbdGRRmJj3h6Hh1AQJf2dk3qQ/5ZFb+PXkRNiSoMGGUKlsgLfrxneb72axVJyIYji64E2+nNfYyw==} @@ -1436,8 +1403,8 @@ packages: resolution: {integrity: sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@figma/plugin-typings@1.100.2': - resolution: {integrity: sha512-xRlneaT5D6afuzkt8J28DXgHAcglncqNVzh1qe5bJVzTLfniiDQY5N/IVXIJj/u7vXYMY6uqvJt8UBFe5l4FXA==} + '@figma/plugin-typings@1.103.0': + resolution: {integrity: sha512-hinDFmafuvjiOSHpbaqLKTiFVBksjFgEuAIQ0OpF9BhkCqIpJqrEgGwJkOnvLtodvaJaabw5kUce1xaIibRciw==} '@hono/node-server@1.12.2': resolution: {integrity: sha512-xjzhqhSWUE/OhN0g3KCNVzNsQMlFUAL+/8GgPUr3TKcU7cvgZVBGswFofJ8WwGEHTqobzze1lDpGJl9ZNckDhA==} @@ -1480,15 +1447,6 @@ packages: resolution: {integrity: sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==} engines: {node: '>=18.18'} - '@ianvs/prettier-plugin-sort-imports@4.3.1': - resolution: {integrity: sha512-ZHwbyjkANZOjaBm3ZosADD2OUYGFzQGxfy67HmGZU94mHqe7g1LCMA7YYKB1Cq+UTPCBqlAYapY0KXAjKEw8Sg==} - peerDependencies: - '@vue/compiler-sfc': 2.7.x || 3.x - prettier: 2 || 3 - peerDependenciesMeta: - '@vue/compiler-sfc': - optional: true - '@ianvs/prettier-plugin-sort-imports@4.4.0': resolution: {integrity: sha512-f4/e+/ANGk3tHuwRW0uh2YuBR50I4h1ZjGQ+5uD8sWfinHTivQsnieR5cz24t8M6Vx4rYvZ5v/IEKZhYpzQm9Q==} peerDependencies: @@ -1498,40 +1456,20 @@ packages: '@vue/compiler-sfc': optional: true - '@inquirer/confirm@5.0.1': - resolution: {integrity: sha512-6ycMm7k7NUApiMGfVc32yIPp28iPKxhGRMqoNDiUjq2RyTAkbs5Fx0TdzBqhabcKvniDdAAvHCmsRjnNfTsogw==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/confirm@5.0.2': resolution: {integrity: sha512-KJLUHOaKnNCYzwVbryj3TNBxyZIrr56fR5N45v6K9IPrbT6B7DcudBMfylkV1A8PUdJE15mybkEQyp2/ZUpxUA==} engines: {node: '>=18'} peerDependencies: '@types/node': '>=18' - '@inquirer/core@10.0.1': - resolution: {integrity: sha512-KKTgjViBQUi3AAssqjUFMnMO3CM3qwCHvePV9EW+zTKGKafFGFF01sc1yOIYjLJ7QU52G/FbzKc+c01WLzXmVQ==} - engines: {node: '>=18'} - '@inquirer/core@10.1.0': resolution: {integrity: sha512-I+ETk2AL+yAVbvuKx5AJpQmoaWhpiTFOg/UJb7ZkMAK4blmtG8ATh5ct+T/8xNld0CZG/2UhtkdMwpgvld92XQ==} engines: {node: '>=18'} - '@inquirer/figures@1.0.7': - resolution: {integrity: sha512-m+Trk77mp54Zma6xLkLuY+mvanPxlE4A7yNKs2HBiyZ4UkVs28Mv5c/pgWrHeInx+USHeX/WEPzjrWrcJiQgjw==} - engines: {node: '>=18'} - '@inquirer/figures@1.0.8': resolution: {integrity: sha512-tKd+jsmhq21AP1LhexC0pPwsCxEhGgAkg28byjJAd+xhmIs8LUX8JbUc3vBf3PhLxWiB5EvyBE5X7JSPAqMAqg==} engines: {node: '>=18'} - '@inquirer/type@3.0.0': - resolution: {integrity: sha512-YYykfbw/lefC7yKj7nanzQXILM7r3suIvyFlCcMskc99axmsSewXWkAfXKwMbgxL76iAFVmRwmYdwNZNc8gjog==} - engines: {node: '>=18'} - peerDependencies: - '@types/node': '>=18' - '@inquirer/type@3.0.1': resolution: {integrity: sha512-+ksJMIy92sOAiAccGpcKZUc3bYO07cADnscIxHBknEm3uNts3movSmBofc1908BNy5edKscxYeAdaX1NXkHS6A==} engines: {node: '>=18'} @@ -1575,16 +1513,15 @@ packages: '@microsoft/tsdoc@0.14.2': resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} - '@mswjs/interceptors@0.36.9': - resolution: {integrity: sha512-mMRDUBwSNeCgjSMEWfjoh4Rm9fbyZ7xQ9SBq8eGHiiyRn1ieTip3pNEt0wxWVPPxR4i1Rv9bTkeEbkX7M4c15A==} - engines: {node: '>=18'} - '@mswjs/interceptors@0.37.1': resolution: {integrity: sha512-SvE+tSpcX884RJrPCskXxoS965Ky/pYABDEhWW6oeSRhpUDLrS5nTvT5n1LLSDVDYvty4imVmXsy+3/ROVuknA==} engines: {node: '>=18'} - '@next/eslint-plugin-next@14.2.16': - resolution: {integrity: sha512-noORwKUMkKc96MWjTOwrsUCjky0oFegHbeJ1yEnQBGbMHAaTEIgLZIIfsYF0x3a06PiS+2TXppfifR+O6VWslg==} + '@next/eslint-plugin-next@14.2.18': + resolution: {integrity: sha512-KyYTbZ3GQwWOjX3Vi1YcQbekyGP0gdammb7pbmmi25HBUCINzDReyrzCMOJIeZisK1Q3U6DT5Rlc4nm2/pQeXA==} + + '@next/eslint-plugin-next@15.0.3': + resolution: {integrity: sha512-3Ln/nHq2V+v8uIaxCR6YfYo7ceRgZNXfTd3yW1ukTaFbO+/I8jNakrjYWODvG9BuR2v5kgVtH/C8r0i11quOgw==} '@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1': resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==} @@ -1601,8 +1538,8 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@oclif/core@4.0.31': - resolution: {integrity: sha512-7oyIZv/C1TP+fPc2tSzVPYqG1zU+nel1QvJxjAWyVhud0J8B5SpKZnryedxs3nlSVPJ6K1MT31C9esupCBYgZw==} + '@oclif/core@4.0.33': + resolution: {integrity: sha512-NoTDwJ2L/ywpsSjcN7jAAHf3m70Px4Yim2SJrm16r70XpnfbNOdlj1x0HEJ0t95gfD+p/y5uy+qPT/VXTh/1gw==} engines: {node: '>=18.0.0'} '@open-draft/deferred-promise@2.2.0': @@ -1642,6 +1579,10 @@ packages: resolution: {integrity: sha512-wcGnSonJZvjpPaJJs+qh0ADYy0aCbaNhCXhJVES9RlknMc7V9nbqLQ67lkwaXhpp/fskm9GJWL/U9Xyiuclbqw==} engines: {node: '>=14.19.0', npm: '>=7.0.0'} + '@redocly/openapi-core@1.25.14': + resolution: {integrity: sha512-B9ewI0KVC1yqyeoQzErVnV4kdnxaYfwRMctxk/YwJxZZc/nVZ3VOVE+r2kXIFaGbUgc4ZHFn+aE2qvzCRXTXHw==} + engines: {node: '>=14.19.0', npm: '>=7.0.0'} + '@rollup/plugin-commonjs@28.0.1': resolution: {integrity: sha512-+tNWdlWKbpB3WgBN7ijjYkq9X5uhjmcvyjEght4NmH5fAU++zfQzAJ6wumLS+dNcvwEZhKx2Z+skY8m7v0wGSA==} engines: {node: '>=16.0.0 || 14 >= 14.17'} @@ -1701,21 +1642,11 @@ packages: cpu: [arm] os: [android] - '@rollup/rollup-android-arm-eabi@4.20.0': - resolution: {integrity: sha512-TSpWzflCc4VGAUJZlPpgAJE1+V60MePDQnBd7PPkpuEmOy8i87aL6tinFGKBFKuEDikYpig72QzdT3QPYIi+oA==} - cpu: [arm] - os: [android] - '@rollup/rollup-android-arm-eabi@4.21.2': resolution: {integrity: sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm-eabi@4.24.4': - resolution: {integrity: sha512-jfUJrFct/hTA0XDM5p/htWKoNNTbDLY0KRwEt6pyOA6k2fmk0WVwl65PdUdJZgzGEHWx+49LilkcSaumQRyNQw==} - cpu: [arm] - os: [android] - '@rollup/rollup-android-arm-eabi@4.27.4': resolution: {integrity: sha512-2Y3JT6f5MrQkICUyRVCw4oa0sutfAsgaSsb0Lmmy1Wi2y7X5vT9Euqw4gOsCyy0YfKURBg35nhUKZS4mDcfULw==} cpu: [arm] @@ -1726,21 +1657,11 @@ packages: cpu: [arm64] os: [android] - '@rollup/rollup-android-arm64@4.20.0': - resolution: {integrity: sha512-u00Ro/nok7oGzVuh/FMYfNoGqxU5CPWz1mxV85S2w9LxHR8OoMQBuSk+3BKVIDYgkpeOET5yXkx90OYFc+ytpQ==} - cpu: [arm64] - os: [android] - '@rollup/rollup-android-arm64@4.21.2': resolution: {integrity: sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==} cpu: [arm64] os: [android] - '@rollup/rollup-android-arm64@4.24.4': - resolution: {integrity: sha512-j4nrEO6nHU1nZUuCfRKoCcvh7PIywQPUCBa2UsootTHvTHIoIu2BzueInGJhhvQO/2FTRdNYpf63xsgEqH9IhA==} - cpu: [arm64] - os: [android] - '@rollup/rollup-android-arm64@4.27.4': resolution: {integrity: sha512-wzKRQXISyi9UdCVRqEd0H4cMpzvHYt1f/C3CoIjES6cG++RHKhrBj2+29nPF0IB5kpy9MS71vs07fvrNGAl/iA==} cpu: [arm64] @@ -1751,21 +1672,11 @@ packages: cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-arm64@4.20.0': - resolution: {integrity: sha512-uFVfvzvsdGtlSLuL0ZlvPJvl6ZmrH4CBwLGEFPe7hUmf7htGAN+aXo43R/V6LATyxlKVC/m6UsLb7jbG+LG39Q==} - cpu: [arm64] - os: [darwin] - '@rollup/rollup-darwin-arm64@4.21.2': resolution: {integrity: sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-arm64@4.24.4': - resolution: {integrity: sha512-GmU/QgGtBTeraKyldC7cDVVvAJEOr3dFLKneez/n7BvX57UdhOqDsVwzU7UOnYA7AAOt+Xb26lk79PldDHgMIQ==} - cpu: [arm64] - os: [darwin] - '@rollup/rollup-darwin-arm64@4.27.4': resolution: {integrity: sha512-PlNiRQapift4LNS8DPUHuDX/IdXiLjf8mc5vdEmUR0fF/pyy2qWwzdLjB+iZquGr8LuN4LnUoSEvKRwjSVYz3Q==} cpu: [arm64] @@ -1776,41 +1687,21 @@ packages: cpu: [x64] os: [darwin] - '@rollup/rollup-darwin-x64@4.20.0': - resolution: {integrity: sha512-xbrMDdlev53vNXexEa6l0LffojxhqDTBeL+VUxuuIXys4x6xyvbKq5XqTXBCEUA8ty8iEJblHvFaWRJTk/icAQ==} - cpu: [x64] - os: [darwin] - '@rollup/rollup-darwin-x64@4.21.2': resolution: {integrity: sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==} cpu: [x64] os: [darwin] - '@rollup/rollup-darwin-x64@4.24.4': - resolution: {integrity: sha512-N6oDBiZCBKlwYcsEPXGDE4g9RoxZLK6vT98M8111cW7VsVJFpNEqvJeIPfsCzbf0XEakPslh72X0gnlMi4Ddgg==} - cpu: [x64] - os: [darwin] - '@rollup/rollup-darwin-x64@4.27.4': resolution: {integrity: sha512-o9bH2dbdgBDJaXWJCDTNDYa171ACUdzpxSZt+u/AAeQ20Nk5x+IhA+zsGmrQtpkLiumRJEYef68gcpn2ooXhSQ==} cpu: [x64] os: [darwin] - '@rollup/rollup-freebsd-arm64@4.24.4': - resolution: {integrity: sha512-py5oNShCCjCyjWXCZNrRGRpjWsF0ic8f4ieBNra5buQz0O/U6mMXCpC1LvrHuhJsNPgRt36tSYMidGzZiJF6mw==} - cpu: [arm64] - os: [freebsd] - '@rollup/rollup-freebsd-arm64@4.27.4': resolution: {integrity: sha512-NBI2/i2hT9Q+HySSHTBh52da7isru4aAAo6qC3I7QFVsuhxi2gM8t/EI9EVcILiHLj1vfi+VGGPaLOUENn7pmw==} cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.24.4': - resolution: {integrity: sha512-L7VVVW9FCnTTp4i7KrmHeDsDvjB4++KOBENYtNYAiYl96jeBThFfhP6HVxL74v4SiZEVDH/1ILscR5U9S4ms4g==} - cpu: [x64] - os: [freebsd] - '@rollup/rollup-freebsd-x64@4.27.4': resolution: {integrity: sha512-wYcC5ycW2zvqtDYrE7deary2P2UFmSh85PUpAx+dwTCO9uw3sgzD6Gv9n5X4vLaQKsrfTSZZ7Z7uynQozPVvWA==} cpu: [x64] @@ -1821,21 +1712,11 @@ packages: cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': - resolution: {integrity: sha512-jMYvxZwGmoHFBTbr12Xc6wOdc2xA5tF5F2q6t7Rcfab68TT0n+r7dgawD4qhPEvasDsVpQi+MgDzj2faOLsZjA==} - cpu: [arm] - os: [linux] - '@rollup/rollup-linux-arm-gnueabihf@4.21.2': resolution: {integrity: sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-gnueabihf@4.24.4': - resolution: {integrity: sha512-10ICosOwYChROdQoQo589N5idQIisxjaFE/PAnX2i0Zr84mY0k9zul1ArH0rnJ/fpgiqfu13TFZR5A5YJLOYZA==} - cpu: [arm] - os: [linux] - '@rollup/rollup-linux-arm-gnueabihf@4.27.4': resolution: {integrity: sha512-9OwUnK/xKw6DyRlgx8UizeqRFOfi9mf5TYCw1uolDaJSbUmBxP85DE6T4ouCMoN6pXw8ZoTeZCSEfSaYo+/s1w==} cpu: [arm] @@ -1846,21 +1727,11 @@ packages: cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.20.0': - resolution: {integrity: sha512-1asSTl4HKuIHIB1GcdFHNNZhxAYEdqML/MW4QmPS4G0ivbEcBr1JKlFLKsIRqjSwOBkdItn3/ZDlyvZ/N6KPlw==} - cpu: [arm] - os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.21.2': resolution: {integrity: sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.24.4': - resolution: {integrity: sha512-ySAfWs69LYC7QhRDZNKqNhz2UKN8LDfbKSMAEtoEI0jitwfAG2iZwVqGACJT+kfYvvz3/JgsLlcBP+WWoKCLcw==} - cpu: [arm] - os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.27.4': resolution: {integrity: sha512-Vgdo4fpuphS9V24WOV+KwkCVJ72u7idTgQaBoLRD0UxBAWTF9GWurJO9YD9yh00BzbkhpeXtm6na+MvJU7Z73A==} cpu: [arm] @@ -1871,21 +1742,11 @@ packages: cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.20.0': - resolution: {integrity: sha512-COBb8Bkx56KldOYJfMf6wKeYJrtJ9vEgBRAOkfw6Ens0tnmzPqvlpjZiLgkhg6cA3DGzCmLmmd319pmHvKWWlQ==} - cpu: [arm64] - os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.21.2': resolution: {integrity: sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.24.4': - resolution: {integrity: sha512-uHYJ0HNOI6pGEeZ/5mgm5arNVTI0nLlmrbdph+pGXpC9tFHFDQmDMOEqkmUObRfosJqpU8RliYoGz06qSdtcjg==} - cpu: [arm64] - os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.27.4': resolution: {integrity: sha512-pleyNgyd1kkBkw2kOqlBx+0atfIIkkExOTiifoODo6qKDSpnc6WzUY5RhHdmTdIJXBdSnh6JknnYTtmQyobrVg==} cpu: [arm64] @@ -1896,21 +1757,11 @@ packages: cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.20.0': - resolution: {integrity: sha512-+it+mBSyMslVQa8wSPvBx53fYuZK/oLTu5RJoXogjk6x7Q7sz1GNRsXWjn6SwyJm8E/oMjNVwPhmNdIjwP135Q==} - cpu: [arm64] - os: [linux] - '@rollup/rollup-linux-arm64-musl@4.21.2': resolution: {integrity: sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.24.4': - resolution: {integrity: sha512-38yiWLemQf7aLHDgTg85fh3hW9stJ0Muk7+s6tIkSUOMmi4Xbv5pH/5Bofnsb6spIwD5FJiR+jg71f0CH5OzoA==} - cpu: [arm64] - os: [linux] - '@rollup/rollup-linux-arm64-musl@4.27.4': resolution: {integrity: sha512-caluiUXvUuVyCHr5DxL8ohaaFFzPGmgmMvwmqAITMpV/Q+tPoaHZ/PWa3t8B2WyoRcIIuu1hkaW5KkeTDNSnMA==} cpu: [arm64] @@ -1921,21 +1772,11 @@ packages: cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': - resolution: {integrity: sha512-yAMvqhPfGKsAxHN8I4+jE0CpLWD8cv4z7CK7BMmhjDuz606Q2tFKkWRY8bHR9JQXYcoLfopo5TTqzxgPUjUMfw==} - cpu: [ppc64] - os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': resolution: {integrity: sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.24.4': - resolution: {integrity: sha512-q73XUPnkwt9ZNF2xRS4fvneSuaHw2BXuV5rI4cw0fWYVIWIBeDZX7c7FWhFQPNTnE24172K30I+dViWRVD9TwA==} - cpu: [ppc64] - os: [linux] - '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': resolution: {integrity: sha512-FScrpHrO60hARyHh7s1zHE97u0KlT/RECzCKAdmI+LEoC1eDh/RDji9JgFqyO+wPDb86Oa/sXkily1+oi4FzJQ==} cpu: [ppc64] @@ -1946,21 +1787,11 @@ packages: cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.20.0': - resolution: {integrity: sha512-qmuxFpfmi/2SUkAw95TtNq/w/I7Gpjurx609OOOV7U4vhvUhBcftcmXwl3rqAek+ADBwSjIC4IVNLiszoj3dPA==} - cpu: [riscv64] - os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.21.2': resolution: {integrity: sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.24.4': - resolution: {integrity: sha512-Aie/TbmQi6UXokJqDZdmTJuZBCU3QBDA8oTKRGtd4ABi/nHgXICulfg1KI6n9/koDsiDbvHAiQO3YAUNa/7BCw==} - cpu: [riscv64] - os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.27.4': resolution: {integrity: sha512-qyyprhyGb7+RBfMPeww9FlHwKkCXdKHeGgSqmIXw9VSUtvyFZ6WZRtnxgbuz76FK7LyoN8t/eINRbPUcvXB5fw==} cpu: [riscv64] @@ -1971,21 +1802,11 @@ packages: cpu: [s390x] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.20.0': - resolution: {integrity: sha512-I0BtGXddHSHjV1mqTNkgUZLnS3WtsqebAXv11D5BZE/gfw5KoyXSAXVqyJximQXNvNzUo4GKlCK/dIwXlz+jlg==} - cpu: [s390x] - os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.21.2': resolution: {integrity: sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.24.4': - resolution: {integrity: sha512-P8MPErVO/y8ohWSP9JY7lLQ8+YMHfTI4bAdtCi3pC2hTeqFJco2jYspzOzTUB8hwUWIIu1xwOrJE11nP+0JFAQ==} - cpu: [s390x] - os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.27.4': resolution: {integrity: sha512-PFz+y2kb6tbh7m3A7nA9++eInGcDVZUACulf/KzDtovvdTizHpZaJty7Gp0lFwSQcrnebHOqxF1MaKZd7psVRg==} cpu: [s390x] @@ -1996,21 +1817,11 @@ packages: cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.20.0': - resolution: {integrity: sha512-y+eoL2I3iphUg9tN9GB6ku1FA8kOfmF4oUEWhztDJ4KXJy1agk/9+pejOuZkNFhRwHAOxMsBPLbXPd6mJiCwew==} - cpu: [x64] - os: [linux] - '@rollup/rollup-linux-x64-gnu@4.21.2': resolution: {integrity: sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.24.4': - resolution: {integrity: sha512-K03TljaaoPK5FOyNMZAAEmhlyO49LaE4qCsr0lYHUKyb6QacTNF9pnfPpXnFlFD3TXuFbFbz7tJ51FujUXkXYA==} - cpu: [x64] - os: [linux] - '@rollup/rollup-linux-x64-gnu@4.27.4': resolution: {integrity: sha512-Ni8mMtfo+o/G7DVtweXXV/Ol2TFf63KYjTtoZ5f078AUgJTmaIJnj4JFU7TK/9SVWTaSJGxPi5zMDgK4w+Ez7Q==} cpu: [x64] @@ -2021,21 +1832,11 @@ packages: cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.20.0': - resolution: {integrity: sha512-hM3nhW40kBNYUkZb/r9k2FKK+/MnKglX7UYd4ZUy5DJs8/sMsIbqWK2piZtVGE3kcXVNj3B2IrUYROJMMCikNg==} - cpu: [x64] - os: [linux] - '@rollup/rollup-linux-x64-musl@4.21.2': resolution: {integrity: sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.24.4': - resolution: {integrity: sha512-VJYl4xSl/wqG2D5xTYncVWW+26ICV4wubwN9Gs5NrqhJtayikwCXzPL8GDsLnaLU3WwhQ8W02IinYSFJfyo34Q==} - cpu: [x64] - os: [linux] - '@rollup/rollup-linux-x64-musl@4.27.4': resolution: {integrity: sha512-5AeeAF1PB9TUzD+3cROzFTnAJAcVUGLuR8ng0E0WXGkYhp6RD6L+6szYVX+64Rs0r72019KHZS1ka1q+zU/wUw==} cpu: [x64] @@ -2046,21 +1847,11 @@ packages: cpu: [arm64] os: [win32] - '@rollup/rollup-win32-arm64-msvc@4.20.0': - resolution: {integrity: sha512-psegMvP+Ik/Bg7QRJbv8w8PAytPA7Uo8fpFjXyCRHWm6Nt42L+JtoqH8eDQ5hRP7/XW2UiIriy1Z46jf0Oa1kA==} - cpu: [arm64] - os: [win32] - '@rollup/rollup-win32-arm64-msvc@4.21.2': resolution: {integrity: sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-arm64-msvc@4.24.4': - resolution: {integrity: sha512-ku2GvtPwQfCqoPFIJCqZ8o7bJcj+Y54cZSr43hHca6jLwAiCbZdBUOrqE6y29QFajNAzzpIOwsckaTFmN6/8TA==} - cpu: [arm64] - os: [win32] - '@rollup/rollup-win32-arm64-msvc@4.27.4': resolution: {integrity: sha512-yOpVsA4K5qVwu2CaS3hHxluWIK5HQTjNV4tWjQXluMiiiu4pJj4BN98CvxohNCpcjMeTXk/ZMJBRbgRg8HBB6A==} cpu: [arm64] @@ -2071,21 +1862,11 @@ packages: cpu: [ia32] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.20.0': - resolution: {integrity: sha512-GabekH3w4lgAJpVxkk7hUzUf2hICSQO0a/BLFA11/RMxQT92MabKAqyubzDZmMOC/hcJNlc+rrypzNzYl4Dx7A==} - cpu: [ia32] - os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.21.2': resolution: {integrity: sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.24.4': - resolution: {integrity: sha512-V3nCe+eTt/W6UYNr/wGvO1fLpHUrnlirlypZfKCT1fG6hWfqhPgQV/K/mRBXBpxc0eKLIF18pIOFVPh0mqHjlg==} - cpu: [ia32] - os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.27.4': resolution: {integrity: sha512-KtwEJOaHAVJlxV92rNYiG9JQwQAdhBlrjNRp7P9L8Cb4Rer3in+0A+IPhJC9y68WAi9H0sX4AiG2NTsVlmqJeQ==} cpu: [ia32] @@ -2096,21 +1877,11 @@ packages: cpu: [x64] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.20.0': - resolution: {integrity: sha512-aJ1EJSuTdGnM6qbVC4B5DSmozPTqIag9fSzXRNNo+humQLG89XpPgdt16Ia56ORD7s+H8Pmyx44uczDQ0yDzpg==} - cpu: [x64] - os: [win32] - '@rollup/rollup-win32-x64-msvc@4.21.2': resolution: {integrity: sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==} cpu: [x64] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.24.4': - resolution: {integrity: sha512-LTw1Dfd0mBIEqUVCxbvTE/LLo+9ZxVC9k99v1v4ahg9Aak6FpqOfNu5kRkeTAn0wphoC4JU7No1/rL+bBCEwhg==} - cpu: [x64] - os: [win32] - '@rollup/rollup-win32-x64-msvc@4.27.4': resolution: {integrity: sha512-3j4jx1TppORdTAoBJRd+/wJRGCPC0ETWkXOecJ6PPZLj6SptXkrXcNqdj0oclbKML6FkQltdz7bBA3rUSirZug==} cpu: [x64] @@ -2185,8 +1956,8 @@ packages: '@types/estree@1.0.6': resolution: {integrity: sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==} - '@types/express-serve-static-core@5.0.1': - resolution: {integrity: sha512-CRICJIl0N5cXDONAdlTv5ShATZ4HEwk6kDDIW2/w9qOWKg+NU/5F8wYRWCrONad0/UKkloNSmmyN/wX4rtpbVA==} + '@types/express-serve-static-core@5.0.2': + resolution: {integrity: sha512-vluaspfvWEtE4vcSDlKRNer52DvOGrB2xv6diXy6UKyKW0lqZiWHGNApSyxOv+8DE5Z27IzVvE7hNkxg7EXIcg==} '@types/express@5.0.0': resolution: {integrity: sha512-DvZriSMehGHL1ZNLzi6MidnsDhUZM/x2pRdDIKdwbUNqqwHxMlRdkxtn6/EPKyqKpHqTl/4nRZsRNLpZxZRpPQ==} @@ -2221,9 +1992,6 @@ packages: '@types/node@22.8.5': resolution: {integrity: sha512-5iYk6AMPtsMbkZqCO1UGF9W5L38twq11S2pYWkybGHH2ogPUvXWNlQqJBzuEZWKj/WRH+QTeiv6ySWqJtvIEgA==} - '@types/node@22.9.0': - resolution: {integrity: sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==} - '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -2236,6 +2004,9 @@ packages: '@types/qs@6.9.16': resolution: {integrity: sha512-7i+zxXdPD0T4cKDuxCUXJ4wHcsJLwENa6Z3dCu8cfCK743OGy5Nu1RmAGqDPsoTDINVEcdXKRvR/zre+P2Ku1A==} + '@types/qs@6.9.17': + resolution: {integrity: sha512-rX4/bPcfmvxHDv0XjfJELTTr+iB+tn032nPILqHm5wbthUUUuVtNGGqzhya9XUxjTP8Fpr0qYgSZZKxGY++svQ==} + '@types/range-parser@1.2.7': resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} @@ -2881,10 +2652,6 @@ packages: cookie-signature@1.0.6: resolution: {integrity: sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==} - cookie@0.5.0: - resolution: {integrity: sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==} - engines: {node: '>= 0.6'} - cookie@0.7.1: resolution: {integrity: sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==} engines: {node: '>= 0.6'} @@ -3240,8 +3007,8 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-config-turbo@2.2.3: - resolution: {integrity: sha512-/zwNU+G2w0HszXzWILdl6/Catt86ejUG7vsFSdpnFzFAAUbbT2TxgoCFvC1fKtm6+SkQsXwkRRe9tFz0aMftpg==} + eslint-config-turbo@2.3.3: + resolution: {integrity: sha512-cM9wSBYowQIrjx2MPCzFE6jTnG4vpTPJKZ/O+Ps3CqrmGK/wtNOsY6WHGMwLtKY/nNbgRahAJH6jGVF6k2coOg==} peerDependencies: eslint: '>6.6.0' @@ -3374,11 +3141,6 @@ packages: eslint-plugin-tsdoc@0.2.17: resolution: {integrity: sha512-xRmVi7Zx44lOBuYqG8vzTXuL6IdGOeF9nHX17bjJ8+VE6fsxpdGem0/SBTmAwgYMKYB1WBkqRJVQ+n8GK041pA==} - eslint-plugin-turbo@2.2.3: - resolution: {integrity: sha512-LHt35VwxthdGVO6hQRfvmFb6ee8/exAzAYWCy4o87Bnp7urltP8qg7xMd4dPSLAhtfnI2xSo1WgeVaR3MeItxw==} - peerDependencies: - eslint: '>6.6.0' - eslint-plugin-turbo@2.3.3: resolution: {integrity: sha512-j8UEA0Z+NNCsjZep9G5u5soDQHcXq/x4amrwulk6eHF1U91H2qAjp5I4jQcvJewmccCJbVp734PkHHTRnosjpg==} peerDependencies: @@ -3516,6 +3278,10 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + fast-glob@3.3.1: + resolution: {integrity: sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg==} + engines: {node: '>=8.6.0'} + fast-glob@3.3.2: resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} engines: {node: '>=8.6.0'} @@ -3797,8 +3563,8 @@ packages: resolution: {integrity: sha512-zz8ktqMDRrZETjxBrv8C5PQRFbrTRCLNVAjD1SNQyOzv4VjmX68Uxw83xQ6oxdAB60HiWnGEatiKA8V3SZLDkQ==} engines: {node: '>=16.0.0'} - hono@4.6.9: - resolution: {integrity: sha512-p/pN5yZLuZaHzyAOT2nw2/Ud6HhJHYmDNGH6Ck1OWBhPMVeM1r74jbCRwNi0gyFRjjbsGgoHbOyj7mT1PDNbTw==} + hono@4.6.12: + resolution: {integrity: sha512-eHtf4kSDNw6VVrdbd5IQi16r22m3s7mWPLd7xOMhg1a/Yyb1A0qpUFq8xYMX4FMuDe1nTKeMX5rTx7Nmw+a+Ag==} engines: {node: '>=16.9.0'} hosted-git-info@2.8.9: @@ -4319,16 +4085,6 @@ packages: ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - msw@2.6.0: - resolution: {integrity: sha512-n3tx2w0MZ3H4pxY0ozrQ4sNPzK/dGtlr2cIIyuEsgq2Bhy4wvcW6ZH2w/gXM9+MEUY6HC1fWhqtcXDxVZr5Jxw==} - engines: {node: '>=18'} - hasBin: true - peerDependencies: - typescript: '>= 4.8.x' - peerDependenciesMeta: - typescript: - optional: true - msw@2.6.6: resolution: {integrity: sha512-npfIIVRHKQX3Lw4aLWX4wBh+lQwpqdZNyJYB5K/+ktK8NhtkdsTxGK7WDrgknozcVyRI7TOqY6yBS9j2FTR+YQ==} engines: {node: '>=18'} @@ -4480,6 +4236,12 @@ packages: peerDependencies: typescript: ^5.x + openapi-typescript@7.4.3: + resolution: {integrity: sha512-xTIjMIIOv9kNhsr8JxaC00ucbIY/6ZwuJPJBZMSh5FA2dicZN5uM805DWVJojXdom8YI4AQTavPDPHMx/3g0vQ==} + hasBin: true + peerDependencies: + typescript: ^5.x + optionator@0.9.4: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} @@ -4878,61 +4640,6 @@ packages: prettier: optional: true - prettier-plugin-tailwindcss@0.6.8: - resolution: {integrity: sha512-dGu3kdm7SXPkiW4nzeWKCl3uoImdd5CTZEJGxyypEPL37Wj0HT2pLqjrvSei1nTeuQfO4PUfjeW5cTUNRLZ4sA==} - engines: {node: '>=14.21.3'} - peerDependencies: - '@ianvs/prettier-plugin-sort-imports': '*' - '@prettier/plugin-pug': '*' - '@shopify/prettier-plugin-liquid': '*' - '@trivago/prettier-plugin-sort-imports': '*' - '@zackad/prettier-plugin-twig-melody': '*' - prettier: ^3.0 - prettier-plugin-astro: '*' - prettier-plugin-css-order: '*' - prettier-plugin-import-sort: '*' - prettier-plugin-jsdoc: '*' - prettier-plugin-marko: '*' - prettier-plugin-multiline-arrays: '*' - prettier-plugin-organize-attributes: '*' - prettier-plugin-organize-imports: '*' - prettier-plugin-sort-imports: '*' - prettier-plugin-style-order: '*' - prettier-plugin-svelte: '*' - peerDependenciesMeta: - '@ianvs/prettier-plugin-sort-imports': - optional: true - '@prettier/plugin-pug': - optional: true - '@shopify/prettier-plugin-liquid': - optional: true - '@trivago/prettier-plugin-sort-imports': - optional: true - '@zackad/prettier-plugin-twig-melody': - optional: true - prettier-plugin-astro: - optional: true - prettier-plugin-css-order: - optional: true - prettier-plugin-import-sort: - optional: true - prettier-plugin-jsdoc: - optional: true - prettier-plugin-marko: - optional: true - prettier-plugin-multiline-arrays: - optional: true - prettier-plugin-organize-attributes: - optional: true - prettier-plugin-organize-imports: - optional: true - prettier-plugin-sort-imports: - optional: true - prettier-plugin-style-order: - optional: true - prettier-plugin-svelte: - optional: true - prettier-plugin-tailwindcss@0.6.9: resolution: {integrity: sha512-r0i3uhaZAXYP0At5xGfJH876W3HHGHDp+LCRUJrs57PBeQ6mYHMwr25KH8NPX44F2yGTvdnH7OqCshlQx183Eg==} engines: {node: '>=14.21.3'} @@ -5020,8 +4727,8 @@ packages: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} engines: {node: '>= 0.10'} - psl@1.9.0: - resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + psl@1.13.0: + resolution: {integrity: sha512-BFwmFXiJoFqlUpZ5Qssolv15DMyc84gTBds1BjsV1BfXEo1UyyD7GsmN67n7J77uRhoSNW1AXtXKPLcBFQn9Aw==} pstree.remy@1.1.8: resolution: {integrity: sha512-77DZwxQmxKnu3aR542U+X8FypNzbfJ+C5XQDk3uWjWxn6151aIMGthWYRXTqT1E5oJvg+ljaa2OJi+VfvCOQ8w==} @@ -5189,21 +4896,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - rollup@4.20.0: - resolution: {integrity: sha512-6rbWBChcnSGzIlXeIdNIZTopKYad8ZG8ajhl78lGRLsI2rX8IkaotQhVas2Ma+GPxJav19wrSzvRvuiv0YKzWw==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - rollup@4.21.2: resolution: {integrity: sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - rollup@4.24.4: - resolution: {integrity: sha512-vGorVWIsWfX3xbcyAS+I047kFKapHYivmkaT63Smj77XwvLSJos6M1xGqZnBPFQFBRZDOcG1QnYEIxAvTr/HjA==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - rollup@4.27.4: resolution: {integrity: sha512-RLKxqHEMjh/RGLsDxAEsaLO3mWgyoU6x9w6n1ikAzet4B3gI2/3yP6PWY2p9QzRTh6MfEIXB3MwsOY0Iv3vNrw==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} @@ -5692,10 +5389,6 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - type-fest@4.26.1: - resolution: {integrity: sha512-yOGpmOAL7CkKe/91I5O3gPICmJNLJ1G4zFYVAsRHg7M64biSnPtRj0WNQt++bRkjYOqjWXrhnUw1utzmVErAdg==} - engines: {node: '>=16'} - type-fest@4.29.0: resolution: {integrity: sha512-RPYt6dKyemXJe7I6oNstcH24myUGSReicxcHTvCLgzm4e0n8y05dGvcGB15/SoPRBmhlMthWQ9pvKyL81ko8nQ==} engines: {node: '>=16'} @@ -5811,8 +5504,8 @@ packages: typescript: optional: true - valibot@1.0.0-beta.3: - resolution: {integrity: sha512-PRknKVj2249cF8Pxqil1dahkVHgyaPDq++Y8sA96R5lx4nYnVazs11kefOsRVD3PSygYJG5q2MEdEm7kuSWa+g==} + valibot@1.0.0-beta.8: + resolution: {integrity: sha512-OPAwJZtowb0j91b+bd77+ny7D1VVzsCzD7Jl9waLUlMprTsfI9Y3HHbW3hAQD7wKDKHsmGEesuiYWaYvcZL2wg==} peerDependencies: typescript: '>=5' peerDependenciesMeta: @@ -5831,8 +5524,8 @@ packages: engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} hasBin: true - vite-tsconfig-paths@5.1.0: - resolution: {integrity: sha512-Y1PLGHCJfAq1Zf4YIGEsmuU/NCX1epoZx9zwSr32Gjn3aalwQHRKr5aUmbo6r0JHeHkqmWpmDg7WOynhYXw1og==} + vite-tsconfig-paths@5.1.3: + resolution: {integrity: sha512-0bz+PDlLpGfP2CigeSKL9NFTF1KtXkeHGZSSaGQSuPZH77GhoiQaA8IjYgOaynSuwlDTolSUEU0ErVvju3NURg==} peerDependencies: vite: '*' peerDependenciesMeta: @@ -6125,8 +5818,6 @@ snapshots: '@babel/compat-data@7.25.2': {} - '@babel/compat-data@7.26.2': {} - '@babel/core@7.25.2': dependencies: '@ampproject/remapping': 2.3.0 @@ -6136,31 +5827,11 @@ snapshots: '@babel/helper-module-transforms': 7.25.2(@babel/core@7.25.2) '@babel/helpers': 7.25.0 '@babel/parser': 7.25.3 - '@babel/template': 7.25.0 - '@babel/traverse': 7.25.3 - '@babel/types': 7.25.2 - convert-source-map: 2.0.0 - debug: 4.3.6(supports-color@9.4.0) - gensync: 1.0.0-beta.2 - json5: 2.2.3 - semver: 6.3.1 - transitivePeerDependencies: - - supports-color - - '@babel/core@7.26.0': - dependencies: - '@ampproject/remapping': 2.3.0 - '@babel/code-frame': 7.26.2 - '@babel/generator': 7.26.2 - '@babel/helper-compilation-targets': 7.25.9 - '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.0) - '@babel/helpers': 7.26.0 - '@babel/parser': 7.26.2 - '@babel/template': 7.25.9 - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 + '@babel/template': 7.25.0 + '@babel/traverse': 7.25.3 + '@babel/types': 7.25.2 convert-source-map: 2.0.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.6(supports-color@9.4.0) gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 @@ -6198,14 +5869,6 @@ snapshots: lru-cache: 5.1.1 semver: 6.3.1 - '@babel/helper-compilation-targets@7.25.9': - dependencies: - '@babel/compat-data': 7.26.2 - '@babel/helper-validator-option': 7.25.9 - browserslist: 4.24.2 - lru-cache: 5.1.1 - semver: 6.3.1 - '@babel/helper-module-imports@7.24.7': dependencies: '@babel/traverse': 7.25.3 @@ -6213,13 +5876,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-module-imports@7.25.9': - dependencies: - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 - transitivePeerDependencies: - - supports-color - '@babel/helper-module-transforms@7.25.2(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 @@ -6230,15 +5886,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.0)': - dependencies: - '@babel/core': 7.26.0 - '@babel/helper-module-imports': 7.25.9 - '@babel/helper-validator-identifier': 7.25.9 - '@babel/traverse': 7.25.9 - transitivePeerDependencies: - - supports-color - '@babel/helper-plugin-utils@7.24.8': {} '@babel/helper-simple-access@7.24.7': @@ -6258,18 +5905,11 @@ snapshots: '@babel/helper-validator-option@7.24.8': {} - '@babel/helper-validator-option@7.25.9': {} - '@babel/helpers@7.25.0': dependencies: '@babel/template': 7.25.0 '@babel/types': 7.25.2 - '@babel/helpers@7.26.0': - dependencies: - '@babel/template': 7.25.9 - '@babel/types': 7.26.0 - '@babel/highlight@7.24.7': dependencies: '@babel/helper-validator-identifier': 7.24.7 @@ -6346,14 +5986,9 @@ snapshots: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@bundled-es-modules/cookie@2.0.0': - dependencies: - cookie: 0.5.0 - '@bundled-es-modules/cookie@2.0.1': dependencies: cookie: 0.7.2 - optional: true '@bundled-es-modules/statuses@1.0.1': dependencies: @@ -6800,7 +6435,7 @@ snapshots: dependencies: levn: 0.4.1 - '@figma/plugin-typings@1.100.2': {} + '@figma/plugin-typings@1.103.0': {} '@hono/node-server@1.12.2(hono@4.5.9)': dependencies: @@ -6834,18 +6469,6 @@ snapshots: '@humanwhocodes/retry@0.4.1': {} - '@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.4.1)': - dependencies: - '@babel/core': 7.26.0 - '@babel/generator': 7.26.2 - '@babel/parser': 7.26.2 - '@babel/traverse': 7.25.9 - '@babel/types': 7.26.0 - prettier: 3.4.1 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - '@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1)': dependencies: '@babel/generator': 7.26.2 @@ -6857,32 +6480,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@inquirer/confirm@5.0.1(@types/node@22.9.0)': - dependencies: - '@inquirer/core': 10.0.1(@types/node@22.9.0) - '@inquirer/type': 3.0.0(@types/node@22.9.0) - '@types/node': 22.9.0 - '@inquirer/confirm@5.0.2(@types/node@22.10.0)': dependencies: '@inquirer/core': 10.1.0(@types/node@22.10.0) '@inquirer/type': 3.0.1(@types/node@22.10.0) '@types/node': 22.10.0 - optional: true - - '@inquirer/core@10.0.1(@types/node@22.9.0)': - dependencies: - '@inquirer/figures': 1.0.7 - '@inquirer/type': 3.0.0(@types/node@22.9.0) - ansi-escapes: 4.3.2 - cli-width: 4.1.0 - mute-stream: 2.0.0 - signal-exit: 4.1.0 - strip-ansi: 6.0.1 - wrap-ansi: 6.2.0 - yoctocolors-cjs: 2.1.2 - transitivePeerDependencies: - - '@types/node' '@inquirer/core@10.1.0(@types/node@22.10.0)': dependencies: @@ -6897,21 +6499,12 @@ snapshots: yoctocolors-cjs: 2.1.2 transitivePeerDependencies: - '@types/node' - optional: true - - '@inquirer/figures@1.0.7': {} - '@inquirer/figures@1.0.8': - optional: true - - '@inquirer/type@3.0.0(@types/node@22.9.0)': - dependencies: - '@types/node': 22.9.0 + '@inquirer/figures@1.0.8': {} '@inquirer/type@3.0.1(@types/node@22.10.0)': dependencies: '@types/node': 22.10.0 - optional: true '@isaacs/cliui@8.0.2': dependencies: @@ -6969,15 +6562,6 @@ snapshots: '@microsoft/tsdoc@0.14.2': {} - '@mswjs/interceptors@0.36.9': - dependencies: - '@open-draft/deferred-promise': 2.2.0 - '@open-draft/logger': 0.3.0 - '@open-draft/until': 2.1.0 - is-node-process: 1.2.0 - outvariant: 1.4.3 - strict-event-emitter: 0.5.1 - '@mswjs/interceptors@0.37.1': dependencies: '@open-draft/deferred-promise': 2.2.0 @@ -6986,12 +6570,15 @@ snapshots: is-node-process: 1.2.0 outvariant: 1.4.3 strict-event-emitter: 0.5.1 - optional: true - '@next/eslint-plugin-next@14.2.16': + '@next/eslint-plugin-next@14.2.18': dependencies: glob: 10.3.10 + '@next/eslint-plugin-next@15.0.3': + dependencies: + fast-glob: 3.3.1 + '@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1': dependencies: eslint-scope: 5.1.1 @@ -7008,7 +6595,7 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@oclif/core@4.0.31': + '@oclif/core@4.0.33': dependencies: ansi-escapes: 4.3.2 ansis: 3.3.2 @@ -7095,9 +6682,26 @@ snapshots: - encoding - supports-color - '@rollup/plugin-commonjs@28.0.1(rollup@4.24.4)': + '@redocly/openapi-core@1.25.14(supports-color@9.4.0)': + dependencies: + '@redocly/ajv': 8.11.2 + '@redocly/config': 0.16.0 + colorette: 1.4.0 + https-proxy-agent: 7.0.5(supports-color@9.4.0) + js-levenshtein: 1.1.6 + js-yaml: 4.1.0 + lodash.isequal: 4.5.0 + minimatch: 5.1.6 + node-fetch: 2.7.0 + pluralize: 8.0.0 + yaml-ast-parser: 0.0.43 + transitivePeerDependencies: + - encoding + - supports-color + + '@rollup/plugin-commonjs@28.0.1(rollup@4.27.4)': dependencies: - '@rollup/pluginutils': 5.1.3(rollup@4.24.4) + '@rollup/pluginutils': 5.1.3(rollup@4.27.4) commondir: 1.0.1 estree-walker: 2.0.2 fdir: 6.4.2(picomatch@4.0.2) @@ -7105,292 +6709,190 @@ snapshots: magic-string: 0.30.12 picomatch: 4.0.2 optionalDependencies: - rollup: 4.24.4 + rollup: 4.27.4 - '@rollup/plugin-html@1.0.4(rollup@4.24.4)': + '@rollup/plugin-html@1.0.4(rollup@4.27.4)': optionalDependencies: - rollup: 4.24.4 + rollup: 4.27.4 - '@rollup/plugin-json@6.1.0(rollup@4.24.4)': + '@rollup/plugin-json@6.1.0(rollup@4.27.4)': dependencies: - '@rollup/pluginutils': 5.1.3(rollup@4.24.4) + '@rollup/pluginutils': 5.1.3(rollup@4.27.4) optionalDependencies: - rollup: 4.24.4 + rollup: 4.27.4 - '@rollup/plugin-node-resolve@15.3.0(rollup@4.24.4)': + '@rollup/plugin-node-resolve@15.3.0(rollup@4.27.4)': dependencies: - '@rollup/pluginutils': 5.1.3(rollup@4.24.4) + '@rollup/pluginutils': 5.1.3(rollup@4.27.4) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-module: 1.0.0 resolve: 1.22.8 optionalDependencies: - rollup: 4.24.4 + rollup: 4.27.4 - '@rollup/plugin-replace@6.0.1(rollup@4.24.4)': + '@rollup/plugin-replace@6.0.1(rollup@4.27.4)': dependencies: - '@rollup/pluginutils': 5.1.3(rollup@4.24.4) + '@rollup/pluginutils': 5.1.3(rollup@4.27.4) magic-string: 0.30.12 optionalDependencies: - rollup: 4.24.4 + rollup: 4.27.4 - '@rollup/pluginutils@5.1.3(rollup@4.24.4)': + '@rollup/pluginutils@5.1.3(rollup@4.27.4)': dependencies: '@types/estree': 1.0.6 estree-walker: 2.0.2 picomatch: 4.0.2 optionalDependencies: - rollup: 4.24.4 + rollup: 4.27.4 '@rollup/rollup-android-arm-eabi@4.19.2': optional: true - '@rollup/rollup-android-arm-eabi@4.20.0': - optional: true - '@rollup/rollup-android-arm-eabi@4.21.2': optional: true - '@rollup/rollup-android-arm-eabi@4.24.4': - optional: true - '@rollup/rollup-android-arm-eabi@4.27.4': optional: true '@rollup/rollup-android-arm64@4.19.2': optional: true - '@rollup/rollup-android-arm64@4.20.0': - optional: true - '@rollup/rollup-android-arm64@4.21.2': optional: true - '@rollup/rollup-android-arm64@4.24.4': - optional: true - '@rollup/rollup-android-arm64@4.27.4': optional: true '@rollup/rollup-darwin-arm64@4.19.2': optional: true - '@rollup/rollup-darwin-arm64@4.20.0': - optional: true - '@rollup/rollup-darwin-arm64@4.21.2': optional: true - '@rollup/rollup-darwin-arm64@4.24.4': - optional: true - '@rollup/rollup-darwin-arm64@4.27.4': optional: true '@rollup/rollup-darwin-x64@4.19.2': optional: true - '@rollup/rollup-darwin-x64@4.20.0': - optional: true - '@rollup/rollup-darwin-x64@4.21.2': optional: true - '@rollup/rollup-darwin-x64@4.24.4': - optional: true - '@rollup/rollup-darwin-x64@4.27.4': optional: true - '@rollup/rollup-freebsd-arm64@4.24.4': - optional: true - '@rollup/rollup-freebsd-arm64@4.27.4': optional: true - '@rollup/rollup-freebsd-x64@4.24.4': - optional: true - '@rollup/rollup-freebsd-x64@4.27.4': optional: true '@rollup/rollup-linux-arm-gnueabihf@4.19.2': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.20.0': - optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.21.2': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.24.4': - optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.27.4': optional: true '@rollup/rollup-linux-arm-musleabihf@4.19.2': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.20.0': - optional: true - '@rollup/rollup-linux-arm-musleabihf@4.21.2': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.24.4': - optional: true - '@rollup/rollup-linux-arm-musleabihf@4.27.4': optional: true '@rollup/rollup-linux-arm64-gnu@4.19.2': optional: true - '@rollup/rollup-linux-arm64-gnu@4.20.0': - optional: true - '@rollup/rollup-linux-arm64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-arm64-gnu@4.24.4': - optional: true - '@rollup/rollup-linux-arm64-gnu@4.27.4': optional: true '@rollup/rollup-linux-arm64-musl@4.19.2': optional: true - '@rollup/rollup-linux-arm64-musl@4.20.0': - optional: true - '@rollup/rollup-linux-arm64-musl@4.21.2': optional: true - '@rollup/rollup-linux-arm64-musl@4.24.4': - optional: true - '@rollup/rollup-linux-arm64-musl@4.27.4': optional: true '@rollup/rollup-linux-powerpc64le-gnu@4.19.2': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.20.0': - optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.21.2': optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.24.4': - optional: true - '@rollup/rollup-linux-powerpc64le-gnu@4.27.4': optional: true '@rollup/rollup-linux-riscv64-gnu@4.19.2': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.20.0': - optional: true - '@rollup/rollup-linux-riscv64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.24.4': - optional: true - '@rollup/rollup-linux-riscv64-gnu@4.27.4': optional: true '@rollup/rollup-linux-s390x-gnu@4.19.2': optional: true - '@rollup/rollup-linux-s390x-gnu@4.20.0': - optional: true - '@rollup/rollup-linux-s390x-gnu@4.21.2': optional: true - '@rollup/rollup-linux-s390x-gnu@4.24.4': - optional: true - '@rollup/rollup-linux-s390x-gnu@4.27.4': optional: true '@rollup/rollup-linux-x64-gnu@4.19.2': optional: true - '@rollup/rollup-linux-x64-gnu@4.20.0': - optional: true - '@rollup/rollup-linux-x64-gnu@4.21.2': optional: true - '@rollup/rollup-linux-x64-gnu@4.24.4': - optional: true - '@rollup/rollup-linux-x64-gnu@4.27.4': optional: true '@rollup/rollup-linux-x64-musl@4.19.2': optional: true - '@rollup/rollup-linux-x64-musl@4.20.0': - optional: true - '@rollup/rollup-linux-x64-musl@4.21.2': optional: true - '@rollup/rollup-linux-x64-musl@4.24.4': - optional: true - '@rollup/rollup-linux-x64-musl@4.27.4': optional: true '@rollup/rollup-win32-arm64-msvc@4.19.2': optional: true - '@rollup/rollup-win32-arm64-msvc@4.20.0': - optional: true - '@rollup/rollup-win32-arm64-msvc@4.21.2': optional: true - '@rollup/rollup-win32-arm64-msvc@4.24.4': - optional: true - '@rollup/rollup-win32-arm64-msvc@4.27.4': optional: true '@rollup/rollup-win32-ia32-msvc@4.19.2': optional: true - '@rollup/rollup-win32-ia32-msvc@4.20.0': - optional: true - '@rollup/rollup-win32-ia32-msvc@4.21.2': optional: true - '@rollup/rollup-win32-ia32-msvc@4.24.4': - optional: true - '@rollup/rollup-win32-ia32-msvc@4.27.4': optional: true '@rollup/rollup-win32-x64-msvc@4.19.2': optional: true - '@rollup/rollup-win32-x64-msvc@4.20.0': - optional: true - '@rollup/rollup-win32-x64-msvc@4.21.2': optional: true - '@rollup/rollup-win32-x64-msvc@4.24.4': - optional: true - '@rollup/rollup-win32-x64-msvc@4.27.4': optional: true @@ -7452,11 +6954,11 @@ snapshots: '@types/body-parser@1.19.5': dependencies: '@types/connect': 3.4.38 - '@types/node': 22.8.5 + '@types/node': 22.10.0 '@types/connect@3.4.38': dependencies: - '@types/node': 22.8.5 + '@types/node': 22.10.0 '@types/cookie@0.6.0': {} @@ -7464,17 +6966,17 @@ snapshots: '@types/estree@1.0.6': {} - '@types/express-serve-static-core@5.0.1': + '@types/express-serve-static-core@5.0.2': dependencies: - '@types/node': 22.9.0 - '@types/qs': 6.9.16 + '@types/node': 22.10.0 + '@types/qs': 6.9.17 '@types/range-parser': 1.2.7 '@types/send': 0.17.4 '@types/express@5.0.0': dependencies: '@types/body-parser': 1.19.5 - '@types/express-serve-static-core': 5.0.1 + '@types/express-serve-static-core': 5.0.2 '@types/qs': 6.9.16 '@types/serve-static': 1.15.7 @@ -7495,7 +6997,6 @@ snapshots: '@types/node@22.10.0': dependencies: undici-types: 6.20.0 - optional: true '@types/node@22.5.1': dependencies: @@ -7505,10 +7006,6 @@ snapshots: dependencies: undici-types: 6.19.8 - '@types/node@22.9.0': - dependencies: - undici-types: 6.19.8 - '@types/normalize-package-data@2.4.4': {} '@types/prop-types@15.7.12': {} @@ -7517,6 +7014,8 @@ snapshots: '@types/qs@6.9.16': {} + '@types/qs@6.9.17': {} + '@types/range-parser@1.2.7': {} '@types/react-dom@18.3.0': @@ -7542,19 +7041,19 @@ snapshots: '@types/sax@1.2.7': dependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.0 '@types/semver@7.5.8': {} '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 - '@types/node': 22.9.0 + '@types/node': 22.10.0 '@types/serve-static@1.15.7': dependencies: '@types/http-errors': 2.0.4 - '@types/node': 22.8.5 + '@types/node': 22.10.0 '@types/send': 0.17.4 '@types/statuses@2.0.5': {} @@ -7565,7 +7064,7 @@ snapshots: '@types/xml2js@0.4.14': dependencies: - '@types/node': 22.9.0 + '@types/node': 22.10.0 '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': dependencies: @@ -7923,7 +7422,7 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vercel/style-guide@6.0.0(@next/eslint-plugin-next@14.2.16)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2))': + '@vercel/style-guide@6.0.0(@next/eslint-plugin-next@14.2.18)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2))': dependencies: '@babel/core': 7.25.2 '@babel/eslint-parser': 7.25.1(@babel/core@7.25.2)(eslint@8.57.0) @@ -7946,7 +7445,7 @@ snapshots: eslint-plugin-vitest: 0.3.26(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)) prettier-plugin-packagejson: 2.5.1(prettier@3.4.1) optionalDependencies: - '@next/eslint-plugin-next': 14.2.16 + '@next/eslint-plugin-next': 14.2.18 eslint: 8.57.0 prettier: 3.4.1 typescript: 5.7.2 @@ -8386,12 +7885,9 @@ snapshots: cookie-signature@1.0.6: {} - cookie@0.5.0: {} - cookie@0.7.1: {} - cookie@0.7.2: - optional: true + cookie@0.7.2: {} core-js-compat@3.38.1: dependencies: @@ -8894,10 +8390,10 @@ snapshots: dependencies: eslint: 9.15.0(jiti@2.4.0) - eslint-config-turbo@2.2.3(eslint@8.57.0): + eslint-config-turbo@2.3.3(eslint@8.57.0): dependencies: eslint: 8.57.0 - eslint-plugin-turbo: 2.2.3(eslint@8.57.0) + eslint-plugin-turbo: 2.3.3(eslint@8.57.0) eslint-import-resolver-alias@1.1.2(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)): dependencies: @@ -9084,7 +8580,7 @@ snapshots: '@microsoft/tsdoc': 0.14.2 '@microsoft/tsdoc-config': 0.16.2 - eslint-plugin-turbo@2.2.3(eslint@8.57.0): + eslint-plugin-turbo@2.3.3(eslint@8.57.0): dependencies: dotenv: 16.0.3 eslint: 8.57.0 @@ -9276,7 +8772,7 @@ snapshots: execa@8.0.1: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.6 get-stream: 8.0.1 human-signals: 5.0.0 is-stream: 3.0.0 @@ -9334,6 +8830,14 @@ snapshots: fast-deep-equal@3.1.3: {} + fast-glob@3.3.1: + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.8 + fast-glob@3.3.2: dependencies: '@nodelib/fs.stat': 2.0.5 @@ -9434,7 +8938,7 @@ snapshots: foreground-child@3.3.0: dependencies: - cross-spawn: 7.0.3 + cross-spawn: 7.0.6 signal-exit: 4.1.0 forwarded@0.2.0: {} @@ -9620,7 +9124,7 @@ snapshots: hono@4.5.9: {} - hono@4.6.9: {} + hono@4.6.12: {} hosted-git-info@2.8.9: {} @@ -10066,31 +9570,6 @@ snapshots: ms@2.1.3: {} - msw@2.6.0(@types/node@22.9.0)(typescript@5.7.2): - dependencies: - '@bundled-es-modules/cookie': 2.0.0 - '@bundled-es-modules/statuses': 1.0.1 - '@bundled-es-modules/tough-cookie': 0.1.6 - '@inquirer/confirm': 5.0.1(@types/node@22.9.0) - '@mswjs/interceptors': 0.36.9 - '@open-draft/deferred-promise': 2.2.0 - '@open-draft/until': 2.1.0 - '@types/cookie': 0.6.0 - '@types/statuses': 2.0.5 - chalk: 4.1.2 - graphql: 16.9.0 - headers-polyfill: 4.0.3 - is-node-process: 1.2.0 - outvariant: 1.4.3 - path-to-regexp: 6.3.0 - strict-event-emitter: 0.5.1 - type-fest: 4.26.1 - yargs: 17.7.2 - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - '@types/node' - msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2): dependencies: '@bundled-es-modules/cookie': 2.0.1 @@ -10115,7 +9594,6 @@ snapshots: typescript: 5.7.2 transitivePeerDependencies: - '@types/node' - optional: true mute-stream@2.0.0: {} @@ -10274,6 +9752,18 @@ snapshots: transitivePeerDependencies: - encoding + openapi-typescript@7.4.3(typescript@5.7.2): + dependencies: + '@redocly/openapi-core': 1.25.14(supports-color@9.4.0) + ansi-colors: 4.1.3 + change-case: 5.4.4 + parse-json: 8.1.0 + supports-color: 9.4.0 + typescript: 5.7.2 + yargs-parser: 21.1.1 + transitivePeerDependencies: + - encoding + optionator@0.9.4: dependencies: deep-is: 0.1.4 @@ -10345,7 +9835,7 @@ snapshots: dependencies: '@babel/code-frame': 7.24.7 index-to-position: 0.1.2 - type-fest: 4.26.1 + type-fest: 4.29.0 parseurl@1.3.3: {} @@ -10434,13 +9924,13 @@ snapshots: dependencies: postcss: 8.4.49 - postcss-load-config@3.1.4(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)): + postcss-load-config@3.1.4(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.10.0)(typescript@5.7.2)): dependencies: lilconfig: 2.1.0 yaml: 1.10.2 optionalDependencies: postcss: 8.4.49 - ts-node: 10.9.2(@types/node@22.9.0)(typescript@5.7.2) + ts-node: 10.9.2(@types/node@22.10.0)(typescript@5.7.2) postcss-merge-longhand@5.1.7(postcss@8.4.49): dependencies: @@ -10634,12 +10124,6 @@ snapshots: optionalDependencies: prettier: 3.4.1 - prettier-plugin-tailwindcss@0.6.8(@ianvs/prettier-plugin-sort-imports@4.3.1(prettier@3.4.1))(prettier@3.4.1): - dependencies: - prettier: 3.4.1 - optionalDependencies: - '@ianvs/prettier-plugin-sort-imports': 4.3.1(prettier@3.4.1) - prettier-plugin-tailwindcss@0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1))(prettier@3.4.1): dependencies: prettier: 3.4.1 @@ -10671,7 +10155,9 @@ snapshots: forwarded: 0.2.0 ipaddr.js: 1.9.1 - psl@1.9.0: {} + psl@1.13.0: + dependencies: + punycode: 2.3.1 pstree.remy@1.1.8: {} @@ -10809,18 +10295,18 @@ snapshots: chalk: 1.1.3 maxmin: 2.1.0 - rollup-plugin-esbuild@6.1.1(esbuild@0.24.0)(rollup@4.24.4): + rollup-plugin-esbuild@6.1.1(esbuild@0.24.0)(rollup@4.27.4): dependencies: - '@rollup/pluginutils': 5.1.3(rollup@4.24.4) + '@rollup/pluginutils': 5.1.3(rollup@4.27.4) debug: 4.3.7(supports-color@8.1.1) es-module-lexer: 1.5.4 esbuild: 0.24.0 get-tsconfig: 4.8.1 - rollup: 4.24.4 + rollup: 4.27.4 transitivePeerDependencies: - supports-color - rollup-plugin-license@3.5.3(picomatch@4.0.2)(rollup@4.24.4): + rollup-plugin-license@3.5.3(picomatch@4.0.2)(rollup@4.27.4): dependencies: commenting: 1.1.0 fdir: 6.3.0(picomatch@4.0.2) @@ -10828,17 +10314,17 @@ snapshots: magic-string: 0.30.12 moment: 2.30.1 package-name-regex: 2.0.6 - rollup: 4.24.4 + rollup: 4.27.4 spdx-expression-validate: 2.0.0 spdx-satisfies: 5.0.1 transitivePeerDependencies: - picomatch - rollup-plugin-node-externals@5.1.3(rollup@4.24.4): + rollup-plugin-node-externals@5.1.3(rollup@4.27.4): dependencies: - rollup: 4.24.4 + rollup: 4.27.4 - rollup-plugin-postcss@4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)): + rollup-plugin-postcss@4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.10.0)(typescript@5.7.2)): dependencies: chalk: 4.1.2 concat-with-sourcemaps: 1.1.0 @@ -10847,7 +10333,7 @@ snapshots: p-queue: 6.6.2 pify: 5.0.0 postcss: 8.4.49 - postcss-load-config: 3.1.4(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2)) + postcss-load-config: 3.1.4(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.10.0)(typescript@5.7.2)) postcss-modules: 4.3.1(postcss@8.4.49) promise.series: 0.2.0 resolve: 1.22.8 @@ -10883,28 +10369,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.19.2 fsevents: 2.3.3 - rollup@4.20.0: - dependencies: - '@types/estree': 1.0.5 - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.20.0 - '@rollup/rollup-android-arm64': 4.20.0 - '@rollup/rollup-darwin-arm64': 4.20.0 - '@rollup/rollup-darwin-x64': 4.20.0 - '@rollup/rollup-linux-arm-gnueabihf': 4.20.0 - '@rollup/rollup-linux-arm-musleabihf': 4.20.0 - '@rollup/rollup-linux-arm64-gnu': 4.20.0 - '@rollup/rollup-linux-arm64-musl': 4.20.0 - '@rollup/rollup-linux-powerpc64le-gnu': 4.20.0 - '@rollup/rollup-linux-riscv64-gnu': 4.20.0 - '@rollup/rollup-linux-s390x-gnu': 4.20.0 - '@rollup/rollup-linux-x64-gnu': 4.20.0 - '@rollup/rollup-linux-x64-musl': 4.20.0 - '@rollup/rollup-win32-arm64-msvc': 4.20.0 - '@rollup/rollup-win32-ia32-msvc': 4.20.0 - '@rollup/rollup-win32-x64-msvc': 4.20.0 - fsevents: 2.3.3 - rollup@4.21.2: dependencies: '@types/estree': 1.0.5 @@ -10927,30 +10391,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.21.2 fsevents: 2.3.3 - rollup@4.24.4: - dependencies: - '@types/estree': 1.0.6 - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.24.4 - '@rollup/rollup-android-arm64': 4.24.4 - '@rollup/rollup-darwin-arm64': 4.24.4 - '@rollup/rollup-darwin-x64': 4.24.4 - '@rollup/rollup-freebsd-arm64': 4.24.4 - '@rollup/rollup-freebsd-x64': 4.24.4 - '@rollup/rollup-linux-arm-gnueabihf': 4.24.4 - '@rollup/rollup-linux-arm-musleabihf': 4.24.4 - '@rollup/rollup-linux-arm64-gnu': 4.24.4 - '@rollup/rollup-linux-arm64-musl': 4.24.4 - '@rollup/rollup-linux-powerpc64le-gnu': 4.24.4 - '@rollup/rollup-linux-riscv64-gnu': 4.24.4 - '@rollup/rollup-linux-s390x-gnu': 4.24.4 - '@rollup/rollup-linux-x64-gnu': 4.24.4 - '@rollup/rollup-linux-x64-musl': 4.24.4 - '@rollup/rollup-win32-arm64-msvc': 4.24.4 - '@rollup/rollup-win32-ia32-msvc': 4.24.4 - '@rollup/rollup-win32-x64-msvc': 4.24.4 - fsevents: 2.3.3 - rollup@4.27.4: dependencies: '@types/estree': 1.0.6 @@ -11366,7 +10806,7 @@ snapshots: tough-cookie@4.1.4: dependencies: - psl: 1.9.0 + psl: 1.13.0 punycode: 2.3.1 universalify: 0.2.0 url-parse: 1.5.10 @@ -11381,14 +10821,14 @@ snapshots: dependencies: typescript: 5.7.2 - ts-node@10.9.2(@types/node@22.8.5)(typescript@5.7.2): + ts-node@10.9.2(@types/node@22.10.0)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.8.5 + '@types/node': 22.10.0 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 @@ -11398,15 +10838,16 @@ snapshots: typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + optional: true - ts-node@10.9.2(@types/node@22.9.0)(typescript@5.7.2): + ts-node@10.9.2(@types/node@22.8.5)(typescript@5.7.2): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 22.9.0 + '@types/node': 22.8.5 acorn: 8.14.0 acorn-walk: 8.3.4 arg: 4.1.3 @@ -11416,7 +10857,6 @@ snapshots: typescript: 5.7.2 v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - optional: true tsconfck@3.1.4(typescript@5.7.2): optionalDependencies: @@ -11498,10 +10938,7 @@ snapshots: type-fest@2.19.0: {} - type-fest@4.26.1: {} - - type-fest@4.29.0: - optional: true + type-fest@4.29.0: {} type-is@1.6.18: dependencies: @@ -11566,8 +11003,7 @@ snapshots: undici-types@6.19.8: {} - undici-types@6.20.0: - optional: true + undici-types@6.20.0: {} universalify@0.1.2: {} @@ -11612,7 +11048,7 @@ snapshots: optionalDependencies: typescript: 5.7.2 - valibot@1.0.0-beta.3(typescript@5.7.2): + valibot@1.0.0-beta.8(typescript@5.7.2): optionalDependencies: typescript: 5.7.2 @@ -11644,7 +11080,7 @@ snapshots: - tsx - yaml - vite-tsconfig-paths@5.1.0(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)): + vite-tsconfig-paths@5.1.3(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)): dependencies: debug: 4.3.7(supports-color@8.1.1) globrex: 0.1.2 @@ -11668,7 +11104,7 @@ snapshots: dependencies: esbuild: 0.21.5 postcss: 8.4.41 - rollup: 4.20.0 + rollup: 4.27.4 optionalDependencies: '@types/node': 22.10.0 fsevents: 2.3.3 From 4fc320b77d56de3720f04161830b2729e949d72a Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Thu, 28 Nov 2024 06:45:29 +0100 Subject: [PATCH 10/15] #80 renamed style-guide to config for more playroom --- .prettierrc.js | 2 +- .../express/petstore/eslint.config.js | 2 +- .../express/petstore/package.json | 2 +- .../express/petstore/tsconfig.json | 2 +- package.json | 2 +- packages/cli/eslint.config.js | 2 +- packages/cli/package.json | 2 +- packages/cli/tsconfig.json | 2 +- packages/config/README.md | 71 +- packages/config/base.tsconfig.json | 42 - packages/config/eslint/_base.js | 60 - .../{style-guide => config}/eslint/base.js | 0 packages/config/eslint/library.js | 27 +- packages/config/eslint/next.js | 72 +- packages/config/eslint/react-internal.js | 59 +- packages/config/eslint/remix.js | 118 -- packages/config/nextjs.tsconfig.json | 31 - packages/config/node.tsconfig.json | 24 - packages/config/package.json | 42 +- .../{style-guide => config}/prettier/index.js | 0 packages/config/react-library.tsconfig.json | 23 - packages/config/remix.tsconfig.json | 32 - packages/config/shared-library.tsconfig.json | 22 - .../typescript/tsconfig.base.json | 0 .../typescript/tsconfig.library.json | 0 .../typescript/tsconfig.next.json | 0 .../typescript/tsconfig.node20.json | 0 .../typescript/tsconfig.react-internal.json | 0 .../config/vite/{node.config.js => node.js} | 0 packages/elevenlabs-client/eslint.config.js | 2 +- packages/elevenlabs-client/package.json | 2 +- packages/elevenlabs-client/tsconfig.json | 2 +- packages/elevenlabs-client/vitest.config.mjs | 2 +- packages/eprel-client/eslint.config.js | 2 +- packages/eprel-client/package.json | 2 +- packages/eprel-client/tsconfig.json | 2 +- packages/eprel-client/vitest.config.mjs | 2 +- packages/feature-fetch/eslint.config.js | 2 +- packages/feature-fetch/package.json | 2 +- packages/feature-fetch/tsconfig.json | 2 +- packages/feature-fetch/vitest.config.mjs | 2 +- packages/feature-form/eslint.config.js | 2 +- packages/feature-form/package.json | 2 +- packages/feature-form/tsconfig.json | 2 +- packages/feature-form/vitest.config.mjs | 2 +- packages/feature-logger/eslint.config.js | 2 +- packages/feature-logger/package.json | 2 +- packages/feature-logger/tsconfig.json | 2 +- packages/feature-logger/vitest.config.mjs | 2 +- packages/feature-react/eslint.config.js | 2 +- packages/feature-react/package.json | 2 +- packages/feature-react/tsconfig.json | 2 +- packages/feature-react/vitest.config.mjs | 2 +- packages/feature-state/eslint.config.js | 2 +- packages/feature-state/package.json | 2 +- packages/feature-state/tsconfig.json | 2 +- packages/feature-state/vitest.config.mjs | 2 +- packages/figma-connect/eslint.config.js | 2 +- packages/figma-connect/package.json | 2 +- packages/figma-connect/tsconfig.json | 2 +- .../google-webfonts-client/eslint.config.js | 2 +- packages/google-webfonts-client/package.json | 2 +- packages/google-webfonts-client/tsconfig.json | 2 +- .../google-webfonts-client/vitest.config.mjs | 2 +- packages/openapi-router/eslint.config.js | 2 +- packages/openapi-router/package.json | 2 +- packages/openapi-router/tsconfig.json | 2 +- packages/openapi-router/vitest.config.mjs | 2 +- packages/style-guide/.github/banner.svg | 6 - packages/style-guide/README.md | 109 -- packages/style-guide/eslint/library.js | 12 - packages/style-guide/eslint/next.js | 42 - packages/style-guide/eslint/react-internal.js | 33 - packages/style-guide/package.json | 54 - packages/style-guide/vite/library.js | 13 - packages/types/eslint.config.js | 2 +- packages/types/package.json | 2 +- packages/types/tsconfig.json | 2 +- packages/utils/eslint.config.js | 2 +- packages/utils/package.json | 2 +- packages/utils/tsconfig.json | 2 +- packages/utils/vitest.config.mjs | 2 +- packages/validation-adapter/eslint.config.js | 2 +- packages/validation-adapter/package.json | 2 +- packages/validation-adapter/tsconfig.json | 2 +- packages/validation-adapter/vitest.config.mjs | 2 +- packages/validation-adapters/eslint.config.js | 2 +- packages/validation-adapters/package.json | 2 +- packages/validation-adapters/tsconfig.json | 2 +- .../validation-adapters/vitest.config.mjs | 2 +- packages/xml-tokenizer/eslint.config.js | 2 +- packages/xml-tokenizer/package.json | 2 +- packages/xml-tokenizer/tsconfig.json | 2 +- packages/xml-tokenizer/vitest.config.mjs | 2 +- pnpm-lock.yaml | 1436 ++--------------- tsconfig.json | 2 +- 96 files changed, 344 insertions(+), 2118 deletions(-) delete mode 100644 packages/config/base.tsconfig.json delete mode 100644 packages/config/eslint/_base.js rename packages/{style-guide => config}/eslint/base.js (100%) delete mode 100644 packages/config/eslint/remix.js delete mode 100644 packages/config/nextjs.tsconfig.json delete mode 100644 packages/config/node.tsconfig.json rename packages/{style-guide => config}/prettier/index.js (100%) delete mode 100644 packages/config/react-library.tsconfig.json delete mode 100644 packages/config/remix.tsconfig.json delete mode 100644 packages/config/shared-library.tsconfig.json rename packages/{style-guide => config}/typescript/tsconfig.base.json (100%) rename packages/{style-guide => config}/typescript/tsconfig.library.json (100%) rename packages/{style-guide => config}/typescript/tsconfig.next.json (100%) rename packages/{style-guide => config}/typescript/tsconfig.node20.json (100%) rename packages/{style-guide => config}/typescript/tsconfig.react-internal.json (100%) rename packages/config/vite/{node.config.js => node.js} (100%) delete mode 100644 packages/style-guide/.github/banner.svg delete mode 100644 packages/style-guide/README.md delete mode 100644 packages/style-guide/eslint/library.js delete mode 100644 packages/style-guide/eslint/next.js delete mode 100644 packages/style-guide/eslint/react-internal.js delete mode 100644 packages/style-guide/package.json delete mode 100644 packages/style-guide/vite/library.js diff --git a/.prettierrc.js b/.prettierrc.js index 7da524d6..3bd496b0 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -3,5 +3,5 @@ * @type {import("prettier").Config} */ module.exports = { - ...require('@blgc/style-guide/prettier') + ...require('@blgc/config/prettier') }; diff --git a/examples/openapi-router/express/petstore/eslint.config.js b/examples/openapi-router/express/petstore/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/examples/openapi-router/express/petstore/eslint.config.js +++ b/examples/openapi-router/express/petstore/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/examples/openapi-router/express/petstore/package.json b/examples/openapi-router/express/petstore/package.json index c1939733..06063710 100644 --- a/examples/openapi-router/express/petstore/package.json +++ b/examples/openapi-router/express/petstore/package.json @@ -19,7 +19,7 @@ "validation-adapters": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/express": "^5.0.0", "@types/node": "^22.8.5", "nodemon": "^3.1.7", diff --git a/examples/openapi-router/express/petstore/tsconfig.json b/examples/openapi-router/express/petstore/tsconfig.json index 8b2bbf68..4e91b1e6 100644 --- a/examples/openapi-router/express/petstore/tsconfig.json +++ b/examples/openapi-router/express/petstore/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/node20", + "extends": "@blgc/config/typescript/node20", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/package.json b/package.json index 53356810..7feb160b 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@blgc/cli": "workspace:*", - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.10", "@ianvs/prettier-plugin-sort-imports": "^4.4.0", diff --git a/packages/cli/eslint.config.js b/packages/cli/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/cli/eslint.config.js +++ b/packages/cli/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/cli/package.json b/packages/cli/package.json index d6fefdbc..6c3f5e9b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -67,7 +67,7 @@ "rollup-plugin-postcss": "^4.0.2" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/figlet": "^1.7.0", "@types/lodash": "^4.17.13", "@types/node": "^22.10.0", diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 5b95d44c..3804a18d 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/node20", + "extends": "@blgc/config/typescript/node20", "compilerOptions": { "outDir": "./dist", "rootDir": "./src" diff --git a/packages/config/README.md b/packages/config/README.md index bc8ef7c1..ddf8945f 100644 --- a/packages/config/README.md +++ b/packages/config/README.md @@ -1,5 +1,5 @@

- @blgc/config banner + @blgc/config banner

@@ -14,17 +14,42 @@

-`@blgc/config` is a collection of ESLint, Vite and Typescript configurations. +`@blgc/config` is a collection of configurations for popular linting and styling tools. + +The following configs are available, and are designed to be used together. + +- [Prettier](#prettier) +- [ESLint](#eslint) +- [TypeScript](#typescript) +- [Vitest](#vitest) ## 📖 Usage +### [Prettier](https://prettier.io/) + +> Note: Prettier is a peer-dependency of this package, and should be installed +> at the root of your project. +> +> See: https://prettier.io/docs/en/install.html + +To use the shared Prettier config, set the following in `package.json`: + +```json +{ + "prettier": "@blgc/config/prettier" +} +``` + ### [Typescript](https://www.typescriptlang.org/) -`tsconfig.json` +> Note: Typescript is a peer-dependency of this package, and should be installed +> at the root of your project. + +To use the shared Typescript config, set the following in `tsconfig.json`: ```json { - "extends": "@blgc/config/react-library.tsconfig.json", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", @@ -36,25 +61,32 @@ ### [ESLint](https://eslint.org/) -`.eslintrc.js` +> Note: ESLint is a peer-dependency of this package, and should be installed +> at the root of your project. +> +> See: https://eslint.org/docs/user-guide/getting-started#installation-and-usage + +To use the shared ESLint config, set the following in `eslint.config.js`: ```js /** * @type {import('eslint').Linter.Config} */ -module.exports = { - root: true, - extends: [require.resolve('@blgc/config/eslint/react-internal'), 'plugin:storybook/recommended'] -}; +module.exports = [ + ...require('@blgc/config/eslint/library'), + { + // Any additional custom rules + } +]; ``` ### [Vitest](https://vitest.dev/) -`vitest.config.js` +To use the shared Vitest config, set the following in `vitest.config.js`: ```js const { defineConfig, mergeConfig } = require('vitest/config'); -const { nodeConfig } = require('@blgc/config/vite/node.config'); +const { nodeConfig } = require('@blgc/config/vite/node'); module.exports = mergeConfig(nodeConfig, defineConfig({})); ``` @@ -69,20 +101,7 @@ If you are encountering issues or unexpected behavior with ESLint, you can use t npx eslint --print-config ./some/file/to/test/on.ts ``` -## 🔴 Issues - -### TypeScript Configurations Location - -TypeScript configurations are placed at the root to allow easy referencing from other packages in the monorepo using the `extends` field in `tsconfig.json`, like so: - -```json -{ - "extends": "@blgc/config/base.json" -} -``` - -Node: Extending nested configuration didn't work. - ## 🌟 Credits -This configuration is based on the [`turbo-basic`](https://github.com/vercel/turbo/tree/main/examples/basic) starter template and will be kept in sync with it as the Vercel team knows better than me what configurations settings are best for NextJs apps and co. Also [`tsconfig/bases`](https://github.com/tsconfig/bases) was a source of inspiration. +- [`turbo-basic`](https://github.com/vercel/turbo/tree/main/examples/basic) - Base configuration from Vercel's official starter template for optimal Next.js settings +- [`tsconfig/bases`](https://github.com/tsconfig/bases) - TypeScript configuration best practices and recommendations diff --git a/packages/config/base.tsconfig.json b/packages/config/base.tsconfig.json deleted file mode 100644 index 9b053a10..00000000 --- a/packages/config/base.tsconfig.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Default", - "compilerOptions": { - // Projects - "composite": false, - - // Language and Environment - "target": "esnext", - - // Modules - "module": "esnext", - "moduleResolution": "node", - "resolveJsonModule": true, - - // Javascript Support - // "allowJs": true, // Global tsconfig.json has issues when this is enabled - - // Emit - "declaration": true, - "declarationMap": true, - "inlineSources": false, - - // Interop Constraints - "esModuleInterop": true, - "isolatedModules": true, - "forceConsistentCasingInFileNames": true, - - // Type Checking - "strict": true, - "noImplicitAny": true, - "strictPropertyInitialization": false, - "strictNullChecks": true, - "noUnusedLocals": false, - "noUnusedParameters": false, - "noUncheckedIndexedAccess": true, - - "skipLibCheck": true, - "preserveWatchOutput": true - }, - "exclude": ["node_modules"] -} diff --git a/packages/config/eslint/_base.js b/packages/config/eslint/_base.js deleted file mode 100644 index 368bb9ec..00000000 --- a/packages/config/eslint/_base.js +++ /dev/null @@ -1,60 +0,0 @@ -const OFF = 0; -const WARNING = 1; -const ERROR = 2; - -const { resolve } = require('node:path'); - -const tsConfigPath = resolve(process.cwd(), 'tsconfig.json'); - -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - extends: [require.resolve('@vercel/style-guide/eslint/typescript'), 'turbo'], - parserOptions: { - project: [tsConfigPath] - }, - settings: { - 'import/resolver': { - typescript: { - project: tsConfigPath - } - } - }, - rules: { - // Typescript - '@typescript-eslint/naming-convention': WARNING, - '@typescript-eslint/no-unused-vars': WARNING, - '@typescript-eslint/ban-ts-comment': WARNING, - '@typescript-eslint/require-await': WARNING, - '@typescript-eslint/unbound-method': WARNING, - '@typescript-eslint/no-dynamic-delete': WARNING, - '@typescript-eslint/ban-types': WARNING, - '@typescript-eslint/no-explicit-any': WARNING, - '@typescript-eslint/no-floating-promises': WARNING, - '@typescript-eslint/no-invalid-void-type': WARNING, - - // Its everywhere although Typescript can infer it - '@typescript-eslint/no-unsafe-assignment': OFF, - '@typescript-eslint/no-unsafe-call': OFF, - '@typescript-eslint/no-unsafe-return': OFF, - '@typescript-eslint/no-unsafe-member-access': OFF, - '@typescript-eslint/no-unsafe-argument': OFF, - - // EsLint - 'no-console': WARNING, - 'import/no-default-export': WARNING, - 'eqeqeq': OFF, // Often use it to check against null & undefined (e.g. 'var == null') - 'import/order': OFF, // Handled by prettier - 'import/no-extraneous-dependencies': WARNING, - 'no-await-in-loop': WARNING, - 'no-bitwise': WARNING, - 'unicorn/filename-case': OFF, // Annoying with React components and Typescript classes - 'import/no-named-as-default-member': OFF, // For ReactJs imports like React.useState() - 'import/no-extraneous-dependencies': OFF, // Conflict with Typescript paths - 'camelcase': WARNING, - - // Turbo - 'turbo/no-undeclared-env-vars': WARNING - } -}; diff --git a/packages/style-guide/eslint/base.js b/packages/config/eslint/base.js similarity index 100% rename from packages/style-guide/eslint/base.js rename to packages/config/eslint/base.js diff --git a/packages/config/eslint/library.js b/packages/config/eslint/library.js index 4b1938a7..f4f9185a 100644 --- a/packages/config/eslint/library.js +++ b/packages/config/eslint/library.js @@ -1,21 +1,12 @@ -/* - * This is a custom ESLint configuration for use with - * Typescript packages. - * - * This config extends the Vercel Engineering Style Guide. - * For more information, see https://github.com/vercel/style-guide - */ - -const OFF = 0; -const WARNING = 1; -const ERROR = 2; - /** - * @type {import('eslint').Linter.Config} + * ESLint configuration for TypeScript libraries. + * + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} */ -module.exports = { - extends: [require.resolve('@vercel/style-guide/eslint/node'), require.resolve('./_base')], - rules: { - // Add specific rules configurations here +module.exports = [ + ...require('./base.js'), + { + rules: {} } -}; +]; diff --git a/packages/config/eslint/next.js b/packages/config/eslint/next.js index df36bdfd..add4e461 100644 --- a/packages/config/eslint/next.js +++ b/packages/config/eslint/next.js @@ -1,40 +1,42 @@ -/* - * This is a custom ESLint configuration for use with - * Next.js apps. - * - * This config extends the Vercel Engineering Style Guide. - * For more information, see https://github.com/vercel/style-guide - */ - -const OFF = 0; -const WARNING = 1; -const ERROR = 2; +const pluginNext = require('@next/eslint-plugin-next'); +const pluginReact = require('eslint-plugin-react'); +const pluginReactHooks = require('eslint-plugin-react-hooks'); +const globals = require('globals'); /** - * @type {import('eslint').Linter.Config} + * ESLint configuration for applications that use Next.js. + * + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} */ -module.exports = { - extends: [ - require.resolve('@vercel/style-guide/eslint/node'), - require.resolve('@vercel/style-guide/eslint/browser'), - require.resolve('@vercel/style-guide/eslint/react'), - require.resolve('@vercel/style-guide/eslint/next'), - require.resolve('./_base') - ], - globals: { - React: true, - JSX: true - }, - rules: { - // EsLint - 'import/no-default-export': OFF, - - // React - 'react/function-component-definition': [ - 'error', - { - namedComponents: 'arrow-function' +module.exports = [ + ...require('./base.js'), + { + ...pluginReact.configs.flat.recommended, + languageOptions: { + ...pluginReact.configs.flat.recommended.languageOptions, + globals: { + ...globals.serviceworker } - ] + } + }, + { + plugins: { + '@next/next': pluginNext + }, + rules: { + ...pluginNext.configs.recommended.rules, + ...pluginNext.configs['core-web-vitals'].rules + } + }, + { + plugins: { + 'react-hooks': pluginReactHooks + }, + settings: { react: { version: 'detect' } }, + rules: { + ...pluginReactHooks.configs.recommended.rules, + 'react/react-in-jsx-scope': 'off' + } } -}; +]; diff --git a/packages/config/eslint/react-internal.js b/packages/config/eslint/react-internal.js index 50333e1a..6e3022a5 100644 --- a/packages/config/eslint/react-internal.js +++ b/packages/config/eslint/react-internal.js @@ -1,36 +1,33 @@ -/* - * This is a custom ESLint configuration for use with - * internal (bundled by their consumer) libraries - * that utilize React. - * - * This config extends the Vercel Engineering Style Guide. - * For more information, see https://github.com/vercel/style-guide - */ - -const OFF = 0; -const WARNING = 1; -const ERROR = 2; +const pluginReact = require('eslint-plugin-react'); +const pluginReactHooks = require('eslint-plugin-react-hooks'); +const globals = require('globals'); /** - * @type {import('eslint').Linter.Config} + * ESLint configuration for applications and libraries that use ReactJs. + * + * @see https://eslint.org/docs/latest/use/configure/configuration-files + * @type {import("eslint").Linter.Config} */ -module.exports = { - extends: [ - require.resolve('@vercel/style-guide/eslint/browser'), - require.resolve('@vercel/style-guide/eslint/react'), - require.resolve('./_base') - ], - globals: { - React: true, - JSX: true - }, - rules: { - // React - 'react/function-component-definition': [ - 'error', - { - namedComponents: 'arrow-function' +module.exports = [ + ...require('./base.js'), + pluginReact.configs.flat.recommended, + { + languageOptions: { + ...pluginReact.configs.flat.recommended.languageOptions, + globals: { + ...globals.serviceworker, + ...globals.browser } - ] + } + }, + { + plugins: { + 'react-hooks': pluginReactHooks + }, + settings: { react: { version: 'detect' } }, + rules: { + ...pluginReactHooks.configs.recommended.rules, + 'react/react-in-jsx-scope': 'off' + } } -}; +]; diff --git a/packages/config/eslint/remix.js b/packages/config/eslint/remix.js deleted file mode 100644 index af6a7fd8..00000000 --- a/packages/config/eslint/remix.js +++ /dev/null @@ -1,118 +0,0 @@ -/* - * This is a custom ESLint configuration for use with - * Remix.js apps. - * - * This config extends the Vercel Engineering Style Guide. - * For more information, see https://github.com/vercel/style-guide - * - * and is based on: https://github.com/remix-run/remix/blob/main/templates/remix/.eslintrc.cjs - */ - -const OFF = 0; -const WARNING = 1; -const ERROR = 2; - -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = { - root: true, - parserOptions: { - ecmaVersion: 'latest', - sourceType: 'module', - ecmaFeatures: { - jsx: true - } - }, - env: { - browser: true, - commonjs: true, - es6: true - }, - ignorePatterns: ['!**/.server', '!**/.client'], - extends: [ - // Note: Not using @remix-run/eslint-config because they are outdated and more or less deprecated (https://github.com/remix-run/remix/issues/7325) - // require.resolve('@remix-run/eslint-config'), - // require.resolve('@remix-run/eslint-config/node'), - require.resolve('@vercel/style-guide/eslint/node'), - require.resolve('@vercel/style-guide/eslint/browser'), - require.resolve('@vercel/style-guide/eslint/react'), - require.resolve('./_base') - ], - globals: { - React: true, - JSX: true - }, - // overrides: [ - // // React - // { - // files: ['**/*.{js,jsx,ts,tsx}'], - // plugins: ['react', 'jsx-a11y'], - // extends: [ - // 'plugin:react/recommended', - // 'plugin:react/jsx-runtime', - // 'plugin:react-hooks/recommended', - // 'plugin:jsx-a11y/recommended' - // ], - // settings: { - // 'react': { - // version: 'detect' - // }, - // 'formComponents': ['Form'], - // 'linkComponents': [ - // { name: 'Link', linkAttribute: 'to' }, - // { name: 'NavLink', linkAttribute: 'to' } - // ], - // 'import/resolver': { - // typescript: {} - // } - // } - // }, - - // // Typescript - // { - // files: ['**/*.{ts,tsx}'], - // plugins: ['@typescript-eslint', 'import'], - // parser: '@typescript-eslint/parser', - // settings: { - // 'import/internal-regex': '^~/', - // 'import/resolver': { - // node: { - // extensions: ['.ts', '.tsx'] - // }, - // typescript: { - // alwaysTryTypes: true - // } - // } - // }, - // extends: [ - // 'plugin:@typescript-eslint/recommended', - // 'plugin:import/recommended', - // 'plugin:import/typescript' - // ] - // }, - - // // Node - // { - // files: ['.eslintrc.cjs'], - // env: { - // node: true - // } - // } - // ], - rules: { - // Typescript - '@typescript-eslint/only-throw-error': OFF, // Often required in loader functions, .. - - // EsLint - 'import/no-default-export': OFF, - - // React - 'react/function-component-definition': [ - 'error', - { - namedComponents: 'arrow-function' - } - ] - } -}; diff --git a/packages/config/nextjs.tsconfig.json b/packages/config/nextjs.tsconfig.json deleted file mode 100644 index a66fc0b8..00000000 --- a/packages/config/nextjs.tsconfig.json +++ /dev/null @@ -1,31 +0,0 @@ -// https://github.com/tsconfig/bases/blob/main/bases/next.json -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Next.js", - "extends": "./base.tsconfig.json", - "compilerOptions": { - "plugins": [{ "name": "next" }], - - // Projects - "incremental": true, - - // Language and Environmet - "target": "es5", - "lib": ["dom", "dom.iterable", "esnext"], - "jsx": "preserve", - - // Modules - "module": "esnext", - "moduleResolution": "node", - - // Javascript Support - "allowJs": true, - - // Emit - "declaration": false, - "declarationMap": false, - "noEmit": true - }, - "include": ["src", "next-env.d.ts"], - "exclude": ["node_modules"] -} diff --git a/packages/config/node.tsconfig.json b/packages/config/node.tsconfig.json deleted file mode 100644 index 3aa3b0d1..00000000 --- a/packages/config/node.tsconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -// https://github.com/tsconfig/bases/blob/main/bases/node-lts.json -// https://github.com/tsconfig/bases/issues/233 -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Node LTS", - "extends": "./base.tsconfig.json", - "compilerOptions": { - // Language and Environmet - "target": "es2022", - "lib": ["es2023"], - - // Modules - "module": "node16", - "moduleResolution": "node16", - - // Javascript Support - "allowJs": true, - - // Emit - "outDir": "./dist", - "rootDir": "./src" - }, - "include": ["src"] -} diff --git a/packages/config/package.json b/packages/config/package.json index 97ae1a67..27870832 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,8 +1,8 @@ { "name": "@blgc/config", - "version": "0.0.25", + "version": "0.0.1", "private": false, - "description": "Collection of ESLint, Vite and Typescript configurations", + "description": "Builder.Group's engineering style guide", "keywords": [], "homepage": "https://builder.group/?source=github", "bugs": { @@ -14,6 +14,16 @@ }, "license": "MIT", "author": "@bennobuilder", + "exports": { + "./eslint/*": "./eslint/*.js", + "./vite/*": "./vite/*.js", + "./prettier": "./prettier/index.js", + "./typescript/base": "./typescript/tsconfig.base.json", + "./typescript/library": "./typescript/tsconfig.library.json", + "./typescript/next": "./typescript/tsconfig.next.json", + "./typescript/node20": "./typescript/tsconfig.node20.json", + "./typescript/react-internal": "./typescript/tsconfig.react-internal.json" + }, "scripts": { "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", @@ -21,16 +31,30 @@ "update:latest": "pnpm update --latest" }, "dependencies": { - "@vercel/style-guide": "^6.0.0", - "eslint-config-turbo": "^2.2.3", - "vite-tsconfig-paths": "^5.1.0" + "@ianvs/prettier-plugin-sort-imports": "^4.4.0", + "@next/eslint-plugin-next": "^15.0.3", + "@typescript-eslint/eslint-plugin": "^8.16.0", + "@typescript-eslint/parser": "^8.16.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-only-warn": "^1.1.0", + "eslint-plugin-react": "^7.37.2", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-turbo": "^2.3.3", + "prettier-plugin-packagejson": "^2.5.6", + "prettier-plugin-tailwindcss": "^0.6.9", + "typescript-eslint": "^8.16.0", + "vite-tsconfig-paths": "^5.1.3" }, "devDependencies": { - "@next/eslint-plugin-next": "^14.2.6", - "eslint": "^8.57.0" + "eslint": "^9.15.0", + "prettier": "^3.4.1", + "typescript": "^5.7.2", + "vitest": "^2.1.6" }, "peerDependencies": { - "@next/eslint-plugin-next": "^14.2.6", - "eslint": "^8.57.0" + "eslint": "^9.15.0", + "prettier": "^3.4.1", + "typescript": "^5.7.2", + "vitest": "^2.1.6" } } diff --git a/packages/style-guide/prettier/index.js b/packages/config/prettier/index.js similarity index 100% rename from packages/style-guide/prettier/index.js rename to packages/config/prettier/index.js diff --git a/packages/config/react-library.tsconfig.json b/packages/config/react-library.tsconfig.json deleted file mode 100644 index c941b94f..00000000 --- a/packages/config/react-library.tsconfig.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "React Library", - "extends": "./base.tsconfig.json", - "compilerOptions": { - // Language and Environmet - "target": "es2020", - "lib": ["dom", "dom.Iterable", "es2020"], - "jsx": "react-jsx", - - // Modules - "module": "esnext", - "moduleResolution": "node", - - // Javascript Support - "allowJs": true - - // Emit - // "outDir": "./dist", - // "rootDir": "./src" - }, - "include": ["src"] -} diff --git a/packages/config/remix.tsconfig.json b/packages/config/remix.tsconfig.json deleted file mode 100644 index 9d3e7499..00000000 --- a/packages/config/remix.tsconfig.json +++ /dev/null @@ -1,32 +0,0 @@ -// https://github.com/remix-run/remix/blob/main/templates/remix/tsconfig.json -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Remix.js", - "extends": "./base.tsconfig.json", - "compilerOptions": { - // Projects - "incremental": true, - - // Language and Environmet - "target": "es2022", - "lib": ["dom", "dom.iterable", "es2022"], - "jsx": "react-jsx", - - // Modules - "module": "esnext", - "moduleResolution": "bundler", - - // Javascript Support - "allowJs": true, - - // Emit - "declaration": false, - "declarationMap": false, - "noEmit": true - }, - "include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"], - "exclude": ["node_modules"], - - // Remix takes care of building everything in `remix build`. - "noEmit": true -} diff --git a/packages/config/shared-library.tsconfig.json b/packages/config/shared-library.tsconfig.json deleted file mode 100644 index 586c7ceb..00000000 --- a/packages/config/shared-library.tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/tsconfig", - "display": "Shared Library", - "extends": "./base.tsconfig.json", - "compilerOptions": { - // Language and Environmet - "target": "esnext", - "lib": ["esnext"], - - // Modules - "module": "commonjs", - "moduleResolution": "node", - - // Javascript Support - "allowJs": true - - // Emit - // "outDir": "./dist", - // "rootDir": "./src" - }, - "include": ["src"] -} diff --git a/packages/style-guide/typescript/tsconfig.base.json b/packages/config/typescript/tsconfig.base.json similarity index 100% rename from packages/style-guide/typescript/tsconfig.base.json rename to packages/config/typescript/tsconfig.base.json diff --git a/packages/style-guide/typescript/tsconfig.library.json b/packages/config/typescript/tsconfig.library.json similarity index 100% rename from packages/style-guide/typescript/tsconfig.library.json rename to packages/config/typescript/tsconfig.library.json diff --git a/packages/style-guide/typescript/tsconfig.next.json b/packages/config/typescript/tsconfig.next.json similarity index 100% rename from packages/style-guide/typescript/tsconfig.next.json rename to packages/config/typescript/tsconfig.next.json diff --git a/packages/style-guide/typescript/tsconfig.node20.json b/packages/config/typescript/tsconfig.node20.json similarity index 100% rename from packages/style-guide/typescript/tsconfig.node20.json rename to packages/config/typescript/tsconfig.node20.json diff --git a/packages/style-guide/typescript/tsconfig.react-internal.json b/packages/config/typescript/tsconfig.react-internal.json similarity index 100% rename from packages/style-guide/typescript/tsconfig.react-internal.json rename to packages/config/typescript/tsconfig.react-internal.json diff --git a/packages/config/vite/node.config.js b/packages/config/vite/node.js similarity index 100% rename from packages/config/vite/node.config.js rename to packages/config/vite/node.js diff --git a/packages/elevenlabs-client/eslint.config.js b/packages/elevenlabs-client/eslint.config.js index cd05f2de..177a38f5 100644 --- a/packages/elevenlabs-client/eslint.config.js +++ b/packages/elevenlabs-client/eslint.config.js @@ -3,7 +3,7 @@ * @type {import("eslint").Linter.Config} */ module.exports = [ - ...require('@blgc/style-guide/eslint/library'), + ...require('@blgc/config/eslint/library'), { ignores: ['src/gen/*'] } diff --git a/packages/elevenlabs-client/package.json b/packages/elevenlabs-client/package.json index a34ce9d8..c99fbfdf 100644 --- a/packages/elevenlabs-client/package.json +++ b/packages/elevenlabs-client/package.json @@ -39,7 +39,7 @@ "feature-fetch": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0", "dotenv": "^16.4.5", "openapi-typescript": "^7.4.3" diff --git a/packages/elevenlabs-client/tsconfig.json b/packages/elevenlabs-client/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/elevenlabs-client/tsconfig.json +++ b/packages/elevenlabs-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/elevenlabs-client/vitest.config.mjs b/packages/elevenlabs-client/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/elevenlabs-client/vitest.config.mjs +++ b/packages/elevenlabs-client/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/eprel-client/eslint.config.js b/packages/eprel-client/eslint.config.js index cd05f2de..177a38f5 100644 --- a/packages/eprel-client/eslint.config.js +++ b/packages/eprel-client/eslint.config.js @@ -3,7 +3,7 @@ * @type {import("eslint").Linter.Config} */ module.exports = [ - ...require('@blgc/style-guide/eslint/library'), + ...require('@blgc/config/eslint/library'), { ignores: ['src/gen/*'] } diff --git a/packages/eprel-client/package.json b/packages/eprel-client/package.json index 3c786bbe..08c900b9 100644 --- a/packages/eprel-client/package.json +++ b/packages/eprel-client/package.json @@ -39,7 +39,7 @@ "feature-fetch": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0", "dotenv": "^16.4.5", "openapi-typescript": "^7.4.3" diff --git a/packages/eprel-client/tsconfig.json b/packages/eprel-client/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/eprel-client/tsconfig.json +++ b/packages/eprel-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/eprel-client/vitest.config.mjs b/packages/eprel-client/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/eprel-client/vitest.config.mjs +++ b/packages/eprel-client/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-fetch/eslint.config.js b/packages/feature-fetch/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/feature-fetch/eslint.config.js +++ b/packages/feature-fetch/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/feature-fetch/package.json b/packages/feature-fetch/package.json index 42c00bc1..cfb5153b 100644 --- a/packages/feature-fetch/package.json +++ b/packages/feature-fetch/package.json @@ -39,7 +39,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0", "@types/url-parse": "^1.4.11", "msw": "^2.6.6" diff --git a/packages/feature-fetch/tsconfig.json b/packages/feature-fetch/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/feature-fetch/tsconfig.json +++ b/packages/feature-fetch/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-fetch/vitest.config.mjs b/packages/feature-fetch/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/feature-fetch/vitest.config.mjs +++ b/packages/feature-fetch/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-form/eslint.config.js b/packages/feature-form/eslint.config.js index 7bda1ed1..4b91e2be 100644 --- a/packages/feature-form/eslint.config.js +++ b/packages/feature-form/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('../config/eslint/library')]; diff --git a/packages/feature-form/package.json b/packages/feature-form/package.json index 01a310c4..f81374e7 100644 --- a/packages/feature-form/package.json +++ b/packages/feature-form/package.json @@ -40,7 +40,7 @@ "validation-adapter": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0" }, "size-limit": [ diff --git a/packages/feature-form/tsconfig.json b/packages/feature-form/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/feature-form/tsconfig.json +++ b/packages/feature-form/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-form/vitest.config.mjs b/packages/feature-form/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/feature-form/vitest.config.mjs +++ b/packages/feature-form/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-logger/eslint.config.js b/packages/feature-logger/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/feature-logger/eslint.config.js +++ b/packages/feature-logger/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/feature-logger/package.json b/packages/feature-logger/package.json index 258a8f81..ca1eeedc 100644 --- a/packages/feature-logger/package.json +++ b/packages/feature-logger/package.json @@ -38,7 +38,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0" }, "size-limit": [ diff --git a/packages/feature-logger/tsconfig.json b/packages/feature-logger/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/feature-logger/tsconfig.json +++ b/packages/feature-logger/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-logger/vitest.config.mjs b/packages/feature-logger/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/feature-logger/vitest.config.mjs +++ b/packages/feature-logger/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-react/eslint.config.js b/packages/feature-react/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/feature-react/eslint.config.js +++ b/packages/feature-react/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/feature-react/package.json b/packages/feature-react/package.json index 338fdfe1..996a0b98 100644 --- a/packages/feature-react/package.json +++ b/packages/feature-react/package.json @@ -54,7 +54,7 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@blgc/utils": "workspace:*", "@types/node": "^22.10.0", "@types/react": "^18.3.12", diff --git a/packages/feature-react/tsconfig.json b/packages/feature-react/tsconfig.json index 10148c00..18564fb8 100644 --- a/packages/feature-react/tsconfig.json +++ b/packages/feature-react/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/react-internal", + "extends": "@blgc/config/typescript/react-internal", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-react/vitest.config.mjs b/packages/feature-react/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/feature-react/vitest.config.mjs +++ b/packages/feature-react/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/feature-state/eslint.config.js b/packages/feature-state/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/feature-state/eslint.config.js +++ b/packages/feature-state/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/feature-state/package.json b/packages/feature-state/package.json index 11554080..98fe8e27 100644 --- a/packages/feature-state/package.json +++ b/packages/feature-state/package.json @@ -38,7 +38,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0" }, "size-limit": [ diff --git a/packages/feature-state/tsconfig.json b/packages/feature-state/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/feature-state/tsconfig.json +++ b/packages/feature-state/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/feature-state/vitest.config.mjs b/packages/feature-state/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/feature-state/vitest.config.mjs +++ b/packages/feature-state/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/figma-connect/eslint.config.js b/packages/figma-connect/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/figma-connect/eslint.config.js +++ b/packages/figma-connect/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/figma-connect/package.json b/packages/figma-connect/package.json index 32f0e602..8b1a6a25 100644 --- a/packages/figma-connect/package.json +++ b/packages/figma-connect/package.json @@ -57,7 +57,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@figma/plugin-typings": "^1.103.0", "@types/node": "^22.10.0" }, diff --git a/packages/figma-connect/tsconfig.json b/packages/figma-connect/tsconfig.json index 5d833c4a..74bcee34 100644 --- a/packages/figma-connect/tsconfig.json +++ b/packages/figma-connect/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/google-webfonts-client/eslint.config.js b/packages/google-webfonts-client/eslint.config.js index cd05f2de..177a38f5 100644 --- a/packages/google-webfonts-client/eslint.config.js +++ b/packages/google-webfonts-client/eslint.config.js @@ -3,7 +3,7 @@ * @type {import("eslint").Linter.Config} */ module.exports = [ - ...require('@blgc/style-guide/eslint/library'), + ...require('@blgc/config/eslint/library'), { ignores: ['src/gen/*'] } diff --git a/packages/google-webfonts-client/package.json b/packages/google-webfonts-client/package.json index 11f1bcee..de91fe46 100644 --- a/packages/google-webfonts-client/package.json +++ b/packages/google-webfonts-client/package.json @@ -39,7 +39,7 @@ "feature-fetch": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0", "dotenv": "^16.4.5", "openapi-typescript": "^7.4.3" diff --git a/packages/google-webfonts-client/tsconfig.json b/packages/google-webfonts-client/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/google-webfonts-client/tsconfig.json +++ b/packages/google-webfonts-client/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/google-webfonts-client/vitest.config.mjs b/packages/google-webfonts-client/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/google-webfonts-client/vitest.config.mjs +++ b/packages/google-webfonts-client/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/openapi-router/eslint.config.js b/packages/openapi-router/eslint.config.js index 7bda1ed1..4b91e2be 100644 --- a/packages/openapi-router/eslint.config.js +++ b/packages/openapi-router/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('../config/eslint/library')]; diff --git a/packages/openapi-router/package.json b/packages/openapi-router/package.json index 1f3959e9..cf09ab87 100644 --- a/packages/openapi-router/package.json +++ b/packages/openapi-router/package.json @@ -38,7 +38,7 @@ "validation-adapter": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/express": "^5.0.0", "@types/express-serve-static-core": "^5.0.2", "@types/node": "^22.10.0", diff --git a/packages/openapi-router/tsconfig.json b/packages/openapi-router/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/openapi-router/tsconfig.json +++ b/packages/openapi-router/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/openapi-router/vitest.config.mjs b/packages/openapi-router/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/openapi-router/vitest.config.mjs +++ b/packages/openapi-router/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/style-guide/.github/banner.svg b/packages/style-guide/.github/banner.svg deleted file mode 100644 index 94ed4479..00000000 --- a/packages/style-guide/.github/banner.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/packages/style-guide/README.md b/packages/style-guide/README.md deleted file mode 100644 index d0d5c3f9..00000000 --- a/packages/style-guide/README.md +++ /dev/null @@ -1,109 +0,0 @@ -

- @blgc/style-guide banner -

- -

- - GitHub License - - - NPM total downloads - - - Join Discord - -

- -`@blgc/style-guide` is a collection of configurations for -popular linting and styling tools. - -The following configs are available, and are designed to be used together. - -- [Prettier](#prettier) -- [ESLint](#eslint) -- [TypeScript](#typescript) - -## 📖 Usage - -### [Prettier](https://prettier.io/) - -> Note: Prettier is a peer-dependency of this package, and should be installed -> at the root of your project. -> -> See: https://prettier.io/docs/en/install.html - -To use the shared Prettier config, set the following in `package.json`: - -```json -{ - "prettier": "@blgc/style-guide/prettier" -} -``` - -### [Typescript](https://www.typescriptlang.org/) - -> Note: Typescript is a peer-dependency of this package, and should be installed -> at the root of your project. - -To use the shared Typescript config, set the following in `tsconfig.json`: - -```json -{ - "extends": "@blgc/style-guide/typescript/library", - "compilerOptions": { - "outDir": "./dist", - "rootDir": "./src", - "declarationDir": "./dist/types" - }, - "include": ["src"] -} -``` - -### [ESLint](https://eslint.org/) - -> Note: ESLint is a peer-dependency of this package, and should be installed -> at the root of your project. -> -> See: https://eslint.org/docs/user-guide/getting-started#installation-and-usage - -To use the shared ESLint config, set the following in `eslint.config.js`: - -```js -const styleGuide = require('@blgc/style-guide/eslint/library'); - -/** - * @type {import('eslint').Linter.Config} - */ -module.exports = [ - ...styleGuide, - { - // Any additional custom rules - } -]; -``` - -### [Vitest](https://vitest.dev/) - -To use the shared Vitest config, set the following in `vitest.config.js`: - -```js -const { defineConfig, mergeConfig } = require('vitest/config'); -const { nodeConfig } = require('@blgc/style-guide/vite/library'); - -module.exports = mergeConfig(nodeConfig, defineConfig({})); -``` - -## 🙏 Contribution - -### Debugging ESLint Configuration - -If you are encountering issues or unexpected behavior with ESLint, you can use the following command to output the final configuration. - -```bash -npx eslint --print-config ./some/file/to/test/on.ts -``` - -## 🌟 Credits - -- [`turbo-basic`](https://github.com/vercel/turbo/tree/main/examples/basic) - Base configuration from Vercel's official starter template for optimal Next.js settings -- [`tsconfig/bases`](https://github.com/tsconfig/bases) - TypeScript configuration best practices and recommendations diff --git a/packages/style-guide/eslint/library.js b/packages/style-guide/eslint/library.js deleted file mode 100644 index f4f9185a..00000000 --- a/packages/style-guide/eslint/library.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * ESLint configuration for TypeScript libraries. - * - * @see https://eslint.org/docs/latest/use/configure/configuration-files - * @type {import("eslint").Linter.Config} - */ -module.exports = [ - ...require('./base.js'), - { - rules: {} - } -]; diff --git a/packages/style-guide/eslint/next.js b/packages/style-guide/eslint/next.js deleted file mode 100644 index add4e461..00000000 --- a/packages/style-guide/eslint/next.js +++ /dev/null @@ -1,42 +0,0 @@ -const pluginNext = require('@next/eslint-plugin-next'); -const pluginReact = require('eslint-plugin-react'); -const pluginReactHooks = require('eslint-plugin-react-hooks'); -const globals = require('globals'); - -/** - * ESLint configuration for applications that use Next.js. - * - * @see https://eslint.org/docs/latest/use/configure/configuration-files - * @type {import("eslint").Linter.Config} - */ -module.exports = [ - ...require('./base.js'), - { - ...pluginReact.configs.flat.recommended, - languageOptions: { - ...pluginReact.configs.flat.recommended.languageOptions, - globals: { - ...globals.serviceworker - } - } - }, - { - plugins: { - '@next/next': pluginNext - }, - rules: { - ...pluginNext.configs.recommended.rules, - ...pluginNext.configs['core-web-vitals'].rules - } - }, - { - plugins: { - 'react-hooks': pluginReactHooks - }, - settings: { react: { version: 'detect' } }, - rules: { - ...pluginReactHooks.configs.recommended.rules, - 'react/react-in-jsx-scope': 'off' - } - } -]; diff --git a/packages/style-guide/eslint/react-internal.js b/packages/style-guide/eslint/react-internal.js deleted file mode 100644 index 6e3022a5..00000000 --- a/packages/style-guide/eslint/react-internal.js +++ /dev/null @@ -1,33 +0,0 @@ -const pluginReact = require('eslint-plugin-react'); -const pluginReactHooks = require('eslint-plugin-react-hooks'); -const globals = require('globals'); - -/** - * ESLint configuration for applications and libraries that use ReactJs. - * - * @see https://eslint.org/docs/latest/use/configure/configuration-files - * @type {import("eslint").Linter.Config} - */ -module.exports = [ - ...require('./base.js'), - pluginReact.configs.flat.recommended, - { - languageOptions: { - ...pluginReact.configs.flat.recommended.languageOptions, - globals: { - ...globals.serviceworker, - ...globals.browser - } - } - }, - { - plugins: { - 'react-hooks': pluginReactHooks - }, - settings: { react: { version: 'detect' } }, - rules: { - ...pluginReactHooks.configs.recommended.rules, - 'react/react-in-jsx-scope': 'off' - } - } -]; diff --git a/packages/style-guide/package.json b/packages/style-guide/package.json deleted file mode 100644 index af5c1e32..00000000 --- a/packages/style-guide/package.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "name": "@blgc/style-guide", - "version": "0.0.1", - "private": false, - "description": "Builder.Group's engineering style guide", - "keywords": [], - "homepage": "https://builder.group/?source=github", - "bugs": { - "url": "https://github.com/builder-group/monorepo/issues" - }, - "repository": { - "type": "git", - "url": "https://github.com/builder-group/monorepo.git" - }, - "license": "MIT", - "author": "@bennobuilder", - "exports": { - "./eslint/*": "./eslint/*.js", - "./vite/*": "./vite/*.js", - "./prettier": "./prettier/index.js", - "./typescript/base": "./typescript/tsconfig.base.json", - "./typescript/library": "./typescript/tsconfig.library.json", - "./typescript/next": "./typescript/tsconfig.next.json", - "./typescript/node20": "./typescript/tsconfig.node20.json", - "./typescript/react-internal": "./typescript/tsconfig.react-internal.json" - }, - "scripts": { - "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", - "install:clean": "pnpm run clean && pnpm install", - "publish:patch": "pnpm version patch && pnpm publish --no-git-checks --access=public", - "update:latest": "pnpm update --latest" - }, - "dependencies": { - "@ianvs/prettier-plugin-sort-imports": "^4.4.0", - "@next/eslint-plugin-next": "^15.0.3", - "@typescript-eslint/eslint-plugin": "^8.16.0", - "@typescript-eslint/parser": "^8.16.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-only-warn": "^1.1.0", - "eslint-plugin-react": "^7.37.2", - "eslint-plugin-react-hooks": "^5.0.0", - "eslint-plugin-turbo": "^2.3.3", - "prettier-plugin-packagejson": "^2.5.6", - "prettier-plugin-tailwindcss": "^0.6.9", - "typescript-eslint": "^8.16.0", - "vite-tsconfig-paths": "^5.1.3" - }, - "devDependencies": { - "eslint": "^9.15.0" - }, - "peerDependencies": { - "eslint": "^9.15.0" - } -} diff --git a/packages/style-guide/vite/library.js b/packages/style-guide/vite/library.js deleted file mode 100644 index 1cecddbe..00000000 --- a/packages/style-guide/vite/library.js +++ /dev/null @@ -1,13 +0,0 @@ -import tsconfigPaths from 'vite-tsconfig-paths'; -import { defineConfig } from 'vitest/config'; - -const nodeConfig = defineConfig({ - test: { - coverage: { - reporter: ['text', 'json', 'html'] - } - }, - plugins: [tsconfigPaths()] -}); - -export { nodeConfig }; diff --git a/packages/types/eslint.config.js b/packages/types/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/types/eslint.config.js +++ b/packages/types/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/types/package.json b/packages/types/package.json index d348b431..90878546 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -54,6 +54,6 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/style-guide": "workspace:*" + "@blgc/config": "workspace:*" } } diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json index ba09944a..8696af40 100644 --- a/packages/types/tsconfig.json +++ b/packages/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/utils/eslint.config.js b/packages/utils/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/utils/eslint.config.js +++ b/packages/utils/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/utils/package.json b/packages/utils/package.json index 6696e812..6893aade 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -34,7 +34,7 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0" }, "size-limit": [ diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/utils/tsconfig.json +++ b/packages/utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/utils/vitest.config.mjs b/packages/utils/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/utils/vitest.config.mjs +++ b/packages/utils/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/validation-adapter/eslint.config.js b/packages/validation-adapter/eslint.config.js index 7bda1ed1..4b91e2be 100644 --- a/packages/validation-adapter/eslint.config.js +++ b/packages/validation-adapter/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('../config/eslint/library')]; diff --git a/packages/validation-adapter/package.json b/packages/validation-adapter/package.json index 9dd67fcc..0ddac039 100644 --- a/packages/validation-adapter/package.json +++ b/packages/validation-adapter/package.json @@ -37,7 +37,7 @@ "@blgc/utils": "workspace:*" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0" }, "size-limit": [ diff --git a/packages/validation-adapter/tsconfig.json b/packages/validation-adapter/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/validation-adapter/tsconfig.json +++ b/packages/validation-adapter/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/validation-adapter/vitest.config.mjs b/packages/validation-adapter/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/validation-adapter/vitest.config.mjs +++ b/packages/validation-adapter/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/validation-adapters/eslint.config.js b/packages/validation-adapters/eslint.config.js index 7bda1ed1..275e54fa 100644 --- a/packages/validation-adapters/eslint.config.js +++ b/packages/validation-adapters/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('@blgc/style-guide/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/validation-adapters/package.json b/packages/validation-adapters/package.json index 3544acb5..2865d8e2 100644 --- a/packages/validation-adapters/package.json +++ b/packages/validation-adapters/package.json @@ -65,7 +65,7 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0", "valibot": "1.0.0-beta.8", "validation-adapter": "workspace:*", diff --git a/packages/validation-adapters/tsconfig.json b/packages/validation-adapters/tsconfig.json index 2efcf08a..42b60c5e 100644 --- a/packages/validation-adapters/tsconfig.json +++ b/packages/validation-adapters/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/validation-adapters/vitest.config.mjs b/packages/validation-adapters/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/validation-adapters/vitest.config.mjs +++ b/packages/validation-adapters/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/packages/xml-tokenizer/eslint.config.js b/packages/xml-tokenizer/eslint.config.js index ee6d0831..ddc44101 100644 --- a/packages/xml-tokenizer/eslint.config.js +++ b/packages/xml-tokenizer/eslint.config.js @@ -7,7 +7,7 @@ const ERROR = 2; * @type {import("eslint").Linter.Config} */ module.exports = [ - ...require('@blgc/style-guide/eslint/library'), + ...require('@blgc/config/eslint/library'), { rules: { 'no-bitwise': OFF, diff --git a/packages/xml-tokenizer/package.json b/packages/xml-tokenizer/package.json index 1c3a0562..845ac36f 100644 --- a/packages/xml-tokenizer/package.json +++ b/packages/xml-tokenizer/package.json @@ -36,7 +36,7 @@ "update:latest": "pnpm update --latest" }, "devDependencies": { - "@blgc/style-guide": "workspace:*", + "@blgc/config": "workspace:*", "@types/node": "^22.10.0", "@types/sax": "^1.2.7", "@types/xml2js": "^0.4.14", diff --git a/packages/xml-tokenizer/tsconfig.json b/packages/xml-tokenizer/tsconfig.json index 591b470c..c62fd12d 100644 --- a/packages/xml-tokenizer/tsconfig.json +++ b/packages/xml-tokenizer/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@blgc/style-guide/typescript/library", + "extends": "@blgc/config/typescript/library", "compilerOptions": { "outDir": "./dist", "rootDir": "./src", diff --git a/packages/xml-tokenizer/vitest.config.mjs b/packages/xml-tokenizer/vitest.config.mjs index f45b25a5..8482b939 100644 --- a/packages/xml-tokenizer/vitest.config.mjs +++ b/packages/xml-tokenizer/vitest.config.mjs @@ -1,4 +1,4 @@ -import { nodeConfig } from '@blgc/style-guide/vite/library'; +import { nodeConfig } from '@blgc/config/vite/node'; import { defineConfig, mergeConfig } from 'vitest/config'; export default mergeConfig(nodeConfig, defineConfig({})); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a083677d..91f56d5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,9 +11,9 @@ importers: '@blgc/cli': specifier: workspace:* version: link:packages/cli - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:packages/style-guide + version: link:packages/config '@changesets/changelog-github': specifier: ^0.5.0 version: 0.5.0 @@ -192,9 +192,9 @@ importers: specifier: workspace:* version: link:../../../../packages/validation-adapters devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../../../../packages/style-guide + version: link:../../../../packages/config '@types/express': specifier: ^5.0.0 version: 5.0.0 @@ -327,9 +327,9 @@ importers: specifier: ^4.0.2 version: 4.0.2(postcss@8.4.49)(ts-node@10.9.2(@types/node@22.10.0)(typescript@5.7.2)) devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/figlet': specifier: ^1.7.0 version: 1.7.0 @@ -345,22 +345,58 @@ importers: packages/config: dependencies: - '@vercel/style-guide': - specifier: ^6.0.0 - version: 6.0.0(@next/eslint-plugin-next@14.2.18)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)) - eslint-config-turbo: - specifier: ^2.2.3 - version: 2.3.3(eslint@8.57.0) + '@ianvs/prettier-plugin-sort-imports': + specifier: ^4.4.0 + version: 4.4.0(prettier@3.4.1) + '@next/eslint-plugin-next': + specifier: ^15.0.3 + version: 15.0.3 + '@typescript-eslint/eslint-plugin': + specifier: ^8.16.0 + version: 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) + '@typescript-eslint/parser': + specifier: ^8.16.0 + version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) + eslint-config-prettier: + specifier: ^9.1.0 + version: 9.1.0(eslint@9.15.0(jiti@2.4.0)) + eslint-plugin-only-warn: + specifier: ^1.1.0 + version: 1.1.0 + eslint-plugin-react: + specifier: ^7.37.2 + version: 7.37.2(eslint@9.15.0(jiti@2.4.0)) + eslint-plugin-react-hooks: + specifier: ^5.0.0 + version: 5.0.0(eslint@9.15.0(jiti@2.4.0)) + eslint-plugin-turbo: + specifier: ^2.3.3 + version: 2.3.3(eslint@9.15.0(jiti@2.4.0)) + prettier-plugin-packagejson: + specifier: ^2.5.6 + version: 2.5.6(prettier@3.4.1) + prettier-plugin-tailwindcss: + specifier: ^0.6.9 + version: 0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1))(prettier@3.4.1) + typescript-eslint: + specifier: ^8.16.0 + version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) vite-tsconfig-paths: - specifier: ^5.1.0 + specifier: ^5.1.3 version: 5.1.3(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) devDependencies: - '@next/eslint-plugin-next': - specifier: ^14.2.6 - version: 14.2.18 eslint: - specifier: ^8.57.0 - version: 8.57.0 + specifier: ^9.15.0 + version: 9.15.0(jiti@2.4.0) + prettier: + specifier: ^3.4.1 + version: 3.4.1 + typescript: + specifier: ^5.7.2 + version: 5.7.2 + vitest: + specifier: ^2.1.6 + version: 2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2) packages/elevenlabs-client: dependencies: @@ -371,9 +407,9 @@ importers: specifier: workspace:* version: link:../feature-fetch devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -393,9 +429,9 @@ importers: specifier: workspace:* version: link:../feature-fetch devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -418,9 +454,9 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -446,9 +482,9 @@ importers: specifier: workspace:* version: link:../validation-adapter devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -462,18 +498,18 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 packages/feature-react: devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@blgc/utils': specifier: workspace:* version: link:../utils @@ -502,9 +538,9 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -515,9 +551,9 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@figma/plugin-typings': specifier: ^1.103.0 version: 1.103.0 @@ -534,9 +570,9 @@ importers: specifier: workspace:* version: link:../feature-fetch devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -556,9 +592,9 @@ importers: specifier: workspace:* version: link:../validation-adapter devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/express': specifier: ^5.0.0 version: 5.0.0 @@ -581,63 +617,17 @@ importers: specifier: workspace:* version: link:../validation-adapters - packages/style-guide: - dependencies: - '@ianvs/prettier-plugin-sort-imports': - specifier: ^4.4.0 - version: 4.4.0(prettier@3.4.1) - '@next/eslint-plugin-next': - specifier: ^15.0.3 - version: 15.0.3 - '@typescript-eslint/eslint-plugin': - specifier: ^8.16.0 - version: 8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) - '@typescript-eslint/parser': - specifier: ^8.16.0 - version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) - eslint-config-prettier: - specifier: ^9.1.0 - version: 9.1.0(eslint@9.15.0(jiti@2.4.0)) - eslint-plugin-only-warn: - specifier: ^1.1.0 - version: 1.1.0 - eslint-plugin-react: - specifier: ^7.37.2 - version: 7.37.2(eslint@9.15.0(jiti@2.4.0)) - eslint-plugin-react-hooks: - specifier: ^5.0.0 - version: 5.0.0(eslint@9.15.0(jiti@2.4.0)) - eslint-plugin-turbo: - specifier: ^2.3.3 - version: 2.3.3(eslint@9.15.0(jiti@2.4.0)) - prettier-plugin-packagejson: - specifier: ^2.5.6 - version: 2.5.6(prettier@3.4.1) - prettier-plugin-tailwindcss: - specifier: ^0.6.9 - version: 0.6.9(@ianvs/prettier-plugin-sort-imports@4.4.0(prettier@3.4.1))(prettier@3.4.1) - typescript-eslint: - specifier: ^8.16.0 - version: 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) - vite-tsconfig-paths: - specifier: ^5.1.3 - version: 5.1.3(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)) - devDependencies: - eslint: - specifier: ^9.15.0 - version: 9.15.0(jiti@2.4.0) - packages/types: devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config packages/utils: devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -648,18 +638,18 @@ importers: specifier: workspace:* version: link:../utils devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 packages/validation-adapters: devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -678,9 +668,9 @@ importers: packages/xml-tokenizer: devDependencies: - '@blgc/style-guide': + '@blgc/config': specifier: workspace:* - version: link:../style-guide + version: link:../config '@types/node': specifier: ^22.10.0 version: 22.10.0 @@ -742,13 +732,6 @@ packages: resolution: {integrity: sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==} engines: {node: '>=6.9.0'} - '@babel/eslint-parser@7.25.1': - resolution: {integrity: sha512-Y956ghgTT4j7rKesabkh5WeqgSFZVFwaPR0IWFm7KFHFmmJ4afbG49SmfW4S+GyRPx0Dy5jxEWA5t0rpxfElWg==} - engines: {node: ^10.13.0 || ^12.13.0 || >=14.0.0} - peerDependencies: - '@babel/core': ^7.11.0 - eslint: ^7.5.0 || ^8.0.0 || ^9.0.0 - '@babel/generator@7.25.0': resolution: {integrity: sha512-3LEEcj3PVW8pW2R1SR1M89g/qrYk/m/mB/tLqn7dn4sbBUQyTqnlod+II2U4dqiGtUmkcnAmkMDralTFZttRiw==} engines: {node: '>=6.9.0'} @@ -1476,10 +1459,6 @@ packages: peerDependencies: '@types/node': '>=18' - '@isaacs/cliui@8.0.2': - resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} - engines: {node: '>=12'} - '@jridgewell/gen-mapping@0.3.5': resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} engines: {node: '>=6.0.0'} @@ -1507,25 +1486,13 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} - '@microsoft/tsdoc-config@0.16.2': - resolution: {integrity: sha512-OGiIzzoBLgWWR0UdRJX98oYO+XKGf7tiK4Zk6tQ/E4IJqGCe7dvkTvgDZV5cFJUzLGDOjeAXrnZoA6QkVySuxw==} - - '@microsoft/tsdoc@0.14.2': - resolution: {integrity: sha512-9b8mPpKrfeGRuhFH5iO1iwCLeIIsV6+H1sRfxbkoGXIyQE2BTsPd9zqSqQJ+pv5sJ/hT5M1zvOFL02MnEezFug==} - '@mswjs/interceptors@0.37.1': resolution: {integrity: sha512-SvE+tSpcX884RJrPCskXxoS965Ky/pYABDEhWW6oeSRhpUDLrS5nTvT5n1LLSDVDYvty4imVmXsy+3/ROVuknA==} engines: {node: '>=18'} - '@next/eslint-plugin-next@14.2.18': - resolution: {integrity: sha512-KyYTbZ3GQwWOjX3Vi1YcQbekyGP0gdammb7pbmmi25HBUCINzDReyrzCMOJIeZisK1Q3U6DT5Rlc4nm2/pQeXA==} - '@next/eslint-plugin-next@15.0.3': resolution: {integrity: sha512-3Ln/nHq2V+v8uIaxCR6YfYo7ceRgZNXfTd3yW1ukTaFbO+/I8jNakrjYWODvG9BuR2v5kgVtH/C8r0i11quOgw==} - '@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1': - resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==} - '@nodelib/fs.scandir@2.1.5': resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} engines: {node: '>= 8'} @@ -1551,10 +1518,6 @@ packages: '@open-draft/until@2.1.0': resolution: {integrity: sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==} - '@pkgjs/parseargs@0.11.0': - resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} - engines: {node: '>=14'} - '@pkgr/core@0.1.1': resolution: {integrity: sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA==} engines: {node: ^12.20.0 || ^14.18.0 || >=16.0.0} @@ -1887,9 +1850,6 @@ packages: cpu: [x64] os: [win32] - '@rushstack/eslint-patch@1.10.4': - resolution: {integrity: sha512-WJgX9nzTqknM393q1QJDJmoW28kUfEnybeTfVNcNAPnIx210RXm2DiXiHzfNPJNIUUb1tJnz/l4QGtJ30PgWmA==} - '@size-limit/esbuild-why@11.1.6': resolution: {integrity: sha512-JcfVgq9gOj1Vb9/QteI1uVToNsJH3yM1eQm8fJ/H+yjQV3u4QFbheslcbRxVxf5rxCITyyGd4UeSlqDBj67SXg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -1971,9 +1931,6 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/json5@0.0.29': - resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} - '@types/lodash@4.17.13': resolution: {integrity: sha512-lfx+dftrEZcdBPczf9d0Qv0x+j/rfNCMuC6OcfXmO8gkfeNAY88PgKUbvG56whcN23gc27yenwF6oJZXGFpYxg==} @@ -1992,9 +1949,6 @@ packages: '@types/node@22.8.5': resolution: {integrity: sha512-5iYk6AMPtsMbkZqCO1UGF9W5L38twq11S2pYWkybGHH2ogPUvXWNlQqJBzuEZWKj/WRH+QTeiv6ySWqJtvIEgA==} - '@types/normalize-package-data@2.4.4': - resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} - '@types/prop-types@15.7.12': resolution: {integrity: sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q==} @@ -2028,9 +1982,6 @@ packages: '@types/sax@1.2.7': resolution: {integrity: sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A==} - '@types/semver@7.5.8': - resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} - '@types/send@0.17.4': resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} @@ -2112,10 +2063,6 @@ packages: typescript: optional: true - '@typescript-eslint/scope-manager@5.62.0': - resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/scope-manager@7.18.0': resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2157,10 +2104,6 @@ packages: typescript: optional: true - '@typescript-eslint/types@5.62.0': - resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/types@7.18.0': resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2173,15 +2116,6 @@ packages: resolution: {integrity: sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@5.62.0': - resolution: {integrity: sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/typescript-estree@7.18.0': resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2209,12 +2143,6 @@ packages: typescript: optional: true - '@typescript-eslint/utils@5.62.0': - resolution: {integrity: sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - '@typescript-eslint/utils@7.18.0': resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2237,10 +2165,6 @@ packages: peerDependencies: eslint: ^8.57.0 || ^9.0.0 - '@typescript-eslint/visitor-keys@5.62.0': - resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/visitor-keys@7.18.0': resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} @@ -2256,24 +2180,6 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@vercel/style-guide@6.0.0': - resolution: {integrity: sha512-tu0wFINGz91EPwaT5VjSqUwbvCY9pvLach7SPG4XyfJKPU9Vku2TFa6+AyzJ4oroGbo9fK+TQhIFHrnFl0nCdg==} - engines: {node: '>=18.18'} - peerDependencies: - '@next/eslint-plugin-next': '>=12.3.0 <15.0.0-0' - eslint: '>=8.48.0 <9' - prettier: '>=3.0.0 <4' - typescript: '>=4.8.0 <6' - peerDependenciesMeta: - '@next/eslint-plugin-next': - optional: true - eslint: - optional: true - prettier: - optional: true - typescript: - optional: true - '@vitejs/plugin-react@4.3.1': resolution: {integrity: sha512-m/V2syj5CuVnaxcUJOQRel/Wr31FFXRFlnOoq1TVtkCxsY5veGMTEmpWHndrhB2U8ScHtCQB1e+4hWYExQc6Lg==} engines: {node: ^14.18.0 || >=16.0.0} @@ -2355,10 +2261,6 @@ packages: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - ansi-regex@6.1.0: - resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} - engines: {node: '>=12'} - ansi-styles@2.2.1: resolution: {integrity: sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==} engines: {node: '>=0.10.0'} @@ -2371,10 +2273,6 @@ packages: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} - ansi-styles@6.2.1: - resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} - engines: {node: '>=12'} - ansis@3.3.2: resolution: {integrity: sha512-cFthbBlt+Oi0i9Pv/j6YdVWJh54CtjGACaMPCIrEV4Ha7HWsIjXDwseYV79TIL0B4+KfSwD5S70PeQDkPUd1rA==} engines: {node: '>=15'} @@ -2392,9 +2290,6 @@ packages: argparse@2.0.1: resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==} - aria-query@5.1.3: - resolution: {integrity: sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==} - array-buffer-byte-length@1.0.1: resolution: {integrity: sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg==} engines: {node: '>= 0.4'} @@ -2418,10 +2313,6 @@ packages: resolution: {integrity: sha512-CVvd6FHg1Z3POpBLxO6E6zr+rSKEQ9L6rZHAaY7lLfhKsWYUBBOuMs0e9o24oopj6H+geRCX0YJ+TJLBK2eHyQ==} engines: {node: '>= 0.4'} - array.prototype.findlastindex@1.2.5: - resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==} - engines: {node: '>= 0.4'} - array.prototype.flat@1.3.2: resolution: {integrity: sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==} engines: {node: '>= 0.4'} @@ -2442,9 +2333,6 @@ packages: resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} engines: {node: '>=12'} - ast-types-flow@0.0.8: - resolution: {integrity: sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==} - async@3.2.6: resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} @@ -2452,13 +2340,6 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - axe-core@4.10.0: - resolution: {integrity: sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==} - engines: {node: '>=4'} - - axobject-query@3.1.1: - resolution: {integrity: sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==} - balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -2500,10 +2381,6 @@ packages: engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true - builtin-modules@3.3.0: - resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} - engines: {node: '>=6'} - bundle-name@4.1.0: resolution: {integrity: sha512-tjwM5exMg6BGRI+kNmTntNsvdZS1X8BFYS6tnJ2hdH0kVxM6/eVZ2xy+FqStSWvYmtfFMDLIxurorHwDKfDz5Q==} engines: {node: '>=18'} @@ -2579,14 +2456,6 @@ packages: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} - ci-info@4.0.0: - resolution: {integrity: sha512-TdHqgGf9odd8SXNuxtUBVx8Nv+qZOejE6qyqiy5NtbYYQOeFa6zmHkxlPzmaLxWWHsU6nJmB7AETdVPi+2NBUg==} - engines: {node: '>=8'} - - clean-regexp@1.0.0: - resolution: {integrity: sha512-GfisEZEJvzKrmGWkvfhgzcz/BllN1USeqD2V6tg14OAOgaCD2Z/PUEuxnAZ/nPvmaHRG7a8y77p1T/IRQ4D1Hw==} - engines: {node: '>=4'} - clean-stack@3.0.1: resolution: {integrity: sha512-lR9wNiMRcVQjSB3a7xXGLuz4cr4wJuuXlaAEbRutGowQTmlp7R72/DOgN21e8jdwblMWl9UOJMJXarX94pzKdg==} engines: {node: '>=10'} @@ -2660,9 +2529,6 @@ packages: resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==} engines: {node: '>= 0.6'} - core-js-compat@3.38.1: - resolution: {integrity: sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==} - create-require@1.1.1: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} @@ -2721,9 +2587,6 @@ packages: csstype@3.1.3: resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} - damerau-levenshtein@1.0.8: - resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} - data-view-buffer@1.0.1: resolution: {integrity: sha512-0lht7OugA5x3iJLOWFhWK/5ehONdprk0ISXqVFn/NFrDu+cuc8iADFrGQz5BnRK7LLU3JmkbXSxaqX+/mXYtUA==} engines: {node: '>= 0.4'} @@ -2747,14 +2610,6 @@ packages: supports-color: optional: true - debug@3.2.7: - resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - debug@4.3.6: resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==} engines: {node: '>=6.0'} @@ -2777,10 +2632,6 @@ packages: resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} engines: {node: '>=6'} - deep-equal@2.2.3: - resolution: {integrity: sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==} - engines: {node: '>= 0.4'} - deep-is@0.1.4: resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} @@ -2876,9 +2727,6 @@ packages: duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} - eastasianwidth@0.2.0: - resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} - ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} @@ -2896,9 +2744,6 @@ packages: emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - emoji-regex@9.2.2: - resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} - encodeurl@1.0.2: resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} @@ -2907,10 +2752,6 @@ packages: resolution: {integrity: sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==} engines: {node: '>= 0.8'} - enhanced-resolve@5.17.1: - resolution: {integrity: sha512-LMHl3dXhTcfv8gM4kEzIUeTQ+7fpdA0l2tUf34BddXPkz2A5xJ5L/Pchd5BL6rdccM9QGvu0sWZzK1Z1t4wwyg==} - engines: {node: '>=10.13.0'} - enquirer@2.4.1: resolution: {integrity: sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ==} engines: {node: '>=8.6'} @@ -2918,9 +2759,6 @@ packages: entities@2.2.0: resolution: {integrity: sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==} - error-ex@1.3.2: - resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} - es-abstract@1.23.3: resolution: {integrity: sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==} engines: {node: '>= 0.4'} @@ -2933,13 +2771,6 @@ packages: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} - es-get-iterator@1.1.3: - resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} - - es-iterator-helpers@1.0.19: - resolution: {integrity: sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==} - engines: {node: '>= 0.4'} - es-iterator-helpers@1.2.0: resolution: {integrity: sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==} engines: {node: '>= 0.4'} @@ -3007,97 +2838,10 @@ packages: peerDependencies: eslint: '>=7.0.0' - eslint-config-turbo@2.3.3: - resolution: {integrity: sha512-cM9wSBYowQIrjx2MPCzFE6jTnG4vpTPJKZ/O+Ps3CqrmGK/wtNOsY6WHGMwLtKY/nNbgRahAJH6jGVF6k2coOg==} - peerDependencies: - eslint: '>6.6.0' - - eslint-import-resolver-alias@1.1.2: - resolution: {integrity: sha512-WdviM1Eu834zsfjHtcGHtGfcu+F30Od3V7I9Fi57uhBEwPkjDcii7/yW8jAT+gOhn4P/vOxxNAXbFAKsrrc15w==} - engines: {node: '>= 4'} - peerDependencies: - eslint-plugin-import: '>=1.4.0' - - eslint-import-resolver-node@0.3.9: - resolution: {integrity: sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==} - - eslint-import-resolver-typescript@3.6.1: - resolution: {integrity: sha512-xgdptdoi5W3niYeuQxKmzVDTATvLYqhpwmykwsh7f6HIOStGWEIL9iqZgQDF9u9OEzrRwR8no5q2VT+bjAujTg==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - eslint: '*' - eslint-plugin-import: '*' - - eslint-module-utils@2.8.1: - resolution: {integrity: sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: '*' - eslint-import-resolver-node: '*' - eslint-import-resolver-typescript: '*' - eslint-import-resolver-webpack: '*' - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - eslint: - optional: true - eslint-import-resolver-node: - optional: true - eslint-import-resolver-typescript: - optional: true - eslint-import-resolver-webpack: - optional: true - - eslint-plugin-eslint-comments@3.2.0: - resolution: {integrity: sha512-0jkOl0hfojIHHmEHgmNdqv4fmh7300NdpA9FFpF7zaoLvB/QeXOGNLIo86oAveJFrfB1p05kC8hpEMHM8DwWVQ==} - engines: {node: '>=6.5.0'} - peerDependencies: - eslint: '>=4.19.1' - - eslint-plugin-import@2.29.1: - resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} - engines: {node: '>=4'} - peerDependencies: - '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - peerDependenciesMeta: - '@typescript-eslint/parser': - optional: true - - eslint-plugin-jest@27.9.0: - resolution: {integrity: sha512-QIT7FH7fNmd9n4se7FFKHbsLKGQiw885Ds6Y/sxKgCZ6natwCsXdgPOADnYVxN2QrRweF0FZWbJ6S7Rsn7llug==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': ^5.0.0 || ^6.0.0 || ^7.0.0 - eslint: ^7.0.0 || ^8.0.0 - jest: '*' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - jest: - optional: true - - eslint-plugin-jsx-a11y@6.9.0: - resolution: {integrity: sha512-nOFOCaJG2pYqORjK19lqPqxMO/JpvdCZdPtNdxY3kvom3jTvkAbOvQvD8wuD0G8BYR0IGAGYDlzqWJOh/ybn2g==} - engines: {node: '>=4.0'} - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 - eslint-plugin-only-warn@1.1.0: resolution: {integrity: sha512-2tktqUAT+Q3hCAU0iSf4xAN1k9zOpjK5WO8104mB0rT/dGhOa09582HN5HlbxNbPRZ0THV7nLGvzugcNOSjzfA==} engines: {node: '>=6'} - eslint-plugin-playwright@1.6.2: - resolution: {integrity: sha512-mraN4Em3b5jLt01q7qWPyLg0Q5v3KAWfJSlEWwldyUXoa7DSPrBR4k6B6LROLqipsG8ndkwWMdjl1Ffdh15tag==} - engines: {node: '>=16.6.0'} - peerDependencies: - eslint: '>=8.40.0' - eslint-plugin-jest: '>=25' - peerDependenciesMeta: - eslint-plugin-jest: - optional: true - eslint-plugin-react-hooks@4.6.2: resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} engines: {node: '>=10'} @@ -3120,55 +2864,17 @@ packages: peerDependencies: eslint: '>=7' - eslint-plugin-react@7.35.0: - resolution: {integrity: sha512-v501SSMOWv8gerHkk+IIQBkcGRGrO2nfybfj5pLxuJNFTPxxA3PSryhXTK+9pNbtkggheDdsC0E9Q8CuPk6JKA==} - engines: {node: '>=4'} - peerDependencies: - eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - eslint-plugin-react@7.37.2: resolution: {integrity: sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==} engines: {node: '>=4'} peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - eslint-plugin-testing-library@6.3.0: - resolution: {integrity: sha512-GYcEErTt6EGwE0bPDY+4aehfEBpB2gDBFKohir8jlATSUvzStEyzCx8QWB/14xeKc/AwyXkzScSzMHnFojkWrA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0, npm: '>=6'} - peerDependencies: - eslint: ^7.5.0 || ^8.0.0 - - eslint-plugin-tsdoc@0.2.17: - resolution: {integrity: sha512-xRmVi7Zx44lOBuYqG8vzTXuL6IdGOeF9nHX17bjJ8+VE6fsxpdGem0/SBTmAwgYMKYB1WBkqRJVQ+n8GK041pA==} - eslint-plugin-turbo@2.3.3: resolution: {integrity: sha512-j8UEA0Z+NNCsjZep9G5u5soDQHcXq/x4amrwulk6eHF1U91H2qAjp5I4jQcvJewmccCJbVp734PkHHTRnosjpg==} peerDependencies: eslint: '>6.6.0' - eslint-plugin-unicorn@51.0.1: - resolution: {integrity: sha512-MuR/+9VuB0fydoI0nIn2RDA5WISRn4AsJyNSaNKLVwie9/ONvQhxOBbkfSICBPnzKrB77Fh6CZZXjgTt/4Latw==} - engines: {node: '>=16'} - peerDependencies: - eslint: '>=8.56.0' - - eslint-plugin-vitest@0.3.26: - resolution: {integrity: sha512-oxe5JSPgRjco8caVLTh7Ti8PxpwJdhSV0hTQAmkFcNcmy/9DnqLB/oNVRA11RmVRP//2+jIIT6JuBEcpW3obYg==} - engines: {node: ^18.0.0 || >= 20.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': '*' - eslint: '>=8.0.0' - vitest: '*' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - vitest: - optional: true - - eslint-scope@5.1.1: - resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} - engines: {node: '>=8.0.0'} - eslint-scope@7.2.2: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3177,10 +2883,6 @@ packages: resolution: {integrity: sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - eslint-visitor-keys@2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} - eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -3225,10 +2927,6 @@ packages: resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} engines: {node: '>=4.0'} - estraverse@4.3.0: - resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} - engines: {node: '>=4.0'} - estraverse@5.3.0: resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} engines: {node: '>=4.0'} @@ -3373,10 +3071,6 @@ packages: for-each@0.3.3: resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} - foreground-child@3.3.0: - resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} - engines: {node: '>=14'} - forwarded@0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} engines: {node: '>= 0.6'} @@ -3459,11 +3153,6 @@ packages: resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} engines: {node: '>=10.13.0'} - glob@10.3.10: - resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} - engines: {node: '>=16 || 14 >=14.17'} - hasBin: true - glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} deprecated: Glob versions prior to v9 are no longer supported @@ -3488,10 +3177,6 @@ packages: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} - globby@13.2.2: - resolution: {integrity: sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - globrex@0.1.2: resolution: {integrity: sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==} @@ -3567,9 +3252,6 @@ packages: resolution: {integrity: sha512-eHtf4kSDNw6VVrdbd5IQi16r22m3s7mWPLd7xOMhg1a/Yyb1A0qpUFq8xYMX4FMuDe1nTKeMX5rTx7Nmw+a+Ag==} engines: {node: '>=16.9.0'} - hosted-git-info@2.8.9: - resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} - http-errors@2.0.0: resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} engines: {node: '>= 0.8'} @@ -3652,17 +3334,10 @@ packages: resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==} engines: {node: '>= 0.10'} - is-arguments@1.1.1: - resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} - engines: {node: '>= 0.4'} - is-array-buffer@3.0.4: resolution: {integrity: sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==} engines: {node: '>= 0.4'} - is-arrayish@0.2.1: - resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - is-async-function@2.0.0: resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} engines: {node: '>= 0.4'} @@ -3678,10 +3353,6 @@ packages: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} - is-builtin-module@3.2.1: - resolution: {integrity: sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==} - engines: {node: '>=6'} - is-callable@1.2.7: resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} engines: {node: '>= 0.4'} @@ -3830,17 +3501,10 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - iterator.prototype@1.1.2: - resolution: {integrity: sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==} - iterator.prototype@1.1.3: resolution: {integrity: sha512-FW5iMbeQ6rBGm/oKgzq2aW4KvAGpxPzYES8N4g4xNXUKpL1mclMvOe+76AcLDTvD+Ze+sOpVhgdAQEKF4L9iGQ==} engines: {node: '>= 0.4'} - jackspeak@2.3.6: - resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} - engines: {node: '>=14'} - jake@10.9.2: resolution: {integrity: sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==} engines: {node: '>=10'} @@ -3850,9 +3514,6 @@ packages: resolution: {integrity: sha512-H5UpaUI+aHOqZXlYOaFP/8AzKsg+guWu+Pr3Y8i7+Y3zr1aXAvCvTAQ1RxSc6oVD8R8c7brgNtTVP91E7upH/g==} hasBin: true - jju@1.4.0: - resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} - js-levenshtein@1.1.6: resolution: {integrity: sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==} engines: {node: '>=0.10.0'} @@ -3868,10 +3529,6 @@ packages: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true - jsesc@0.5.0: - resolution: {integrity: sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==} - hasBin: true - jsesc@2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} engines: {node: '>=4'} @@ -3885,9 +3542,6 @@ packages: json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - json-parse-even-better-errors@2.3.1: - resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} - json-schema-traverse@0.4.1: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} @@ -3897,10 +3551,6 @@ packages: json-stable-stringify-without-jsonify@1.0.1: resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - json5@1.0.2: - resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} - hasBin: true - json5@2.2.3: resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} engines: {node: '>=6'} @@ -3916,13 +3566,6 @@ packages: keyv@4.5.4: resolution: {integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==} - language-subtag-registry@0.3.23: - resolution: {integrity: sha512-0K65Lea881pHotoGEa5gDlMxt3pctLi2RplBb7Ezh4rRdLEOtgi7n4EwK9lamnUCkKBqaeKRVebTq6BAxSkpXQ==} - - language-tags@1.0.9: - resolution: {integrity: sha512-MbjN408fEndfiQXbFQ1vnd+1NoLDsnQW41410oQBXiyXDMYH5z505juWa4KUE1LqxRC7DgOgZDbKLxHIwm27hA==} - engines: {node: '>=0.10'} - levn@0.4.1: resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} engines: {node: '>= 0.8.0'} @@ -3935,9 +3578,6 @@ packages: resolution: {integrity: sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow==} engines: {node: '>=14'} - lines-and-columns@1.2.4: - resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - loader-utils@3.3.1: resolution: {integrity: sha512-FMJTLMXfCLMLfJxcX9PFqX5qD88Z5MRGaZCVzfuqeZSPsyiBzs+pahDQjbIWz2QIzPZz0NX9Zy4FX3lmK6YHIg==} engines: {node: '>= 12.13.0'} @@ -3978,9 +3618,6 @@ packages: loupe@3.1.2: resolution: {integrity: sha512-23I4pFZHmAemUnz8WZXbYRSKYj801VDaNv9ETuMh7IrMc7VuVVSo+Z9iLE3ni30+U48iDWfi30d3twAXBYmnCg==} - lru-cache@10.4.3: - resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} - lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} @@ -4047,10 +3684,6 @@ packages: resolution: {integrity: sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw==} engines: {node: '>=12'} - min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -4065,10 +3698,6 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - minipass@7.1.2: - resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} - engines: {node: '>=16 || 14 >=14.17'} - moment@2.30.1: resolution: {integrity: sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==} @@ -4147,9 +3776,6 @@ packages: engines: {node: '>=10'} hasBin: true - normalize-package-data@2.5.0: - resolution: {integrity: sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==} - normalize-path@3.0.0: resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} engines: {node: '>=0.10.0'} @@ -4177,10 +3803,6 @@ packages: resolution: {integrity: sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==} engines: {node: '>= 0.4'} - object-is@1.1.6: - resolution: {integrity: sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==} - engines: {node: '>= 0.4'} - object-keys@1.1.1: resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} engines: {node: '>= 0.4'} @@ -4197,10 +3819,6 @@ packages: resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==} engines: {node: '>= 0.4'} - object.groupby@1.0.3: - resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} - engines: {node: '>= 0.4'} - object.values@1.2.0: resolution: {integrity: sha512-yBYjY9QX2hnRmZHAjG/f13MzmBzxzYgQhFrke06TTyKY5zSTEqkOeukBzIdVA3j3ulu8Qa3MbVFShV7T2RmGtQ==} engines: {node: '>= 0.4'} @@ -4310,10 +3928,6 @@ packages: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} - parse-json@5.2.0: - resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} - engines: {node: '>=8'} - parse-json@8.1.0: resolution: {integrity: sha512-rum1bPifK5SSar35Z6EKZuYPJx85pkNaFrxBK3mwdfSJ1/WKbYrjoW/zTPSjRRamfmVX1ACBIdFAO0VRErW/EA==} engines: {node: '>=18'} @@ -4341,10 +3955,6 @@ packages: path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - path-scurry@1.11.1: - resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} - engines: {node: '>=16 || 14 >=14.18'} - path-to-regexp@0.1.10: resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} @@ -4624,14 +4234,6 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier-plugin-packagejson@2.5.1: - resolution: {integrity: sha512-6i4PW1KxEA+VrokYNGeI/q8qQX3u5DNBc7eLr9GX4OrvWr9DMls1lhbuNopkKG7Li9rTNxerWnYQyjxoUO4ROA==} - peerDependencies: - prettier: '>= 1.16.0' - peerDependenciesMeta: - prettier: - optional: true - prettier-plugin-packagejson@2.5.6: resolution: {integrity: sha512-TY7KiLtyt6Tlf53BEbXUWkN0+TRdHKgIMmtXtDCyHH6yWnZ50Lwq6Vb6lyjapZrhDTXooC4EtlY5iLe1sCgi5w==} peerDependencies: @@ -4771,14 +4373,6 @@ packages: resolution: {integrity: sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==} engines: {node: '>=0.10.0'} - read-pkg-up@7.0.1: - resolution: {integrity: sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==} - engines: {node: '>=8'} - - read-pkg@5.2.0: - resolution: {integrity: sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==} - engines: {node: '>=8'} - read-yaml-file@1.1.0: resolution: {integrity: sha512-VIMnQi/Z4HT2Fxuwg5KrY174U1VdUIASQVWXXyqtNRtxSr9IYkn1rsI6Tb6HsrHCmB7gVpNwX6JxPTHcH6IoTA==} engines: {node: '>=6'} @@ -4806,18 +4400,10 @@ packages: regenerator-runtime@0.14.1: resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} - regexp-tree@0.1.27: - resolution: {integrity: sha512-iETxpjK6YoRWJG5o6hXLwvjYAoW+FEZn9os0PD/b6AP6xQwsa/Y7lCVgIixBbUPMfhu+i2LtdeAqVTgGlQarfA==} - hasBin: true - regexp.prototype.flags@1.5.2: resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==} engines: {node: '>= 0.4'} - regjsparser@0.10.0: - resolution: {integrity: sha512-qx+xQGZVsy55CH0a1hiVwHmqjLryfh7wQyF5HO07XJ9f7dQMY/gPQHhlyDkIzJKC+x2fUCpCcUODUUUFrm7SHA==} - hasBin: true - require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -4840,9 +4426,6 @@ packages: resolve-pkg-maps@1.0.0: resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} - resolve@1.19.0: - resolution: {integrity: sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==} - resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -4940,10 +4523,6 @@ packages: scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} - semver@5.7.2: - resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} - hasBin: true - semver@6.3.1: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true @@ -5014,17 +4593,9 @@ packages: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} - slash@4.0.0: - resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} - engines: {node: '>=12'} - sort-object-keys@1.1.3: resolution: {integrity: sha512-855pvK+VkU7PaKYPc+Jjnmt4EzejQHyhhF33q31qG8x7maDzkeFhAAThdCYay11CISO+qAMwjOBP+fPZe0IPyg==} - sort-package-json@2.10.0: - resolution: {integrity: sha512-MYecfvObMwJjjJskhxYfuOADkXp1ZMMnCFC8yhp+9HDsk7HhR336hd7eiBs96lTXfiqmUNI+WQCeCMRBhl251g==} - hasBin: true - sort-package-json@2.12.0: resolution: {integrity: sha512-/HrPQAeeLaa+vbAH/znjuhwUluuiM/zL5XX9kop8UpDgjtyWKt43hGDk2vd/TBdDpzIyzIHVUgmYofzYrAQjew==} hasBin: true @@ -5047,9 +4618,6 @@ packages: spdx-compare@1.0.0: resolution: {integrity: sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==} - spdx-correct@3.2.0: - resolution: {integrity: sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==} - spdx-exceptions@2.5.0: resolution: {integrity: sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==} @@ -5085,10 +4653,6 @@ packages: std-env@3.8.0: resolution: {integrity: sha512-Bc3YwwCB+OzldMxOXJIIvC6cPRWr/LxOp48CdQTOkPyk/t4JWWJbrilwBd7RJzKV8QW7tJkcgAmeuLLJugl5/w==} - stop-iteration-iterator@1.0.0: - resolution: {integrity: sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==} - engines: {node: '>= 0.4'} - strict-event-emitter@0.5.1: resolution: {integrity: sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==} @@ -5099,13 +4663,6 @@ packages: resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} engines: {node: '>=8'} - string-width@5.1.2: - resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} - engines: {node: '>=12'} - - string.prototype.includes@2.0.0: - resolution: {integrity: sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==} - string.prototype.matchall@4.0.11: resolution: {integrity: sha512-NUdh0aDavY2og7IbBPenWqR9exH+E26Sv8e0/eTe1tltDGZL+GtBkDAnnyBtmekfK6/Dq3MkcGtzXFEd1LQrtg==} engines: {node: '>= 0.4'} @@ -5135,10 +4692,6 @@ packages: resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} engines: {node: '>=8'} - strip-ansi@7.1.0: - resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} - engines: {node: '>=12'} - strip-bom@3.0.0: resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} engines: {node: '>=4'} @@ -5147,10 +4700,6 @@ packages: resolution: {integrity: sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw==} engines: {node: '>=12'} - strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} - strip-json-comments@3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} engines: {node: '>=8'} @@ -5196,18 +4745,10 @@ packages: engines: {node: '>=10.13.0'} hasBin: true - synckit@0.9.1: - resolution: {integrity: sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==} - engines: {node: ^14.18.0 || >=16.0.0} - synckit@0.9.2: resolution: {integrity: sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==} engines: {node: ^14.18.0 || >=16.0.0} - tapable@2.2.1: - resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} - engines: {node: '>=6'} - term-size@2.2.1: resolution: {integrity: sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg==} engines: {node: '>=8'} @@ -5303,21 +4844,9 @@ packages: typescript: optional: true - tsconfig-paths@3.15.0: - resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} - - tslib@1.14.1: - resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} - tslib@2.6.3: resolution: {integrity: sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==} - tsutils@3.21.0: - resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} - engines: {node: '>= 6'} - peerDependencies: - typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' - tsx@4.19.0: resolution: {integrity: sha512-bV30kM7bsLZKZIOCHeMNVMJ32/LuJzLVajkQI/qf92J2Qr08ueLQvW00PUZGiuLPP760UINwupgUj8qrSCPUKg==} engines: {node: '>=18.0.0'} @@ -5377,14 +4906,6 @@ packages: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} - type-fest@0.6.0: - resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} - engines: {node: '>=8'} - - type-fest@0.8.1: - resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} - engines: {node: '>=8'} - type-fest@2.19.0: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} @@ -5512,9 +5033,6 @@ packages: typescript: optional: true - validate-npm-package-license@3.0.4: - resolution: {integrity: sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==} - vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -5737,10 +5255,6 @@ packages: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} - wrap-ansi@8.1.0: - resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} - engines: {node: '>=12'} - wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} @@ -5831,21 +5345,13 @@ snapshots: '@babel/traverse': 7.25.3 '@babel/types': 7.25.2 convert-source-map: 2.0.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 gensync: 1.0.0-beta.2 json5: 2.2.3 semver: 6.3.1 transitivePeerDependencies: - supports-color - '@babel/eslint-parser@7.25.1(@babel/core@7.25.2)(eslint@8.57.0)': - dependencies: - '@babel/core': 7.25.2 - '@nicolo-ribaudo/eslint-scope-5-internals': 5.1.1-v1 - eslint: 8.57.0 - eslint-visitor-keys: 2.1.0 - semver: 6.3.1 - '@babel/generator@7.25.0': dependencies: '@babel/types': 7.25.2 @@ -5958,7 +5464,7 @@ snapshots: '@babel/parser': 7.25.3 '@babel/template': 7.25.0 '@babel/types': 7.25.2 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.7 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -5970,7 +5476,7 @@ snapshots: '@babel/parser': 7.26.2 '@babel/template': 7.25.9 '@babel/types': 7.26.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 globals: 11.12.0 transitivePeerDependencies: - supports-color @@ -6390,7 +5896,7 @@ snapshots: '@eslint/config-array@0.19.0': dependencies: '@eslint/object-schema': 2.1.4 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -6400,7 +5906,7 @@ snapshots: '@eslint/eslintrc@2.1.4': dependencies: ajv: 6.12.6 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 espree: 9.6.1 globals: 13.24.0 ignore: 5.3.1 @@ -6414,7 +5920,7 @@ snapshots: '@eslint/eslintrc@3.2.0': dependencies: ajv: 6.12.6 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 espree: 10.3.0 globals: 14.0.0 ignore: 5.3.2 @@ -6456,7 +5962,7 @@ snapshots: '@humanwhocodes/config-array@0.11.14': dependencies: '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 minimatch: 3.1.2 transitivePeerDependencies: - supports-color @@ -6506,15 +6012,6 @@ snapshots: dependencies: '@types/node': 22.10.0 - '@isaacs/cliui@8.0.2': - dependencies: - string-width: 5.1.2 - string-width-cjs: string-width@4.2.3 - strip-ansi: 7.1.0 - strip-ansi-cjs: strip-ansi@6.0.1 - wrap-ansi: 8.1.0 - wrap-ansi-cjs: wrap-ansi@7.0.0 - '@jridgewell/gen-mapping@0.3.5': dependencies: '@jridgewell/set-array': 1.2.1 @@ -6553,15 +6050,6 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 - '@microsoft/tsdoc-config@0.16.2': - dependencies: - '@microsoft/tsdoc': 0.14.2 - ajv: 6.12.6 - jju: 1.4.0 - resolve: 1.19.0 - - '@microsoft/tsdoc@0.14.2': {} - '@mswjs/interceptors@0.37.1': dependencies: '@open-draft/deferred-promise': 2.2.0 @@ -6571,18 +6059,10 @@ snapshots: outvariant: 1.4.3 strict-event-emitter: 0.5.1 - '@next/eslint-plugin-next@14.2.18': - dependencies: - glob: 10.3.10 - '@next/eslint-plugin-next@15.0.3': dependencies: fast-glob: 3.3.1 - '@nicolo-ribaudo/eslint-scope-5-internals@5.1.1-v1': - dependencies: - eslint-scope: 5.1.1 - '@nodelib/fs.scandir@2.1.5': dependencies: '@nodelib/fs.stat': 2.0.5 @@ -6625,9 +6105,6 @@ snapshots: '@open-draft/until@2.1.0': {} - '@pkgjs/parseargs@0.11.0': - optional: true - '@pkgr/core@0.1.1': {} '@redocly/ajv@8.11.0': @@ -6896,8 +6373,6 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.27.4': optional: true - '@rushstack/eslint-patch@1.10.4': {} - '@size-limit/esbuild-why@11.1.6(size-limit@11.1.6)': dependencies: esbuild-visualizer: 0.6.0 @@ -6986,8 +6461,6 @@ snapshots: '@types/json-schema@7.0.15': {} - '@types/json5@0.0.29': {} - '@types/lodash@4.17.13': {} '@types/mime@1.3.5': {} @@ -7006,8 +6479,6 @@ snapshots: dependencies: undici-types: 6.19.8 - '@types/normalize-package-data@2.4.4': {} - '@types/prop-types@15.7.12': {} '@types/prop-types@15.7.13': {} @@ -7043,8 +6514,6 @@ snapshots: dependencies: '@types/node': 22.10.0 - '@types/semver@7.5.8': {} - '@types/send@0.17.4': dependencies: '@types/mime': 1.3.5 @@ -7084,27 +6553,9 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)': - dependencies: - '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/type-utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - '@typescript-eslint/visitor-keys': 7.18.0 - eslint: 8.57.0 - graphemer: 1.4.0 - ignore: 5.3.1 - natural-compare: 1.4.0 - ts-api-utils: 1.3.0(typescript@5.7.2) - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/eslint-plugin@8.16.0(@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2))(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: - '@eslint-community/regexpp': 4.11.0 + '@eslint-community/regexpp': 4.12.1 '@typescript-eslint/parser': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) '@typescript-eslint/scope-manager': 8.16.0 '@typescript-eslint/type-utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) @@ -7144,33 +6595,20 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 eslint: 8.57.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2)': - dependencies: - '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) - '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.6(supports-color@9.4.0) - eslint: 8.57.0 - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/parser@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: '@typescript-eslint/scope-manager': 8.16.0 '@typescript-eslint/types': 8.16.0 '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.16.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 eslint: 9.15.0(jiti@2.4.0) optionalDependencies: typescript: 5.7.2 @@ -7183,18 +6621,13 @@ snapshots: '@typescript-eslint/types': 8.3.0 '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) '@typescript-eslint/visitor-keys': 8.3.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 eslint: 8.57.0 optionalDependencies: typescript: 5.5.4 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@5.62.0': - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - '@typescript-eslint/scope-manager@7.18.0': dependencies: '@typescript-eslint/types': 7.18.0 @@ -7214,7 +6647,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.5.4) - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 eslint: 8.57.0 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: @@ -7222,23 +6655,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.7.2)': - dependencies: - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - debug: 4.3.6(supports-color@9.4.0) - eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.7.2) - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/type-utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: '@typescript-eslint/typescript-estree': 8.16.0(typescript@5.7.2) '@typescript-eslint/utils': 8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2) - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 eslint: 9.15.0(jiti@2.4.0) ts-api-utils: 1.3.0(typescript@5.7.2) optionalDependencies: @@ -7250,7 +6671,7 @@ snapshots: dependencies: '@typescript-eslint/typescript-estree': 8.3.0(typescript@5.5.4) '@typescript-eslint/utils': 8.3.0(eslint@8.57.0)(typescript@5.5.4) - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 ts-api-utils: 1.3.0(typescript@5.5.4) optionalDependencies: typescript: 5.5.4 @@ -7258,33 +6679,17 @@ snapshots: - eslint - supports-color - '@typescript-eslint/types@5.62.0': {} - '@typescript-eslint/types@7.18.0': {} '@typescript-eslint/types@8.16.0': {} '@typescript-eslint/types@8.3.0': {} - '@typescript-eslint/typescript-estree@5.62.0(typescript@5.7.2)': - dependencies: - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/visitor-keys': 5.62.0 - debug: 4.3.7(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - semver: 7.6.3 - tsutils: 3.21.0(typescript@5.7.2) - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': dependencies: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.5 @@ -7295,26 +6700,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.18.0(typescript@5.7.2)': - dependencies: - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/visitor-keys': 7.18.0 - debug: 4.3.6(supports-color@9.4.0) - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.5 - semver: 7.6.3 - ts-api-utils: 1.3.0(typescript@5.7.2) - optionalDependencies: - typescript: 5.7.2 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/typescript-estree@8.16.0(typescript@5.7.2)': dependencies: '@typescript-eslint/types': 8.16.0 '@typescript-eslint/visitor-keys': 8.16.0 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 @@ -7329,7 +6719,7 @@ snapshots: dependencies: '@typescript-eslint/types': 8.3.0 '@typescript-eslint/visitor-keys': 8.3.0 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 fast-glob: 3.3.2 is-glob: 4.0.3 minimatch: 9.0.5 @@ -7340,21 +6730,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.7.2)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.7.2) - eslint: 8.57.0 - eslint-scope: 5.1.1 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -7366,17 +6741,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@7.18.0(eslint@8.57.0)(typescript@5.7.2)': - dependencies: - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@typescript-eslint/scope-manager': 7.18.0 - '@typescript-eslint/types': 7.18.0 - '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.7.2) - eslint: 8.57.0 - transitivePeerDependencies: - - supports-color - - typescript - '@typescript-eslint/utils@8.16.0(eslint@9.15.0(jiti@2.4.0))(typescript@5.7.2)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@9.15.0(jiti@2.4.0)) @@ -7400,11 +6764,6 @@ snapshots: - supports-color - typescript - '@typescript-eslint/visitor-keys@5.62.0': - dependencies: - '@typescript-eslint/types': 5.62.0 - eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@7.18.0': dependencies: '@typescript-eslint/types': 7.18.0 @@ -7422,40 +6781,6 @@ snapshots: '@ungap/structured-clone@1.2.0': {} - '@vercel/style-guide@6.0.0(@next/eslint-plugin-next@14.2.18)(eslint@8.57.0)(prettier@3.4.1)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2))': - dependencies: - '@babel/core': 7.25.2 - '@babel/eslint-parser': 7.25.1(@babel/core@7.25.2)(eslint@8.57.0) - '@rushstack/eslint-patch': 1.10.4 - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - eslint-config-prettier: 9.1.0(eslint@8.57.0) - eslint-import-resolver-alias: 1.1.2(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)) - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-eslint-comments: 3.2.0(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) - eslint-plugin-jsx-a11y: 6.9.0(eslint@8.57.0) - eslint-plugin-playwright: 1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0) - eslint-plugin-react: 7.35.0(eslint@8.57.0) - eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) - eslint-plugin-testing-library: 6.3.0(eslint@8.57.0)(typescript@5.7.2) - eslint-plugin-tsdoc: 0.2.17 - eslint-plugin-unicorn: 51.0.1(eslint@8.57.0) - eslint-plugin-vitest: 0.3.26(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)) - prettier-plugin-packagejson: 2.5.1(prettier@3.4.1) - optionalDependencies: - '@next/eslint-plugin-next': 14.2.18 - eslint: 8.57.0 - prettier: 3.4.1 - typescript: 5.7.2 - transitivePeerDependencies: - - eslint-import-resolver-node - - eslint-import-resolver-webpack - - jest - - supports-color - - vitest - '@vitejs/plugin-react@4.3.1(vite@5.3.5(@types/node@22.10.0))': dependencies: '@babel/core': 7.25.2 @@ -7542,7 +6867,7 @@ snapshots: agent-base@7.1.1(supports-color@9.4.0): dependencies: - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -7563,8 +6888,6 @@ snapshots: ansi-regex@5.0.1: {} - ansi-regex@6.1.0: {} - ansi-styles@2.2.1: {} ansi-styles@3.2.1: @@ -7575,8 +6898,6 @@ snapshots: dependencies: color-convert: 2.0.1 - ansi-styles@6.2.1: {} - ansis@3.3.2: {} anymatch@3.1.3: @@ -7592,10 +6913,6 @@ snapshots: argparse@2.0.1: {} - aria-query@5.1.3: - dependencies: - deep-equal: 2.2.3 - array-buffer-byte-length@1.0.1: dependencies: call-bind: 1.0.7 @@ -7625,15 +6942,6 @@ snapshots: es-object-atoms: 1.0.0 es-shim-unscopables: 1.0.2 - array.prototype.findlastindex@1.2.5: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.23.3 - es-errors: 1.3.0 - es-object-atoms: 1.0.0 - es-shim-unscopables: 1.0.2 - array.prototype.flat@1.3.2: dependencies: call-bind: 1.0.7 @@ -7669,20 +6977,12 @@ snapshots: assertion-error@2.0.1: {} - ast-types-flow@0.0.8: {} - async@3.2.6: {} available-typed-arrays@1.0.7: dependencies: possible-typed-array-names: 1.0.0 - axe-core@4.10.0: {} - - axobject-query@3.1.1: - dependencies: - deep-equal: 2.2.3 - balanced-match@1.0.2: {} base64-js@1.5.1: {} @@ -7739,8 +7039,6 @@ snapshots: node-releases: 2.0.18 update-browserslist-db: 1.1.1(browserslist@4.24.2) - builtin-modules@3.3.0: {} - bundle-name@4.1.0: dependencies: run-applescript: 7.0.0 @@ -7827,12 +7125,6 @@ snapshots: ci-info@3.9.0: {} - ci-info@4.0.0: {} - - clean-regexp@1.0.0: - dependencies: - escape-string-regexp: 1.0.5 - clean-stack@3.0.1: dependencies: escape-string-regexp: 4.0.0 @@ -7889,10 +7181,6 @@ snapshots: cookie@0.7.2: {} - core-js-compat@3.38.1: - dependencies: - browserslist: 4.23.3 - create-require@1.1.1: {} cross-spawn@7.0.3: @@ -7978,8 +7266,6 @@ snapshots: csstype@3.1.3: {} - damerau-levenshtein@1.0.8: {} - data-view-buffer@1.0.1: dependencies: call-bind: 1.0.7 @@ -8004,15 +7290,13 @@ snapshots: dependencies: ms: 2.0.0 - debug@3.2.7: + debug@4.3.6: dependencies: - ms: 2.1.3 + ms: 2.1.2 - debug@4.3.6(supports-color@9.4.0): + debug@4.3.7: dependencies: - ms: 2.1.2 - optionalDependencies: - supports-color: 9.4.0 + ms: 2.1.3 debug@4.3.7(supports-color@5.5.0): dependencies: @@ -8026,28 +7310,13 @@ snapshots: optionalDependencies: supports-color: 8.1.1 - deep-eql@5.0.2: {} - - deep-equal@2.2.3: + debug@4.3.7(supports-color@9.4.0): dependencies: - array-buffer-byte-length: 1.0.1 - call-bind: 1.0.7 - es-get-iterator: 1.1.3 - get-intrinsic: 1.2.4 - is-arguments: 1.1.1 - is-array-buffer: 3.0.4 - is-date-object: 1.0.5 - is-regex: 1.1.4 - is-shared-array-buffer: 1.0.3 - isarray: 2.0.5 - object-is: 1.1.6 - object-keys: 1.1.1 - object.assign: 4.1.5 - regexp.prototype.flags: 1.5.2 - side-channel: 1.0.6 - which-boxed-primitive: 1.0.2 - which-collection: 1.0.2 - which-typed-array: 1.1.15 + ms: 2.1.3 + optionalDependencies: + supports-color: 9.4.0 + + deep-eql@5.0.2: {} deep-is@0.1.4: {} @@ -8126,8 +7395,6 @@ snapshots: duplexer@0.1.2: {} - eastasianwidth@0.2.0: {} - ee-first@1.1.1: {} ejs@3.1.10: @@ -8140,17 +7407,10 @@ snapshots: emoji-regex@8.0.0: {} - emoji-regex@9.2.2: {} - encodeurl@1.0.2: {} encodeurl@2.0.0: {} - enhanced-resolve@5.17.1: - dependencies: - graceful-fs: 4.2.11 - tapable: 2.2.1 - enquirer@2.4.1: dependencies: ansi-colors: 4.1.3 @@ -8158,10 +7418,6 @@ snapshots: entities@2.2.0: {} - error-ex@1.3.2: - dependencies: - is-arrayish: 0.2.1 - es-abstract@1.23.3: dependencies: array-buffer-byte-length: 1.0.1 @@ -8217,43 +7473,14 @@ snapshots: es-errors@1.3.0: {} - es-get-iterator@1.1.3: + es-iterator-helpers@1.2.0: dependencies: call-bind: 1.0.7 - get-intrinsic: 1.2.4 - has-symbols: 1.0.3 - is-arguments: 1.1.1 - is-map: 2.0.3 - is-set: 2.0.3 - is-string: 1.0.7 - isarray: 2.0.5 - stop-iteration-iterator: 1.0.0 - - es-iterator-helpers@1.0.19: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.23.3 - es-errors: 1.3.0 - es-set-tostringtag: 2.0.3 - function-bind: 1.1.2 - get-intrinsic: 1.2.4 - globalthis: 1.0.4 - has-property-descriptors: 1.0.2 - has-proto: 1.0.3 - has-symbols: 1.0.3 - internal-slot: 1.0.7 - iterator.prototype: 1.1.2 - safe-array-concat: 1.1.2 - - es-iterator-helpers@1.2.0: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.23.3 - es-errors: 1.3.0 - es-set-tostringtag: 2.0.3 - function-bind: 1.1.2 + define-properties: 1.2.1 + es-abstract: 1.23.3 + es-errors: 1.3.0 + es-set-tostringtag: 2.0.3 + function-bind: 1.1.2 get-intrinsic: 1.2.4 globalthis: 1.0.4 gopd: 1.0.1 @@ -8382,131 +7609,12 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-config-prettier@9.1.0(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - eslint-config-prettier@9.1.0(eslint@9.15.0(jiti@2.4.0)): dependencies: eslint: 9.15.0(jiti@2.4.0) - eslint-config-turbo@2.3.3(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - eslint-plugin-turbo: 2.3.3(eslint@8.57.0) - - eslint-import-resolver-alias@1.1.2(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0)): - dependencies: - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - - eslint-import-resolver-node@0.3.9: - dependencies: - debug: 3.2.7 - is-core-module: 2.15.1 - resolve: 1.22.8 - transitivePeerDependencies: - - supports-color - - eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0): - dependencies: - debug: 4.3.6(supports-color@9.4.0) - enhanced-resolve: 5.17.1 - eslint: 8.57.0 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - fast-glob: 3.3.2 - get-tsconfig: 4.7.6 - is-core-module: 2.15.1 - is-glob: 4.0.3 - transitivePeerDependencies: - - '@typescript-eslint/parser' - - eslint-import-resolver-node - - eslint-import-resolver-webpack - - supports-color - - eslint-module-utils@2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): - dependencies: - debug: 3.2.7 - optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - eslint: 8.57.0 - eslint-import-resolver-node: 0.3.9 - eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0) - transitivePeerDependencies: - - supports-color - - eslint-plugin-eslint-comments@3.2.0(eslint@8.57.0): - dependencies: - escape-string-regexp: 1.0.5 - eslint: 8.57.0 - ignore: 5.3.2 - - eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0): - dependencies: - array-includes: 3.1.8 - array.prototype.findlastindex: 1.2.5 - array.prototype.flat: 1.3.2 - array.prototype.flatmap: 1.3.2 - debug: 3.2.7 - doctrine: 2.1.0 - eslint: 8.57.0 - eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.6.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0))(eslint@8.57.0))(eslint@8.57.0) - hasown: 2.0.2 - is-core-module: 2.15.1 - is-glob: 4.0.3 - minimatch: 3.1.2 - object.fromentries: 2.0.8 - object.groupby: 1.0.3 - object.values: 1.2.0 - semver: 6.3.1 - tsconfig-paths: 3.15.0 - optionalDependencies: - '@typescript-eslint/parser': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - transitivePeerDependencies: - - eslint-import-resolver-typescript - - eslint-import-resolver-webpack - - supports-color - - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2): - dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.7.2) - eslint: 8.57.0 - optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) - transitivePeerDependencies: - - supports-color - - typescript - - eslint-plugin-jsx-a11y@6.9.0(eslint@8.57.0): - dependencies: - aria-query: 5.1.3 - array-includes: 3.1.8 - array.prototype.flatmap: 1.3.2 - ast-types-flow: 0.0.8 - axe-core: 4.10.0 - axobject-query: 3.1.1 - damerau-levenshtein: 1.0.8 - emoji-regex: 9.2.2 - es-iterator-helpers: 1.0.19 - eslint: 8.57.0 - hasown: 2.0.2 - jsx-ast-utils: 3.3.5 - language-tags: 1.0.9 - minimatch: 3.1.2 - object.fromentries: 2.0.8 - safe-regex-test: 1.0.3 - string.prototype.includes: 2.0.0 - eslint-plugin-only-warn@1.1.0: {} - eslint-plugin-playwright@1.6.2(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - globals: 13.24.0 - optionalDependencies: - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) - eslint-plugin-react-hooks@4.6.2(eslint@8.57.0): dependencies: eslint: 8.57.0 @@ -8523,28 +7631,6 @@ snapshots: dependencies: eslint: 8.57.0 - eslint-plugin-react@7.35.0(eslint@8.57.0): - dependencies: - array-includes: 3.1.8 - array.prototype.findlast: 1.2.5 - array.prototype.flatmap: 1.3.2 - array.prototype.tosorted: 1.1.4 - doctrine: 2.1.0 - es-iterator-helpers: 1.0.19 - eslint: 8.57.0 - estraverse: 5.3.0 - hasown: 2.0.2 - jsx-ast-utils: 3.3.5 - minimatch: 3.1.2 - object.entries: 1.1.8 - object.fromentries: 2.0.8 - object.values: 1.2.0 - prop-types: 15.8.1 - resolve: 2.0.0-next.5 - semver: 6.3.1 - string.prototype.matchall: 4.0.11 - string.prototype.repeat: 1.0.0 - eslint-plugin-react@7.37.2(eslint@9.15.0(jiti@2.4.0)): dependencies: array-includes: 3.1.8 @@ -8567,67 +7653,11 @@ snapshots: string.prototype.matchall: 4.0.11 string.prototype.repeat: 1.0.0 - eslint-plugin-testing-library@6.3.0(eslint@8.57.0)(typescript@5.7.2): - dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.7.2) - eslint: 8.57.0 - transitivePeerDependencies: - - supports-color - - typescript - - eslint-plugin-tsdoc@0.2.17: - dependencies: - '@microsoft/tsdoc': 0.14.2 - '@microsoft/tsdoc-config': 0.16.2 - - eslint-plugin-turbo@2.3.3(eslint@8.57.0): - dependencies: - dotenv: 16.0.3 - eslint: 8.57.0 - eslint-plugin-turbo@2.3.3(eslint@9.15.0(jiti@2.4.0)): dependencies: dotenv: 16.0.3 eslint: 9.15.0(jiti@2.4.0) - eslint-plugin-unicorn@51.0.1(eslint@8.57.0): - dependencies: - '@babel/helper-validator-identifier': 7.24.7 - '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@eslint/eslintrc': 2.1.4 - ci-info: 4.0.0 - clean-regexp: 1.0.0 - core-js-compat: 3.38.1 - eslint: 8.57.0 - esquery: 1.6.0 - indent-string: 4.0.0 - is-builtin-module: 3.2.1 - jsesc: 3.0.2 - pluralize: 8.0.0 - read-pkg-up: 7.0.1 - regexp-tree: 0.1.27 - regjsparser: 0.10.0 - semver: 7.6.3 - strip-indent: 3.0.0 - transitivePeerDependencies: - - supports-color - - eslint-plugin-vitest@0.3.26(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2)(vitest@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2)): - dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@8.57.0)(typescript@5.7.2) - eslint: 8.57.0 - optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.7.2))(eslint@8.57.0)(typescript@5.7.2) - vitest: 2.1.6(@types/node@22.10.0)(jiti@2.4.0)(msw@2.6.6(@types/node@22.10.0)(typescript@5.7.2))(tsx@4.19.2) - transitivePeerDependencies: - - supports-color - - typescript - - eslint-scope@5.1.1: - dependencies: - esrecurse: 4.3.0 - estraverse: 4.3.0 - eslint-scope@7.2.2: dependencies: esrecurse: 4.3.0 @@ -8638,8 +7668,6 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 - eslint-visitor-keys@2.1.0: {} - eslint-visitor-keys@3.4.3: {} eslint-visitor-keys@4.2.0: {} @@ -8657,7 +7685,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.3 - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.6 doctrine: 3.0.0 escape-string-regexp: 4.0.0 eslint-scope: 7.2.2 @@ -8704,7 +7732,7 @@ snapshots: ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 escape-string-regexp: 4.0.0 eslint-scope: 8.2.0 eslint-visitor-keys: 4.2.0 @@ -8750,8 +7778,6 @@ snapshots: dependencies: estraverse: 5.3.0 - estraverse@4.3.0: {} - estraverse@5.3.0: {} estree-walker@0.6.1: {} @@ -8936,11 +7962,6 @@ snapshots: dependencies: is-callable: 1.2.7 - foreground-child@3.3.0: - dependencies: - cross-spawn: 7.0.6 - signal-exit: 4.1.0 - forwarded@0.2.0: {} fresh@0.5.2: {} @@ -9019,14 +8040,6 @@ snapshots: dependencies: is-glob: 4.0.3 - glob@10.3.10: - dependencies: - foreground-child: 3.3.0 - jackspeak: 2.3.6 - minimatch: 9.0.5 - minipass: 7.1.2 - path-scurry: 1.11.1 - glob@7.2.3: dependencies: fs.realpath: 1.0.0 @@ -9058,14 +8071,6 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 - globby@13.2.2: - dependencies: - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.2 - merge2: 1.4.1 - slash: 4.0.0 - globrex@0.1.2: {} gopd@1.0.1: @@ -9126,8 +8131,6 @@ snapshots: hono@4.6.12: {} - hosted-git-info@2.8.9: {} - http-errors@2.0.0: dependencies: depd: 2.0.0 @@ -9139,7 +8142,7 @@ snapshots: https-proxy-agent@7.0.5(supports-color@9.4.0): dependencies: agent-base: 7.1.1(supports-color@9.4.0) - debug: 4.3.6(supports-color@9.4.0) + debug: 4.3.7(supports-color@9.4.0) transitivePeerDependencies: - supports-color @@ -9199,18 +8202,11 @@ snapshots: ipaddr.js@1.9.1: {} - is-arguments@1.1.1: - dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 - is-array-buffer@3.0.4: dependencies: call-bind: 1.0.7 get-intrinsic: 1.2.4 - is-arrayish@0.2.1: {} - is-async-function@2.0.0: dependencies: has-tostringtag: 1.0.2 @@ -9228,10 +8224,6 @@ snapshots: call-bind: 1.0.7 has-tostringtag: 1.0.2 - is-builtin-module@3.2.1: - dependencies: - builtin-modules: 3.3.0 - is-callable@1.2.7: {} is-core-module@2.15.0: @@ -9350,14 +8342,6 @@ snapshots: isexe@2.0.0: {} - iterator.prototype@1.1.2: - dependencies: - define-properties: 1.2.1 - get-intrinsic: 1.2.4 - has-symbols: 1.0.3 - reflect.getprototypeof: 1.0.6 - set-function-name: 2.0.2 - iterator.prototype@1.1.3: dependencies: define-properties: 1.2.1 @@ -9366,12 +8350,6 @@ snapshots: reflect.getprototypeof: 1.0.6 set-function-name: 2.0.2 - jackspeak@2.3.6: - dependencies: - '@isaacs/cliui': 8.0.2 - optionalDependencies: - '@pkgjs/parseargs': 0.11.0 - jake@10.9.2: dependencies: async: 3.2.6 @@ -9381,8 +8359,6 @@ snapshots: jiti@2.4.0: {} - jju@1.4.0: {} - js-levenshtein@1.1.6: {} js-tokens@4.0.0: {} @@ -9396,26 +8372,18 @@ snapshots: dependencies: argparse: 2.0.1 - jsesc@0.5.0: {} - jsesc@2.5.2: {} jsesc@3.0.2: {} json-buffer@3.0.1: {} - json-parse-even-better-errors@2.3.1: {} - json-schema-traverse@0.4.1: {} json-schema-traverse@1.0.0: {} json-stable-stringify-without-jsonify@1.0.1: {} - json5@1.0.2: - dependencies: - minimist: 1.2.8 - json5@2.2.3: {} jsonfile@4.0.0: @@ -9433,12 +8401,6 @@ snapshots: dependencies: json-buffer: 3.0.1 - language-subtag-registry@0.3.23: {} - - language-tags@1.0.9: - dependencies: - language-subtag-registry: 0.3.23 - levn@0.4.1: dependencies: prelude-ls: 1.2.1 @@ -9448,8 +8410,6 @@ snapshots: lilconfig@3.1.2: {} - lines-and-columns@1.2.4: {} - loader-utils@3.3.1: {} locate-path@5.0.0: @@ -9480,8 +8440,6 @@ snapshots: loupe@3.1.2: {} - lru-cache@10.4.3: {} - lru-cache@5.1.1: dependencies: yallist: 3.1.1 @@ -9542,8 +8500,6 @@ snapshots: mimic-fn@4.0.0: {} - min-indent@1.0.1: {} - minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 @@ -9558,8 +8514,6 @@ snapshots: minimist@1.2.8: {} - minipass@7.1.2: {} - moment@2.30.1: {} mri@1.2.0: {} @@ -9640,13 +8594,6 @@ snapshots: touch: 3.1.1 undefsafe: 2.0.5 - normalize-package-data@2.5.0: - dependencies: - hosted-git-info: 2.8.9 - resolve: 1.22.8 - semver: 5.7.2 - validate-npm-package-license: 3.0.4 - normalize-path@3.0.0: {} normalize-url@6.1.0: {} @@ -9665,11 +8612,6 @@ snapshots: object-inspect@1.13.2: {} - object-is@1.1.6: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - object-keys@1.1.1: {} object.assign@4.1.5: @@ -9692,12 +8634,6 @@ snapshots: es-abstract: 1.23.3 es-object-atoms: 1.0.0 - object.groupby@1.0.3: - dependencies: - call-bind: 1.0.7 - define-properties: 1.2.1 - es-abstract: 1.23.3 - object.values@1.2.0: dependencies: call-bind: 1.0.7 @@ -9824,13 +8760,6 @@ snapshots: dependencies: callsites: 3.1.0 - parse-json@5.2.0: - dependencies: - '@babel/code-frame': 7.24.7 - error-ex: 1.3.2 - json-parse-even-better-errors: 2.3.1 - lines-and-columns: 1.2.4 - parse-json@8.1.0: dependencies: '@babel/code-frame': 7.24.7 @@ -9849,11 +8778,6 @@ snapshots: path-parse@1.0.7: {} - path-scurry@1.11.1: - dependencies: - lru-cache: 10.4.3 - minipass: 7.1.2 - path-to-regexp@0.1.10: {} path-to-regexp@6.3.0: {} @@ -10110,13 +9034,6 @@ snapshots: prelude-ls@1.2.1: {} - prettier-plugin-packagejson@2.5.1(prettier@3.4.1): - dependencies: - sort-package-json: 2.10.0 - synckit: 0.9.1 - optionalDependencies: - prettier: 3.4.1 - prettier-plugin-packagejson@2.5.6(prettier@3.4.1): dependencies: sort-package-json: 2.12.0 @@ -10194,19 +9111,6 @@ snapshots: dependencies: loose-envify: 1.4.0 - read-pkg-up@7.0.1: - dependencies: - find-up: 4.1.0 - read-pkg: 5.2.0 - type-fest: 0.8.1 - - read-pkg@5.2.0: - dependencies: - '@types/normalize-package-data': 2.4.4 - normalize-package-data: 2.5.0 - parse-json: 5.2.0 - type-fest: 0.6.0 - read-yaml-file@1.1.0: dependencies: graceful-fs: 4.2.11 @@ -10242,8 +9146,6 @@ snapshots: regenerator-runtime@0.14.1: {} - regexp-tree@0.1.27: {} - regexp.prototype.flags@1.5.2: dependencies: call-bind: 1.0.7 @@ -10251,10 +9153,6 @@ snapshots: es-errors: 1.3.0 set-function-name: 2.0.2 - regjsparser@0.10.0: - dependencies: - jsesc: 0.5.0 - require-directory@2.1.1: {} require-from-string@2.0.2: {} @@ -10267,11 +9165,6 @@ snapshots: resolve-pkg-maps@1.0.0: {} - resolve@1.19.0: - dependencies: - is-core-module: 2.15.1 - path-parse: 1.0.7 - resolve@1.22.8: dependencies: is-core-module: 2.15.0 @@ -10298,7 +9191,7 @@ snapshots: rollup-plugin-esbuild@6.1.1(esbuild@0.24.0)(rollup@4.27.4): dependencies: '@rollup/pluginutils': 5.1.3(rollup@4.27.4) - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 es-module-lexer: 1.5.4 esbuild: 0.24.0 get-tsconfig: 4.8.1 @@ -10448,8 +9341,6 @@ snapshots: dependencies: loose-envify: 1.4.0 - semver@5.7.2: {} - semver@6.3.1: {} semver@7.6.3: {} @@ -10543,21 +9434,8 @@ snapshots: slash@3.0.0: {} - slash@4.0.0: {} - sort-object-keys@1.1.3: {} - sort-package-json@2.10.0: - dependencies: - detect-indent: 7.0.1 - detect-newline: 4.0.1 - get-stdin: 9.0.0 - git-hooks-list: 3.1.0 - globby: 13.2.2 - is-plain-obj: 4.1.0 - semver: 7.6.3 - sort-object-keys: 1.1.3 - sort-package-json@2.12.0: dependencies: detect-indent: 7.0.1 @@ -10586,11 +9464,6 @@ snapshots: spdx-expression-parse: 3.0.1 spdx-ranges: 2.1.1 - spdx-correct@3.2.0: - dependencies: - spdx-expression-parse: 3.0.1 - spdx-license-ids: 3.0.20 - spdx-exceptions@2.5.0: {} spdx-expression-parse@3.0.1: @@ -10622,10 +9495,6 @@ snapshots: std-env@3.8.0: {} - stop-iteration-iterator@1.0.0: - dependencies: - internal-slot: 1.0.7 - strict-event-emitter@0.5.1: {} string-hash@1.1.3: {} @@ -10636,17 +9505,6 @@ snapshots: is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 - string-width@5.1.2: - dependencies: - eastasianwidth: 0.2.0 - emoji-regex: 9.2.2 - strip-ansi: 7.1.0 - - string.prototype.includes@2.0.0: - dependencies: - define-properties: 1.2.1 - es-abstract: 1.23.3 - string.prototype.matchall@4.0.11: dependencies: call-bind: 1.0.7 @@ -10698,18 +9556,10 @@ snapshots: dependencies: ansi-regex: 5.0.1 - strip-ansi@7.1.0: - dependencies: - ansi-regex: 6.1.0 - strip-bom@3.0.0: {} strip-final-newline@3.0.0: {} - strip-indent@3.0.0: - dependencies: - min-indent: 1.0.1 - strip-json-comments@3.1.1: {} strnum@1.0.5: {} @@ -10750,18 +9600,11 @@ snapshots: picocolors: 1.1.1 stable: 0.1.8 - synckit@0.9.1: - dependencies: - '@pkgr/core': 0.1.1 - tslib: 2.6.3 - synckit@0.9.2: dependencies: '@pkgr/core': 0.1.1 tslib: 2.6.3 - tapable@2.2.1: {} - term-size@2.2.1: {} text-table@0.2.0: {} @@ -10862,22 +9705,8 @@ snapshots: optionalDependencies: typescript: 5.7.2 - tsconfig-paths@3.15.0: - dependencies: - '@types/json5': 0.0.29 - json5: 1.0.2 - minimist: 1.2.8 - strip-bom: 3.0.0 - - tslib@1.14.1: {} - tslib@2.6.3: {} - tsutils@3.21.0(typescript@5.7.2): - dependencies: - tslib: 1.14.1 - typescript: 5.7.2 - tsx@4.19.0: dependencies: esbuild: 0.23.1 @@ -10932,10 +9761,6 @@ snapshots: type-fest@0.21.3: {} - type-fest@0.6.0: {} - - type-fest@0.8.1: {} - type-fest@2.19.0: {} type-fest@4.29.0: {} @@ -11052,17 +9877,12 @@ snapshots: optionalDependencies: typescript: 5.7.2 - validate-npm-package-license@3.0.4: - dependencies: - spdx-correct: 3.2.0 - spdx-expression-parse: 3.0.1 - vary@1.1.2: {} vite-node@2.1.6(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2): dependencies: cac: 6.7.14 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 es-module-lexer: 1.5.4 pathe: 1.1.2 vite: 6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2) @@ -11082,7 +9902,7 @@ snapshots: vite-tsconfig-paths@5.1.3(typescript@5.7.2)(vite@6.0.1(@types/node@22.10.0)(jiti@2.4.0)(tsx@4.19.2)): dependencies: - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 globrex: 0.1.2 tsconfck: 3.1.4(typescript@5.7.2) optionalDependencies: @@ -11139,7 +9959,7 @@ snapshots: '@vitest/spy': 2.1.6 '@vitest/utils': 2.1.6 chai: 5.1.2 - debug: 4.3.7(supports-color@8.1.1) + debug: 4.3.7 expect-type: 1.1.0 magic-string: 0.30.14 pathe: 1.1.2 @@ -11241,12 +10061,6 @@ snapshots: string-width: 4.2.3 strip-ansi: 6.0.1 - wrap-ansi@8.1.0: - dependencies: - ansi-styles: 6.2.1 - string-width: 5.1.2 - strip-ansi: 7.1.0 - wrappy@1.0.2: {} xml2js@0.6.2: diff --git a/tsconfig.json b/tsconfig.json index a6383ee8..d3742aeb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "@blgc/style-guide/typescript/base" + "extends": "@blgc/config/typescript/base" } From eca81920594300ba3f7f3ceec74215244a8549dd Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Thu, 28 Nov 2024 07:07:19 +0100 Subject: [PATCH 11/15] #80 fixed eslint errors --- CONTRIBUTING.md | 2 +- packages/cli/package.json | 2 +- packages/config/eslint/base.js | 2 +- packages/elevenlabs-client/eslint.config.js | 7 +------ packages/elevenlabs-client/package.json | 2 +- packages/eprel-client/eslint.config.js | 7 +------ packages/eprel-client/package.json | 2 +- packages/feature-fetch/package.json | 2 +- packages/feature-form/eslint.config.js | 2 +- packages/feature-form/package.json | 2 +- packages/feature-logger/package.json | 2 +- packages/feature-react/package.json | 2 +- packages/feature-state/package.json | 2 +- packages/figma-connect/package.json | 2 +- packages/google-webfonts-client/eslint.config.js | 7 +------ packages/google-webfonts-client/package.json | 2 +- packages/openapi-router/eslint.config.js | 2 +- packages/openapi-router/package.json | 2 +- packages/types/package.json | 2 +- packages/utils/package.json | 2 +- packages/validation-adapter/eslint.config.js | 2 +- packages/validation-adapter/package.json | 2 +- packages/validation-adapters/package.json | 2 +- packages/xml-tokenizer/package.json | 2 +- 24 files changed, 24 insertions(+), 39 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index af1048eb..93f92ec2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,7 +28,7 @@ The structure of the `package.json` file in this project should adhere to a spec "scripts": { "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "start:dev": "tsc -w", - "lint": "eslint src/**", + "lint": "eslint", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/cli/package.json b/packages/cli/package.json index 6c3f5e9b..e12b6aab 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -29,7 +29,7 @@ "build": "shx rm -rf dist && tsc", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "start:dev": "tsc -w", "test": "echo \"Error: no test specified\" && exit 1", diff --git a/packages/config/eslint/base.js b/packages/config/eslint/base.js index 2c082cca..c8d33a10 100644 --- a/packages/config/eslint/base.js +++ b/packages/config/eslint/base.js @@ -29,6 +29,6 @@ module.exports = [ } }, { - ignores: ['dist/**'] + files: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.js', 'src/**/*.jsx'] } ]; diff --git a/packages/elevenlabs-client/eslint.config.js b/packages/elevenlabs-client/eslint.config.js index 177a38f5..480fbc13 100644 --- a/packages/elevenlabs-client/eslint.config.js +++ b/packages/elevenlabs-client/eslint.config.js @@ -2,9 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [ - ...require('@blgc/config/eslint/library'), - { - ignores: ['src/gen/*'] - } -]; +module.exports = [...require('@blgc/config/eslint/library'), { ignores: ['src/gen/*'] }]; diff --git a/packages/elevenlabs-client/package.json b/packages/elevenlabs-client/package.json index c99fbfdf..cb10ead0 100644 --- a/packages/elevenlabs-client/package.json +++ b/packages/elevenlabs-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-0.json -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", diff --git a/packages/eprel-client/eslint.config.js b/packages/eprel-client/eslint.config.js index 177a38f5..480fbc13 100644 --- a/packages/eprel-client/eslint.config.js +++ b/packages/eprel-client/eslint.config.js @@ -2,9 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [ - ...require('@blgc/config/eslint/library'), - { - ignores: ['src/gen/*'] - } -]; +module.exports = [...require('@blgc/config/eslint/library'), { ignores: ['src/gen/*'] }]; diff --git a/packages/eprel-client/package.json b/packages/eprel-client/package.json index 08c900b9..f5b48d10 100644 --- a/packages/eprel-client/package.json +++ b/packages/eprel-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-58.yaml -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", diff --git a/packages/feature-fetch/package.json b/packages/feature-fetch/package.json index cfb5153b..e4f95693 100644 --- a/packages/feature-fetch/package.json +++ b/packages/feature-fetch/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-form/eslint.config.js b/packages/feature-form/eslint.config.js index 4b91e2be..275e54fa 100644 --- a/packages/feature-form/eslint.config.js +++ b/packages/feature-form/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('../config/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/feature-form/package.json b/packages/feature-form/package.json index f81374e7..b70ce650 100644 --- a/packages/feature-form/package.json +++ b/packages/feature-form/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-logger/package.json b/packages/feature-logger/package.json index ca1eeedc..1d51de75 100644 --- a/packages/feature-logger/package.json +++ b/packages/feature-logger/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-react/package.json b/packages/feature-react/package.json index 996a0b98..ca39c648 100644 --- a/packages/feature-react/package.json +++ b/packages/feature-react/package.json @@ -46,7 +46,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-state/package.json b/packages/feature-state/package.json index 98fe8e27..a3831728 100644 --- a/packages/feature-state/package.json +++ b/packages/feature-state/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/figma-connect/package.json b/packages/figma-connect/package.json index 8b1a6a25..ce15d9b6 100644 --- a/packages/figma-connect/package.json +++ b/packages/figma-connect/package.json @@ -46,7 +46,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/google-webfonts-client/eslint.config.js b/packages/google-webfonts-client/eslint.config.js index 177a38f5..275e54fa 100644 --- a/packages/google-webfonts-client/eslint.config.js +++ b/packages/google-webfonts-client/eslint.config.js @@ -2,9 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [ - ...require('@blgc/config/eslint/library'), - { - ignores: ['src/gen/*'] - } -]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/google-webfonts-client/package.json b/packages/google-webfonts-client/package.json index de91fe46..5d73e850 100644 --- a/packages/google-webfonts-client/package.json +++ b/packages/google-webfonts-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "openapi:generate": "npx openapi-typescript ./resources/openapi-v1.yaml -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", diff --git a/packages/openapi-router/eslint.config.js b/packages/openapi-router/eslint.config.js index 4b91e2be..275e54fa 100644 --- a/packages/openapi-router/eslint.config.js +++ b/packages/openapi-router/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('../config/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/openapi-router/package.json b/packages/openapi-router/package.json index cf09ab87..1fa49ee2 100644 --- a/packages/openapi-router/package.json +++ b/packages/openapi-router/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/types/package.json b/packages/types/package.json index 90878546..c816682d 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -49,7 +49,7 @@ "build": "shx rm -rf dist && ../../scripts/cli.sh bundle -b typesonly", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "update:latest": "pnpm update --latest" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 6893aade..9915091a 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/validation-adapter/eslint.config.js b/packages/validation-adapter/eslint.config.js index 4b91e2be..275e54fa 100644 --- a/packages/validation-adapter/eslint.config.js +++ b/packages/validation-adapter/eslint.config.js @@ -2,4 +2,4 @@ * @see https://eslint.org/docs/latest/use/configure/configuration-files * @type {import("eslint").Linter.Config} */ -module.exports = [...require('../config/eslint/library')]; +module.exports = [...require('@blgc/config/eslint/library')]; diff --git a/packages/validation-adapter/package.json b/packages/validation-adapter/package.json index 0ddac039..25bcc454 100644 --- a/packages/validation-adapter/package.json +++ b/packages/validation-adapter/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/validation-adapters/package.json b/packages/validation-adapters/package.json index 2865d8e2..f15258bd 100644 --- a/packages/validation-adapters/package.json +++ b/packages/validation-adapters/package.json @@ -57,7 +57,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/xml-tokenizer/package.json b/packages/xml-tokenizer/package.json index 845ac36f..a235a1ec 100644 --- a/packages/xml-tokenizer/package.json +++ b/packages/xml-tokenizer/package.json @@ -28,7 +28,7 @@ "build:dev": "shx rm -rf dist && ../../scripts/cli.sh bundle --target=dev", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint src/**", + "lint": "eslint", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", From f351b4296cd39dfd14abe47b97f5b96079e2f499 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Thu, 28 Nov 2024 07:21:16 +0100 Subject: [PATCH 12/15] #80 fixed typos --- packages/config/README.md | 2 +- packages/config/eslint/base.js | 3 ++- packages/config/package.json | 8 +------- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/packages/config/README.md b/packages/config/README.md index ddf8945f..a81bb390 100644 --- a/packages/config/README.md +++ b/packages/config/README.md @@ -1,5 +1,5 @@

- @blgc/config banner + @blgc/config banner

diff --git a/packages/config/eslint/base.js b/packages/config/eslint/base.js index c8d33a10..e50cbb73 100644 --- a/packages/config/eslint/base.js +++ b/packages/config/eslint/base.js @@ -29,6 +29,7 @@ module.exports = [ } }, { - files: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.js', 'src/**/*.jsx'] + // files: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.js', 'src/**/*.jsx'], + ignores: ['dist/', 'node_modules/', '.turbo/', 'eslint.config.js'] } ]; diff --git a/packages/config/package.json b/packages/config/package.json index 27870832..f3842aa5 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@blgc/config", - "version": "0.0.1", + "version": "0.0.30", "private": false, "description": "Builder.Group's engineering style guide", "keywords": [], @@ -50,11 +50,5 @@ "prettier": "^3.4.1", "typescript": "^5.7.2", "vitest": "^2.1.6" - }, - "peerDependencies": { - "eslint": "^9.15.0", - "prettier": "^3.4.1", - "typescript": "^5.7.2", - "vitest": "^2.1.6" } } From 72282cae0b54f1410a4393fba2ff7996325faeb4 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Thu, 28 Nov 2024 08:03:34 +0100 Subject: [PATCH 13/15] #80 made eslint work in vscode https://github.com/microsoft/vscode-eslint/issues/1823#issuecomment-2050870174 --- CONTRIBUTING.md | 2 +- packages/cli/package.json | 2 +- packages/elevenlabs-client/package.json | 2 +- packages/elevenlabs-client/src/index.ts | 2 +- packages/eprel-client/package.json | 2 +- packages/eprel-client/src/index.ts | 2 +- packages/feature-fetch/package.json | 2 +- packages/feature-fetch/src/create-fetch-client.ts | 2 +- .../feature-fetch/src/features/with-graphql/gql.ts | 2 +- packages/feature-fetch/src/types/features/index.ts | 2 +- packages/feature-form/package.json | 2 +- packages/feature-form/src/types/features.ts | 2 +- packages/feature-form/src/types/form-field.ts | 14 +++++++------- packages/feature-logger/package.json | 2 +- packages/feature-logger/src/types/features.ts | 2 +- packages/feature-react/package.json | 2 +- .../feature-react/src/state/hooks/use-selector.ts | 2 +- packages/feature-state/package.json | 2 +- packages/feature-state/src/types/features.ts | 2 +- packages/figma-connect/package.json | 2 +- packages/google-webfonts-client/package.json | 2 +- packages/google-webfonts-client/src/index.ts | 2 +- packages/openapi-router/package.json | 2 +- .../src/features/with-express/with-express.ts | 6 +++--- .../openapi-router/src/types/features/index.ts | 2 +- packages/types/package.json | 2 +- packages/utils/package.json | 2 +- packages/utils/src/BitwiseFlag.ts | 2 -- packages/utils/src/hex-to-rgb.ts | 6 +++--- packages/utils/src/is-object.test.ts | 4 ++-- packages/utils/src/json-function.ts | 2 +- packages/utils/src/to-hex.ts | 6 +++--- packages/validation-adapter/package.json | 2 +- packages/validation-adapter/src/types.ts | 2 +- packages/validation-adapters/package.json | 2 +- packages/xml-tokenizer/package.json | 2 +- .../src/__tests__/xml-to-object.bench.ts | 2 +- 37 files changed, 49 insertions(+), 51 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 93f92ec2..bcf9a332 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -28,7 +28,7 @@ The structure of the `package.json` file in this project should adhere to a spec "scripts": { "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "start:dev": "tsc -w", - "lint": "eslint", + "lint": "eslint . --fix", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", "test": "echo \"Error: no test specified\" && exit 1" diff --git a/packages/cli/package.json b/packages/cli/package.json index e12b6aab..cce9844c 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -29,7 +29,7 @@ "build": "shx rm -rf dist && tsc", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "start:dev": "tsc -w", "test": "echo \"Error: no test specified\" && exit 1", diff --git a/packages/elevenlabs-client/package.json b/packages/elevenlabs-client/package.json index cb10ead0..2ec05b51 100644 --- a/packages/elevenlabs-client/package.json +++ b/packages/elevenlabs-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-0.json -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", diff --git a/packages/elevenlabs-client/src/index.ts b/packages/elevenlabs-client/src/index.ts index 79a7859d..2a70974b 100644 --- a/packages/elevenlabs-client/src/index.ts +++ b/packages/elevenlabs-client/src/index.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/method-signature-style -- Ok here */ + import { type FetchError, type TResult } from 'feature-fetch'; import { type TGenerateTextToSpeechConfig, type TVoiceResponse } from './types'; diff --git a/packages/eprel-client/package.json b/packages/eprel-client/package.json index f5b48d10..fed6eeff 100644 --- a/packages/eprel-client/package.json +++ b/packages/eprel-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "openapi:generate": "npx openapi-typescript ./resources/openapi_v1-0-58.yaml -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", diff --git a/packages/eprel-client/src/index.ts b/packages/eprel-client/src/index.ts index 7ea1df6b..62ae8dde 100644 --- a/packages/eprel-client/src/index.ts +++ b/packages/eprel-client/src/index.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/method-signature-style -- Ok here */ + import { type FetchError, type TResult } from 'feature-fetch'; import type { components } from './gen/v1'; import { diff --git a/packages/feature-fetch/package.json b/packages/feature-fetch/package.json index e4f95693..3e0955b7 100644 --- a/packages/feature-fetch/package.json +++ b/packages/feature-fetch/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-fetch/src/create-fetch-client.ts b/packages/feature-fetch/src/create-fetch-client.ts index 31803941..2e42b53d 100644 --- a/packages/feature-fetch/src/create-fetch-client.ts +++ b/packages/feature-fetch/src/create-fetch-client.ts @@ -99,7 +99,7 @@ export function createFetchClient( // Process before request middlewares try { for (const middleware of this._config.beforeRequestMiddlewares) { - // eslint-disable-next-line no-await-in-loop -- Needs to be processed in order + await middleware({ path, props: middlewareProps, diff --git a/packages/feature-fetch/src/features/with-graphql/gql.ts b/packages/feature-fetch/src/features/with-graphql/gql.ts index 3e02495b..d197e446 100644 --- a/packages/feature-fetch/src/features/with-graphql/gql.ts +++ b/packages/feature-fetch/src/features/with-graphql/gql.ts @@ -1,4 +1,4 @@ -/* eslint-disable no-param-reassign -- Ok in reduce function */ + // https://github.com/apollographql/graphql-tag/blob/main/src/index.ts export function gql(literals: TemplateStringsArray, ...args: unknown[]): string { diff --git a/packages/feature-fetch/src/types/features/index.ts b/packages/feature-fetch/src/types/features/index.ts index 98577ffc..493467ba 100644 --- a/packages/feature-fetch/src/types/features/index.ts +++ b/packages/feature-fetch/src/types/features/index.ts @@ -19,7 +19,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features -// eslint-disable-next-line @typescript-eslint/no-empty-interface -- Overwritten by third party libraries + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/feature-form/package.json b/packages/feature-form/package.json index b70ce650..3e912bb9 100644 --- a/packages/feature-form/package.json +++ b/packages/feature-form/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-form/src/types/features.ts b/packages/feature-form/src/types/features.ts index 53e86805..32b307cf 100644 --- a/packages/feature-form/src/types/features.ts +++ b/packages/feature-form/src/types/features.ts @@ -6,7 +6,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features -// eslint-disable-next-line @typescript-eslint/no-empty-interface -- Overwritten by third party libraries + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/feature-form/src/types/form-field.ts b/packages/feature-form/src/types/form-field.ts index 0f856f6a..699297aa 100644 --- a/packages/feature-form/src/types/form-field.ts +++ b/packages/feature-form/src/types/form-field.ts @@ -40,22 +40,22 @@ export interface TFormFieldStateConfig { } export enum FormFieldValidateMode { - // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member, no-bitwise -- ok here + // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member -- ok here OnBlur = 1 << 0, // 1 - // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member, no-bitwise -- ok here + // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member -- ok here OnChange = 1 << 1, // 2 - // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member, no-bitwise -- ok here + // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member -- ok here OnSubmit = 1 << 2, // 4 - // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member, no-bitwise -- ok here + // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member -- ok here OnTouched = 1 << 3 // 8 } export enum FormFieldReValidateMode { - // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member, no-bitwise -- ok here + // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member -- ok here OnBlur = 1 << 0, // 1 - // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member, no-bitwise -- ok here + // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member -- ok here OnChange = 1 << 1, // 2 - // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member, no-bitwise -- ok here + // eslint-disable-next-line @typescript-eslint/prefer-literal-enum-member -- ok here OnSubmit = 1 << 2 // 4 } diff --git a/packages/feature-logger/package.json b/packages/feature-logger/package.json index 1d51de75..1b2cf193 100644 --- a/packages/feature-logger/package.json +++ b/packages/feature-logger/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-logger/src/types/features.ts b/packages/feature-logger/src/types/features.ts index 347e1d87..c4737b58 100644 --- a/packages/feature-logger/src/types/features.ts +++ b/packages/feature-logger/src/types/features.ts @@ -8,7 +8,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features -// eslint-disable-next-line @typescript-eslint/no-empty-interface -- Overwritten by third party libraries + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/feature-react/package.json b/packages/feature-react/package.json index ca39c648..eca1badb 100644 --- a/packages/feature-react/package.json +++ b/packages/feature-react/package.json @@ -46,7 +46,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-react/src/state/hooks/use-selector.ts b/packages/feature-react/src/state/hooks/use-selector.ts index d0d2df10..d68b7c81 100644 --- a/packages/feature-react/src/state/hooks/use-selector.ts +++ b/packages/feature-react/src/state/hooks/use-selector.ts @@ -9,7 +9,7 @@ export function useSelector>( const [, forceRender] = React.useReducer((s: number) => s + 1, 0); React.useEffect(() => { - // eslint-disable-next-line @typescript-eslint/no-confusing-void-expression -- Ok + const unbind = state.listenToSelected( [selectedProperty], ({ background }) => { diff --git a/packages/feature-state/package.json b/packages/feature-state/package.json index a3831728..9f278a5a 100644 --- a/packages/feature-state/package.json +++ b/packages/feature-state/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/feature-state/src/types/features.ts b/packages/feature-state/src/types/features.ts index 769b3fcc..22d8c106 100644 --- a/packages/feature-state/src/types/features.ts +++ b/packages/feature-state/src/types/features.ts @@ -23,7 +23,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features -// eslint-disable-next-line @typescript-eslint/no-empty-interface -- Overwritten by third party libraries + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/figma-connect/package.json b/packages/figma-connect/package.json index ce15d9b6..9ea92a04 100644 --- a/packages/figma-connect/package.json +++ b/packages/figma-connect/package.json @@ -46,7 +46,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/google-webfonts-client/package.json b/packages/google-webfonts-client/package.json index 5d73e850..2907d2d2 100644 --- a/packages/google-webfonts-client/package.json +++ b/packages/google-webfonts-client/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "openapi:generate": "npx openapi-typescript ./resources/openapi-v1.yaml -o ./src/gen/v1.ts", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", diff --git a/packages/google-webfonts-client/src/index.ts b/packages/google-webfonts-client/src/index.ts index d0f024aa..5dad8b0e 100644 --- a/packages/google-webfonts-client/src/index.ts +++ b/packages/google-webfonts-client/src/index.ts @@ -1,4 +1,4 @@ -/* eslint-disable @typescript-eslint/method-signature-style -- Ok here */ + import type { FetchError, TFetchClient, TResult } from 'feature-fetch'; import type { components } from './gen/v1'; import { diff --git a/packages/openapi-router/package.json b/packages/openapi-router/package.json index 1fa49ee2..28f2fbc9 100644 --- a/packages/openapi-router/package.json +++ b/packages/openapi-router/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/openapi-router/src/features/with-express/with-express.ts b/packages/openapi-router/src/features/with-express/with-express.ts index ac917afa..69ceb039 100644 --- a/packages/openapi-router/src/features/with-express/with-express.ts +++ b/packages/openapi-router/src/features/with-express/with-express.ts @@ -101,7 +101,7 @@ function validationMiddleware( ): express.RequestHandler { const { bodyValidator, pathValidator, queryValidator } = validators; - // eslint-disable-next-line @typescript-eslint/no-misused-promises -- async callback + return async (req, _res, next) => { try { const validationErrors: TValidationError[] = []; @@ -149,10 +149,10 @@ function validationMiddleware( } function requestHandler(handler: express.RequestHandler): express.RequestHandler { - // eslint-disable-next-line @typescript-eslint/no-misused-promises -- async callback + return async (req, res, next) => { try { - // eslint-disable-next-line @typescript-eslint/await-thenable, @typescript-eslint/no-confusing-void-expression -- RequestHandler can be async + await handler(req, res, next); } catch (error) { next(error); diff --git a/packages/openapi-router/src/types/features/index.ts b/packages/openapi-router/src/types/features/index.ts index 6a14043c..1a90fcac 100644 --- a/packages/openapi-router/src/types/features/index.ts +++ b/packages/openapi-router/src/types/features/index.ts @@ -12,7 +12,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features -// eslint-disable-next-line @typescript-eslint/no-empty-interface -- Overwritten by third party libraries + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/types/package.json b/packages/types/package.json index c816682d..6577c389 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -49,7 +49,7 @@ "build": "shx rm -rf dist && ../../scripts/cli.sh bundle -b typesonly", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "update:latest": "pnpm update --latest" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 9915091a..7ddccf51 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/utils/src/BitwiseFlag.ts b/packages/utils/src/BitwiseFlag.ts index 6de68694..9ac97e22 100644 --- a/packages/utils/src/BitwiseFlag.ts +++ b/packages/utils/src/BitwiseFlag.ts @@ -1,5 +1,3 @@ -/* eslint-disable no-bitwise -- Based on bit*/ - export class BitwiseFlag { private value: number; diff --git a/packages/utils/src/hex-to-rgb.ts b/packages/utils/src/hex-to-rgb.ts index 631b1a00..8b2f6012 100644 --- a/packages/utils/src/hex-to-rgb.ts +++ b/packages/utils/src/hex-to-rgb.ts @@ -13,13 +13,13 @@ export function hexToRgb(hex: THexColor): TRgbColor | null { const hexValue = hex.slice(1); if (hexValue.length === 3) { // @ts-expect-error -- Covered by above regex check - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands -- Covered by above regex check + r = parseInt(hexValue[0] + hexValue[0], 16); // @ts-expect-error -- Covered by above regex check - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands -- Covered by above regex check + g = parseInt(hexValue[1] + hexValue[1], 16); // @ts-expect-error -- Covered by above regex check - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands -- Covered by above regex check + b = parseInt(hexValue[2] + hexValue[2], 16); } else { r = parseInt(hexValue.slice(0, 2), 16); diff --git a/packages/utils/src/is-object.test.ts b/packages/utils/src/is-object.test.ts index 5cb74756..07783bd0 100644 --- a/packages/utils/src/is-object.test.ts +++ b/packages/utils/src/is-object.test.ts @@ -22,9 +22,9 @@ describe('isObject function', () => { }); it('should return false for functions', () => { - // eslint-disable-next-line func-names, @typescript-eslint/no-empty-function -- Test + expect(isObject(function () {})).toBeFalsy(); - // eslint-disable-next-line @typescript-eslint/no-empty-function -- Test + expect(isObject(() => {})).toBeFalsy(); }); }); diff --git a/packages/utils/src/json-function.ts b/packages/utils/src/json-function.ts index cd2ecdca..47b14180 100644 --- a/packages/utils/src/json-function.ts +++ b/packages/utils/src/json-function.ts @@ -1,5 +1,5 @@ export function toFunction(jsonFunction: TJsonFunction): Function { - // eslint-disable-next-line @typescript-eslint/no-implied-eval, no-new-func -- . + return new Function(...jsonFunction.args, jsonFunction.body); } diff --git a/packages/utils/src/to-hex.ts b/packages/utils/src/to-hex.ts index 8f5a6f4d..9e72598b 100644 --- a/packages/utils/src/to-hex.ts +++ b/packages/utils/src/to-hex.ts @@ -1,4 +1,4 @@ -/* eslint-disable camelcase -- Constants*/ + // Pre-Init (constants are precomputed for performance reasons) const LUT_HEX_4b = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F']; @@ -6,7 +6,7 @@ const LUT_HEX_8b = new Array(0x100).fill(''); // Populate the lookup table for hex values for (let n = 0; n < 0x100; n++) { - // eslint-disable-next-line @typescript-eslint/restrict-template-expressions, no-bitwise -- Ok here + LUT_HEX_8b[n] = `${LUT_HEX_4b[(n >>> 4) & 0xf]}${LUT_HEX_4b[n & 0xf]}`; } @@ -26,7 +26,7 @@ export function toHex(buffer: Uint8Array | Buffer): string { let out = ''; for (let idx = 0, len = buffer.length; idx < len; idx++) { // @ts-expect-error - buffer can't be undefined because we check length in for loop - // eslint-disable-next-line @typescript-eslint/restrict-plus-operands -- Ok here + out += LUT_HEX_8b[buffer[idx]]; } diff --git a/packages/validation-adapter/package.json b/packages/validation-adapter/package.json index 25bcc454..f504ad8b 100644 --- a/packages/validation-adapter/package.json +++ b/packages/validation-adapter/package.json @@ -26,7 +26,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/validation-adapter/src/types.ts b/packages/validation-adapter/src/types.ts index 3f5a5d9a..310ea456 100644 --- a/packages/validation-adapter/src/types.ts +++ b/packages/validation-adapter/src/types.ts @@ -31,7 +31,7 @@ export type TValidateCallback< export interface TBaseValidationContext { config: TValidationContextConfig; - // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents -- ok here + value: Readonly; hasError: () => boolean; isValue: (value: unknown) => value is GValue; // NOTE: We have to define a property using explicitly GValue to enforce generic. See: https://stackoverflow.com/questions/78716973/enforcing-same-generic-types-in-typescript/78717389 diff --git a/packages/validation-adapters/package.json b/packages/validation-adapters/package.json index f15258bd..333fad03 100644 --- a/packages/validation-adapters/package.json +++ b/packages/validation-adapters/package.json @@ -57,7 +57,7 @@ "build": "shx rm -rf dist && chmod +x ../../scripts/cli.sh && ../../scripts/cli.sh bundle", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/xml-tokenizer/package.json b/packages/xml-tokenizer/package.json index a235a1ec..ed71d96e 100644 --- a/packages/xml-tokenizer/package.json +++ b/packages/xml-tokenizer/package.json @@ -28,7 +28,7 @@ "build:dev": "shx rm -rf dist && ../../scripts/cli.sh bundle --target=dev", "clean": "shx rm -rf dist && shx rm -rf node_modules && shx rm -rf .turbo", "install:clean": "pnpm run clean && pnpm install", - "lint": "eslint", + "lint": "eslint . --fix", "publish:patch": "pnpm build && pnpm version patch && pnpm publish --no-git-checks --access=public", "size": "size-limit --why", "start:dev": "tsc -w", diff --git a/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts b/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts index bb2f0d77..faade340 100644 --- a/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts +++ b/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts @@ -23,7 +23,7 @@ void describe('xml to object', () => { }); bench('[xml-tokenizer (dist)]', () => { - // eslint-disable-next-line @typescript-eslint/no-confusing-void-expression -- Javascript module + const result = xtDist.xmlToObject(xml); expect(result).not.toBeNull(); }); From 1a2f44ac77c03a97e9bcc486e2cf2df87dbdc46f Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Thu, 28 Nov 2024 08:05:52 +0100 Subject: [PATCH 14/15] #80 format --- packages/elevenlabs-client/src/index.ts | 1 - packages/eprel-client/src/index.ts | 1 - packages/feature-fetch/src/create-fetch-client.ts | 1 - packages/feature-fetch/src/features/with-graphql/gql.ts | 2 -- packages/feature-fetch/src/types/features/index.ts | 2 +- packages/feature-form/src/types/features.ts | 2 +- packages/feature-logger/src/types/features.ts | 2 +- packages/feature-react/src/state/hooks/use-selector.ts | 1 - packages/feature-state/src/types/features.ts | 2 +- packages/google-webfonts-client/src/index.ts | 1 - .../src/features/with-express/with-express.ts | 3 --- packages/openapi-router/src/types/features/index.ts | 1 - packages/utils/src/hex-to-rgb.ts | 6 +++--- packages/utils/src/is-object.test.ts | 3 +-- packages/utils/src/json-function.ts | 1 - packages/utils/src/to-hex.ts | 5 +---- packages/validation-adapter/src/types.ts | 2 +- packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts | 1 - 18 files changed, 10 insertions(+), 27 deletions(-) diff --git a/packages/elevenlabs-client/src/index.ts b/packages/elevenlabs-client/src/index.ts index 2a70974b..46d85e8c 100644 --- a/packages/elevenlabs-client/src/index.ts +++ b/packages/elevenlabs-client/src/index.ts @@ -1,4 +1,3 @@ - import { type FetchError, type TResult } from 'feature-fetch'; import { type TGenerateTextToSpeechConfig, type TVoiceResponse } from './types'; diff --git a/packages/eprel-client/src/index.ts b/packages/eprel-client/src/index.ts index 62ae8dde..34fd0eb8 100644 --- a/packages/eprel-client/src/index.ts +++ b/packages/eprel-client/src/index.ts @@ -1,4 +1,3 @@ - import { type FetchError, type TResult } from 'feature-fetch'; import type { components } from './gen/v1'; import { diff --git a/packages/feature-fetch/src/create-fetch-client.ts b/packages/feature-fetch/src/create-fetch-client.ts index 2e42b53d..c4eeb31f 100644 --- a/packages/feature-fetch/src/create-fetch-client.ts +++ b/packages/feature-fetch/src/create-fetch-client.ts @@ -99,7 +99,6 @@ export function createFetchClient( // Process before request middlewares try { for (const middleware of this._config.beforeRequestMiddlewares) { - await middleware({ path, props: middlewareProps, diff --git a/packages/feature-fetch/src/features/with-graphql/gql.ts b/packages/feature-fetch/src/features/with-graphql/gql.ts index d197e446..480e9aab 100644 --- a/packages/feature-fetch/src/features/with-graphql/gql.ts +++ b/packages/feature-fetch/src/features/with-graphql/gql.ts @@ -1,5 +1,3 @@ - - // https://github.com/apollographql/graphql-tag/blob/main/src/index.ts export function gql(literals: TemplateStringsArray, ...args: unknown[]): string { // If a single string is passed, return it as is diff --git a/packages/feature-fetch/src/types/features/index.ts b/packages/feature-fetch/src/types/features/index.ts index 493467ba..7e70b1ba 100644 --- a/packages/feature-fetch/src/types/features/index.ts +++ b/packages/feature-fetch/src/types/features/index.ts @@ -19,7 +19,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features - + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/feature-form/src/types/features.ts b/packages/feature-form/src/types/features.ts index 32b307cf..1d1b6dac 100644 --- a/packages/feature-form/src/types/features.ts +++ b/packages/feature-form/src/types/features.ts @@ -6,7 +6,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features - + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/feature-logger/src/types/features.ts b/packages/feature-logger/src/types/features.ts index c4737b58..2bdde541 100644 --- a/packages/feature-logger/src/types/features.ts +++ b/packages/feature-logger/src/types/features.ts @@ -8,7 +8,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features - + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/feature-react/src/state/hooks/use-selector.ts b/packages/feature-react/src/state/hooks/use-selector.ts index d68b7c81..0ca4b6a3 100644 --- a/packages/feature-react/src/state/hooks/use-selector.ts +++ b/packages/feature-react/src/state/hooks/use-selector.ts @@ -9,7 +9,6 @@ export function useSelector>( const [, forceRender] = React.useReducer((s: number) => s + 1, 0); React.useEffect(() => { - const unbind = state.listenToSelected( [selectedProperty], ({ background }) => { diff --git a/packages/feature-state/src/types/features.ts b/packages/feature-state/src/types/features.ts index 22d8c106..7ac6b9b8 100644 --- a/packages/feature-state/src/types/features.ts +++ b/packages/feature-state/src/types/features.ts @@ -23,7 +23,7 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features - + export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/google-webfonts-client/src/index.ts b/packages/google-webfonts-client/src/index.ts index 5dad8b0e..e9380050 100644 --- a/packages/google-webfonts-client/src/index.ts +++ b/packages/google-webfonts-client/src/index.ts @@ -1,4 +1,3 @@ - import type { FetchError, TFetchClient, TResult } from 'feature-fetch'; import type { components } from './gen/v1'; import { diff --git a/packages/openapi-router/src/features/with-express/with-express.ts b/packages/openapi-router/src/features/with-express/with-express.ts index 69ceb039..6e8be7af 100644 --- a/packages/openapi-router/src/features/with-express/with-express.ts +++ b/packages/openapi-router/src/features/with-express/with-express.ts @@ -101,7 +101,6 @@ function validationMiddleware( ): express.RequestHandler { const { bodyValidator, pathValidator, queryValidator } = validators; - return async (req, _res, next) => { try { const validationErrors: TValidationError[] = []; @@ -149,10 +148,8 @@ function validationMiddleware( } function requestHandler(handler: express.RequestHandler): express.RequestHandler { - return async (req, res, next) => { try { - await handler(req, res, next); } catch (error) { next(error); diff --git a/packages/openapi-router/src/types/features/index.ts b/packages/openapi-router/src/types/features/index.ts index 1a90fcac..79759a65 100644 --- a/packages/openapi-router/src/types/features/index.ts +++ b/packages/openapi-router/src/types/features/index.ts @@ -12,7 +12,6 @@ export type TFeatures = { } & TThirdPartyFeatures; // Global registry for third party features - export interface TThirdPartyFeatures {} export type TFeatureKeys = keyof TFeatures; diff --git a/packages/utils/src/hex-to-rgb.ts b/packages/utils/src/hex-to-rgb.ts index 8b2f6012..77823b8a 100644 --- a/packages/utils/src/hex-to-rgb.ts +++ b/packages/utils/src/hex-to-rgb.ts @@ -13,13 +13,13 @@ export function hexToRgb(hex: THexColor): TRgbColor | null { const hexValue = hex.slice(1); if (hexValue.length === 3) { // @ts-expect-error -- Covered by above regex check - + r = parseInt(hexValue[0] + hexValue[0], 16); // @ts-expect-error -- Covered by above regex check - + g = parseInt(hexValue[1] + hexValue[1], 16); // @ts-expect-error -- Covered by above regex check - + b = parseInt(hexValue[2] + hexValue[2], 16); } else { r = parseInt(hexValue.slice(0, 2), 16); diff --git a/packages/utils/src/is-object.test.ts b/packages/utils/src/is-object.test.ts index 07783bd0..e309fb00 100644 --- a/packages/utils/src/is-object.test.ts +++ b/packages/utils/src/is-object.test.ts @@ -22,9 +22,8 @@ describe('isObject function', () => { }); it('should return false for functions', () => { - expect(isObject(function () {})).toBeFalsy(); - + expect(isObject(() => {})).toBeFalsy(); }); }); diff --git a/packages/utils/src/json-function.ts b/packages/utils/src/json-function.ts index 47b14180..5eea0a53 100644 --- a/packages/utils/src/json-function.ts +++ b/packages/utils/src/json-function.ts @@ -1,5 +1,4 @@ export function toFunction(jsonFunction: TJsonFunction): Function { - return new Function(...jsonFunction.args, jsonFunction.body); } diff --git a/packages/utils/src/to-hex.ts b/packages/utils/src/to-hex.ts index 9e72598b..4df8dd8b 100644 --- a/packages/utils/src/to-hex.ts +++ b/packages/utils/src/to-hex.ts @@ -1,12 +1,9 @@ - - // Pre-Init (constants are precomputed for performance reasons) const LUT_HEX_4b = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F']; const LUT_HEX_8b = new Array(0x100).fill(''); // Populate the lookup table for hex values for (let n = 0; n < 0x100; n++) { - LUT_HEX_8b[n] = `${LUT_HEX_4b[(n >>> 4) & 0xf]}${LUT_HEX_4b[n & 0xf]}`; } @@ -26,7 +23,7 @@ export function toHex(buffer: Uint8Array | Buffer): string { let out = ''; for (let idx = 0, len = buffer.length; idx < len; idx++) { // @ts-expect-error - buffer can't be undefined because we check length in for loop - + out += LUT_HEX_8b[buffer[idx]]; } diff --git a/packages/validation-adapter/src/types.ts b/packages/validation-adapter/src/types.ts index 310ea456..b7858c58 100644 --- a/packages/validation-adapter/src/types.ts +++ b/packages/validation-adapter/src/types.ts @@ -31,7 +31,7 @@ export type TValidateCallback< export interface TBaseValidationContext { config: TValidationContextConfig; - + value: Readonly; hasError: () => boolean; isValue: (value: unknown) => value is GValue; // NOTE: We have to define a property using explicitly GValue to enforce generic. See: https://stackoverflow.com/questions/78716973/enforcing-same-generic-types-in-typescript/78717389 diff --git a/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts b/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts index faade340..863556f5 100644 --- a/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts +++ b/packages/xml-tokenizer/src/__tests__/xml-to-object.bench.ts @@ -23,7 +23,6 @@ void describe('xml to object', () => { }); bench('[xml-tokenizer (dist)]', () => { - const result = xtDist.xmlToObject(xml); expect(result).not.toBeNull(); }); From 3b847116033f6c6d0478cefa109d5f1c26312ed5 Mon Sep 17 00:00:00 2001 From: Benno <57860196+bennoinbeta@users.noreply.github.com> Date: Thu, 28 Nov 2024 08:13:33 +0100 Subject: [PATCH 15/15] #80 changeset --- .changeset/eighty-lies-tie.md | 21 +++++++++++++++++++++ packages/config/package.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 .changeset/eighty-lies-tie.md diff --git a/.changeset/eighty-lies-tie.md b/.changeset/eighty-lies-tie.md new file mode 100644 index 00000000..5371026a --- /dev/null +++ b/.changeset/eighty-lies-tie.md @@ -0,0 +1,21 @@ +--- +'google-webfonts-client': patch +'validation-adapters': patch +'validation-adapter': patch +'elevenlabs-client': patch +'feature-logger': patch +'@blgc/openapi-router': patch +'feature-fetch': patch +'feature-react': patch +'feature-state': patch +'figma-connect': patch +'xml-tokenizer': patch +'eprel-client': patch +'feature-form': patch +'@blgc/config': patch +'@blgc/types': patch +'@blgc/utils': patch +'@blgc/cli': patch +--- + +Migrated to Eslint 9 diff --git a/packages/config/package.json b/packages/config/package.json index f3842aa5..f26a0a1b 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@blgc/config", - "version": "0.0.30", + "version": "0.0.25", "private": false, "description": "Builder.Group's engineering style guide", "keywords": [],