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:
parent
2a2a90b8cf
commit
fb31580edc
9 changed files with 16 additions and 14 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
bun 1.3.10
|
bun 1.3.10
|
||||||
nodejs latest
|
nodejs 24.13.1
|
||||||
|
|
|
||||||
|
|
@ -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",
|
||||||
|
|
|
||||||
|
|
@ -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' };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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' };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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' };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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' };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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' };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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' };
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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__/**/*",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue