diff --git a/dev-packages/e2e-tests/test-applications/create-react-app/package.json b/dev-packages/e2e-tests/test-applications/create-react-app/package.json index 0c2bc337d396..795ea417bff3 100644 --- a/dev-packages/e2e-tests/test-applications/create-react-app/package.json +++ b/dev-packages/e2e-tests/test-applications/create-react-app/package.json @@ -19,7 +19,6 @@ "eject": "react-scripts eject", "clean": "npx rimraf node_modules pnpm-lock.yaml", "test:build": "pnpm install && pnpm build", - "test:build-ts3.8": "pnpm install && pnpm add typescript@3.8 && pnpm build", "test:build-canary": "pnpm install && pnpm add react@canary react-dom@canary && pnpm build", "test:assert": "pnpm -v" }, @@ -43,13 +42,5 @@ }, "volta": { "extends": "../../package.json" - }, - "sentryTest": { - "variants": [ - { - "build-command": "pnpm test:build-ts3.8", - "label": "create-react-app (TS 3.8)" - } - ] } } diff --git a/dev-packages/e2e-tests/test-applications/generic-ts3.8/.npmrc b/dev-packages/e2e-tests/test-applications/generic-ts3.8/.npmrc deleted file mode 100644 index 070f80f05092..000000000000 --- a/dev-packages/e2e-tests/test-applications/generic-ts3.8/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -@sentry:registry=http://127.0.0.1:4873 -@sentry-internal:registry=http://127.0.0.1:4873 diff --git a/dev-packages/e2e-tests/test-applications/generic-ts3.8/index.ts b/dev-packages/e2e-tests/test-applications/generic-ts3.8/index.ts deleted file mode 100644 index beb10260da38..000000000000 --- a/dev-packages/e2e-tests/test-applications/generic-ts3.8/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as _SentryReplay from '@sentry-internal/replay'; -import * as _SentryBrowser from '@sentry/browser'; -import * as _SentryCore from '@sentry/core'; -import * as _SentryNode from '@sentry/node'; -import * as _SentryWasm from '@sentry/wasm'; diff --git a/dev-packages/e2e-tests/test-applications/generic-ts3.8/package.json b/dev-packages/e2e-tests/test-applications/generic-ts3.8/package.json deleted file mode 100644 index fbd40cebcb07..000000000000 --- a/dev-packages/e2e-tests/test-applications/generic-ts3.8/package.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "name": "@sentry-internal/ts3.8-test", - "private": true, - "license": "MIT", - "scripts": { - "build:types": "pnpm run type-check", - "ts-version": "tsc --version", - "type-check": "tsc --project tsconfig.json", - "test:build": "pnpm install && pnpm run build:types", - "test:assert": "pnpm -v" - }, - "devDependencies": { - "typescript": "3.8.3", - "@types/node": "^14.0.0" - }, - "dependencies": { - "@sentry/browser": "latest || *", - "@sentry/core": "latest || *", - "@sentry/node": "latest || *", - "@sentry-internal/replay": "latest || *", - "@sentry/wasm": "latest || *" - }, - "volta": { - "extends": "../../package.json" - } -} diff --git a/dev-packages/e2e-tests/test-applications/generic-ts3.8/tsconfig.json b/dev-packages/e2e-tests/test-applications/generic-ts3.8/tsconfig.json deleted file mode 100644 index 95de9c93fc38..000000000000 --- a/dev-packages/e2e-tests/test-applications/generic-ts3.8/tsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "include": ["index.ts"], - "compilerOptions": { - "lib": ["es2018", "DOM"], - "skipLibCheck": false, - "noEmit": true, - "types": [], - "target": "es2018", - "moduleResolution": "node" - } -} diff --git a/dev-packages/e2e-tests/test-applications/react-router-6/package.json b/dev-packages/e2e-tests/test-applications/react-router-6/package.json index 20d9b4f85f18..f5c96b0413e1 100644 --- a/dev-packages/e2e-tests/test-applications/react-router-6/package.json +++ b/dev-packages/e2e-tests/test-applications/react-router-6/package.json @@ -21,7 +21,6 @@ "test": "playwright test", "clean": "npx rimraf node_modules pnpm-lock.yaml", "test:build": "pnpm install && pnpm build", - "test:build-ts3.8": "pnpm install && pnpm add typescript@3.8 && pnpm build", "test:build-canary": "pnpm install && pnpm add react@canary react-dom@canary && pnpm build", "test:assert": "pnpm test" }, @@ -51,13 +50,5 @@ }, "volta": { "extends": "../../package.json" - }, - "sentryTest": { - "variants": [ - { - "build-command": "pnpm test:build-ts3.8", - "label": "react-router-6 (TS 3.8)" - } - ] } } diff --git a/dev-packages/e2e-tests/test-applications/react-router-7-spa/package.json b/dev-packages/e2e-tests/test-applications/react-router-7-spa/package.json index aadbe6b3d736..ba875e688c26 100644 --- a/dev-packages/e2e-tests/test-applications/react-router-7-spa/package.json +++ b/dev-packages/e2e-tests/test-applications/react-router-7-spa/package.json @@ -24,7 +24,6 @@ "test": "playwright test", "clean": "npx rimraf node_modules pnpm-lock.yaml", "test:build": "pnpm install && pnpm build", - "test:build-ts3.8": "pnpm install && pnpm add typescript@3.8 && pnpm build", "test:build-canary": "pnpm install && pnpm add react@canary react-dom@canary && pnpm build", "test:assert": "pnpm test" }, @@ -49,14 +48,6 @@ "volta": { "extends": "../../package.json" }, - "sentryTest": { - "variants": [ - { - "build-command": "pnpm test:build-ts3.8", - "label": "react-router-7-spa (TS 3.8)" - } - ] - }, "pnpm": { "overrides": { "esbuild": "0.24.0" diff --git a/dev-packages/rollup-utils/npmHelpers.mjs b/dev-packages/rollup-utils/npmHelpers.mjs index 02a521d86926..dd7b3321b012 100644 --- a/dev-packages/rollup-utils/npmHelpers.mjs +++ b/dev-packages/rollup-utils/npmHelpers.mjs @@ -10,12 +10,14 @@ import * as path from 'path'; import { fileURLToPath } from 'url'; import deepMerge from 'deepmerge'; import { defineConfig } from 'rolldown'; +import { dts as makeDtsPlugin } from 'rolldown-plugin-dts'; import { makeDebugBuildStatementReplacePlugin, makeProductionReplacePlugin, makeRrwebBuildPlugin, } from './plugins/index.mjs'; import { makePackageNodeEsm } from './plugins/make-esm-plugin.mjs'; +import { makeMoveDtsPlugin } from './plugins/move-dts-plugin.mjs'; import { mergePlugins } from './utils.mjs'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); @@ -131,6 +133,12 @@ export function makeNPMConfigVariants(baseConfig, options = {}) { } if (emitEsm) { + const hasTypes = fs.existsSync(path.resolve(process.cwd(), './tsconfig.types.json')); + const dts = makeDtsPlugin({ + tsconfig: path.resolve(process.cwd(), hasTypes ? './tsconfig.types.json' : './tsconfig.json'), + tsgo: true, + }); + if (splitDevProd) { variantSpecificConfigs.push({ output: { @@ -139,19 +147,22 @@ export function makeNPMConfigVariants(baseConfig, options = {}) { plugins: [makePackageNodeEsm()], }, }); + variantSpecificConfigs.push({ + plugins: [dts], output: { format: 'esm', dir: path.join(baseConfig.output.dir, 'esm/prod'), - plugins: [makeProductionReplacePlugin(), makePackageNodeEsm()], + plugins: [makeProductionReplacePlugin(), makePackageNodeEsm(), makeMoveDtsPlugin()], }, }); } else { variantSpecificConfigs.push({ + plugins: [dts], output: { format: 'esm', dir: path.join(baseConfig.output.dir, 'esm'), - plugins: [makePackageNodeEsm()], + plugins: [makePackageNodeEsm(), makeMoveDtsPlugin()], }, }); } diff --git a/dev-packages/rollup-utils/plugins/move-dts-plugin.mjs b/dev-packages/rollup-utils/plugins/move-dts-plugin.mjs new file mode 100644 index 000000000000..6c5b9b08d1a4 --- /dev/null +++ b/dev-packages/rollup-utils/plugins/move-dts-plugin.mjs @@ -0,0 +1,73 @@ +import fs from 'node:fs'; +import fsPromises from 'node:fs/promises'; +import path from 'node:path'; + +/** + * Plugin that moves all .d.ts and .d.ts.map files from build/esm to build/types after the build completes. + * This preserves the directory structure within the types directory. + * Optimized for speed with parallel file operations. + */ +export function makeMoveDtsPlugin() { + return { + name: 'move-dts-files', + async writeBundle() { + const buildEsmDir = path.resolve(process.cwd(), 'build/esm'); + const buildTypesDir = path.resolve(process.cwd(), 'build/types'); + + // Check if build/esm exists + if (!fs.existsSync(buildEsmDir)) { + return; + } + + // Ensure build/types directory exists (recursive handles existing dirs) + await fsPromises.mkdir(buildTypesDir, { recursive: true }); + + /** + * Recursively find all .d.ts and .d.ts.map files in a directory + * @param {string} dir - Directory to search + * @param {string} baseDir - Base directory for relative path calculation + * @returns {Array<{relativePath: string, fullPath: string, targetPath: string}>} Array of file info objects + */ + function findDtsFiles(dir, baseDir = dir) { + const files = []; + const entries = fs.readdirSync(dir, { withFileTypes: true }); + + for (const entry of entries) { + const fullPath = path.join(dir, entry.name); + const relativePath = path.relative(baseDir, fullPath); + + if (entry.isDirectory()) { + files.push(...findDtsFiles(fullPath, baseDir)); + } else if (entry.isFile() && (entry.name.endsWith('.d.ts') || entry.name.endsWith('.d.ts.map'))) { + const targetPath = path.join(buildTypesDir, relativePath); + files.push({ relativePath, fullPath, targetPath }); + } + } + + return files; + } + + const dtsFiles = findDtsFiles(buildEsmDir); + + // Early exit if no files to move + if (dtsFiles.length === 0) { + return; + } + + // Collect all unique directories that need to be created + const dirsToCreate = new Set(); + for (const { targetPath } of dtsFiles) { + const targetDir = path.dirname(targetPath); + if (targetDir !== buildTypesDir) { + dirsToCreate.add(targetDir); + } + } + + // Create all directories in parallel + await Promise.all(Array.from(dirsToCreate).map(dir => fsPromises.mkdir(dir, { recursive: true }))); + + // Move all files in parallel + await Promise.all(dtsFiles.map(({ fullPath, targetPath }) => fsPromises.rename(fullPath, targetPath))); + }, + }; +} diff --git a/dev-packages/rollup-utils/plugins/npmPlugins.mjs b/dev-packages/rollup-utils/plugins/npmPlugins.mjs index dfe40039b115..898fb95eb091 100644 --- a/dev-packages/rollup-utils/plugins/npmPlugins.mjs +++ b/dev-packages/rollup-utils/plugins/npmPlugins.mjs @@ -4,6 +4,8 @@ import { replacePlugin } from 'rolldown/plugins'; +export { makeMoveDtsPlugin } from './move-dts-plugin.mjs'; + /** * Create a plugin which can be used to pause the build process at the given hook. * diff --git a/nx.json b/nx.json index d4a90a3a6777..0ec797427f01 100644 --- a/nx.json +++ b/nx.json @@ -41,13 +41,8 @@ }, "build:types": { "inputs": ["production", "^production"], - "dependsOn": ["^build:types"], - "outputs": [ - "{projectRoot}/build/types", - "{projectRoot}/build/types-ts3.8", - "{projectRoot}/build/npm/types", - "{projectRoot}/build/npm/types-ts3.8" - ] + "dependsOn": ["build:transpile", "^build:transpile", "^build:types"], + "outputs": ["{projectRoot}/build/types", "{projectRoot}/build/npm/types"] }, "lint": { "inputs": ["default"], diff --git a/package.json b/package.json index 5473e884ad14..fddbbd5e51a9 100644 --- a/package.json +++ b/package.json @@ -108,9 +108,9 @@ "@size-limit/webpack": "~11.1.6", "@types/jsdom": "^21.1.6", "@types/node": "^18.19.1", + "@typescript/native-preview": "^7.0.0-dev.20251210.1", "@vitest/coverage-v8": "^3.2.4", "deepmerge": "^4.2.2", - "downlevel-dts": "~0.11.0", "es-check": "^7.2.1", "eslint": "8.57.0", "jsdom": "^21.1.2", @@ -122,6 +122,7 @@ "prettier-plugin-astro": "^0.14.1", "rimraf": "^5.0.10", "rolldown": "^1.0.0-beta.55", + "rolldown-plugin-dts": "^0.18.3", "size-limit": "~11.1.6", "ts-node": "10.9.1", "typescript": "~5.8.0", diff --git a/packages/astro/package.json b/packages/astro/package.json index b77da1837e63..217f651d9850 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -33,7 +33,7 @@ "require": "./build/cjs/index.server.js" }, "./middleware": { - "types": "./build/types/integration/middleware/index.types.d.ts", + "types": "./build/types/integration/middleware/index.d.ts", "node": "./build/esm/integration/middleware/index.js", "import": "./build/esm/integration/middleware/index.js", "require": "./build/cjs/integration/middleware/index.js" @@ -69,11 +69,10 @@ "build": "run-p build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "tsc -p tsconfig.types.json", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", "clean": "rimraf build coverage sentry-astro-*.tgz", diff --git a/packages/astro/rollup.npm.config.mjs b/packages/astro/rollup.npm.config.mjs index ca3b338433a7..6a95369188d2 100644 --- a/packages/astro/rollup.npm.config.mjs +++ b/packages/astro/rollup.npm.config.mjs @@ -2,7 +2,12 @@ import { makeBaseNPMConfig, makeNPMConfigVariants, makeOtelLoaders } from '@sent const variants = makeNPMConfigVariants( makeBaseNPMConfig({ - entrypoints: ['src/index.server.ts', 'src/index.client.ts', 'src/integration/middleware/index.ts'], + entrypoints: [ + 'src/index.server.ts', + 'src/index.client.ts', + 'src/index.types.ts', + 'src/integration/middleware/index.ts', + ], packageSpecificConfig: { output: { dynamicImportInCjs: true, diff --git a/packages/aws-serverless/package.json b/packages/aws-serverless/package.json index 1ee52baf9c1d..5c20304e7154 100644 --- a/packages/aws-serverless/package.json +++ b/packages/aws-serverless/package.json @@ -54,13 +54,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -79,17 +72,14 @@ "@vercel/nft": "^0.29.4" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:layer": "rimraf build/aws && rolldown -c rollup.lambda-extension.config.mjs && yarn ts-node scripts/buildLambdaLayer.ts", - "build:dev": "run-p build:transpile build:types", + "build:dev": "run-s build:transpile build:types", "build:transpile": "rolldown -c rollup.npm.config.mjs && yarn build:layer", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build dist-awslambda-layer coverage sentry-serverless-*.tgz", diff --git a/packages/browser-utils/package.json b/packages/browser-utils/package.json index b8250a481024..bbf582c188d8 100644 --- a/packages/browser-utils/package.json +++ b/packages/browser-utils/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -42,16 +35,13 @@ "@sentry/core": "10.32.1" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "run-p build:transpile:watch build:types:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "clean": "rimraf build coverage sentry-internal-browser-utils-*.tgz", "fix": "eslint . --format stylish --fix", diff --git a/packages/browser/package.json b/packages/browser/package.json index cff811f1e527..baa8bbb59cab 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -33,13 +33,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -55,18 +48,15 @@ "fake-indexeddb": "^6.2.4" }, "scripts": { - "build": "run-p build:transpile build:bundle build:types", - "build:dev": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types build:bundle", + "build:dev": "run-s build:transpile build:types", "build:bundle": "rolldown -c rollup.bundle.config.mjs", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", "build:dev:watch": "run-p build:transpile:watch build:types:watch", "build:bundle:watch": "rolldown -c rollup.bundle.config.mjs --watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage .rpt2_cache sentry-browser-*.tgz", diff --git a/packages/bun/package.json b/packages/bun/package.json index 34bedfda766b..03a1de617d39 100644 --- a/packages/bun/package.json +++ b/packages/bun/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -46,16 +39,13 @@ "bun-types": "^1.2.9" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-bun-*.tgz", diff --git a/packages/cloudflare/package.json b/packages/cloudflare/package.json index 2e8c4d17f8ed..ea97800a41b1 100644 --- a/packages/cloudflare/package.json +++ b/packages/cloudflare/package.json @@ -38,13 +38,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -66,16 +59,13 @@ "wrangler": "4.22.0" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-cloudflare-*.tgz", diff --git a/packages/core/package.json b/packages/core/package.json index 90bd8876e630..5a5abdbc2deb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -28,27 +28,17 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-core-*.tgz", diff --git a/packages/deno/package.json b/packages/deno/package.json index f3517f4a9ba1..72ab5651b221 100644 --- a/packages/deno/package.json +++ b/packages/deno/package.json @@ -7,12 +7,12 @@ "author": "Sentry", "license": "MIT", "module": "build/index.mjs", - "types": "build/index.d.ts", + "types": "build/types/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "import": { - "types": "./build/esm/index.d.ts", + "types": "./build/types/index.d.ts", "default": "./build/esm/index.js" } } @@ -32,7 +32,7 @@ "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "yarn deno-types && rolldown -c rollup.npm.config.mjs", - "build:types": "tsc -p tsconfig.types.json", + "build:types": "echo \"Types included with build\"", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build build-types build-test coverage node_modules/.deno sentry-deno-*.tgz", diff --git a/packages/feedback/package.json b/packages/feedback/package.json index 7058916a5eda..97e67d9f72dd 100644 --- a/packages/feedback/package.json +++ b/packages/feedback/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -45,18 +38,15 @@ "preact": "^10.19.4" }, "scripts": { - "build": "run-p build:transpile build:types build:bundle", + "build": "run-s build:transpile build:types build:bundle", "build:transpile": "rolldown -c rollup.npm.config.mjs", "build:bundle": "rolldown -c rollup.bundle.config.mjs", - "build:dev": "run-p build:transpile build:types", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8 && yarn node ./scripts/shim-preact-export.js", + "build:dev": "run-s build:transpile build:types", + "build:types": "yarn node ./scripts/shim-preact-export.js", "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", "build:dev:watch": "run-p build:transpile:watch build:types:watch", "build:transpile:watch": "yarn build:transpile --watch", "build:bundle:watch": "yarn build:bundle --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build sentry-internal-feedback-*.tgz", diff --git a/packages/feedback/scripts/shim-preact-export.js b/packages/feedback/scripts/shim-preact-export.js index bd74e4da0a05..69f53a2628d3 100644 --- a/packages/feedback/scripts/shim-preact-export.js +++ b/packages/feedback/scripts/shim-preact-export.js @@ -1,8 +1,8 @@ // preact does not support more modern TypeScript versions, which breaks our users that depend on older // TypeScript versions. To fix this, we shim the types from preact to be any and remove the dependency on preact -// for types directly. This script is meant to be run after the build/npm/types-ts3.8 directory is created. +// for types directly. This script is meant to be run after the build/npm/esm directory is created (where rolldown dts generates types). -// Path: build/npm/types-ts3.8/global.d.ts +// Path: build/npm/types/global.d.ts const fs = require('fs'); const path = require('path'); @@ -67,8 +67,8 @@ function walk(dir) { } function run() { - // recurse through build/npm/types-ts3.8 directory - const dir = path.join('build', 'npm', 'types-ts3.8'); + // recurse through build/npm/esm directory (where rolldown dts generates types) + const dir = path.join('build', 'npm', 'esm'); walk(dir); } diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 7769f3fac0a4..22ed8a413b01 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -34,13 +34,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -60,18 +53,15 @@ "webpack": "^5.0.0" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:plugin": "tsc -p tsconfig.plugin.json", "build:transpile": "run-p build:rollup build:plugin", "build:rollup": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage *.d.ts sentry-gatsby-*.tgz", diff --git a/packages/google-cloud-serverless/package.json b/packages/google-cloud-serverless/package.json index 9ab04f3b99fa..8e5c71f28709 100644 --- a/packages/google-cloud-serverless/package.json +++ b/packages/google-cloud-serverless/package.json @@ -37,13 +37,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -67,16 +60,13 @@ } }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-google-cloud-*.tgz", diff --git a/packages/integration-shims/package.json b/packages/integration-shims/package.json index 6799f0cdc512..88e4c398e10a 100644 --- a/packages/integration-shims/package.json +++ b/packages/integration-shims/package.json @@ -21,26 +21,16 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "sideEffects": false, "private": true, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:dev": "yarn build", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "run-p build:watch", "build:transpile:watch": "yarn build:transpile --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "clean": "rimraf build", "fix": "eslint . --format stylish --fix", "lint": "eslint . --format stylish", diff --git a/packages/nestjs/package.json b/packages/nestjs/package.json index e9a835d41e51..7f9619675baa 100644 --- a/packages/nestjs/package.json +++ b/packages/nestjs/package.json @@ -31,11 +31,11 @@ }, "./setup": { "import": { - "types": "./setup.d.ts", + "types": "./build/types/setup.d.ts", "default": "./build/esm/setup.js" }, "require": { - "types": "./setup.d.ts", + "types": "./build/types/setup.d.ts", "default": "./build/cjs/setup.js" } } @@ -66,13 +66,10 @@ "build": "run-p build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:setup", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:setup": "tsc -p tsconfig.setup-types.json", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts && madge --circular src/setup.ts", "clean": "rimraf build coverage sentry-nestjs-*.tgz ./*.d.ts ./*.d.ts.map", diff --git a/packages/nestjs/tsconfig.setup-types.json b/packages/nestjs/tsconfig.setup-types.json deleted file mode 100644 index 2ef9310f3edc..000000000000 --- a/packages/nestjs/tsconfig.setup-types.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "extends": "./tsconfig.json", - - "compilerOptions": { - "declaration": true, - "declarationMap": true, - "emitDeclarationOnly": true, - "outDir": "./" - }, - - "//": "This type is built separately because it is for a subpath export, which has problems if it is not in the root", - "include": ["src/setup.ts"], - "exclude": [] -} diff --git a/packages/nestjs/tsconfig.types.json b/packages/nestjs/tsconfig.types.json index 6240cd92efaa..65455f66bd75 100644 --- a/packages/nestjs/tsconfig.types.json +++ b/packages/nestjs/tsconfig.types.json @@ -6,8 +6,5 @@ "declarationMap": true, "emitDeclarationOnly": true, "outDir": "build/types" - }, - - "//": "This is built separately in tsconfig.setup-types.json", - "exclude": ["src/setup.ts"] + } } diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index a113781f7140..9680f44c6d7f 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -65,13 +65,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -102,16 +95,13 @@ "next": "^13.2.0 || ^14.0 || ^15.0.0-rc.0 || ^16.0.0-0" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "ts-node scripts/buildRollup.ts", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "nodemon --ext ts --watch src scripts/buildRollup.ts", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/edge/index.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", "clean": "rimraf build coverage sentry-nextjs-*.tgz", diff --git a/packages/nextjs/rollup.npm.config.mjs b/packages/nextjs/rollup.npm.config.mjs index 46d47582ab1e..0f873a2f08d6 100644 --- a/packages/nextjs/rollup.npm.config.mjs +++ b/packages/nextjs/rollup.npm.config.mjs @@ -8,6 +8,7 @@ export default [ entrypoints: [ 'src/index.server.ts', 'src/index.client.ts', + 'src/index.types.ts', 'src/client/index.ts', 'src/server/index.ts', 'src/edge/index.ts', diff --git a/packages/nextjs/tsconfig.types.json b/packages/nextjs/tsconfig.types.json index 978b51b8e126..1b9611c362d6 100644 --- a/packages/nextjs/tsconfig.types.json +++ b/packages/nextjs/tsconfig.types.json @@ -5,7 +5,6 @@ // creating types for these template files a circular exercise, which causes `tsc` to crash. Fortunately, since the // templates aren't consumed as modules (they're essentially just text files which happen to contain code), we don't // actually need to create types for them. - "exclude": ["src/config/templates/*"], "compilerOptions": { "declaration": true, diff --git a/packages/node-core/package.json b/packages/node-core/package.json index ffeee33213fe..94f0c48be06e 100644 --- a/packages/node-core/package.json +++ b/packages/node-core/package.json @@ -46,13 +46,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -83,16 +76,13 @@ "@types/node": "^18.19.1" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-node-*.tgz", diff --git a/packages/node-native/package.json b/packages/node-native/package.json index 9ee6115c14d4..3113f77cb14a 100644 --- a/packages/node-native/package.json +++ b/packages/node-native/package.json @@ -30,13 +30,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "engines": { "node": ">=18" }, @@ -52,11 +45,9 @@ "lint": "eslint . --format stylish", "lint:es-compatibility": "es-check es2022 ./build/cjs/*.js && es-check es2022 ./build/esm/*.js --module", "fix": "eslint . --format stylish --fix", - "build": "yarn build:types && yarn build:transpile", + "build": "run-s build:transpile build:types", "build:transpile": "yarn rolldown -c rollup.npm.config.mjs", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", - "build:types": "tsc -p tsconfig.types.json && yarn build:types:downlevel", - "build:types:watch": "tsc -p tsconfig.types.json --watch", + "build:types": "echo \"Types included with build\"", "build:dev": "yarn clean && yarn build", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", "build:watch": "run-p build:transpile:watch build:types:watch", diff --git a/packages/node/package.json b/packages/node/package.json index c9eae24b2e49..8cbe0070c646 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -54,13 +54,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -105,16 +98,13 @@ "@types/node": "^18.19.1" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-node-*.tgz", diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index 3b7d5df7534f..84ba7bd094f6 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -68,11 +68,10 @@ "build:dev": "yarn build", "build:nuxt-module": "bash ./generate-build-stubs.bash && nuxt-module-build build --outDir build/module", "build:transpile": "rolldown -c rollup.npm.config.mjs && yarn build:nuxt-module", - "build:types": "tsc -p tsconfig.types.json", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", "clean": "rimraf build coverage sentry-nuxt-*.tgz", @@ -92,12 +91,11 @@ "build:transpile": { "dependsOn": [ "^build:transpile", - "^build:types", - "build:types" + "^build:types" ], "outputs": [ "{projectRoot}/build/cjs", - "{projectRoot}/build/esm", + "{projectRoot}/build/types", "{projectRoot}/build/module" ] } diff --git a/packages/nuxt/rollup.npm.config.mjs b/packages/nuxt/rollup.npm.config.mjs index a94a4b5af253..80dd9703f050 100644 --- a/packages/nuxt/rollup.npm.config.mjs +++ b/packages/nuxt/rollup.npm.config.mjs @@ -8,6 +8,7 @@ export default [ 'src/index.client.ts', 'src/client/index.ts', 'src/server/index.ts', + 'src/index.types.ts', 'src/module.ts', ], packageSpecificConfig: { diff --git a/packages/opentelemetry/package.json b/packages/opentelemetry/package.json index c3c610210167..2e331b8e2d8d 100644 --- a/packages/opentelemetry/package.json +++ b/packages/opentelemetry/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -56,16 +49,13 @@ "@opentelemetry/semantic-conventions": "^1.37.0" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-opentelemetry-*.tgz", diff --git a/packages/profiling-node/package.json b/packages/profiling-node/package.json index c7169d13899f..b4e0ae9797c6 100644 --- a/packages/profiling-node/package.json +++ b/packages/profiling-node/package.json @@ -22,13 +22,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "bin": { "sentry-prune-profiler-binaries": "scripts/prune-profiler-binaries.js" }, @@ -48,11 +41,9 @@ "lint": "eslint . --format stylish", "lint:es-compatibility": "es-check es2022 ./build/cjs/*.js && es-check es2022 ./build/esm/*.js --module", "fix": "eslint . --format stylish --fix", - "build": "yarn build:types && yarn build:transpile", + "build": "run-s build:transpile build:types", "build:transpile": "yarn rolldown -c rollup.npm.config.mjs", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", - "build:types": "tsc -p tsconfig.types.json && yarn build:types:downlevel", - "build:types:watch": "tsc -p tsconfig.types.json --watch", + "build:types": "echo \"Types included with build\"", "build:dev": "yarn clean && yarn build", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", "build:watch": "run-p build:transpile:watch build:types:watch", diff --git a/packages/react-router/package.json b/packages/react-router/package.json index c42f670fb5ac..d64aa4d5f870 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -73,12 +73,10 @@ "build": "run-p build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core", - "build:types:core": "tsc -p tsconfig.types.json", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", "clean": "rimraf build coverage sentry-react-router-*.tgz", diff --git a/packages/react-router/rollup.npm.config.mjs b/packages/react-router/rollup.npm.config.mjs index d4edb3b23c9b..ef9b066669f5 100644 --- a/packages/react-router/rollup.npm.config.mjs +++ b/packages/react-router/rollup.npm.config.mjs @@ -3,7 +3,7 @@ import { makeBaseNPMConfig, makeNPMConfigVariants } from '@sentry-internal/rollu export default [ ...makeNPMConfigVariants( makeBaseNPMConfig({ - entrypoints: ['src/index.server.ts', 'src/index.client.ts', 'src/cloudflare/index.ts'], + entrypoints: ['src/index.server.ts', 'src/index.client.ts', 'src/index.types.ts', 'src/cloudflare/index.ts'], packageSpecificConfig: { external: ['react-router', 'react-router-dom', 'react', 'react/jsx-runtime', 'vite'], output: { diff --git a/packages/react/package.json b/packages/react/package.json index abf43fe5e356..4a80f44677e5 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -68,16 +61,13 @@ "redux": "^4.0.5" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-react-*.tgz", diff --git a/packages/remix/package.json b/packages/remix/package.json index 70877e7c68ed..f351de7aff50 100644 --- a/packages/remix/package.json +++ b/packages/remix/package.json @@ -57,13 +57,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -95,16 +88,13 @@ "react": "18.x" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.server.ts && madge --circular src/index.client.ts", "clean": "rimraf build coverage sentry-remix-*.tgz", diff --git a/packages/remix/rollup.npm.config.mjs b/packages/remix/rollup.npm.config.mjs index bd26bd1b06c2..d3cf8a659d4c 100644 --- a/packages/remix/rollup.npm.config.mjs +++ b/packages/remix/rollup.npm.config.mjs @@ -6,6 +6,7 @@ export default [ entrypoints: [ 'src/index.server.ts', 'src/index.client.ts', + 'src/index.types.ts', 'src/client/index.ts', 'src/server/index.ts', 'src/cloudflare/index.ts', diff --git a/packages/replay-canvas/package.json b/packages/replay-canvas/package.json index 064a367d2e11..d20e6590d328 100644 --- a/packages/replay-canvas/package.json +++ b/packages/replay-canvas/package.json @@ -18,30 +18,20 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "files": [ "/build/npm" ], "sideEffects": false, "scripts": { - "build": "run-p build:transpile build:types build:bundle", + "build": "run-s build:transpile build:types build:bundle", "build:transpile": "rolldown -c rollup.npm.config.mjs", "build:bundle": "rolldown -c rollup.bundle.config.mjs", - "build:dev": "run-p build:transpile build:types", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8", + "build:dev": "run-s build:transpile build:types", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", "build:dev:watch": "run-p build:transpile:watch build:types:watch", "build:transpile:watch": "yarn build:transpile --watch", "build:bundle:watch": "yarn build:bundle --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build sentry-replay-*.tgz", diff --git a/packages/replay-internal/package.json b/packages/replay-internal/package.json index 2da5e16878b4..37f5c3c9453a 100644 --- a/packages/replay-internal/package.json +++ b/packages/replay-internal/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "files": [ "/build/npm" ], @@ -43,18 +36,15 @@ "access": "public" }, "scripts": { - "build": "run-p build:transpile build:types build:bundle", + "build": "run-s build:transpile build:types build:bundle", "build:transpile": "rolldown -c rollup.npm.config.mjs", "build:bundle": "rolldown -c rollup.bundle.config.mjs", - "build:dev": "run-p build:transpile build:types", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8", + "build:dev": "run-s build:transpile build:types", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", "build:dev:watch": "run-p build:transpile:watch build:types:watch", "build:transpile:watch": "yarn build:transpile --watch", "build:bundle:watch": "yarn build:bundle --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build sentry-replay-*.tgz", diff --git a/packages/replay-worker/package.json b/packages/replay-worker/package.json index b5a976084524..e5c9a56b1c5d 100644 --- a/packages/replay-worker/package.json +++ b/packages/replay-worker/package.json @@ -22,30 +22,20 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "files": [ "/build" ], "sideEffects": false, "private": true, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:transpile": "rolldown -c rollup.worker.config.mjs", "build:examples": "rolldown -c rollup.examples.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:dev": "yarn build", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "yarn build:transpile --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "clean": "rimraf build", "fix": "eslint . --format stylish --fix", "lint": "eslint . --format stylish", diff --git a/packages/solid/package.json b/packages/solid/package.json index 0ca82dd2e6d3..8cc3ca693e4c 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -31,21 +31,21 @@ }, "./solidrouter": { "import": { - "types": "./solidrouter.d.ts", + "types": "./build/types/solidrouter.d.ts", "default": "./build/esm/solidrouter.js" }, "require": { - "types": "./solidrouter.d.ts", + "types": "./build/types/solidrouter.d.ts", "default": "./build/cjs/solidrouter.js" } }, "./tanstackrouter": { "import": { - "types": "./tanstackrouter.d.ts", + "types": "./build/types/tanstackrouter.d.ts", "default": "./build/esm/tanstackrouter.js" }, "require": { - "types": "./tanstackrouter.d.ts", + "types": "./build/types/tanstackrouter.d.ts", "default": "./build/cjs/tanstackrouter.js" } } @@ -85,13 +85,10 @@ "build": "run-p build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:routers", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:routers": "tsc -p tsconfig.routers-types.json", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts && madge --circular src/solidrouter.ts && madge --circular src/tanstackrouter.ts", "clean": "rimraf build coverage sentry-solid-*.tgz ./*.d.ts ./*.d.ts.map", diff --git a/packages/solid/tsconfig.routers-types.json b/packages/solid/tsconfig.routers-types.json deleted file mode 100644 index e173ebc0eb87..000000000000 --- a/packages/solid/tsconfig.routers-types.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "./tsconfig.json", - - "compilerOptions": { - "declaration": true, - "declarationMap": true, - "emitDeclarationOnly": true, - "outDir": "./" - }, - - "//": "This type is built separately because it is for a subpath export, which has problems if it is not in the root", - "include": ["src/solidrouter.ts", "src/tanstackrouter.ts"], - "//": "Without this, we cannot output into the root dir", - "exclude": [] -} diff --git a/packages/solid/tsconfig.types.json b/packages/solid/tsconfig.types.json index 510f8c4fae3f..65455f66bd75 100644 --- a/packages/solid/tsconfig.types.json +++ b/packages/solid/tsconfig.types.json @@ -6,8 +6,5 @@ "declarationMap": true, "emitDeclarationOnly": true, "outDir": "build/types" - }, - - "//": "This is built separately in tsconfig.routers-types.json", - "exclude": ["src/solidrouter.ts", "src/tanstackrouter.ts"] + } } diff --git a/packages/solidstart/package.json b/packages/solidstart/package.json index c52749d45230..c0828c74e904 100644 --- a/packages/solidstart/package.json +++ b/packages/solidstart/package.json @@ -40,14 +40,14 @@ } }, "./solidrouter": { - "types": "./solidrouter.d.ts", + "types": "./build/types/solidrouter.d.ts", "browser": { - "types": "./solidrouter.d.ts", + "types": "./build/types/solidrouter.d.ts", "import": "./build/esm/solidrouter.client.js", "require": "./build/cjs/solidrouter.client.js" }, "node": { - "types": "./solidrouter.d.ts", + "types": "./build/types/solidrouter.d.ts", "import": "./build/esm/solidrouter.server.js", "require": "./build/cjs/solidrouter.server.js" } @@ -86,13 +86,10 @@ "build": "run-p build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:subexports", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:subexports": "tsc -p tsconfig.subexports-types.json", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts && madge --circular src/solidrouter.client.ts && madge --circular src/solidrouter.server.ts && madge --circular src/solidrouter.ts", "clean": "rimraf build coverage sentry-solidstart-*.tgz ./*.d.ts ./*.d.ts.map ./client ./server", diff --git a/packages/solidstart/tsconfig.subexports-types.json b/packages/solidstart/tsconfig.subexports-types.json deleted file mode 100644 index 52dd6d1d268c..000000000000 --- a/packages/solidstart/tsconfig.subexports-types.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "extends": "./tsconfig.json", - - "compilerOptions": { - "declaration": true, - "declarationMap": true, - "emitDeclarationOnly": true, - "outDir": "./" - }, - - // These types are built separately because they are for a subpath export, which has problems if they are not in the root - "include": [ - "src/solidrouter.client.ts", - "src/client/solidrouter.ts", - "src/solidrouter.server.ts", - "src/server/solidrouter.ts", - "src/solidrouter.ts" - ], - // Without this, we cannot output into the root dir - "exclude": [] -} diff --git a/packages/solidstart/tsconfig.types.json b/packages/solidstart/tsconfig.types.json index f7cc8c3d1610..65455f66bd75 100644 --- a/packages/solidstart/tsconfig.types.json +++ b/packages/solidstart/tsconfig.types.json @@ -6,14 +6,5 @@ "declarationMap": true, "emitDeclarationOnly": true, "outDir": "build/types" - }, - - // These are built separately in tsconfig.solidrouter-types.json - "exclude": [ - "src/solidrouter.client.ts", - "src/client/solidrouter.ts", - "src/solidrouter.server.ts", - "src/server/solidrouter.ts", - "src/solidrouter.ts" - ] + } } diff --git a/packages/svelte/package.json b/packages/svelte/package.json index fa7815126fb6..46dfd1833123 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -53,16 +46,13 @@ "vite": "^3.0.0" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-svelte-*.tgz", diff --git a/packages/sveltekit/package.json b/packages/sveltekit/package.json index 2df305cb8e7e..57e0844ea5a6 100644 --- a/packages/sveltekit/package.json +++ b/packages/sveltekit/package.json @@ -68,11 +68,10 @@ "build": "run-p build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "tsc -p tsconfig.types.json", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", "clean": "rimraf build coverage sentry-sveltekit-*.tgz", diff --git a/packages/sveltekit/rollup.npm.config.mjs b/packages/sveltekit/rollup.npm.config.mjs index ca0792cb4868..1db5e025c44c 100644 --- a/packages/sveltekit/rollup.npm.config.mjs +++ b/packages/sveltekit/rollup.npm.config.mjs @@ -6,6 +6,7 @@ export default makeNPMConfigVariants( 'src/index.server.ts', 'src/index.client.ts', 'src/index.worker.ts', + 'src/index.types.ts', 'src/client/index.ts', 'src/server/index.ts', 'src/worker/index.ts', diff --git a/packages/tanstackstart-react/package.json b/packages/tanstackstart-react/package.json index 38069d633237..9d3463b8993e 100644 --- a/packages/tanstackstart-react/package.json +++ b/packages/tanstackstart-react/package.json @@ -39,13 +39,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -58,16 +51,13 @@ "@sentry/react": "10.32.1" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "nodemon --ext ts --watch src scripts/buildRollup.ts", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", "clean": "rimraf build coverage sentry-tanstackstart-react-*.tgz", diff --git a/packages/tanstackstart/package.json b/packages/tanstackstart/package.json index 11ea0eb72f13..bd1a7d53c46b 100644 --- a/packages/tanstackstart/package.json +++ b/packages/tanstackstart/package.json @@ -29,27 +29,17 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "nodemon --ext ts --watch src scripts/buildRollup.ts", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", "clean": "rimraf build coverage sentry-tanstackstart-*.tgz", diff --git a/packages/types/package.json b/packages/types/package.json index 7f8a139f0da6..a70018a1df38 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -28,27 +28,17 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "clean": "rimraf build sentry-types-*.tgz", "lint": "eslint . --format stylish", diff --git a/packages/vercel-edge/package.json b/packages/vercel-edge/package.json index fdfba452684a..41c16c4b25ab 100644 --- a/packages/vercel-edge/package.json +++ b/packages/vercel-edge/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -51,16 +44,13 @@ "@sentry/opentelemetry": "10.32.1" }, "scripts": { - "build": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", "build:dev": "yarn build", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "yarn build:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts", "clean": "rimraf build coverage sentry-vercel-edge-*.tgz", diff --git a/packages/vue/package.json b/packages/vue/package.json index ff87271dab65..58378b1e97c0 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -31,22 +31,15 @@ }, "./tanstackrouter": { "import": { - "types": "./tanstackrouter.d.ts", + "types": "./build/types/tanstackrouter.d.ts", "default": "./build/esm/tanstackrouter.js" }, "require": { - "types": "./tanstackrouter.d.ts", + "types": "./build/types/tanstackrouter.d.ts", "default": "./build/cjs/tanstackrouter.js" } } }, - "typesVersions": { - "<5.0": { - "build/types/index.d.ts": [ - "build/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -72,17 +65,13 @@ "vue": "~3.2.41" }, "scripts": { - "build": "run-p build:transpile build:types", - "build:dev": "run-p build:transpile build:types", + "build": "run-s build:transpile build:types", + "build:dev": "run-s build:transpile build:types", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:router build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:router": "tsc -p tsconfig.router-types.json", - "build:types:downlevel": "yarn downlevel-dts build/types build/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:types:watch", "build:dev:watch": "run-p build:transpile:watch build:types:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "circularDepCheck": "madge --circular src/index.ts && madge --circular src/tanstackrouter.ts", "clean": "rimraf build coverage sentry-vue-*.tgz", diff --git a/packages/wasm/package.json b/packages/wasm/package.json index 39d19667a9f2..113e5101ecef 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -28,13 +28,6 @@ } } }, - "typesVersions": { - "<5.0": { - "build/npm/types/index.d.ts": [ - "build/npm/types-ts3.8/index.d.ts" - ] - } - }, "publishConfig": { "access": "public" }, @@ -43,18 +36,15 @@ "@sentry/core": "10.32.1" }, "scripts": { - "build": "run-p build:transpile build:bundle build:types", + "build": "run-s build:transpile build:types build:bundle", "build:bundle": "rolldown --config rollup.bundle.config.mjs", - "build:dev": "run-p build:transpile build:types", + "build:dev": "run-s build:transpile build:types", "build:transpile": "rolldown -c rollup.npm.config.mjs", - "build:types": "run-s build:types:core build:types:downlevel", - "build:types:core": "tsc -p tsconfig.types.json", - "build:types:downlevel": "yarn downlevel-dts build/npm/types build/npm/types-ts3.8 --to ts3.8", + "build:types": "echo \"Types included with build\"", "build:watch": "run-p build:transpile:watch build:bundle:watch build:types:watch", "build:bundle:watch": "rolldown --config rollup.bundle.config.mjs --watch", "build:dev:watch": "run-p build:transpile:watch build:types:watch", "build:transpile:watch": "rolldown -c rollup.npm.config.mjs --watch", - "build:types:watch": "tsc -p tsconfig.types.json --watch", "build:tarball": "npm pack", "test": "vitest run", "test:watch": "vitest --watch", diff --git a/yarn.lock b/yarn.lock index d6024d517ef1..2c7e40f0e76c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1354,15 +1354,15 @@ "@jridgewell/gen-mapping" "^0.3.2" jsesc "^2.5.1" -"@babel/generator@^7.18.10", "@babel/generator@^7.21.5", "@babel/generator@^7.22.10", "@babel/generator@^7.23.6", "@babel/generator@^7.27.5": - version "7.27.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.27.5.tgz#3eb01866b345ba261b04911020cbe22dd4be8c8c" - integrity sha512-ZGhA37l0e/g2s1Cnzdix0O3aLYm66eF8aufiVteOgnwxgnRP8GoyMj7VWsgWnQbVKXyge7hqrFh2K2TQM6t1Hw== - dependencies: - "@babel/parser" "^7.27.5" - "@babel/types" "^7.27.3" - "@jridgewell/gen-mapping" "^0.3.5" - "@jridgewell/trace-mapping" "^0.3.25" +"@babel/generator@^7.18.10", "@babel/generator@^7.21.5", "@babel/generator@^7.22.10", "@babel/generator@^7.23.6", "@babel/generator@^7.27.5", "@babel/generator@^7.28.5": + version "7.28.5" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.28.5.tgz#712722d5e50f44d07bc7ac9fe84438742dd61298" + integrity sha512-3EwLFhZ38J4VyIP6WNtt2kUdW9dokXA9Cr4IVIFHuCpZ3H8/YFOl5JjZHisrn1fATPBmKKqXzDFvh9fUwHz6CQ== + dependencies: + "@babel/parser" "^7.28.5" + "@babel/types" "^7.28.5" + "@jridgewell/gen-mapping" "^0.3.12" + "@jridgewell/trace-mapping" "^0.3.28" jsesc "^3.0.2" "@babel/helper-annotate-as-pure@7.18.6": @@ -1553,10 +1553,10 @@ resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687" integrity sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA== -"@babel/helper-validator-identifier@^7.22.20", "@babel/helper-validator-identifier@^7.27.1": - version "7.27.1" - resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz#a7054dcc145a967dd4dc8fee845a57c1316c9df8" - integrity sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow== +"@babel/helper-validator-identifier@^7.22.20", "@babel/helper-validator-identifier@^7.27.1", "@babel/helper-validator-identifier@^7.28.5": + version "7.28.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.28.5.tgz#010b6938fab7cb7df74aa2bbc06aa503b8fe5fb4" + integrity sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q== "@babel/helper-validator-option@^7.18.6", "@babel/helper-validator-option@^7.23.5", "@babel/helper-validator-option@^7.25.9", "@babel/helper-validator-option@^7.27.1": version "7.27.1" @@ -1587,12 +1587,12 @@ dependencies: "@babel/types" "^7.26.9" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.4", "@babel/parser@^7.18.10", "@babel/parser@^7.20.7", "@babel/parser@^7.21.8", "@babel/parser@^7.22.10", "@babel/parser@^7.22.16", "@babel/parser@^7.22.5", "@babel/parser@^7.23.5", "@babel/parser@^7.23.6", "@babel/parser@^7.23.9", "@babel/parser@^7.25.3", "@babel/parser@^7.25.4", "@babel/parser@^7.25.6", "@babel/parser@^7.26.7", "@babel/parser@^7.27.2", "@babel/parser@^7.27.5", "@babel/parser@^7.27.7", "@babel/parser@^7.28.4", "@babel/parser@^7.4.5", "@babel/parser@^7.7.0": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.4.tgz#da25d4643532890932cc03f7705fe19637e03fa8" - integrity sha512-yZbBqeM6TkpP9du/I2pUZnJsRMGGvOuIrhjzC1AwHwW+6he4mni6Bp/m8ijn0iOuZuPI2BfkCoSRunpyjnrQKg== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.16.4", "@babel/parser@^7.18.10", "@babel/parser@^7.20.7", "@babel/parser@^7.21.8", "@babel/parser@^7.22.10", "@babel/parser@^7.22.16", "@babel/parser@^7.22.5", "@babel/parser@^7.23.5", "@babel/parser@^7.23.6", "@babel/parser@^7.23.9", "@babel/parser@^7.25.3", "@babel/parser@^7.25.4", "@babel/parser@^7.25.6", "@babel/parser@^7.26.7", "@babel/parser@^7.27.2", "@babel/parser@^7.27.7", "@babel/parser@^7.28.4", "@babel/parser@^7.28.5", "@babel/parser@^7.4.5", "@babel/parser@^7.7.0": + version "7.28.5" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.28.5.tgz#0b0225ee90362f030efd644e8034c99468893b08" + integrity sha512-KKBU1VGYR7ORr3At5HAtUQ+TV3SzRCXmA/8OdDZiLDBIZxVyzXuztPjfLd3BV1PRAQGCMWWSHYhL0F8d5uHBDQ== dependencies: - "@babel/types" "^7.28.4" + "@babel/types" "^7.28.5" "@babel/plugin-bugfix-firefox-class-in-computed-class-key@^7.24.4": version "7.24.4" @@ -2655,13 +2655,13 @@ "@babel/helper-string-parser" "^7.27.1" "@babel/helper-validator-identifier" "^7.27.1" -"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.20.7", "@babel/types@^7.22.10", "@babel/types@^7.22.15", "@babel/types@^7.22.17", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.6", "@babel/types@^7.23.9", "@babel/types@^7.24.7", "@babel/types@^7.25.4", "@babel/types@^7.25.6", "@babel/types@^7.25.9", "@babel/types@^7.26.3", "@babel/types@^7.26.9", "@babel/types@^7.27.1", "@babel/types@^7.27.3", "@babel/types@^7.27.6", "@babel/types@^7.27.7", "@babel/types@^7.28.4", "@babel/types@^7.3.0", "@babel/types@^7.4.4", "@babel/types@^7.7.0", "@babel/types@^7.7.2": - version "7.28.4" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.4.tgz#0a4e618f4c60a7cd6c11cb2d48060e4dbe38ac3a" - integrity sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q== +"@babel/types@^7.0.0", "@babel/types@^7.18.10", "@babel/types@^7.18.6", "@babel/types@^7.20.7", "@babel/types@^7.22.10", "@babel/types@^7.22.15", "@babel/types@^7.22.17", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.6", "@babel/types@^7.23.9", "@babel/types@^7.24.7", "@babel/types@^7.25.4", "@babel/types@^7.25.6", "@babel/types@^7.25.9", "@babel/types@^7.26.3", "@babel/types@^7.26.9", "@babel/types@^7.27.1", "@babel/types@^7.27.6", "@babel/types@^7.27.7", "@babel/types@^7.28.5", "@babel/types@^7.3.0", "@babel/types@^7.4.4", "@babel/types@^7.7.0", "@babel/types@^7.7.2": + version "7.28.5" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.28.5.tgz#10fc405f60897c35f07e85493c932c7b5ca0592b" + integrity sha512-qQ5m48eI/MFLQ5PxQj4PFaprjyCTLI37ElWMmNs0K8Lk3dVeOdNpB3ks8jc7yM5CDmVC73eMVk/trk3fgmrUpA== dependencies: "@babel/helper-string-parser" "^7.27.1" - "@babel/helper-validator-identifier" "^7.27.1" + "@babel/helper-validator-identifier" "^7.28.5" "@bcoe/v8-coverage@^1.0.2": version "1.0.2" @@ -4865,10 +4865,10 @@ "@jridgewell/set-array" "^1.0.0" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2", "@jridgewell/gen-mapping@^0.3.5": - version "0.3.12" - resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.12.tgz#2234ce26c62889f03db3d7fea43c1932ab3e927b" - integrity sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg== +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.12", "@jridgewell/gen-mapping@^0.3.2", "@jridgewell/gen-mapping@^0.3.5": + version "0.3.13" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz#6342a19f44347518c93e43b1ac69deb3c4656a1f" + integrity sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA== dependencies: "@jridgewell/sourcemap-codec" "^1.5.0" "@jridgewell/trace-mapping" "^0.3.24" @@ -4904,10 +4904,10 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.23", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.25" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" - integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== +"@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.23", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25", "@jridgewell/trace-mapping@^0.3.28", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.31" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz#db15d6781c931f3a251a3dac39501c98a6082fd0" + integrity sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" @@ -9495,6 +9495,54 @@ "@typescript-eslint/types" "8.35.0" eslint-visitor-keys "^4.2.1" +"@typescript/native-preview-darwin-arm64@7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview-darwin-arm64/-/native-preview-darwin-arm64-7.0.0-dev.20251210.1.tgz#3e8a36be5d37ca906773356034742bcea798c28a" + integrity sha512-6FLhFMAdaW/JMzTPqaIxVTgCFhMQY2v88qVGLUmcf9coCJx5plxuY0zxzXaLrvQulGnDurIKZMW5tBGmQy4Buw== + +"@typescript/native-preview-darwin-x64@7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview-darwin-x64/-/native-preview-darwin-x64-7.0.0-dev.20251210.1.tgz#1e0c800bdae84ba9c4a148f9d79d8c42e9c06701" + integrity sha512-JrsZ913/ZyeoFDCVq+k4h0VUJHyqjT6te/IC8aMtLZQRkusQEX+57Anfr/BVXzWBa8+JwIXPGzllilw5dkrHNw== + +"@typescript/native-preview-linux-arm64@7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview-linux-arm64/-/native-preview-linux-arm64-7.0.0-dev.20251210.1.tgz#2ca8296b044e78aa0551f7b04b35fc4b225572c2" + integrity sha512-GViH0JIkpEHCo04VYD/iAKqYjIB2uLXXtTmmLaImzBVd+h1dlKFgi2aOMi51mYnSefnbj7P7PeqIQNLKwi4NSQ== + +"@typescript/native-preview-linux-arm@7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview-linux-arm/-/native-preview-linux-arm-7.0.0-dev.20251210.1.tgz#2f7a70a1240f842d0ccec71a33ef0fc8e64a50bc" + integrity sha512-v1hyGd8TWHaoRU8BJfGAdW6ML70TLUOB9+0Xeo30m3xHlOdO1zxunXa/FVhqzrChqzOkcty61PGe9tAPhrIh1w== + +"@typescript/native-preview-linux-x64@7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview-linux-x64/-/native-preview-linux-x64-7.0.0-dev.20251210.1.tgz#d30c47b98f30f9da9b913a3816c11ee24cfa2227" + integrity sha512-X6p2MrcRcYE9T+ecNHYZHFYew0t+k9Sc2GbyjbNB0+MJ/Lffp3aUH59dp+JASZoyOxugPwN+MCJ/kNzYqiK9vg== + +"@typescript/native-preview-win32-arm64@7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview-win32-arm64/-/native-preview-win32-arm64-7.0.0-dev.20251210.1.tgz#dd67823a5e08aec5d070dc2203084ff173c695b6" + integrity sha512-FewUZSh7d9YnX0j3hr+N+zQ5B54k4jsVpZp8QbuDduMtautxI18bNO+vL5oO86ezqLWbUnZajXV/61MGfpEtMg== + +"@typescript/native-preview-win32-x64@7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview-win32-x64/-/native-preview-win32-x64-7.0.0-dev.20251210.1.tgz#7b709dd10968eae6a347cf7ee403586ceff26be9" + integrity sha512-NdqTPzm/Ls3F1amP/e/akCuhY32mjBXT0NMQnYODgT9ltbdkk08b572Bp4GbdfRj9AiJxK70pqoNeZWw4e5fhg== + +"@typescript/native-preview@^7.0.0-dev.20251210.1": + version "7.0.0-dev.20251210.1" + resolved "https://registry.yarnpkg.com/@typescript/native-preview/-/native-preview-7.0.0-dev.20251210.1.tgz#6ae4a3fb5615ff85b9e9315e8e44402ba0e4c890" + integrity sha512-SiSRpp42K80X+qJKAi8qvjo2xMZIgJgROXCJo0MiZ8a6fjQK6IetRfUvwdApUsDltf/VaEc/j8v2Hiqp8SGhLQ== + optionalDependencies: + "@typescript/native-preview-darwin-arm64" "7.0.0-dev.20251210.1" + "@typescript/native-preview-darwin-x64" "7.0.0-dev.20251210.1" + "@typescript/native-preview-linux-arm" "7.0.0-dev.20251210.1" + "@typescript/native-preview-linux-arm64" "7.0.0-dev.20251210.1" + "@typescript/native-preview-linux-x64" "7.0.0-dev.20251210.1" + "@typescript/native-preview-win32-arm64" "7.0.0-dev.20251210.1" + "@typescript/native-preview-win32-x64" "7.0.0-dev.20251210.1" + "@ungap/structured-clone@^1.0.0", "@ungap/structured-clone@^1.2.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.3.0.tgz#d06bbb384ebcf6c505fde1c3d0ed4ddffe0aaff8" @@ -11117,6 +11165,14 @@ ast-kit@^1.0.1, ast-kit@^1.1.0: "@babel/parser" "^7.25.6" pathe "^1.1.2" +ast-kit@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/ast-kit/-/ast-kit-2.2.0.tgz#6d9a298acefef5bdfc5a0fa51d94d1334ef2e671" + integrity sha512-m1Q/RaVOnTp9JxPX+F+Zn7IcLYMzM8kZofDImfsKZd8MbR+ikdOzTeztStWqfrqIxZnYWryyI9ePm3NGjnZgGw== + dependencies: + "@babel/parser" "^7.28.5" + pathe "^2.0.3" + ast-module-types@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/ast-module-types/-/ast-module-types-6.0.1.tgz#4b4ca0251c57b815bab62604dcb22f8c903e2523" @@ -11787,6 +11843,11 @@ birpc@^0.2.17: resolved "https://registry.yarnpkg.com/birpc/-/birpc-0.2.17.tgz#d0bdb90d4d063061156637f03b7b0adea1779734" integrity sha512-+hkTxhot+dWsLpp3gia5AkVHIsKlZybNT5gIYiDlNzJrmYPcTM9k5/w2uaj3IPpd7LlEYpmCj4Jj1nC41VhDFg== +birpc@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/birpc/-/birpc-3.0.0.tgz#eb18f6c539e10cbfc6d6b1fd1cd6e08d77b70b49" + integrity sha512-by+04pHuxpCEQcucAXqzopqfhyI8TLK5Qg5MST0cB6MP+JhHna9ollrtK9moVh27aq6Q6MEJgebD0cVm//yBkg== + bl@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/bl/-/bl-2.2.1.tgz#8c11a7b730655c5d56898cdc871224f40fd901d5" @@ -14816,20 +14877,16 @@ dotenv@~10.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== -downlevel-dts@~0.11.0: - version "0.11.0" - resolved "https://registry.yarnpkg.com/downlevel-dts/-/downlevel-dts-0.11.0.tgz#514a2d723009c5845730c1db6c994484c596ed9c" - integrity sha512-vo835pntK7kzYStk7xUHDifiYJvXxVhUapt85uk2AI94gUUAQX9HNRtrcMHNSc3YHJUEHGbYIGsM99uIbgAtxw== - dependencies: - semver "^7.3.2" - shelljs "^0.8.3" - typescript next - dset@^3.1.2: version "3.1.4" resolved "https://registry.yarnpkg.com/dset/-/dset-3.1.4.tgz#f8eaf5f023f068a036d08cd07dc9ffb7d0065248" integrity sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA== +dts-resolver@^2.1.3: + version "2.1.3" + resolved "https://registry.yarnpkg.com/dts-resolver/-/dts-resolver-2.1.3.tgz#b930b38fcb2f3dab3b55cb4ac73658c9a5fc0a41" + integrity sha512-bihc7jPC90VrosXNzK0LTE2cuLP6jr0Ro8jk+kMugHReJVLIpHz/xadeq3MhuwyO4TD4OA3L1Q8pBBFRc08Tsw== + dunder-proto@^1.0.0, dunder-proto@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/dunder-proto/-/dunder-proto-1.0.1.tgz#d7ae667e1dc83482f8b70fd0f6eefc50da30f58a" @@ -17986,6 +18043,13 @@ get-symbol-description@^1.1.0: es-errors "^1.3.0" get-intrinsic "^1.2.6" +get-tsconfig@^4.13.0: + version "4.13.0" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.13.0.tgz#fcdd991e6d22ab9a600f00e91c318707a5d9a0d7" + integrity sha512-1VKTZJCwBrvbd+Wn3AOgQP/2Av+TfTCOlE4AcRJE72W1ksZXbAx8PPBR9RzgTeSPzlPMHrbANMH3LbltH73wxQ== + dependencies: + resolve-pkg-maps "^1.0.0" + get-value@^2.0.3, get-value@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" @@ -18178,7 +18242,7 @@ glob@^5.0.10: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.0.4, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.3: +glob@^7.0.4, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -19530,11 +19594,6 @@ internal-slot@^1.0.3, internal-slot@^1.1.0: hasown "^2.0.2" side-channel "^1.1.0" -interpret@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== - interpret@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" @@ -21613,10 +21672,10 @@ magic-string@^0.26.0, magic-string@^0.26.7: dependencies: sourcemap-codec "^1.4.8" -magic-string@^0.30.0, magic-string@^0.30.10, magic-string@^0.30.11, magic-string@^0.30.17, magic-string@^0.30.19, magic-string@^0.30.3, magic-string@^0.30.4, magic-string@^0.30.5, magic-string@^0.30.8: - version "0.30.19" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.19.tgz#cebe9f104e565602e5d2098c5f2e79a77cc86da9" - integrity sha512-2N21sPY9Ws53PZvsEpVtNuSW+ScYbQdp4b9qUaL+9QkHUrGFKo56Lg9Emg5s9V/qrtNBmiR01sYhUOwu3H+VOw== +magic-string@^0.30.0, magic-string@^0.30.10, magic-string@^0.30.11, magic-string@^0.30.17, magic-string@^0.30.19, magic-string@^0.30.21, magic-string@^0.30.3, magic-string@^0.30.4, magic-string@^0.30.5, magic-string@^0.30.8: + version "0.30.21" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.21.tgz#56763ec09a0fa8091df27879fd94d19078c00d91" + integrity sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ== dependencies: "@jridgewell/sourcemap-codec" "^1.5.5" @@ -24098,6 +24157,11 @@ obuf@^1.0.0, obuf@^1.1.2: resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== +obug@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/obug/-/obug-2.1.1.tgz#2cba74ff241beb77d63055ddf4cd1e9f90b538be" + integrity sha512-uTqF9MuPraAQ+IsnPf366RG4cP9RtUi7MLO1N3KEc+wb0a6yKpeL0lmk2IB1jY5KHPAlTc6T/JRdC/YqxHNwkQ== + ofetch@^1.3.4, ofetch@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/ofetch/-/ofetch-1.4.1.tgz#b6bf6b0d75ba616cef6519dd8b6385a8bae480ec" @@ -26616,13 +26680,6 @@ recast@^0.20.5: source-map "~0.6.1" tslib "^2.0.1" -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= - dependencies: - resolve "^1.1.6" - rechoir@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.8.0.tgz#49f866e0d32146142da3ad8f0eff352b3215ff22" @@ -27071,6 +27128,11 @@ resolve-pathname@^3.0.0: resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd" integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng== +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + resolve-url-loader@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/resolve-url-loader/-/resolve-url-loader-5.0.0.tgz#ee3142fb1f1e0d9db9524d539cfa166e9314f795" @@ -27105,7 +27167,7 @@ resolve@1.22.8: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.22.10, resolve@^1.22.4, resolve@^1.22.6, resolve@^1.22.8, resolve@^1.4.0, resolve@^1.5.0: +resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.1, resolve@^1.12.0, resolve@^1.13.1, resolve@^1.14.2, resolve@^1.17.0, resolve@^1.19.0, resolve@^1.20.0, resolve@^1.22.0, resolve@^1.22.1, resolve@^1.22.10, resolve@^1.22.4, resolve@^1.22.6, resolve@^1.22.8, resolve@^1.4.0, resolve@^1.5.0: version "1.22.10" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.10.tgz#b663e83ffb09bbf2386944736baae803029b8b39" integrity sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w== @@ -27270,6 +27332,21 @@ roarr@^7.0.4: safe-stable-stringify "^2.4.1" semver-compare "^1.0.0" +rolldown-plugin-dts@^0.18.3: + version "0.18.3" + resolved "https://registry.yarnpkg.com/rolldown-plugin-dts/-/rolldown-plugin-dts-0.18.3.tgz#b9ff1dcb1f6f695c07f5ad263dc82b04c9becb9c" + integrity sha512-rd1LZ0Awwfyn89UndUF/HoFF4oH9a5j+2ZeuKSJYM80vmeN/p0gslYMnHTQHBEXPhUlvAlqGA3tVgXB/1qFNDg== + dependencies: + "@babel/generator" "^7.28.5" + "@babel/parser" "^7.28.5" + "@babel/types" "^7.28.5" + ast-kit "^2.2.0" + birpc "^3.0.0" + dts-resolver "^2.1.3" + get-tsconfig "^4.13.0" + magic-string "^0.30.21" + obug "^2.1.1" + rolldown@^1.0.0-beta.55: version "1.0.0-beta.55" resolved "https://registry.yarnpkg.com/rolldown/-/rolldown-1.0.0-beta.55.tgz#c8ee433557e3dafe7960e01baa0489567c72b9a2" @@ -27974,15 +28051,6 @@ shell-quote@^1.7.3, shell-quote@^1.8.1: resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680" integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== -shelljs@^0.8.3: - version "0.8.5" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" - integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - shellwords@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" @@ -30096,11 +30164,6 @@ typescript@^3.9: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== -typescript@next: - version "5.2.0-dev.20230530" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.0-dev.20230530.tgz#4251ade97a9d8a86850c4d5c3c4f3e1cb2ccf52c" - integrity sha512-bIoMajCZWzLB+pWwncaba/hZc6dRnw7x8T/fenOnP9gYQB/gc4xdm48AXp5SH5I/PvvSeZ/dXkUMtc8s8BiDZw== - typescript@~5.8.0: version "5.8.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.8.3.tgz#92f8a3e5e3cf497356f4178c34cd65a7f5e8440e"