An open source design system that's fully customizable and agent ready
TypeScript
chore(deps): make node_modules strict, declare what each package imports (#5327)
sangwookbf896f38af91
diff --git a/.changeset/doctor-peer-resolution.md b/.changeset/doctor-peer-resolution.mdnew file mode 100644index 0000000000..9265da1c2e--- /dev/null+++ b/.changeset/doctor-peer-resolution.md@@ -0,0 +1,20 @@+---+'@astryxdesign/cli': patch+---++[fix] doctor: range-check every peer against the project's own node_modules, so a peer that is only reachable from the ambient environment no longer reads as installed (#5327)+@Han5991++`checkPeerDeps` resolved each peer with `require.resolve(name, {paths: [cwd]})`.+Node folds `NODE_PATH` into that lookup regardless of `paths`, so a peer merely+reachable from the ambient environment resolved, and doctor reported nothing+while the project itself was missing it. It now walks the project's own+`node_modules` and reads each `package.json` off disk, so a missing peer is+reported and an installed one is checked against the declared range.++Yarn Plug'n'Play projects have no `node_modules` for that walk to find, so the+lookup asks the PnP runtime when the walk comes up empty. PnP resolves from the+project's own dependency graph and ignores `NODE_PATH`, which keeps the answer+project-local. A PnP project now gets its peers range-checked too — previously+`require.resolve` could confirm a peer was present there but not read its+version, because Core does not export `./package.json`.diff --git a/.changeset/theme-build-ambient-core.md b/.changeset/theme-build-ambient-core.mdnew file mode 100644index 0000000000..788e67161f--- /dev/null+++ b/.changeset/theme-build-ambient-core.md@@ -0,0 +1,15 @@+---+'@astryxdesign/cli': patch+---++[fix] theme build: only treat a core the theme's own node_modules chain can reach as one a CommonJS dependency could reach, so an ambient-only core no longer fails the build with ERR_CORE_INCOMPATIBLE (#5327)+@Han5991++`patchCommonJs` required `@astryxdesign/core` from the theme file to see whether+it could wrap `defineTheme` for `.cjs` dependencies. `require` folds `NODE_PATH`+in, and pnpm's isolated layout puts every package in+`node_modules/.pnpm/node_modules`, so a core no dependency of the theme could+reach answered that lookup. Wrapping it fails on a `require(esm)` namespace, and+the reported coverage gap then rejected any theme whose lineage was unobserved.+The lookup now walks the theme's own `node_modules` chain first, the same way+`doctor` resolves peers.diff --git a/apps/docsite/package.json b/apps/docsite/package.jsonindex 2c17ae13b0..5dbb568238 100644--- a/apps/docsite/package.json+++ b/apps/docsite/package.json@@ -44,11 +44,13 @@"zod": "^4.4.3"},"devDependencies": {- "@babel/core": "^7.29.7",- "@babel/preset-react": "^8.0.1",- "@babel/preset-typescript": "^7.29.7",+ "@babel/core": "catalog:",+ "@babel/parser": "^7.29.7",+ "@babel/preset-react": "catalog:",+ "@babel/preset-typescript": "catalog:","@stylexjs/babel-plugin": "catalog:","@stylexjs/postcss-plugin": "catalog:",+ "@testing-library/react": "catalog:","@types/lz-string": "^1.5.0","@types/react": "^19.2.17","@types/react-dom": "^19.2.3",diff --git a/apps/docsite/scripts/generate-playground-types.mjs b/apps/docsite/scripts/generate-playground-types.mjsindex a86372ac4b..09ecfafe7c 100644--- a/apps/docsite/scripts/generate-playground-types.mjs+++ b/apps/docsite/scripts/generate-playground-types.mjs@@ -20,9 +20,15 @@ import {existsSync,mkdirSync,} from 'node:fs';+import {createRequire} from 'node:module';import {join, dirname, relative} from 'node:path';import {fileURLToPath} from 'node:url';+// Resolves from this script, so docsite's own dependencies are found wherever+// the installer put them. Throws if one is missing, rather than emitting a+// bundle that is quietly short a package.+const resolveFromDocsite = createRequire(import.meta.url).resolve;+const __dirname = dirname(fileURLToPath(import.meta.url));const root = join(__dirname, '..');const distDir = join(root, '..', '..', 'packages', 'core', 'dist');@@ -160,14 +166,7 @@ declare module '@stylexjs/stylex' {// index.d.ts so the set stays accurate (e.g. 16/solid ships fewer icons).function buildHeroiconTypes() {const variants = ['16/solid', '20/solid', '24/outline', '24/solid'];- const heroRoot = join(- root,- '..',- '..',- 'node_modules',- '@heroicons',- 'react',- );+ const heroRoot = dirname(resolveFromDocsite('@heroicons/react/package.json'));const iconType ='React.ComponentType<React.SVGProps<SVGSVGElement> & ' +'{title?: string; titleId?: string}>';@@ -194,15 +193,8 @@ function buildHeroiconTypes() {}function buildRechartsTypes() {- const indexPath = join(- root,- '..',- '..',- 'node_modules',- 'recharts',- 'types',- 'index.d.ts',- );+ const rechartsRoot = dirname(resolveFromDocsite('recharts/package.json'));+ const indexPath = join(rechartsRoot, 'types', 'index.d.ts');if (!existsSync(indexPath)) return {};const source = readFileSync(indexPath, 'utf-8');diff --git a/apps/docsite/scripts/generate-shadcn-registry.mjs b/apps/docsite/scripts/generate-shadcn-registry.mjsindex c91e91c13b..5431377e72 100644--- a/apps/docsite/scripts/generate-shadcn-registry.mjs+++ b/apps/docsite/scripts/generate-shadcn-registry.mjs@@ -16,6 +16,7 @@import * as fs from 'node:fs';import * as path from 'node:path';import babel from '@babel/core';+import presetTypeScript from '@babel/preset-typescript';import stylexPlugin from '@stylexjs/babel-plugin';import ts from 'typescript';import {registryItemSchema, registrySchema} from 'shadcn/schema';@@ -116,7 +117,10 @@ function precompileStylexSource(source, fileName) {filename: fileName,babelrc: false,configFile: false,- presets: [['@babel/preset-typescript', {allExtensions: true, isTSX: true}]],+ // Imported, not named: Babel resolves a string preset from `cwd`, and CI+ // runs this script from the repo root, where only a hoisted node_modules+ // would carry docsite's own Babel presets.+ presets: [[presetTypeScript, {allExtensions: true, isTSX: true}]],plugins: [[stylexPlugin,diff --git a/apps/sandbox/package.json b/apps/sandbox/package.jsonindex 2b209c0b32..dc9b3b4597 100644--- a/apps/sandbox/package.json+++ b/apps/sandbox/package.json@@ -36,8 +36,8 @@"@astryxdesign/theme-butter": "*"},"devDependencies": {- "@babel/preset-react": "^8.0.1",- "@babel/preset-typescript": "^7.29.7",+ "@babel/preset-react": "catalog:",+ "@babel/preset-typescript": "catalog:","@stylexjs/babel-plugin": "catalog:","@stylexjs/postcss-plugin": "catalog:","@types/node": "^25.9.3",diff --git a/apps/storybook/package.json b/apps/storybook/package.jsonindex 8767377383..c469989241 100644--- a/apps/storybook/package.json+++ b/apps/storybook/package.json@@ -30,14 +30,18 @@"vega-lite": "^6.4.3"},"devDependencies": {+ "@astryxdesign/build": "*",+ "@heroicons/react": "^2.2.0","@lexical/headless": "^0.46.0","@lexical/markdown": "^0.46.0",+ "@lexical/react": "^0.46.0","@storybook/addon-docs": "^10.4.6","@storybook/addon-links": "^10.4.6","@storybook/react": "^10.4.6","@storybook/react-vite": "^10.4.6",+ "@stylexjs/stylex": "catalog:","@stylexjs/unplugin": "^0.19.0",- "@astryxdesign/build": "*",+ "lexical": "^0.46.0","storybook": "^10.4.6"}}diff --git a/apps/template-viewer/package.json b/apps/template-viewer/package.jsonindex e8b961927b..f2bf014946 100644--- a/apps/template-viewer/package.json+++ b/apps/template-viewer/package.json@@ -12,7 +12,7 @@"@astryxdesign/core": "*","@astryxdesign/theme-neutral": "*","@heroicons/react": "^2.2.0",- "@stylexjs/stylex": "^0.19.0",+ "@stylexjs/stylex": "catalog:","react": "^19.2.7","react-dom": "^19.2.7"},diff --git a/internal/eslint-plugin-astryx/package.json b/internal/eslint-plugin-astryx/package.jsonindex 58bc34bef8..15bad805aa 100644--- a/internal/eslint-plugin-astryx/package.json+++ b/internal/eslint-plugin-astryx/package.json@@ -14,5 +14,8 @@],"peerDependencies": {"eslint": ">=9.0.0"+ },+ "devDependencies": {+ "@typescript-eslint/parser": "^8.62.1"}}diff --git a/internal/shadcn-registry/generate-shadcn-registry.test.mjs b/internal/shadcn-registry/generate-shadcn-registry.test.mjsindex 1052e36ab5..cdfe5ccdd4 100644--- a/internal/shadcn-registry/generate-shadcn-registry.test.mjs+++ b/internal/shadcn-registry/generate-shadcn-registry.test.mjs@@ -17,8 +17,10 @@ import {rmSync,writeFileSync,} from 'node:fs';+import {createRequire} from 'node:module';import {tmpdir} from 'node:os';import path from 'node:path';+import {fileURLToPath} from 'node:url';import {promisify} from 'node:util';import {describe, expect, it} from 'vitest';import {reconcileRegistryCompositions} from '../../packages/cli/api/upgrade/registry/registry.mjs';@@ -46,6 +48,18 @@ import {const execFileAsync = promisify(execFile);+const DOCSITE_ROOT = path.resolve(+ path.dirname(fileURLToPath(import.meta.url)),+ '../../apps/docsite',+);++// shadcn is a docsite dependency and its bin is the package entry, so resolving+// it from docsite gives the script to run — no assumption about where the+// installer put the package, and no dependence on NODE_PATH.+const SHADCN_ENTRY = createRequire(+ path.join(DOCSITE_ROOT, 'package.json'),+).resolve('shadcn');+const packages = [{name: '@astryxdesign/cli', version: '0.6.0'},{name: '@astryxdesign/core', version: '0.5.2'},@@ -456,8 +470,8 @@ describe('buildShadcnRegistry', () => {writeFileSync(itemPath, JSON.stringify(block));await execFileAsync(- path.resolve('node_modules/.bin/shadcn'),- ['add', itemPath, '--yes'],+ process.execPath,+ [SHADCN_ENTRY, 'add', itemPath, '--yes'],{cwd: project, timeout: 30_000},);@@ -549,8 +563,8 @@ describe('buildShadcnRegistry', () => {writeFileSync(itemPath, JSON.stringify(block));await execFileAsync(- path.resolve('node_modules/.bin/shadcn'),- ['add', itemPath, '--yes'],+ process.execPath,+ [SHADCN_ENTRY, 'add', itemPath, '--yes'],{cwd: project, timeout: 30_000},);@@ -630,8 +644,8 @@ describe('buildShadcnRegistry', () => {const itemPath = path.join(project, 'block.json');writeFileSync(itemPath, JSON.stringify(oldItem));await execFileAsync(- path.resolve('node_modules/.bin/shadcn'),- ['add', itemPath, '--yes'],+ process.execPath,+ [SHADCN_ENTRY, 'add', itemPath, '--yes'],{cwd: project, timeout: 30_000},);await new Promise((resolve, reject) => {@@ -779,8 +793,8 @@ describe('buildShadcnRegistry', () => {const itemPath = path.join(project, 'page.json');writeFileSync(itemPath, JSON.stringify(page));await execFileAsync(- path.resolve('node_modules/.bin/shadcn'),- ['add', itemPath, '--yes'],+ process.execPath,+ [SHADCN_ENTRY, 'add', itemPath, '--yes'],{cwd: project, timeout: 30_000},);@@ -856,8 +870,8 @@ describe('buildShadcnRegistry', () => {writeConsumerProject(project);await execFileAsync(- path.resolve('node_modules/.bin/shadcn'),- ['add', `${origin}/shadcn/examples/parent.json`, '--yes'],+ process.execPath,+ [SHADCN_ENTRY, 'add', `${origin}/shadcn/examples/parent.json`, '--yes'],{cwd: project,timeout: 30_000,diff --git a/internal/test-utils/package.json b/internal/test-utils/package.jsonindex b5354a7019..5391ad96ca 100644--- a/internal/test-utils/package.json+++ b/internal/test-utils/package.json@@ -6,8 +6,8 @@"main": "./src/index.ts","scripts": {},"dependencies": {- "@testing-library/jest-dom": "^6.6.0",- "@testing-library/react": "^16.3.2",+ "@testing-library/jest-dom": "catalog:",+ "@testing-library/react": "catalog:","@testing-library/user-event": "^14.5.0"}}diff --git a/internal/vibe-tests/setup-test/public-artifact-cli.test.mjs b/internal/vibe-tests/setup-test/public-artifact-cli.test.mjsindex 778b763562..cdf46f5872 100644--- a/internal/vibe-tests/setup-test/public-artifact-cli.test.mjs+++ b/internal/vibe-tests/setup-test/public-artifact-cli.test.mjs@@ -10,7 +10,10 @@ import {assertPublicArtifactSafe} from '../src/public-artifact.mjs';const HERE = path.dirname(fileURLToPath(import.meta.url));const REPO_ROOT = path.resolve(HERE, '../../..');-const TSX = path.join(REPO_ROOT, 'node_modules', '.bin', 'tsx');+const PACKAGE_ROOT = path.resolve(HERE, '..');+// tsx is this package's own devDependency, so its bin is here. The repo root+// only ever had one because shamefullyHoist published every bin there.+const TSX = path.join(PACKAGE_ROOT, 'node_modules', '.bin', 'tsx');const SETUP_AGGREGATE = path.join(HERE, 'setup-aggregate.ts');const UNIVERSAL_AGGREGATE = path.join(REPO_ROOT,diff --git a/package.json b/package.jsonindex a52270bce4..12b05b2eb2 100644--- a/package.json+++ b/package.json@@ -66,28 +66,34 @@},"devDependencies": {"@axe-core/playwright": "^4.12.1",+ "@babel/core": "catalog:","@changesets/cli": "^2.31.0","@eslint-react/eslint-plugin": "^5.10.4","@eslint/compat": "^2.1.0","@eslint/js": "^10.0.1","@formatjs/icu-messageformat-parser": "^3.5.12","@playwright/test": "^1.61.1",+ "@stylexjs/babel-plugin": "catalog:",+ "@testing-library/jest-dom": "catalog:","@testing-library/user-event": "^14.5.0","@types/node": "^25.9.3","@types/react": "^19.2.17","@types/react-dom": "^19.2.3","@vitejs/plugin-react": "^5.2.0","@vitest/coverage-v8": "^4.1.9",+ "chokidar": "^4.0.3","cldr-core": "^48.2.0","cldr-dates-full": "^48.2.0","dom-accessibility-api": "^0.6.3","esbuild": "catalog:","eslint": "^10.6.0","eslint-plugin-react-compiler": "19.1.0-rc.2",+ "glob": "^13.0.6","husky": "^9.1.7","jsdom": "^27.4.0","lint-staged": "^17.0.8","pixelmatch": "^7.2.0",+ "playwright": "^1.61.1","pngjs": "^7.0.0","prettier": "catalog:","react": "^19.2.7",@@ -97,7 +103,8 @@"typescript-eslint": "^8.62.1","vite": "catalog:","vite-plugin-singlefile": "^2.3.3",- "vitest": "^4.1.9"+ "vitest": "^4.1.9",+ "yaml": "^2.9.0"},"packageManager": "[email protected]","lint-staged": {diff --git a/packages/charts/package.json b/packages/charts/package.jsonindex 692097e88f..5bc83b9a44 100644--- a/packages/charts/package.json+++ b/packages/charts/package.json@@ -71,6 +71,12 @@},"devDependencies": {"@astryxdesign/cli": "workspace:*",+ "@babel/cli": "catalog:",+ "@babel/core": "catalog:",+ "@babel/preset-react": "catalog:",+ "@babel/preset-typescript": "catalog:",+ "@stylexjs/babel-plugin": "catalog:",+ "@testing-library/react": "catalog:","@types/d3-scale": "^4.0.9","@types/d3-shape": "^3.1.8"}diff --git a/packages/cli/api/doctor/doctor.mjs b/packages/cli/api/doctor/doctor.mjsindex 4dfd691b1a..93d0310bb2 100644--- a/packages/cli/api/doctor/doctor.mjs+++ b/packages/cli/api/doctor/doctor.mjs@@ -22,16 +22,13 @@import * as fs from 'node:fs';import * as path from 'node:path';-import {createRequire} from 'node:module';import {MIN_NODE_VERSION, isNodeVersionSupported} from '../../foundation/env/node-version.mjs';-import {CLI_ROOT, findCoreDir} from '../../foundation/fs/paths.mjs';+import {CLI_ROOT, findCoreDir, findInstalledPackage} from '../../foundation/fs/paths.mjs';import {explainPackageManager, getCliInvocation} from '../../foundation/env/package-manager.mjs';import {findConfigPath, Project} from '../../foundation/config/project.mjs';import {semverCompare, isValidSemver, satisfiesRange} from '../../foundation/env/semver.mjs';-const _require = createRequire(import.meta.url);-/*** @typedef {'pass'|'warn'|'fail'|'info'} DoctorStatus*@@ -527,23 +524,15 @@ export function checkPeerDeps(ctx) {const mismatched = [];for (const name of peerNames) {const want = peers[name];- let pkgJsonPath;- try {- pkgJsonPath = _require.resolve(`${name}/package.json`, {paths: [ctx.cwd]});- } catch {- // package.json isn't exported — fall back to entry resolution for- // presence only (we then can't read the version to range-check it).- try {- _require.resolve(name, {paths: [ctx.cwd]});- } catch {- missing.push(`${name}@${want}`);- }+ const installedDir = findInstalledPackage(ctx.cwd, name);+ if (!installedDir) {+ missing.push(`${name}@${want}`);continue;}// Present and version-readable: verify it actually satisfies the range,// not just that the package exists (a bare `npm install` can resolve an// out-of-range version from a stale consumer range and still "look" fine).- const have = pkgVersion(path.dirname(pkgJsonPath));+ const have = pkgVersion(installedDir);if (have && !satisfiesRange(have, want)) {mismatched.push({name, want, have});}diff --git a/packages/cli/api/theme/build/build.packed-old-core.test.mjs b/packages/cli/api/theme/build/build.packed-old-core.test.mjsindex e3513b768a..eab1dcee07 100644--- a/packages/cli/api/theme/build/build.packed-old-core.test.mjs+++ b/packages/cli/api/theme/build/build.packed-old-core.test.mjs@@ -36,6 +36,8 @@ import * as os from 'node:os';import * as path from 'node:path';import {fileURLToPath} from 'node:url';+import {findInstalledPackage} from '../../../foundation/fs/paths.mjs';+const HERE = path.dirname(fileURLToPath(import.meta.url));const REPO_ROOT = path.resolve(HERE, '../../../../..');const CLI_PKG = path.join(REPO_ROOT, 'packages/cli');@@ -425,9 +427,12 @@ beforeAll(() => {);// Its runtime dependencies, resolved from the install root like a real one.+ // Found from the CLI package rather than the repo root: only a hoisted+ // node_modules puts a package's own dependencies at the workspace root.for (const dep of RUNTIME_DEPS) {- const resolved = fs.realpathSync(path.join(REPO_ROOT, 'node_modules', dep));- fs.symlinkSync(resolved, path.join(modules, dep));+ const installed = findInstalledPackage(CLI_PKG, dep);+ if (!installed) throw new Error(`${dep} is not installed under ${CLI_PKG}`);+ fs.symlinkSync(fs.realpathSync(installed), path.join(modules, dep));}// The installed core. Real built implementations behind a swappablediff --git a/packages/cli/api/theme/build/core-interception.mjs b/packages/cli/api/theme/build/core-interception.mjsindex 93ad68068a..29513ee416 100644--- a/packages/cli/api/theme/build/core-interception.mjs+++ b/packages/cli/api/theme/build/core-interception.mjs@@ -68,6 +68,9 @@*/import {createRequire} from 'node:module';+import * as path from 'node:path';++import {findInstalledPackage} from '../../../foundation/fs/paths.mjs';/*** Marks a theme object with the raw input it was resolved from. Enumerable on@@ -427,6 +430,17 @@ export function interceptCore(coreThemeModule, coreRootModule) {/** @type {Array<() => void>} */const undo = [];let covered = true;++ // Only a core the theme's OWN node_modules chain can reach is one a+ // `.cjs` source dependency beside it could require. `require` also folds+ // NODE_PATH in, and pnpm's isolated layout puts every package in+ // `node_modules/.pnpm/node_modules` — which Vitest puts on NODE_PATH.+ // An ambient hit there belongs to no dependency here, so wrapping it+ // proves nothing and failing to wrap it gaps nothing.+ if (!findInstalledPackage(path.dirname(fromFile), '@astryxdesign/core')) {+ return {covered, undo: () => {}};+ }+for (const specifier of ['@astryxdesign/core/theme','@astryxdesign/core',diff --git a/packages/cli/foundation/fs/paths.mjs b/packages/cli/foundation/fs/paths.mjsindex 1f1c604ccc..d6e3847568 100644--- a/packages/cli/foundation/fs/paths.mjs+++ b/packages/cli/foundation/fs/paths.mjs@@ -7,6 +7,7 @@*/import * as fs from 'node:fs';+import {createRequire} from 'node:module';import * as path from 'node:path';import {fileURLToPath} from 'node:url';@@ -41,6 +42,59 @@ export function findCoreDir(startDir = process.cwd()) {return null;}+/**+ * Where Yarn's Plug'n'Play runtime says a package lives.+ *+ * A PnP project has no node_modules for the walk below to find. PnP answers+ * from the project's own dependency graph and ignores NODE_PATH, so asking it+ * keeps the lookup project-local. Outside a PnP process there is nothing to ask.+ *+ * @param {string} startDir+ * @param {string} name+ * @returns {string|null}+ */+function findPnpPackage(startDir, name) {+ if (!process.versions.pnp) return null;+ try {+ const api = createRequire(path.join(startDir, 'noop.js'))('pnpapi');+ const dir = api.resolveToUnqualified(name, path.join(startDir, '/'));+ return dir && fs.existsSync(path.join(dir, 'package.json')) ? dir : null;+ } catch {+ // The project does not declare it, or this is not a PnP process after all.+ return null;+ }+}++/**+ * Locate a package the project at `startDir` actually installed.+ *+ * Deliberately not `require.resolve`: Node folds NODE_PATH and the global+ * folders into resolution even when `paths` is given, so a package merely+ * reachable from the ambient environment reads as installed here. pnpm's+ * isolated layout puts every package in `node_modules/.pnpm/node_modules`,+ * and Vitest puts that directory on NODE_PATH, so the gap is not theoretical.+ * Reading package.json off disk also sidesteps packages that don't export it,+ * so the version is always available to range-check.+ *+ * Walks the node_modules chain first, then asks PnP, which covers the Yarn+ * default layout where that chain does not exist.+ *+ * @param {string} startDir+ * @param {string} name+ * @returns {string|null} the package directory, or null when not installed+ */+export function findInstalledPackage(startDir, name) {+ let dir = startDir;+ for (let i = 0; i < 6; i++) {+ const candidate = path.join(dir, 'node_modules', ...name.split('/'));+ if (fs.existsSync(path.join(candidate, 'package.json'))) return candidate;+ const parent = path.dirname(dir);+ if (parent === dir) break;+ dir = parent;+ }+ return findPnpPackage(startDir, name);+}+/*** Find the monorepo root by looking for the root package.json* that has workspaces defined.diff --git a/packages/cli/foundation/fs/paths.test.mjs b/packages/cli/foundation/fs/paths.test.mjsindex cf7a55574f..c34c9ec792 100644--- a/packages/cli/foundation/fs/paths.test.mjs+++ b/packages/cli/foundation/fs/paths.test.mjs@@ -4,7 +4,7 @@ import {describe, it, expect, beforeEach, afterEach} from 'vitest';import * as fs from 'node:fs';import * as path from 'node:path';import * as os from 'node:os';-import {findCoreDir, findProjectRoot, listComponents, discoverExternalPackages, existsCaseExact} from './paths.mjs';+import {findCoreDir, findProjectRoot, listComponents, discoverExternalPackages, existsCaseExact, findInstalledPackage} from './paths.mjs';let tmpDir;@@ -43,6 +43,107 @@ describe('findCoreDir', () => {});});+describe('findInstalledPackage', () => {+ /** @param {string} root @param {string} name @param {string} version */+ function install(root, name, version) {+ const dir = path.join(root, 'node_modules', ...name.split('/'));+ fs.mkdirSync(dir, {recursive: true});+ fs.writeFileSync(+ path.join(dir, 'package.json'),+ JSON.stringify({name, version}),+ );+ return dir;+ }++ it('finds a package in the node_modules chain above startDir', () => {+ const installed = install(tmpDir, '@astryxdesign/core', '0.6.0');+ const nested = path.join(tmpDir, 'src', 'deep');+ fs.mkdirSync(nested, {recursive: true});++ expect(findInstalledPackage(nested, '@astryxdesign/core')).toBe(installed);+ });++ it('reports a package the project never installed as missing', () => {+ expect(findInstalledPackage(tmpDir, '@astryxdesign/core')).toBeNull();+ });++ // The regression this lookup exists for: `require.resolve` folds NODE_PATH in+ // even when `paths` is given, so a package reachable only from the ambient+ // environment read as installed in the user's project.+ it('does not answer from a package that is only on NODE_PATH', () => {+ const ambient = path.join(tmpDir, 'ambient');+ install(ambient, '@astryxdesign/core', '0.6.0');+ const project = path.join(tmpDir, 'project');+ fs.mkdirSync(project, {recursive: true});++ const previous = process.env.NODE_PATH;+ process.env.NODE_PATH = path.join(ambient, 'node_modules');+ try {+ expect(findInstalledPackage(project, '@astryxdesign/core')).toBeNull();+ } finally {+ if (previous === undefined) delete process.env.NODE_PATH;+ else process.env.NODE_PATH = previous;+ }+ });++ describe('under Yarn Plug\'n\'Play, which has no node_modules', () => {+ /**+ * Stand in for the runtime a PnP process exposes: `process.versions.pnp`+ * plus a requirable `pnpapi`. The package itself lives outside any+ * node_modules, the way Yarn stores it.+ * @param {Record<string, string>} resolved name -> package directory+ */+ function withPnp(resolved) {+ const runtime = path.join(tmpDir, 'runtime');+ const api = path.join(runtime, 'node_modules', 'pnpapi');+ fs.mkdirSync(api, {recursive: true});+ fs.writeFileSync(+ path.join(api, 'package.json'),+ JSON.stringify({name: 'pnpapi', version: '1.0.0', main: 'index.js'}),+ );+ fs.writeFileSync(+ path.join(api, 'index.js'),+ `const resolved = ${JSON.stringify(resolved)};\n` ++ 'module.exports = {\n' ++ ' resolveToUnqualified(name) {\n' ++ ' if (!(name in resolved)) {\n' ++ " const e = new Error(name); e.code = 'MODULE_NOT_FOUND'; throw e;\n" ++ ' }\n' ++ ' return resolved[name];\n' ++ ' },\n' ++ '};\n',+ );+ Object.defineProperty(process.versions, 'pnp', {+ value: '3',+ configurable: true,+ });+ return runtime;+ }++ afterEach(() => {+ delete process.versions.pnp;+ });++ it('falls back to the PnP runtime when there is no chain to walk', () => {+ const store = path.join(tmpDir, 'store', '@astryxdesign-core');+ fs.mkdirSync(store, {recursive: true});+ fs.writeFileSync(+ path.join(store, 'package.json'),+ JSON.stringify({name: '@astryxdesign/core', version: '0.6.0'}),+ );+ const project = withPnp({'@astryxdesign/core': store});++ expect(findInstalledPackage(project, '@astryxdesign/core')).toBe(store);+ });++ it('still reports a package the PnP project never declared', () => {+ const project = withPnp({});++ expect(findInstalledPackage(project, '@astryxdesign/core')).toBeNull();+ });+ });+});+describe('findProjectRoot', () => {it('finds root with workspaces in package.json', () => {fs.writeFileSync(diff --git a/packages/cli/package.json b/packages/cli/package.jsonindex a5e87a9958..b405e89349 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -139,6 +139,11 @@"@astryxdesign/core": "*","@astryxdesign/lab": "*","@astryxdesign/theme-neutral": "*",- "gpt-tokenizer": "^3.4.0"+ "@heroicons/react": "^2.2.0",+ "@stylexjs/stylex": "catalog:",+ "@types/babel__core": "^7.20.5",+ "gpt-tokenizer": "^3.4.0",+ "lucide-react": "^1.18.0",+ "recharts": "^3.9.2"}}diff --git a/packages/core/package.json b/packages/core/package.jsonindex 23c374bffe..17cddf2da5 100644--- a/packages/core/package.json+++ b/packages/core/package.json@@ -688,14 +688,16 @@"devDependencies": {"@astryxdesign/a11y-spec": "workspace:*","@astryxdesign/cli": "workspace:*",- "@babel/cli": "^8.0.4",- "@babel/core": "^7.29.7",- "@babel/preset-react": "^8.0.1",- "@babel/preset-typescript": "^7.29.7",+ "@babel/cli": "catalog:",+ "@babel/core": "catalog:",+ "@babel/preset-react": "catalog:",+ "@babel/preset-typescript": "catalog:",+ "@heroicons/react": "^2.2.0","@stylexjs/babel-plugin": "catalog:","@testing-library/dom": "^10.0.0",- "@testing-library/jest-dom": "^6.6.0",- "@testing-library/react": "^16.3.2"+ "@testing-library/jest-dom": "catalog:",+ "@testing-library/react": "catalog:",+ "@types/babel__core": "^7.20.5"},"dependencies": {"intl-messageformat": "^11.2.9"diff --git a/packages/lab/package.json b/packages/lab/package.jsonindex a0ab5a7713..0b569a2b87 100644--- a/packages/lab/package.json+++ b/packages/lab/package.json@@ -71,6 +71,12 @@"devDependencies": {"@astryxdesign/a11y-spec": "workspace:*","@astryxdesign/cli": "workspace:*",+ "@babel/cli": "catalog:",+ "@babel/core": "catalog:",+ "@babel/preset-react": "catalog:",+ "@babel/preset-typescript": "catalog:",+ "@stylexjs/babel-plugin": "catalog:",+ "@testing-library/react": "catalog:","@types/d3-array": "^3.2.2","@types/d3-scale": "^4.0.9","@types/d3-shape": "^3.1.8"diff --git a/packages/richtext/package.json b/packages/richtext/package.jsonindex fbc85acdd9..ebbcc57b41 100644--- a/packages/richtext/package.json+++ b/packages/richtext/package.json@@ -115,6 +115,10 @@},"devDependencies": {"@astryxdesign/cli": "workspace:*",+ "@babel/cli": "catalog:",+ "@babel/core": "catalog:",+ "@babel/preset-react": "catalog:",+ "@babel/preset-typescript": "catalog:","@lexical/code": "^0.46.0","@lexical/headless": "^0.46.0","@lexical/html": "^0.46.0",@@ -125,6 +129,8 @@"@lexical/rich-text": "^0.46.0","@lexical/selection": "^0.46.0","@lexical/utils": "^0.46.0",+ "@stylexjs/babel-plugin": "catalog:",+ "@testing-library/react": "catalog:","lexical": "^0.46.0"}}diff --git a/packages/vega/package.json b/packages/vega/package.jsonindex 9a4fd83836..049cfa5c83 100644--- a/packages/vega/package.json+++ b/packages/vega/package.json@@ -58,6 +58,7 @@},"devDependencies": {"@astryxdesign/cli": "workspace:*",+ "@testing-library/react": "catalog:","@types/react": "^19.2.17","tsup": "^8.3.0","typescript": "^6.0.3",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 07b155b14a..b6c6cacc25 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -6,6 +6,18 @@ settings:catalogs:default:+ '@babel/cli':+ specifier: ^7.29.7+ version: 7.29.7+ '@babel/core':+ specifier: ^7.29.7+ version: 7.29.7+ '@babel/preset-react':+ specifier: ^7.29.7+ version: 7.29.7+ '@babel/preset-typescript':+ specifier: ^7.29.7+ version: 7.29.7'@stylexjs/babel-plugin':specifier: ^0.19.0version: 0.19.0@@ -15,6 +27,12 @@ catalogs:'@stylexjs/stylex':specifier: ^0.19.0version: 0.19.0+ '@testing-library/jest-dom':+ specifier: ^6.6.0+ version: 6.9.1+ '@testing-library/react':+ specifier: ^16.3.2+ version: 16.3.2prettier:specifier: ^3.9.3version: 3.9.4@@ -41,6 +59,9 @@ importers:'@axe-core/playwright':specifier: ^4.12.1version: 4.12.1([email protected])+ '@babel/core':+ specifier: 'catalog:'+ version: 7.29.7'@changesets/cli':specifier: ^2.31.0version: 2.31.0(@types/[email protected])@@ -59,6 +80,12 @@ importers:'@playwright/test':specifier: ^1.61.1version: 1.61.1+ '@stylexjs/babel-plugin':+ specifier: 'catalog:'+ version: 0.19.0+ '@testing-library/jest-dom':+ specifier: 'catalog:'+ version: 6.9.1'@testing-library/user-event':specifier: ^14.5.0version: 14.6.1(@testing-library/[email protected])@@ -77,6 +104,9 @@ importers:'@vitest/coverage-v8':specifier: ^4.1.9version: 4.1.10([email protected])+ chokidar:+ specifier: ^4.0.3+ version: 4.0.3cldr-core:specifier: ^48.2.0version: 48.2.0@@ -95,6 +125,9 @@ importers:eslint-plugin-react-compiler:specifier: 19.1.0-rc.2version: 19.1.0-rc.2([email protected]([email protected]))+ glob:+ specifier: ^13.0.6+ version: 13.0.6husky:specifier: ^9.1.7version: 9.1.7@@ -107,6 +140,9 @@ importers:pixelmatch:specifier: ^7.2.0version: 7.2.0+ playwright:+ specifier: ^1.61.1+ version: 1.61.1pngjs:specifier: ^7.0.0version: 7.0.0@@ -137,6 +173,9 @@ importers:vitest:specifier: ^4.1.9version: 4.1.10(@types/[email protected])(@vitest/[email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ yaml:+ specifier: ^2.9.0+ version: 2.9.0apps/docsite:dependencies:@@ -229,13 +268,16 @@ importers:version: 4.4.3devDependencies:'@babel/core':- specifier: ^7.29.7+ specifier: 'catalog:'version: 7.29.7+ '@babel/parser':+ specifier: ^7.29.7+ version: 7.29.8'@babel/preset-react':- specifier: ^8.0.1- version: 8.0.1(@babel/[email protected])+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])'@babel/preset-typescript':- specifier: ^7.29.7+ specifier: 'catalog:'version: 7.29.7(@babel/[email protected])'@stylexjs/babel-plugin':specifier: 'catalog:'@@ -243,6 +285,9 @@ importers:'@stylexjs/postcss-plugin':specifier: 'catalog:'version: 0.19.0+ '@testing-library/react':+ specifier: 'catalog:'+ version: 16.3.2(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@types/lz-string':specifier: ^1.5.0version: 1.5.0@@ -323,10 +368,10 @@ importers:specifier: '*'version: link:../../packages/build'@babel/preset-react':- specifier: ^8.0.1- version: 8.0.1(@babel/[email protected])+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])'@babel/preset-typescript':- specifier: ^7.29.7+ specifier: 'catalog:'version: 7.29.7(@babel/[email protected])'@stylexjs/babel-plugin':specifier: 'catalog:'@@ -416,12 +461,18 @@ importers:'@astryxdesign/build':specifier: '*'version: link:../../packages/build+ '@heroicons/react':+ specifier: ^2.2.0+ version: 2.2.0([email protected])'@lexical/headless':specifier: ^0.46.0version: 0.46.0([email protected])'@lexical/markdown':specifier: ^0.46.0version: 0.46.0([email protected])+ '@lexical/react':+ specifier: ^0.46.0+ version: 0.46.0([email protected]([email protected]))([email protected])([email protected])([email protected])'@storybook/addon-docs':specifier: ^10.4.6version: 10.4.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected])([email protected])([email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))@@ -434,9 +485,15 @@ importers:'@storybook/react-vite':specifier: ^10.4.6version: 10.4.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected](@testing-library/[email protected])(@types/[email protected])([email protected])([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))+ '@stylexjs/stylex':+ specifier: 'catalog:'+ version: 0.19.0'@stylexjs/unplugin':specifier: ^0.19.0version: 0.19.0([email protected]([email protected])([email protected])([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])))+ lexical:+ specifier: ^0.46.0+ version: 0.46.0([email protected])storybook:specifier: ^10.4.6version: 10.4.6(@testing-library/[email protected])(@types/[email protected])([email protected])([email protected])@@ -453,7 +510,7 @@ importers:specifier: ^2.2.0version: 2.2.0([email protected])'@stylexjs/stylex':- specifier: ^0.19.0+ specifier: 'catalog:'version: 0.19.0react:specifier: ^19.2.7@@ -501,14 +558,18 @@ importers:eslint:specifier: '>=9.0.0'version: 10.6.0([email protected])+ devDependencies:+ '@typescript-eslint/parser':+ specifier: ^8.62.1internal/test-utils:dependencies:'@testing-library/jest-dom':- specifier: ^6.6.0+ specifier: 'catalog:'version: 6.9.1'@testing-library/react':- specifier: ^16.3.2+ specifier: 'catalog:'version: 16.3.2(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@testing-library/user-event':specifier: ^14.5.0@@ -654,6 +715,24 @@ importers:'@astryxdesign/cli':specifier: workspace:*version: link:../cli+ '@babel/cli':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@babel/core':+ specifier: 'catalog:'+ version: 7.29.7+ '@babel/preset-react':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@babel/preset-typescript':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@stylexjs/babel-plugin':+ specifier: 'catalog:'+ version: 0.19.0+ '@testing-library/react':+ specifier: 'catalog:'+ version: 16.3.2(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@types/d3-scale':specifier: ^4.0.9version: 4.0.9@@ -715,9 +794,24 @@ importers:'@astryxdesign/theme-neutral':specifier: '*'version: link:../themes/neutral+ '@heroicons/react':+ specifier: ^2.2.0+ version: 2.2.0([email protected])+ '@stylexjs/stylex':+ specifier: 'catalog:'+ version: 0.19.0+ '@types/babel__core':+ specifier: ^7.20.5+ version: 7.20.5gpt-tokenizer:specifier: ^3.4.0version: 3.4.0+ lucide-react:+ specifier: ^1.18.0+ version: 1.23.0([email protected])+ recharts:+ specifier: ^3.9.2+ version: 3.9.2(@types/[email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])packages/core:dependencies:@@ -741,17 +835,20 @@ importers:specifier: workspace:*version: link:../cli'@babel/cli':- specifier: ^8.0.4- version: 8.0.4(@babel/[email protected])+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])'@babel/core':- specifier: ^7.29.7+ specifier: 'catalog:'version: 7.29.7'@babel/preset-react':- specifier: ^8.0.1- version: 8.0.1(@babel/[email protected])+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])'@babel/preset-typescript':- specifier: ^7.29.7+ specifier: 'catalog:'version: 7.29.7(@babel/[email protected])+ '@heroicons/react':+ specifier: ^2.2.0+ version: 2.2.0([email protected])'@stylexjs/babel-plugin':specifier: 'catalog:'version: 0.19.0@@ -759,11 +856,14 @@ importers:specifier: ^10.0.0version: 10.4.1'@testing-library/jest-dom':- specifier: ^6.6.0+ specifier: 'catalog:'version: 6.9.1'@testing-library/react':- specifier: ^16.3.2+ specifier: 'catalog:'version: 16.3.2(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@types/babel__core':+ specifier: ^7.20.5+ version: 7.20.5packages/lab:dependencies:@@ -795,6 +895,24 @@ importers:'@astryxdesign/cli':specifier: workspace:*version: link:../cli+ '@babel/cli':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@babel/core':+ specifier: 'catalog:'+ version: 7.29.7+ '@babel/preset-react':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@babel/preset-typescript':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@stylexjs/babel-plugin':+ specifier: 'catalog:'+ version: 0.19.0+ '@testing-library/react':+ specifier: 'catalog:'+ version: 16.3.2(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@types/d3-array':specifier: ^3.2.2version: 3.2.2@@ -823,6 +941,18 @@ importers:'@astryxdesign/cli':specifier: workspace:*version: link:../cli+ '@babel/cli':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@babel/core':+ specifier: 'catalog:'+ version: 7.29.7+ '@babel/preset-react':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])+ '@babel/preset-typescript':+ specifier: 'catalog:'+ version: 7.29.7(@babel/[email protected])'@lexical/code':specifier: ^0.46.0version: 0.46.0([email protected])@@ -853,6 +983,12 @@ importers:'@lexical/utils':specifier: ^0.46.0version: 0.46.0([email protected])+ '@stylexjs/babel-plugin':+ specifier: 'catalog:'+ version: 0.19.0+ '@testing-library/react':+ specifier: 'catalog:'+ version: 16.3.2(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])lexical:specifier: ^0.46.0version: 0.46.0([email protected])@@ -997,6 +1133,9 @@ importers:'@astryxdesign/cli':specifier: workspace:*version: link:../cli+ '@testing-library/react':+ specifier: 'catalog:'+ version: 16.3.2(@testing-library/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@types/react':specifier: ^19.2.17version: 19.2.17@@ -1042,21 +1181,17 @@ packages:peerDependencies:playwright-core: '>= 1.0.0'- '@babel/[email protected]':- resolution: {integrity: sha512-mgg9G7dJw7xzx/0Sn8eWQkDpEcQrlDdEV4Y4Ii+8Oay88+lK45vNuSavRUj4g+e5Yfw4tkH4U3ObBFOMJhy4oQ==}- engines: {node: ^22.18.0 || >=24.11.0}+ '@babel/[email protected]':+ resolution: {integrity: sha512-/75HwRbAYPqXv/Ax1h7Fg3IZfXgdU98jnA8H93/m/QBaPV3Hp5ICoLqzGYye1yHBCgpmXvtqgSUN8oOKX5tojQ==}+ engines: {node: '>=6.9.0'}hasBin: truepeerDependencies:- '@babel/core': ^8.0.0+ '@babel/core': ^7.0.0-0'@babel/[email protected]':resolution: {integrity: sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-dYYg153EyN2Ekbqw2zAsbd6/JR+9N2SEoC7YV2GyyqMM7x9bLDTjBD6XBhSMLH0wtIVyJj03jWNriQhaN+eoCw==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==}engines: {node: '>=6.9.0'}@@ -1069,18 +1204,10 @@ packages:resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-NT9NrVwJsbSV6Y2FSstWa71EETOnzrjkL5/wX3D2mYHtKM+qvqB1DvR4D0Setb/gDBsHzRICifwEWMO8CnTF6g==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-OoK6239jHPuSQOoS0kfTVKn0b/rVTk0seKq4Gd2UMLtmOVLjDC0ki3e+c90Trqv2gMfvJFqkiljrr568+qddiw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-NSpMkMsvvZqzThJ0p1B02cbtA2ObEyfBvq950bmNkyxsxvcxwhvvCB036rKhlEnuBBo30bOrk13u3FzlKSoRrw==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==}engines: {node: '>=6.9.0'}@@ -1095,10 +1222,6 @@ packages:resolution: {integrity: sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-lLozHOM6sWWlxNo8CYqHy4MBZeTvHXNgVPBfPOGsjPKUzHC2Az9QwB6gxdQmpwHl6GlQtbGgS+lj5887guDiLw==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-j+7JYmk1JYDtACIGj0QJqqWZjoUpMoEikQGADMaHgCMCSDqd2+P32rfcibUNrGOMWrlzK1WJBdxrB3JJQZwWtg==}engines: {node: '>=6.9.0'}@@ -1107,10 +1230,6 @@ packages:resolution: {integrity: sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-NZ7mSS93o4ndX4KrbD7W8Sf3QT8Qe24PrnFyUcuOPDzK6faqDFKjY9RG7he7+I7FdiQ4llpnosFqzrXa+Vy3Ew==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==}engines: {node: '>=6.9.0'}@@ -1125,12 +1244,6 @@ packages:resolution: {integrity: sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-3PKFgjTyPlhFhorfP+SjKQxLViIL++zWjFOO4hGriYU+Bsm983DxEM1JmDRJVWXV0O9npu+xXRqz7Pbd3mh70g==}- engines: {node: ^22.18.0 || >=24.11.0}- peerDependencies:- '@babel/core': ^8.0.0-'@babel/[email protected]':resolution: {integrity: sha512-atfGXWSeCiF4DnKZIfmJfQRkSw9b9gNNXR1kqKjbhG4pGYCOnkp8OcTB8E3NXjBu8NpheSnOeNKz8KT7UNFTmQ==}engines: {node: '>=6.9.0'}@@ -1145,26 +1258,14 @@ packages:resolution: {integrity: sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-6mJgmFFFIIO82vvoLt9XtRC7/TkzXfts1t/SpRX4IHSzMgqoPYCWesVu1udUPUWioAE/2fcG6WuI8zrkE1gwrg==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-9Fr9QeyCAyi1BR1jKZ6uYQ24EIhQUx5ReHfQU7drOE+TPOb+w11/dsqLkMOT2U29OdCT71XajrOT8xDc1C7orA==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-U4Dybxh4WESWHt5XhBeExi4DrY0/DNK1aHpQbsrQXCUbFHuMweT0TpLEWKvaraV2Y6fS+ZXunsZ8zIuZIgvF2Q==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==}engines: {node: '>=6.9.0'}@@ -1179,11 +1280,6 @@ packages:engines: {node: '>=6.0.0'}hasBin: true- '@babel/[email protected]':- resolution: {integrity: sha512-aLxAE+imI9bCcyaPrUDjBv3uSkWieifjLe0kuFOZF0zli0L6GCsTmsePnTr55adbIAgYz2zhN1vnFimCBUYcRQ==}- engines: {node: ^22.18.0 || >=24.11.0}- hasBin: true-'@babel/[email protected]':resolution: {integrity: sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==}engines: {node: '>=6.9.0'}@@ -1203,12 +1299,6 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0- '@babel/[email protected]':- resolution: {integrity: sha512-n0jtCOxEovhU7METqSQjcZO9pX53nu9uNIjMS+hEt+Nt9jA7oOZoBIgbCxhhASmF6T6rPDGge5UAvh6Z4eFz/g==}- engines: {node: ^22.18.0 || >=24.11.0}- peerDependencies:- '@babel/core': ^8.0.0-'@babel/[email protected]':resolution: {integrity: sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==}engines: {node: '>=6.9.0'}@@ -1251,17 +1341,17 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0- '@babel/[email protected]':- resolution: {integrity: sha512-soLishXlkyu6jcICPyO3HEP7A3GCzKEnn7XfvYrImuWEOwFAz93qShmWSYPf5ww0ZkO4By0zsN2bVIDF54fSdA==}- engines: {node: ^22.18.0 || >=24.11.0}+ '@babel/[email protected]':+ resolution: {integrity: sha512-+1wdDMGNb4UPeY3Q4L5yLiYe6TXPXubs4NjrgRFw13hPRLJfEMw2Q5OXkee6/IfdqePIeW4Jjwe3aBh7SdKz4Q==}+ engines: {node: '>=6.9.0'}peerDependencies:- '@babel/core': ^8.0.0+ '@babel/core': ^7.0.0-0- '@babel/[email protected]':- resolution: {integrity: sha512-Hb+HUZpV9KFHjm+F+P3aLDMi8QXU9l3ROCQv20z18Me2sGyW5nNNR5YTevNlgHvCpFek3BnAwhDGq/BRndXViw==}- engines: {node: ^22.18.0 || >=24.11.0}+ '@babel/[email protected]':+ resolution: {integrity: sha512-Xfy3UVMF04+ypnFbkhvfqtmvwfe92qwQdbGZVonhE+6v35GzlofmOnA1szaZqzb9xYWr0nl1e5EMmzi0DNON1g==}+ engines: {node: '>=6.9.0'}peerDependencies:- '@babel/core': ^8.0.0+ '@babel/core': ^7.0.0-0'@babel/[email protected]':resolution: {integrity: sha512-TL0hMc9xzy86VD31nUiwzd5otRAcyEPcsegCxolO0PvcXuH1v0kECe/UIznYFihpkvU5wg/jk4v0TTEFfm53fw==}@@ -1275,17 +1365,17 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0- '@babel/[email protected]':- resolution: {integrity: sha512-NgkoF7Uq+30TmOPDdNUimT0Nta02uVjqJRFNlVWKrbOCu/CkzfHa4aMnIs0lMpkMmZmWA1e42Va+F04i/pY1zw==}- engines: {node: ^22.18.0 || >=24.11.0}+ '@babel/[email protected]':+ resolution: {integrity: sha512-WsZulLVBUHXVj2cUcPVx6UE21TpalB6bHbSFErKT0Ib++ax24jjXe73FqlWvdylFOjiuPHYi6VCcgRad1ItN+A==}+ engines: {node: '>=6.9.0'}peerDependencies:- '@babel/core': ^8.0.0+ '@babel/core': ^7.0.0-0- '@babel/[email protected]':- resolution: {integrity: sha512-7/8UwU8hoPBurXa9tUiTTC8aACTRy5tCqLUtqikHp2eGiWoEB57AduOdbQ71OOMTEvawKrGhv3WfzkDpI+/oSg==}- engines: {node: ^22.18.0 || >=24.11.0}+ '@babel/[email protected]':+ resolution: {integrity: sha512-H5E+HBgDpr6Q5t+Aj11tL7XkIui1jhbIoArVQnqjgXo5/3YxkN7ZEBcWF4RQlB0T4rrxJQbXS6kiFV6B7XTqUA==}+ engines: {node: '>=6.9.0'}peerDependencies:- '@babel/core': ^8.0.0+ '@babel/core': ^7.0.0-0'@babel/[email protected]':resolution: {integrity: sha512-jK52h8LaLc7JarhQV2ofeFMts4H7vnOXnqZNA6fYglBTZewRBE51KWt3BUltW1P+KoPsYkHoJeXePuz4zo2LMw==}@@ -1299,11 +1389,11 @@ packages:peerDependencies:'@babel/core': ^7.0.0-0- '@babel/[email protected]':- resolution: {integrity: sha512-jrFuPp/pTddFZbtmWhdLNAYc6UMcpboeUPnw0BBrm4nOmcAko/1TRcFi1PzWCeOFRU+VaSiKmat87W1HvR7mIg==}- engines: {node: ^22.18.0 || >=24.11.0}+ '@babel/[email protected]':+ resolution: {integrity: sha512-C+PV1TFUPTmBQGoPBL8j2QmLpZ117YTCwxIZeJOM96GbYMFSc7/pOXU5lVykwnZxyTqQxRsvoRk6f2FktZgGHA==}+ engines: {node: '>=6.9.0'}peerDependencies:- '@babel/core': ^8.0.0+ '@babel/core': ^7.0.0-0'@babel/[email protected]':resolution: {integrity: sha512-/Foi8vKY2EVbed/1eZx0gJEEwHAIxogrySI7rULcRIvhZzbvoE/b5qG5Ghc0WKAFKOHA9SD1x7RsFlOYdutIiQ==}@@ -1325,26 +1415,14 @@ packages:resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-eAD0QW/AlbamBbw0FeGiwasbCVPq5ncW0HNVyLP3B9czqLyh4gvw+5JTSNt6le9+ziAU7mqDZsKTHf3jTb4chQ==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-bxTj/W2VclGE6CctlfQOpxg8MPDzXArRqkOBePw8EHfebcjF7fETWSS3BriEECo+UiU/Yblq+xUtSImFu7cTbw==}- engines: {node: ^22.18.0 || >=24.11.0}-'@babel/[email protected]':resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-K8ponJDxBwDHigkeFqaqT5wLGl4bTlwMafR8k7b5CPxr6Ww+UG9ls8Yx6Tcpboxu97eeGVEEyKcHmEyOwN1vSw==}- engines: {node: ^22.18.0 || >=24.11.0}-'@bcoe/[email protected]':resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==}engines: {node: '>=18'}@@ -2343,6 +2421,9 @@ packages:cpu: [x64]os: [win32]+ '@nicolo-ribaudo/[email protected]':+ resolution: {integrity: sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==}+'@nodelib/[email protected]':resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}engines: {node: '>= 8'}@@ -3672,9 +3753,6 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==}- '@types/[email protected]':- resolution: {integrity: sha512-9VN+6yxLOPLOav+7PwjZbxiID2bVaeq0ED4qSQmdQTdjnXJSaCVKTR58t15oqH1H5t8Ng2ZX1SabJVoN9Q34bw==}-'@types/[email protected]':resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}@@ -3957,6 +4035,10 @@ packages:resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}+ resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}+ engines: {node: '>= 8'}+resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}@@ -4005,6 +4087,9 @@ packages:resolution: {integrity: sha512-s7iGf5GaVMxEG0ENN9x+xTr7GFZCb1ZP/1uATUpCEK2X78nDB3RwbtFCo9pGAf9ru+VwoQ464DkaLEeRM08wJA==}engines: {node: '>=4'}+ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}+resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==}engines: {node: 18 || 20 || >=22}@@ -4021,6 +4106,10 @@ packages:resolution: {integrity: sha512-RKshQI1R3YQ+n9YJz2QQ147P66ELpa1FQEg20Dk8oW9t2KgLbpDLLp9aGZ7y8WHSshDknG0bknqGw5/tyCs5tw==}+ resolution: {integrity: sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-VUpsf/qykW0heRlC8LooCq28Kxn3mAqKohhDG/49rrsQ1dT1CXyj/pgXS+5BSRzFTR/3DyIBOqQOrGyZOh71Aw==}@@ -4028,6 +4117,9 @@ packages:resolution: {integrity: sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==}+resolution: {integrity: sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==}engines: {node: 20 || >=22}@@ -4100,14 +4192,14 @@ packages:resolution: {integrity: sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA==}engines: {node: '>= 16'}+ resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==}+ engines: {node: '>= 8.10.0'}+resolution: {integrity: sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==}engines: {node: '>= 14.16.0'}- resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==}- engines: {node: '>= 20.19.0'}-resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}@@ -4183,6 +4275,10 @@ packages:resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==}engines: {node: '>= 10'}@@ -4193,6 +4289,9 @@ packages:resolution: {integrity: sha512-4hm4VPpIecmlg59CHXnRDnqGplJFrbLG4aFEl5vl6cK1u76ws3LLvX7ikFnTDl5vo39sjWD6AaDPYodJp/NNHg==}+ resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==}+resolution: {integrity: sha512-8fLl9F04EJqjSqH+QjITQfJF8BrOVaYr1jewVgSRAEWePfxT0sku4w2hrGQ60BC/TNLGQ2pgxNlTbWQmMPFvXg==}engines: {node: '>=12'}@@ -4788,6 +4887,12 @@ packages:resolution: {integrity: sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==}engines: {node: '>=6 <7 || >=8'}+ resolution: {integrity: sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA==}++ resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==}+resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}@@ -4856,6 +4961,10 @@ packages:resolution: {integrity: sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==}engines: {node: 18 || 20 || >=22}+ resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}+ deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]+resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==}engines: {node: '>=10'}@@ -4963,6 +5072,10 @@ packages:resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==}engines: {node: '>=8'}+ resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==}+ deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.+resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}@@ -4987,6 +5100,10 @@ packages:resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==}+ resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-evOr8xfXKxE6qSR0hSXL2r3sd7ALj8+7jQEUvPYcm5sgZFdJ+AYzT6yNmJenvIYQBgIGwfwz08sL8zoL7yq2BA==}engines: {node: '>= 0.4'}@@ -5453,6 +5570,9 @@ packages:resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==}engines: {node: 18 || 20 || >=22}+ resolution: {integrity: sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==}+resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}@@ -5541,6 +5661,10 @@ packages:resolution: {integrity: sha512-J6l92tKHX6w8Jy5nO1Vuc01NoIiRGi/d6qBKVxh+IQ8Cr3b6HbVNfKiF8ZpFKufTwpwxMmce2W3iQZ861ZRyTg==}engines: {node: '>=18'}+ resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==}engines: {node: '>=8'}@@ -5675,6 +5799,10 @@ packages:resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==}engines: {node: '>=8'}+ resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}engines: {node: '>=8'}@@ -5920,14 +6048,14 @@ packages:resolution: {integrity: sha512-UkRNRIwnhG+y7hpqnycCL/xbTk7+ia9VuVTC0S+zVbwd65DI9eUpRMfsWIGrCWxTU/mi+JW8cHQCrv+zfCbEPQ==}engines: {node: '>=10.13'}+ resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==}+ engines: {node: '>=8.10.0'}+resolution: {integrity: sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==}engines: {node: '>= 14.18.0'}- resolution: {integrity: sha512-9u/XQ1pvrQtYyMpZe7DXKv2p5CNvyVwzUB6uhLAnQwHMSgKMBR62lc7AHljaeteeHXn11XTAaLLUVZYVZyuRBQ==}- engines: {node: '>= 20.19.0'}-resolution: {integrity: sha512-dEWRjcINDu/F4l2dYx57ugBtD7HV9KXESyxhzw/MqWLeglJrsjJKqACPyUPg+6AF8mIgm+Zi0dZ3ACoIg+QtpA==}engines: {node: '>= 4'}@@ -6106,14 +6234,14 @@ packages:resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}+ resolution: {integrity: sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==}engines: {node: '>=8'}- resolution: {integrity: sha512-ZA6oR3T/pEyuqwMgAKT0/hAv8oAXckzbkmR0UkUosQ+Mc4RxGoJkRmwHgHufaenlyAgE1Mxgpdcrf75y6XcnDg==}- engines: {node: '>=14.16'}-resolution: {integrity: sha512-iOBWFgUX7caIZiuutICxVgX1SdxwAVFFKwt1EvMYYec/NWO5meOJ6K5uQxhrYBdQJne4KxiqZc+KptFOWFSI9w==}engines: {node: '>=18'}@@ -6907,15 +7035,19 @@ snapshots:axe-core: 4.12.1playwright-core: 1.61.1- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7'@jridgewell/trace-mapping': 0.3.31- chokidar: 5.0.0- commander: 14.0.3+ commander: 6.2.1convert-source-map: 2.0.0- glob: 13.0.6- slash: 5.1.0+ fs-readdir-recursive: 1.1.0+ glob: 7.2.3+ make-dir: 2.1.0+ slash: 2.0.0+ optionalDependencies:+ '@nicolo-ribaudo/chokidar-2': 2.1.8-no-fsevents.3+ chokidar: 3.6.0'@babel/[email protected]':dependencies:@@ -6923,11 +7055,6 @@ snapshots:js-tokens: 4.0.0picocolors: 1.1.1- '@babel/[email protected]':- dependencies:- '@babel/helper-validator-identifier': 8.0.2- js-tokens: 10.0.0-'@babel/[email protected]': {}'@babel/[email protected]':@@ -6958,23 +7085,10 @@ snapshots:'@jridgewell/trace-mapping': 0.3.31jsesc: 3.1.0- '@babel/[email protected]':- dependencies:- '@babel/parser': 8.0.0- '@babel/types': 8.0.0- '@jridgewell/gen-mapping': 0.3.13- '@jridgewell/trace-mapping': 0.3.31- '@types/jsesc': 2.5.1- jsesc: 3.1.0-'@babel/[email protected]':dependencies:'@babel/types': 7.29.8- '@babel/[email protected]':- dependencies:- '@babel/types': 8.0.0-'@babel/[email protected]':dependencies:'@babel/compat-data': 7.29.7@@ -6998,8 +7112,6 @@ snapshots:'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]':dependencies:'@babel/traverse': 7.29.7@@ -7014,11 +7126,6 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected]':- dependencies:- '@babel/traverse': 8.0.0- '@babel/types': 8.0.0-'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7@@ -7034,10 +7141,6 @@ snapshots:'@babel/[email protected]': {}- '@babel/[email protected](@babel/[email protected])':- dependencies:- '@babel/core': 7.29.7-'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7@@ -7056,16 +7159,10 @@ snapshots:'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]':dependencies:'@babel/template': 7.29.7@@ -7079,10 +7176,6 @@ snapshots:dependencies:'@babel/types': 7.29.8- '@babel/[email protected]':- dependencies:- '@babel/types': 8.0.0-'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7@@ -7101,11 +7194,6 @@ snapshots:'@babel/core': 7.29.7'@babel/helper-plugin-utils': 7.29.7- '@babel/[email protected](@babel/[email protected])':- dependencies:- '@babel/core': 7.29.7- '@babel/helper-plugin-utils': 8.0.1(@babel/[email protected])-'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7@@ -7154,15 +7242,17 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7- '@babel/helper-plugin-utils': 8.0.1(@babel/[email protected])+ '@babel/helper-plugin-utils': 7.29.7- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7- '@babel/plugin-transform-react-jsx': 8.0.1(@babel/[email protected])+ '@babel/plugin-transform-react-jsx': 7.29.7(@babel/[email protected])+ transitivePeerDependencies:+ - supports-color'@babel/[email protected](@babel/[email protected])':dependencies:@@ -7174,20 +7264,22 @@ snapshots:'@babel/core': 7.29.7'@babel/helper-plugin-utils': 7.29.7- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7- '@babel/helper-annotate-as-pure': 8.0.0- '@babel/helper-module-imports': 8.0.0- '@babel/helper-plugin-utils': 8.0.1(@babel/[email protected])- '@babel/plugin-syntax-jsx': 8.0.1(@babel/[email protected])- '@babel/types': 8.0.0+ '@babel/helper-annotate-as-pure': 7.29.7+ '@babel/helper-module-imports': 7.29.7+ '@babel/helper-plugin-utils': 7.29.7+ '@babel/plugin-syntax-jsx': 7.29.7(@babel/[email protected])+ '@babel/types': 7.29.8+ transitivePeerDependencies:+ - supports-color- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7- '@babel/helper-annotate-as-pure': 8.0.0- '@babel/helper-plugin-utils': 8.0.1(@babel/[email protected])+ '@babel/helper-annotate-as-pure': 7.29.7+ '@babel/helper-plugin-utils': 7.29.7'@babel/[email protected](@babel/[email protected])':dependencies:@@ -7207,15 +7299,17 @@ snapshots:'@babel/helper-validator-option': 7.29.7'@babel/plugin-transform-flow-strip-types': 7.29.7(@babel/[email protected])- '@babel/[email protected](@babel/[email protected])':+ '@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.29.7- '@babel/helper-plugin-utils': 8.0.1(@babel/[email protected])- '@babel/helper-validator-option': 8.0.0- '@babel/plugin-transform-react-display-name': 8.0.1(@babel/[email protected])- '@babel/plugin-transform-react-jsx': 8.0.1(@babel/[email protected])- '@babel/plugin-transform-react-jsx-development': 8.0.1(@babel/[email protected])- '@babel/plugin-transform-react-pure-annotations': 8.0.1(@babel/[email protected])+ '@babel/helper-plugin-utils': 7.29.7+ '@babel/helper-validator-option': 7.29.7+ '@babel/plugin-transform-react-display-name': 7.29.7(@babel/[email protected])+ '@babel/plugin-transform-react-jsx': 7.29.7(@babel/[email protected])+ '@babel/plugin-transform-react-jsx-development': 7.29.7(@babel/[email protected])+ '@babel/plugin-transform-react-pure-annotations': 7.29.7(@babel/[email protected])+ transitivePeerDependencies:+ - supports-color'@babel/[email protected](@babel/[email protected])':dependencies:@@ -7245,12 +7339,6 @@ snapshots:'@babel/parser': 7.29.8'@babel/types': 7.29.8- '@babel/[email protected]':- dependencies:- '@babel/code-frame': 8.0.0- '@babel/parser': 8.0.0- '@babel/types': 8.0.0-'@babel/[email protected]':dependencies:'@babel/code-frame': 7.29.7@@ -7263,26 +7351,11 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected]':- dependencies:- '@babel/code-frame': 8.0.0- '@babel/generator': 8.0.0- '@babel/helper-globals': 8.0.0- '@babel/parser': 8.0.0- '@babel/template': 8.0.0- '@babel/types': 8.0.0- obug: 2.1.3-'@babel/[email protected]':dependencies:'@babel/helper-string-parser': 7.29.7'@babel/helper-validator-identifier': 7.29.7- '@babel/[email protected]':- dependencies:- '@babel/helper-string-parser': 8.0.0- '@babel/helper-validator-identifier': 8.0.2-'@bcoe/[email protected]': {}'@changesets/[email protected]':@@ -8305,6 +8378,9 @@ snapshots:'@next/[email protected]':optional: true+ '@nicolo-ribaudo/[email protected]':+ optional: true+'@nodelib/[email protected]':dependencies:'@nodelib/fs.stat': 2.0.5@@ -9394,7 +9470,7 @@ snapshots:'@types/[email protected]':dependencies:- '@babel/parser': 7.29.7+ '@babel/parser': 7.29.8'@babel/types': 7.29.8'@types/babel__generator': 7.27.0'@types/babel__template': 7.4.4@@ -9452,8 +9528,6 @@ snapshots:'@types/[email protected]': {}- '@types/[email protected]': {}-'@types/[email protected]': {}'@types/[email protected]':@@ -9733,6 +9807,12 @@ snapshots:+ dependencies:+ normalize-path: 3.0.0+ picomatch: 2.3.2+ optional: true+@@ -9776,6 +9856,8 @@ snapshots:+ [email protected]: {}+@@ -9788,6 +9870,9 @@ snapshots:dependencies:require-from-string: 2.0.2+ optional: true+@@ -9804,6 +9889,11 @@ snapshots:transitivePeerDependencies:- supports-color+ dependencies:+ balanced-match: 1.0.2+ concat-map: 0.0.1+dependencies:balanced-match: 4.0.4@@ -9869,13 +9959,22 @@ snapshots:dependencies:- readdirp: 4.1.2+ anymatch: 3.1.3+ braces: 3.0.3+ glob-parent: 5.1.2+ is-binary-path: 2.1.0+ is-glob: 4.0.3+ normalize-path: 3.0.0+ readdirp: 3.6.0+ optionalDependencies:+ fsevents: 2.3.3+ optional: truedependencies:- readdirp: 5.0.0+ readdirp: 4.1.2dependencies:@@ -9944,12 +10043,16 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:ajv: 8.20.0@@ -10629,6 +10732,10 @@ snapshots:jsonfile: 4.0.0universalify: 0.1.2+ [email protected]: {}++ [email protected]: {}+optional: true@@ -10690,6 +10797,15 @@ snapshots:minipass: 7.1.3path-scurry: 2.0.2+ dependencies:+ fs.realpath: 1.0.0+ inflight: 1.0.6+ inherits: 2.0.4+ minimatch: 3.1.5+ once: 1.4.0+ path-is-absolute: 1.0.1+dependencies:array-union: 2.1.0@@ -10795,6 +10911,11 @@ snapshots:+ dependencies:+ once: 1.4.0+ wrappy: 1.0.2+@@ -10814,6 +10935,11 @@ snapshots:+ dependencies:+ binary-extensions: 2.3.0+ optional: true+dependencies:hasown: 2.0.4@@ -11147,7 +11273,7 @@ snapshots:dependencies:- '@babel/parser': 7.29.7+ '@babel/parser': 7.29.8'@babel/types': 7.29.8source-map-js: 1.2.1@@ -11206,6 +11332,10 @@ snapshots:dependencies:brace-expansion: 5.0.9+ dependencies:+ brace-expansion: 1.1.18+@@ -11295,6 +11425,9 @@ snapshots:+ optional: true+dependencies:path-key: 3.1.1@@ -11477,6 +11610,8 @@ snapshots:+ [email protected]: {}+@@ -11681,9 +11816,12 @@ snapshots:js-yaml: 4.3.1strip-bom: 4.0.0- [email protected]: {}+ dependencies:+ picomatch: 2.3.2+ optional: true- [email protected]: {}+ [email protected]: {}dependencies:@@ -11999,9 +12137,9 @@ snapshots:- [email protected]: {}+ [email protected]: {}- [email protected]: {}+ [email protected]: {}dependencies:@@ -12739,8 +12877,7 @@ snapshots:- optional: true+ [email protected]: {}diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 778b7bf616..87cf4f1acb 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -13,11 +13,11 @@ packages:# own exact dependencies and lockfiles and are copied to sandboxes before use.- '!internal/vibe-tests/fixtures/**'-# Migrated from .npmrc: pnpm 11 reads these hoisting/linker settings from-# pnpm-workspace.yaml, not .npmrc. Keeps the flat, Yarn-1-style node_modules-# layout that build tools (and some phantom test imports) rely on.-nodeLinker: hoisted-shamefullyHoist: true+# linkWorkspacePackages is the one setting still carried over from the old+# .npmrc: 64 internal deps are declared as bare "*", and pnpm >= 10 defaults+# this to false, which resolves them from the registry instead of local source.+# Hoisting is deliberately not configured — every package declares what it+# imports, so the default isolated linker resolves it.linkWorkspacePackages: trueminimumReleaseAge: 10080@@ -32,15 +32,29 @@ minimumReleaseAgeExclude:# bump them together. The standalone example apps and the vibe-tests# preview app pin their own vite; keep them on the same major by hand.#-# StyleX, prettier, and esbuild are workspace-wide tool pins (formerly pnpm-# overrides) — every consumer declares them as "catalog:" so a bump lands-# here once. Peer ranges in packages/* stay loose on purpose; those are-# consumer contracts, not workspace pins.+# StyleX, prettier, esbuild, the Babel build toolchain, and Testing Library+# are workspace-wide tool pins (formerly pnpm overrides) — every consumer+# declares them as "catalog:" so a bump lands here once. The Babel and+# Testing Library entries are each duplicated across 4-6 packages that must+# stay in lockstep: the four component packages compile with the same+# babel + presets, and the same test suite runs across all of them. Peer+# ranges in packages/* stay loose on purpose; those are consumer contracts,+# not workspace pins.catalog:vite: ^8.1.3'@stylexjs/stylex': ^0.19.0'@stylexjs/babel-plugin': ^0.19.0'@stylexjs/postcss-plugin': ^0.19.0+ # Keep all four on the same Babel major. Dependabot raised cli (#4067) and+ # preset-react (#3839) to 8.x on their own while core and preset-typescript+ # stayed on 7.x, and 8.x peers on `@babel/core: ^8.0.0` — a combination no+ # single core version satisfies. Moving to Babel 8 is a migration of its own.+ '@babel/cli': ^7.29.7+ '@babel/core': ^7.29.7+ '@babel/preset-react': ^7.29.7+ '@babel/preset-typescript': ^7.29.7+ '@testing-library/react': ^16.3.2+ '@testing-library/jest-dom': ^6.6.0prettier: ^3.9.3esbuild: ^0.28.1