From 44ac44769bfe1cc5bbb0a4c30881947b53ef2357 Mon Sep 17 00:00:00 2001 From: Samuel Stroschein <35429197+samuelstroschein@users.noreply.github.com> Date: Wed, 25 Dec 2024 15:24:41 +0100 Subject: [PATCH] maintenance: remove vite in favor of tsc to build paraglide js lib Closes https://github.com/opral/inlang-paraglide-js/issues/208 --- .changeset/spicy-bottles-poke.md | 14 + packages/inlang-paraglide-js/package.json | 7 +- .../src/compiler/compile.ts | 4 +- .../src/compiler/compileBundle.ts | 6 +- .../src/compiler/compileMessage.ts | 2 +- packages/inlang-paraglide-js/vite.config.js | 50 -- pnpm-lock.yaml | 427 +----------------- 7 files changed, 24 insertions(+), 486 deletions(-) create mode 100644 .changeset/spicy-bottles-poke.md delete mode 100644 packages/inlang-paraglide-js/vite.config.js diff --git a/.changeset/spicy-bottles-poke.md b/.changeset/spicy-bottles-poke.md new file mode 100644 index 0000000000..d9f2e5c883 --- /dev/null +++ b/.changeset/spicy-bottles-poke.md @@ -0,0 +1,14 @@ +--- +"@inlang/paraglide-js": minor +--- + +maintenance: remove vite in favor of tsc to build paraglide js lib + +Closes https://github.com/opral/inlang-paraglide-js/issues/208 + +```diff +- "build": "vite build", ++ "build": "tsc", +``` + +Paraglide JS used vite to build the library. This change removes vite in favor of tsc to build the library. This change is made to simplify the build process and to make it easier to maintain the library in the future. diff --git a/packages/inlang-paraglide-js/package.json b/packages/inlang-paraglide-js/package.json index 24b8c349f2..73b92c3ddf 100644 --- a/packages/inlang-paraglide-js/package.json +++ b/packages/inlang-paraglide-js/package.json @@ -41,8 +41,8 @@ "./default" ], "scripts": { - "dev": "vite build --mode development --watch", - "build": "npm run env-variables && vite build --mode production", + "dev": "tsc --watch", + "build": "npm run env-variables && tsc --build", "test": "tsc --noEmit && vitest run --coverage ./src/**/*", "test:watch": "vitest --watch ./src/**/*", "env-variables": "node ./src/services/env-variables/createIndexFile.js", @@ -74,9 +74,6 @@ "memfs": "4.6.0", "rollup": "3.29.1", "typescript": "^5.5.2", - "vite": "^4.5.2", - "vite-plugin-dts": "^3.8.1", - "vite-tsconfig-paths": "^4.3.2", "vitest": "2.0.5" }, "exports": { diff --git a/packages/inlang-paraglide-js/src/compiler/compile.ts b/packages/inlang-paraglide-js/src/compiler/compile.ts index a4c820e2e3..6e1ffa29b0 100644 --- a/packages/inlang-paraglide-js/src/compiler/compile.ts +++ b/packages/inlang-paraglide-js/src/compiler/compile.ts @@ -2,10 +2,10 @@ import { compileBundle, type Resource } from "./compileBundle.js"; import { jsIdentifier } from "../services/codegen/identifier.js"; import { createRuntime } from "./runtime.js"; import { createRegistry, DEFAULT_REGISTRY } from "./registry.js"; -import { lookup } from "~/services/lookup.js"; import { type BundleNested, type ProjectSettings } from "@inlang/sdk"; import * as prettier from "prettier"; -import { escapeForSingleQuoteString } from "~/services/codegen/escape.js"; +import { escapeForSingleQuoteString } from "../services/codegen/escape.js"; +import { lookup } from "../services/lookup.js"; const ignoreDirectory = `# ignore everything because the directory is auto-generated by inlang paraglide-js # for more info visit https://inlang.com/m/gerre34r/paraglide-js diff --git a/packages/inlang-paraglide-js/src/compiler/compileBundle.ts b/packages/inlang-paraglide-js/src/compiler/compileBundle.ts index 8a62c3623a..ae8205eda9 100644 --- a/packages/inlang-paraglide-js/src/compiler/compileBundle.ts +++ b/packages/inlang-paraglide-js/src/compiler/compileBundle.ts @@ -1,9 +1,9 @@ import type { Bundle, BundleNested, Message } from "@inlang/sdk"; import { compileMessage } from "./compileMessage.js"; import type { Registry } from "./registry.js"; -import { jsIdentifier } from "~/services/codegen/identifier.js"; -import { isValidJSIdentifier } from "~/services/valid-js-identifier/index.js"; -import { escapeForDoubleQuoteString } from "~/services/codegen/escape.js"; +import { jsIdentifier } from "../services/codegen/identifier.js"; +import { isValidJSIdentifier } from "../services/valid-js-identifier/index.js"; +import { escapeForDoubleQuoteString } from "../services/codegen/escape.js"; import type { Compiled } from "./types.js"; import { jsDocBundleComment, jsDocMessageComment } from "./jsDocComment.js"; diff --git a/packages/inlang-paraglide-js/src/compiler/compileMessage.ts b/packages/inlang-paraglide-js/src/compiler/compileMessage.ts index 03ec670bd0..66478aaa80 100644 --- a/packages/inlang-paraglide-js/src/compiler/compileMessage.ts +++ b/packages/inlang-paraglide-js/src/compiler/compileMessage.ts @@ -1,8 +1,8 @@ import type { Declaration, Message, Variant } from "@inlang/sdk"; import type { Registry } from "./registry.js"; import { compilePattern } from "./compilePattern.js"; -import { doubleQuote } from "~/services/codegen/quotes.js"; import type { Compiled } from "./types.js"; +import { doubleQuote } from "../services/codegen/quotes.js"; /** * Returns the compiled message as a string diff --git a/packages/inlang-paraglide-js/vite.config.js b/packages/inlang-paraglide-js/vite.config.js deleted file mode 100644 index a940209a1c..0000000000 --- a/packages/inlang-paraglide-js/vite.config.js +++ /dev/null @@ -1,50 +0,0 @@ -import { defineConfig } from "vite"; -import tsconfigPaths from "vite-tsconfig-paths"; -import pkg from "./package.json"; -import manifest from "./marketplace-manifest.json"; - -export default defineConfig(() => { - // eslint-disable-next-line no-undef - const pToken = process.env.PUBLIC_POSTHOG_TOKEN ?? "placeholder"; - - return { - plugins: [tsconfigPaths({ ignoreConfigErrors: true })], - build: { - lib: { - entry: [ - "src/index.ts", - "src/adapter-utils/index.ts", - "src/cli/index.ts", - ], - formats: ["es"], - }, - - emptyOutDir: true, - rollupOptions: { - external: Object.keys(pkg.dependencies), - input: { - index: "src/index.ts", - "adapter-utils/index": "src/adapter-utils/index.ts", - "cli/index": "src/cli/index.ts", - }, - output: { - format: "es", - }, - }, - outDir: "dist", - target: "node16", - minify: false, - - //needed to allow node APIs in the build - ssr: true, - }, - - define: { - PARJS_POSTHOG_TOKEN: JSON.stringify( - pToken || "posthog_token_placeholder", - ), - PARJS_PACKAGE_VERSION: JSON.stringify(pkg.version), - PARJS_MARKTEPLACE_ID: JSON.stringify(manifest.id), - }, - }; -}); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3992b31df8..b76328d8a0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -175,15 +175,6 @@ importers: typescript-eslint: specifier: ^8.9.0 version: 8.10.0(eslint@9.15.0(jiti@2.3.3))(typescript@5.7.2) - vite: - specifier: ^4.5.2 - version: 4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0) - vite-plugin-dts: - specifier: ^3.8.1 - version: 3.9.1(@types/node@20.16.13)(rollup@3.29.1)(typescript@5.7.2)(vite@4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0)) - vite-tsconfig-paths: - specifier: ^4.3.2 - version: 4.3.2(typescript@5.7.2)(vite@4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0)) vitest: specifier: 2.0.5 version: 2.0.5(@types/node@20.16.13)(jsdom@25.0.1)(lightningcss@1.27.0)(terser@5.36.0) @@ -1762,19 +1753,6 @@ packages: '@mdx-js/mdx@2.3.0': resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==} - '@microsoft/api-extractor-model@7.28.13': - resolution: {integrity: sha512-39v/JyldX4MS9uzHcdfmjjfS6cYGAoXV+io8B5a338pkHiSt+gy2eXQ0Q7cGFJ7quSa1VqqlMdlPrB6sLR/cAw==} - - '@microsoft/api-extractor@7.43.0': - resolution: {integrity: sha512-GFhTcJpB+MI6FhvXEI9b2K0snulNLWHqC/BbcJtyNYcKUiw7l3Lgis5ApsYncJ0leALX7/of4XfmXk+maT111w==} - hasBin: true - - '@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.35.9': resolution: {integrity: sha512-SSnyl/4ni/2ViHKkiZb8eajA/eN1DNFaHjhGiLUdZvDz6PKF4COSf/17xqSz64nOo2Ia29SA6B2KNCsyCbVmaQ==} engines: {node: '>=18'} @@ -2472,15 +2450,6 @@ packages: rollup: optional: true - '@rollup/pluginutils@5.1.4': - resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} - engines: {node: '>=14.0.0'} - peerDependencies: - rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 - peerDependenciesMeta: - rollup: - optional: true - '@rollup/rollup-android-arm-eabi@4.24.0': resolution: {integrity: sha512-Q6HJd7Y6xdB48x8ZNVDOqsbh2uByBhgK8PiQgPhwkIw/HC/YX5Ghq2mQY5sRMZWHb3VsFkWooUVOZHKr7DmDIA==} cpu: [arm] @@ -2564,28 +2533,6 @@ packages: '@rtsao/scc@1.1.0': resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} - '@rushstack/node-core-library@4.0.2': - resolution: {integrity: sha512-hyES82QVpkfQMeBMteQUnrhASL/KHPhd7iJ8euduwNJG4mu2GSOKybf0rOEjOm1Wz7CwJEUm9y0yD7jg2C1bfg==} - peerDependencies: - '@types/node': '*' - peerDependenciesMeta: - '@types/node': - optional: true - - '@rushstack/rig-package@0.5.2': - resolution: {integrity: sha512-mUDecIJeH3yYGZs2a48k+pbhM6JYwWlgjs2Ca5f2n1G2/kgdgP9D/07oglEGf6mRyXEnazhEENeYTSNDRCwdqA==} - - '@rushstack/terminal@0.10.0': - resolution: {integrity: sha512-UbELbXnUdc7EKwfH2sb8ChqNgapUOdqcCIdQP4NGxBpTZV2sQyeekuK3zmfQSa/MN+/7b4kBogl2wq0vpkpYGw==} - peerDependencies: - '@types/node': '*' - peerDependenciesMeta: - '@types/node': - optional: true - - '@rushstack/ts-command-line@4.19.1': - resolution: {integrity: sha512-J7H768dgcpG60d7skZ5uSSwyCZs/S2HrWP1Ds8d1qYAyaaeJmpmmLr9BVw97RjFzmQPOYnoXcKA4GkqDCkduQg==} - '@sentry-internal/feedback@7.120.2': resolution: {integrity: sha512-AAKW/Qii2qFA/jIZc9HK/CgQLfJ/9zBCqC9FF3bUTnAxzZAbJHO1TLnHqDl5k5wYtt449NrpObHORpopSk7TBg==} engines: {node: '>=12'} @@ -2804,9 +2751,6 @@ packages: '@types/acorn@4.0.6': resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} - '@types/argparse@1.0.38': - resolution: {integrity: sha512-ebDJ9b0e702Yr7pWgB0jzm+CX4Srzz8RcXtLJDJB+BSccqMa36uyH/zUsSYao5+BD1ytv3k3rPYCq4mAE1hsXA==} - '@types/aria-query@5.0.4': resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} @@ -3244,32 +3188,6 @@ packages: '@vitest/utils@2.1.8': resolution: {integrity: sha512-dwSoui6djdwbfFmIgbIjX2ZhIoG7Ex/+xpxyiEgIGzjliY8xGkcpITKTlp6B4MgtGkF2ilvm97cPM96XZaAgcA==} - '@volar/language-core@1.11.1': - resolution: {integrity: sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==} - - '@volar/source-map@1.11.1': - resolution: {integrity: sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==} - - '@volar/typescript@1.11.1': - resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==} - - '@vue/compiler-core@3.5.13': - resolution: {integrity: sha512-oOdAkwqUfW1WqpwSYJce06wvt6HljgY3fGeM9NcVA1HaYOij3mZG9Rkysn0OHuyUAGMbEbARIpsG+LPVlBJ5/Q==} - - '@vue/compiler-dom@3.5.13': - resolution: {integrity: sha512-ZOJ46sMOKUjO3e94wPdCzQ6P1Lx/vhp2RSvfaab88Ajexs0AHeV0uasYhi99WPaogmBlRHNRuly8xV75cNTMDA==} - - '@vue/language-core@1.8.27': - resolution: {integrity: sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@vue/shared@3.5.13': - resolution: {integrity: sha512-/hnE/qP5ZoGpol0a5mDi45bOd7t3tjYJBjsgCsivow7D48cJeV5l05RD82lPqi7gRiphZM37rnhW1l6ZoCNNnQ==} - '@wdio/config@8.40.6': resolution: {integrity: sha512-rHCSmrhdJf7FlidcQPDvRKRPLYjklbrdxQa6J20BxHifTO4h2v23Wrq4OqqYIcq23gf9LpZvCA/PAMiET/QdVg==} engines: {node: ^16.13 || >=18} @@ -3859,9 +3777,6 @@ packages: resolution: {integrity: sha512-bQJ0YRck5ak3LgtnpKkiabX5pNF7tMUh1BSy2ZBOTh0Dim0BUu6aPPwByIns6/A5Prh8PufSPerMDUklpzes2Q==} engines: {node: '>= 0.8.0'} - computeds@0.0.1: - resolution: {integrity: sha512-7CEBgcMjVmitjYo5q8JTJVra6X5mQ20uTThdK+0kR7UEaDrAWEQcRiBtWJzga4eRpP6afNwwLsX2SET2JhVB1Q==} - concat-map@0.0.1: resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} @@ -4029,9 +3944,6 @@ packages: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} - de-indent@1.0.2: - resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} - debug@2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} peerDependencies: @@ -4555,9 +4467,6 @@ packages: estree-util-visit@1.2.1: resolution: {integrity: sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw==} - estree-walker@2.0.2: - resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} - estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} @@ -4959,10 +4868,6 @@ packages: hast-util-whitespace@2.0.1: resolution: {integrity: sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==} - he@1.2.0: - resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} - hasBin: true - headers-polyfill@4.0.3: resolution: {integrity: sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==} @@ -5057,10 +4962,6 @@ packages: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} - import-lazy@4.0.0: - resolution: {integrity: sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==} - engines: {node: '>=8'} - import-meta-resolve@4.1.0: resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} @@ -5351,9 +5252,6 @@ packages: resolution: {integrity: sha512-EX4oNDwcXSivPrw2qKH2LB5PoFxEvgtv2JgwW0bU858HoLQ+kutSvjLMUqBd0PeJYEinLWhoI9Ol0eYMqj/wNQ==} hasBin: true - jju@1.4.0: - resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} - jotai@2.10.1: resolution: {integrity: sha512-4FycO+BOTl2auLyF2Chvi6KTDqdsdDDtpaL/WHQMs8f3KS1E3loiUShQzAzFA/sMU5cJ0hz/RT1xum9YbG/zaA==} engines: {node: '>=12.20.0'} @@ -5465,9 +5363,6 @@ packages: resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} engines: {node: '>=6'} - kolorist@1.8.0: - resolution: {integrity: sha512-Y+60/zizpJ3HRH8DCss+q95yr6145JXZo46OTpFvDZWLfRCE4qChOyk1b26nMaNpfHHgxagk9dXT5OP0Tfe+dQ==} - ky@0.33.3: resolution: {integrity: sha512-CasD9OCEQSFIam2U8efFK81Yeg8vNMTBUqtMOHlrcWQHqUX3HeCl9Dr31u4toV7emlH8Mymk5+9p0lL6mKb/Xw==} engines: {node: '>=14.16'} @@ -5619,9 +5514,6 @@ packages: lodash.debounce@4.0.8: resolution: {integrity: sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==} - lodash.get@4.4.2: - resolution: {integrity: sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ==} - lodash.isequal@4.5.0: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} @@ -5675,10 +5567,6 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} - lru-cache@6.0.0: - resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} - engines: {node: '>=10'} - lru-cache@7.18.3: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} @@ -5958,9 +5846,6 @@ packages: resolution: {integrity: sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - minimatch@3.0.8: - resolution: {integrity: sha512-6FsRAQsxQ61mw+qP1ZzbL9Bc78x2p5OqNgNpnoAFLTrX8n5Kxph0CsnhmKKNXTWjXqU5L0pGPR7hYk+XWZr60Q==} - minimatch@3.1.2: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} @@ -6064,9 +5949,6 @@ packages: typescript: optional: true - muggle-string@0.3.1: - resolution: {integrity: sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==} - mute-stream@1.0.0: resolution: {integrity: sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -6431,10 +6313,6 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - picomatch@4.0.2: - resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} - engines: {node: '>=12'} - pidtree@0.6.0: resolution: {integrity: sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g==} engines: {node: '>=0.10'} @@ -6926,9 +6804,6 @@ packages: resolution: {integrity: sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==} engines: {node: '>=10'} - 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 @@ -7018,11 +6893,6 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.5.4: - resolution: {integrity: sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==} - engines: {node: '>=10'} - hasBin: true - semver@7.6.3: resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} engines: {node: '>=10'} @@ -7177,10 +7047,6 @@ packages: strict-event-emitter@0.5.1: resolution: {integrity: sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==} - string-argv@0.3.2: - resolution: {integrity: sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q==} - engines: {node: '>=0.6.19'} - string-hash@1.1.3: resolution: {integrity: sha512-kJUvRUFK49aub+a7T1nNE66EJbZBMnBgoC1UbCZ5n6bsZKBRga4KgBRTMn/pFkeCZSYtNeSyMxPDM0AXWELk2A==} @@ -7274,10 +7140,6 @@ packages: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} - supports-color@8.1.1: - resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} - engines: {node: '>=10'} - supports-color@9.4.0: resolution: {integrity: sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw==} engines: {node: '>=12'} @@ -7563,11 +7425,6 @@ packages: typescript: optional: true - typescript@5.4.2: - resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} - engines: {node: '>=14.17'} - hasBin: true - typescript@5.6.3: resolution: {integrity: sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==} engines: {node: '>=14.17'} @@ -7727,10 +7584,6 @@ packages: resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - validator@13.12.0: - resolution: {integrity: sha512-c1Q0mCiPlgdTVVVIJIrBuxNicYE+t/7oKeI9MWLj3fh/uq2Pxh/3eeWbVZ4OcGW1TUf53At0njHw5SMdA3tmMg==} - engines: {node: '>= 0.10'} - vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -7761,16 +7614,6 @@ packages: engines: {node: ^18.0.0 || >=20.0.0} hasBin: true - vite-plugin-dts@3.9.1: - resolution: {integrity: sha512-rVp2KM9Ue22NGWB8dNtWEr+KekN3rIgz1tWD050QnRGlriUCmaDwa7qA5zDEjbXg5lAXhYMSBJtx3q3hQIJZSg==} - engines: {node: ^14.18.0 || >=16.0.0} - peerDependencies: - typescript: '*' - vite: '*' - peerDependenciesMeta: - vite: - optional: true - vite-tsconfig-paths@4.3.2: resolution: {integrity: sha512-0Vd/a6po6Q+86rPlntHye7F31zA2URZMbH8M3saAZ/xR9QoGN/L21bxEGfXdWmFdNkqPpRdxFT7nmNe12e9/uA==} peerDependencies: @@ -7779,34 +7622,6 @@ packages: vite: optional: true - vite@4.5.5: - resolution: {integrity: sha512-ifW3Lb2sMdX+WU91s3R0FyQlAyLxOzCSCP37ujw0+r5POeHPwe6udWVIElKQq8gk3t7b8rkmvqC6IHBpCff4GQ==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - lightningcss: ^1.21.0 - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - vite@5.4.9: resolution: {integrity: sha512-20OVpJHh0PAM0oSOELa5GaZNWeDjcAvQjGXy2Uyr+Tp+/D2/Hdz6NLgpJLsarPTA2QJ6v8mX2P1ZfbsSKvdMkg==} engines: {node: ^18.0.0 || >=20.0.0} @@ -7938,15 +7753,6 @@ packages: jsdom: optional: true - vue-template-compiler@2.7.16: - resolution: {integrity: sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==} - - vue-tsc@1.8.27: - resolution: {integrity: sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg==} - hasBin: true - peerDependencies: - typescript: '*' - w3c-xmlserializer@5.0.0: resolution: {integrity: sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA==} engines: {node: '>=18'} @@ -8164,11 +7970,6 @@ packages: resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==} engines: {node: '>=18'} - z-schema@5.0.5: - resolution: {integrity: sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q==} - engines: {node: '>=8.0.0'} - hasBin: true - zip-stream@6.0.1: resolution: {integrity: sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA==} engines: {node: '>= 14'} @@ -9214,41 +9015,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@microsoft/api-extractor-model@7.28.13(@types/node@20.16.13)': - dependencies: - '@microsoft/tsdoc': 0.14.2 - '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@20.16.13) - transitivePeerDependencies: - - '@types/node' - - '@microsoft/api-extractor@7.43.0(@types/node@20.16.13)': - dependencies: - '@microsoft/api-extractor-model': 7.28.13(@types/node@20.16.13) - '@microsoft/tsdoc': 0.14.2 - '@microsoft/tsdoc-config': 0.16.2 - '@rushstack/node-core-library': 4.0.2(@types/node@20.16.13) - '@rushstack/rig-package': 0.5.2 - '@rushstack/terminal': 0.10.0(@types/node@20.16.13) - '@rushstack/ts-command-line': 4.19.1(@types/node@20.16.13) - lodash: 4.17.21 - minimatch: 3.0.8 - resolve: 1.22.8 - semver: 7.5.4 - source-map: 0.6.1 - typescript: 5.4.2 - transitivePeerDependencies: - - '@types/node' - - '@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.35.9': dependencies: '@open-draft/deferred-promise': 2.2.0 @@ -10061,14 +9827,6 @@ snapshots: optionalDependencies: rollup: 3.29.1 - '@rollup/pluginutils@5.1.4(rollup@3.29.1)': - dependencies: - '@types/estree': 1.0.6 - estree-walker: 2.0.2 - picomatch: 4.0.2 - optionalDependencies: - rollup: 3.29.1 - '@rollup/rollup-android-arm-eabi@4.24.0': optional: true @@ -10119,38 +9877,6 @@ snapshots: '@rtsao/scc@1.1.0': {} - '@rushstack/node-core-library@4.0.2(@types/node@20.16.13)': - dependencies: - fs-extra: 7.0.1 - import-lazy: 4.0.0 - jju: 1.4.0 - resolve: 1.22.8 - semver: 7.5.4 - z-schema: 5.0.5 - optionalDependencies: - '@types/node': 20.16.13 - - '@rushstack/rig-package@0.5.2': - dependencies: - resolve: 1.22.8 - strip-json-comments: 3.1.1 - - '@rushstack/terminal@0.10.0(@types/node@20.16.13)': - dependencies: - '@rushstack/node-core-library': 4.0.2(@types/node@20.16.13) - supports-color: 8.1.1 - optionalDependencies: - '@types/node': 20.16.13 - - '@rushstack/ts-command-line@4.19.1(@types/node@20.16.13)': - dependencies: - '@rushstack/terminal': 0.10.0(@types/node@20.16.13) - '@types/argparse': 1.0.38 - argparse: 1.0.10 - string-argv: 0.3.2 - transitivePeerDependencies: - - '@types/node' - '@sentry-internal/feedback@7.120.2': dependencies: '@sentry/core': 7.120.2 @@ -10377,8 +10103,6 @@ snapshots: dependencies: '@types/estree': 1.0.6 - '@types/argparse@1.0.38': {} - '@types/aria-query@5.0.4': optional: true @@ -11179,48 +10903,6 @@ snapshots: loupe: 3.1.2 tinyrainbow: 1.2.0 - '@volar/language-core@1.11.1': - dependencies: - '@volar/source-map': 1.11.1 - - '@volar/source-map@1.11.1': - dependencies: - muggle-string: 0.3.1 - - '@volar/typescript@1.11.1': - dependencies: - '@volar/language-core': 1.11.1 - path-browserify: 1.0.1 - - '@vue/compiler-core@3.5.13': - dependencies: - '@babel/parser': 7.26.3 - '@vue/shared': 3.5.13 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.1 - - '@vue/compiler-dom@3.5.13': - dependencies: - '@vue/compiler-core': 3.5.13 - '@vue/shared': 3.5.13 - - '@vue/language-core@1.8.27(typescript@5.7.2)': - dependencies: - '@volar/language-core': 1.11.1 - '@volar/source-map': 1.11.1 - '@vue/compiler-dom': 3.5.13 - '@vue/shared': 3.5.13 - computeds: 0.0.1 - minimatch: 9.0.5 - muggle-string: 0.3.1 - path-browserify: 1.0.1 - vue-template-compiler: 2.7.16 - optionalDependencies: - typescript: 5.7.2 - - '@vue/shared@3.5.13': {} - '@wdio/config@8.40.6': dependencies: '@wdio/logger': 8.38.0 @@ -11957,8 +11639,6 @@ snapshots: transitivePeerDependencies: - supports-color - computeds@0.0.1: {} - concat-map@0.0.1: {} confbox@0.1.8: {} @@ -12112,8 +11792,6 @@ snapshots: dependencies: '@babel/runtime': 7.25.7 - de-indent@1.0.2: {} - debug@2.6.9: dependencies: ms: 2.0.0 @@ -12330,7 +12008,8 @@ snapshots: ansi-colors: 4.1.3 strip-ansi: 6.0.1 - entities@4.5.0: {} + entities@4.5.0: + optional: true err-code@2.0.3: {} @@ -12874,8 +12553,6 @@ snapshots: '@types/estree-jsx': 1.0.5 '@types/unist': 2.0.11 - estree-walker@2.0.2: {} - estree-walker@3.0.3: dependencies: '@types/estree': 1.0.6 @@ -13357,8 +13034,6 @@ snapshots: hast-util-whitespace@2.0.1: {} - he@1.2.0: {} - headers-polyfill@4.0.3: optional: true @@ -13456,8 +13131,6 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 - import-lazy@4.0.0: {} - import-meta-resolve@4.1.0: {} imurmurhash@0.1.4: {} @@ -13717,8 +13390,6 @@ snapshots: jiti@2.3.3: optional: true - jju@1.4.0: {} - jotai@2.10.1(@types/react@18.3.11)(react@18.3.1): optionalDependencies: '@types/react': 18.3.11 @@ -13835,8 +13506,6 @@ snapshots: kleur@4.1.5: {} - kolorist@1.8.0: {} - ky@0.33.3: {} kysely@0.27.4: {} @@ -13966,8 +13635,6 @@ snapshots: lodash.debounce@4.0.8: {} - lodash.get@4.4.2: {} - lodash.isequal@4.5.0: {} lodash.merge@4.6.2: {} @@ -14009,10 +13676,6 @@ snapshots: dependencies: yallist: 3.1.1 - lru-cache@6.0.0: - dependencies: - yallist: 4.0.0 - lru-cache@7.18.3: {} lucide-react@0.460.0(react@18.3.1): @@ -14559,10 +14222,6 @@ snapshots: mimic-response@4.0.0: {} - minimatch@3.0.8: - dependencies: - brace-expansion: 1.1.11 - minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 @@ -14693,8 +14352,6 @@ snapshots: typescript: 5.7.2 optional: true - muggle-string@0.3.1: {} - mute-stream@1.0.0: optional: true @@ -15117,8 +14774,6 @@ snapshots: picomatch@2.3.1: {} - picomatch@4.0.2: {} - pidtree@0.6.0: {} pify@2.3.0: {} @@ -15636,11 +15291,6 @@ snapshots: resolve.exports@2.0.3: {} - 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.1 @@ -15749,10 +15399,6 @@ snapshots: semver@6.3.1: {} - semver@7.5.4: - dependencies: - lru-cache: 6.0.0 - semver@7.6.3: {} send@0.19.0: @@ -15919,8 +15565,6 @@ snapshots: strict-event-emitter@0.5.1: optional: true - string-argv@0.3.2: {} - string-hash@1.1.3: {} string-width@4.2.3: @@ -16043,10 +15687,6 @@ snapshots: dependencies: has-flag: 4.0.0 - supports-color@8.1.1: - dependencies: - has-flag: 4.0.0 - supports-color@9.4.0: {} supports-preserve-symlinks-flag@1.0.0: {} @@ -16422,8 +16062,6 @@ snapshots: - eslint - supports-color - typescript@5.4.2: {} - typescript@5.6.3: {} typescript@5.7.2: {} @@ -16585,8 +16223,6 @@ snapshots: validate-npm-package-name@5.0.1: {} - validator@13.12.0: {} - vary@1.1.2: {} vfile-message@3.1.4: @@ -16690,34 +16326,6 @@ snapshots: - supports-color - terser - vite-plugin-dts@3.9.1(@types/node@20.16.13)(rollup@3.29.1)(typescript@5.7.2)(vite@4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0)): - dependencies: - '@microsoft/api-extractor': 7.43.0(@types/node@20.16.13) - '@rollup/pluginutils': 5.1.4(rollup@3.29.1) - '@vue/language-core': 1.8.27(typescript@5.7.2) - debug: 4.3.7(supports-color@9.4.0) - kolorist: 1.8.0 - magic-string: 0.30.12 - typescript: 5.7.2 - vue-tsc: 1.8.27(typescript@5.7.2) - optionalDependencies: - vite: 4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0) - transitivePeerDependencies: - - '@types/node' - - rollup - - supports-color - - vite-tsconfig-paths@4.3.2(typescript@5.7.2)(vite@4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0)): - dependencies: - debug: 4.3.7(supports-color@9.4.0) - globrex: 0.1.2 - tsconfck: 3.1.4(typescript@5.7.2) - optionalDependencies: - vite: 4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0) - transitivePeerDependencies: - - supports-color - - typescript - vite-tsconfig-paths@4.3.2(typescript@5.7.2)(vite@5.4.9(@types/node@22.10.1)(lightningcss@1.27.0)(terser@5.36.0)): dependencies: debug: 4.3.7(supports-color@9.4.0) @@ -16729,17 +16337,6 @@ snapshots: - supports-color - typescript - vite@4.5.5(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0): - dependencies: - esbuild: 0.18.20 - postcss: 8.4.49 - rollup: 3.29.1 - optionalDependencies: - '@types/node': 20.16.13 - fsevents: 2.3.3 - lightningcss: 1.27.0 - terser: 5.36.0 - vite@5.4.9(@types/node@20.16.13)(lightningcss@1.27.0)(terser@5.36.0): dependencies: esbuild: 0.21.5 @@ -16974,18 +16571,6 @@ snapshots: - supports-color - terser - vue-template-compiler@2.7.16: - dependencies: - de-indent: 1.0.2 - he: 1.2.0 - - vue-tsc@1.8.27(typescript@5.7.2): - dependencies: - '@volar/typescript': 1.11.1 - '@vue/language-core': 1.8.27(typescript@5.7.2) - semver: 7.6.3 - typescript: 5.7.2 - w3c-xmlserializer@5.0.0: dependencies: xml-name-validator: 5.0.0 @@ -17270,14 +16855,6 @@ snapshots: yoctocolors-cjs@2.1.2: optional: true - z-schema@5.0.5: - dependencies: - lodash.get: 4.4.2 - lodash.isequal: 4.5.0 - validator: 13.12.0 - optionalDependencies: - commander: 9.5.0 - zip-stream@6.0.1: dependencies: archiver-utils: 5.0.2