File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 1
- import { spawn } from '@stacksjs/cli'
2
1
import { log } from '@stacksjs/logging'
3
- import { projectPath } from '@stacksjs/path'
4
2
import type { PreinstallOptions } from '@stacksjs/types'
5
3
import { determineDebugLevel } from '@stacksjs/utils'
6
4
@@ -9,7 +7,7 @@ export async function invoke(options?: PreinstallOptions) {
9
7
const stdio = determineDebugLevel ( options ) ? 'inherit' : 'ignore'
10
8
11
9
log . info ( 'Preinstall check...' )
12
- await spawn ( 'npx only-allow pnpm' , { stdio, cwd : projectPath ( ) } )
10
+ // await spawn('npx only-allow pnpm', { stdio, cwd: projectPath() })
13
11
log . success ( 'Environment ready' )
14
12
}
15
13
catch ( error ) {
Original file line number Diff line number Diff line change 63
63
],
64
64
"scripts" : {
65
65
"buddy" : " tsx ./src/cli.ts" ,
66
- "preinstall" : " npx only-allow pnpm" ,
67
66
"build" : " unbuild" ,
68
67
"dev" : " unbuild --stub" ,
69
68
"prepublishOnly" : " tsx ./src/cli.ts prepublish" ,
You can’t perform that action at this time.
0 commit comments