@@ -32,7 +32,7 @@ async function main() {
3232 logger . log ( 'Building TypeScript declarations only...' )
3333 const exitCode = await runSequence ( [
3434 { args : [ 'run' , 'clean:dist:types' ] , command : 'pnpm' } ,
35- { args : [ '--project' , 'tsconfig.dts.json' ] , command : 'tsgo ' } ,
35+ { args : [ 'exec' , 'tsgo' , ' --project', 'tsconfig.dts.json' ] , command : 'pnpm ' } ,
3636 ] )
3737 process . exitCode = exitCode
3838 return
@@ -43,8 +43,8 @@ async function main() {
4343 const exitCode = await runSequence ( [
4444 { args : [ 'run' , 'clean:dist' ] , command : 'pnpm' } ,
4545 {
46- args : [ '-c' , '.config/rollup.dist.config.mjs' ] ,
47- command : 'rollup ' ,
46+ args : [ 'exec' , 'rollup' , ' -c', '.config/rollup.dist.config.mjs' ] ,
47+ command : 'pnpm ' ,
4848 } ,
4949 ] )
5050 process . exitCode = exitCode
@@ -58,8 +58,8 @@ async function main() {
5858 const srcExitCode = await runSequence ( [
5959 { args : [ 'run' , 'clean:dist' ] , command : 'pnpm' } ,
6060 {
61- args : [ '-c' , '.config/rollup.dist.config.mjs' ] ,
62- command : 'rollup ' ,
61+ args : [ 'exec' , 'rollup' , ' -c', '.config/rollup.dist.config.mjs' ] ,
62+ command : 'pnpm ' ,
6363 } ,
6464 ] )
6565
@@ -71,7 +71,7 @@ async function main() {
7171 // Build types
7272 const typesExitCode = await runSequence ( [
7373 { args : [ 'run' , 'clean:dist:types' ] , command : 'pnpm' } ,
74- { args : [ '--project' , 'tsconfig.dts.json' ] , command : 'tsgo ' } ,
74+ { args : [ 'exec' , 'tsgo' , ' --project', 'tsconfig.dts.json' ] , command : 'pnpm ' } ,
7575 ] )
7676
7777 process . exitCode = typesExitCode
0 commit comments