@@ -33,7 +33,7 @@ async function main() {
3333 logger . log ( 'Building TypeScript declarations only...' )
3434 const exitCode = await runSequence ( [
3535 { args : [ 'run' , 'clean:dist:types' ] , command : 'pnpm' } ,
36- { args : [ '--project' , 'tsconfig.dts.json' ] , command : 'tsgo ' } ,
36+ { args : [ 'exec' , 'tsgo' , ' --project', 'tsconfig.dts.json' ] , command : 'pnpm ' } ,
3737 ] )
3838 process . exitCode = exitCode
3939 return
@@ -44,8 +44,8 @@ async function main() {
4444 const exitCode = await runSequence ( [
4545 { args : [ 'run' , 'clean:dist' ] , command : 'pnpm' } ,
4646 {
47- args : [ '-c' , '.config/rollup.dist.config.mjs' ] ,
48- command : 'rollup ' ,
47+ args : [ 'exec' , 'rollup' , ' -c', '.config/rollup.dist.config.mjs' ] ,
48+ command : 'pnpm ' ,
4949 } ,
5050 ] )
5151 process . exitCode = exitCode
@@ -59,8 +59,8 @@ async function main() {
5959 const srcExitCode = await runSequence ( [
6060 { args : [ 'run' , 'clean:dist' ] , command : 'pnpm' } ,
6161 {
62- args : [ '-c' , '.config/rollup.dist.config.mjs' ] ,
63- command : 'rollup ' ,
62+ args : [ 'exec' , 'rollup' , ' -c', '.config/rollup.dist.config.mjs' ] ,
63+ command : 'pnpm ' ,
6464 } ,
6565 ] )
6666
@@ -72,7 +72,7 @@ async function main() {
7272 // Build types
7373 const typesExitCode = await runSequence ( [
7474 { args : [ 'run' , 'clean:dist:types' ] , command : 'pnpm' } ,
75- { args : [ '--project' , 'tsconfig.dts.json' ] , command : 'tsgo ' } ,
75+ { args : [ 'exec' , 'tsgo' , ' --project', 'tsconfig.dts.json' ] , command : 'pnpm ' } ,
7676 ] )
7777
7878 process . exitCode = typesExitCode
0 commit comments