1
0
Fork 0

fix: Ensure stage level and watch level scripts use bun runtime (#2915)

* fix: Ensure stage level and watch level scripts use bun runtime

* chore: move to node@24 update imports

* fix: lint
This commit is contained in:
Paul Jankowski 2026-07-13 13:40:31 -04:00 committed by GitHub
parent 2a2a90b8cf
commit fb31580edc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 16 additions and 14 deletions

View file

@ -1,2 +1,2 @@
bun 1.3.10 bun 1.3.10
nodejs latest nodejs 24.13.1

View file

@ -6,6 +6,7 @@
"packages/*", "packages/*",
"examples/*" "examples/*"
], ],
"type": "module",
"scripts": { "scripts": {
"build": "bun run --sequential build:stage:base build:stage:react build:stage:consumers build:stage:adapter website:build", "build": "bun run --sequential build:stage:base build:stage:react build:stage:consumers build:stage:adapter website:build",
"build:all": "bun run --sequential build website:build", "build:all": "bun run --sequential build website:build",

View file

@ -1,8 +1,8 @@
import type { UserConfig } from 'tsdown'; import type { UserConfig } from 'tsdown';
import { defineConfig } from 'tsdown'; import { defineConfig } from 'tsdown';
import { getBundleBanner } from '../../scripts/getBundleBanner'; import { getBundleBanner } from '../../scripts/getBundleBanner.ts';
import { rolldownPlugins } from '../../tsdown.base'; import { rolldownPlugins } from '../../tsdown.base.ts';
import pkg from './package.json' with { type: 'json' }; import pkg from './package.json' with { type: 'json' };

View file

@ -1,8 +1,8 @@
import type { UserConfig } from 'tsdown'; import type { UserConfig } from 'tsdown';
import { defineConfig } from 'tsdown'; import { defineConfig } from 'tsdown';
import { getBundleBanner } from '../../scripts/getBundleBanner'; import { getBundleBanner } from '../../scripts/getBundleBanner.ts';
import { rolldownPlugins } from '../../tsdown.base'; import { rolldownPlugins } from '../../tsdown.base.ts';
import pkg from './package.json' with { type: 'json' }; import pkg from './package.json' with { type: 'json' };

View file

@ -1,8 +1,8 @@
import type { UserConfig } from 'tsdown'; import type { UserConfig } from 'tsdown';
import { defineConfig } from 'tsdown'; import { defineConfig } from 'tsdown';
import { getBundleBanner } from '../../scripts/getBundleBanner'; import { getBundleBanner } from '../../scripts/getBundleBanner.ts';
import { rolldownPlugins } from '../../tsdown.base'; import { rolldownPlugins } from '../../tsdown.base.ts';
import pkg from './package.json' with { type: 'json' }; import pkg from './package.json' with { type: 'json' };

View file

@ -1,8 +1,8 @@
import type { UserConfig } from 'tsdown'; import type { UserConfig } from 'tsdown';
import { defineConfig } from 'tsdown'; import { defineConfig } from 'tsdown';
import { getBundleBanner } from '../../scripts/getBundleBanner'; import { getBundleBanner } from '../../scripts/getBundleBanner.ts';
import { rolldownPlugins } from '../../tsdown.base'; import { rolldownPlugins } from '../../tsdown.base.ts';
import pkg from './package.json' with { type: 'json' }; import pkg from './package.json' with { type: 'json' };

View file

@ -1,8 +1,8 @@
import type { UserConfig } from 'tsdown'; import type { UserConfig } from 'tsdown';
import { defineConfig } from 'tsdown'; import { defineConfig } from 'tsdown';
import { getBundleBanner } from '../../scripts/getBundleBanner'; import { getBundleBanner } from '../../scripts/getBundleBanner.ts';
import { rolldownPlugins } from '../../tsdown.base'; import { rolldownPlugins } from '../../tsdown.base.ts';
import pkg from './package.json' with { type: 'json' }; import pkg from './package.json' with { type: 'json' };

View file

@ -1,8 +1,8 @@
import type { UserConfig } from 'tsdown'; import type { UserConfig } from 'tsdown';
import { defineConfig } from 'tsdown'; import { defineConfig } from 'tsdown';
import { getBundleBanner } from '../../scripts/getBundleBanner'; import { getBundleBanner } from '../../scripts/getBundleBanner.ts';
import { rolldownPlugins } from '../../tsdown.base'; import { rolldownPlugins } from '../../tsdown.base.ts';
import pkg from './package.json' with { type: 'json' }; import pkg from './package.json' with { type: 'json' };

View file

@ -12,7 +12,8 @@
"resolveJsonModule": true, "resolveJsonModule": true,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
"target": "ESNEXT" "target": "ESNEXT",
"allowImportingTsExtensions": true
}, },
"exclude": [ "exclude": [
"**/__fixtures__/**/*", "**/__fixtures__/**/*",