File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ export const defaultConfig: LaunchpadConfig = {
70
70
} ,
71
71
frameworks : {
72
72
laravel : {
73
- postSetupCommands : {
73
+ postSetup : {
74
74
enabled : true ,
75
75
commands : [
76
76
{
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export const defaultConfig: LaunchpadConfig = {
68
68
laravel : {
69
69
enabled : process . env . LAUNCHPAD_LARAVEL_ENABLED !== 'false' ,
70
70
autoDetect : process . env . LAUNCHPAD_LARAVEL_AUTO_DETECT !== 'false' ,
71
- postSetupCommands : {
71
+ postSetup : {
72
72
enabled : process . env . LAUNCHPAD_LARAVEL_POST_SETUP !== 'false' ,
73
73
commands : [
74
74
{
Original file line number Diff line number Diff line change @@ -201,8 +201,8 @@ export async function detectLaravelProject(dir: string): Promise<{ isLaravel: bo
201
201
202
202
// Execute post-setup commands if enabled
203
203
const laravelConfig = config . services ?. frameworks ?. laravel
204
- if ( laravelConfig ?. postSetupCommands ?. enabled ) {
205
- const postSetupResults = await executePostSetupCommands ( dir , laravelConfig . postSetupCommands . commands || [ ] )
204
+ if ( laravelConfig ?. postSetup ?. enabled ) {
205
+ const postSetupResults = await executepostSetup ( dir , laravelConfig . postSetup . commands || [ ] )
206
206
suggestions . push ( ...postSetupResults )
207
207
}
208
208
@@ -212,7 +212,7 @@ export async function detectLaravelProject(dir: string): Promise<{ isLaravel: bo
212
212
/**
213
213
* Execute post-setup commands based on their conditions
214
214
*/
215
- async function executePostSetupCommands ( projectDir : string , commands : PostSetupCommand [ ] ) : Promise < string [ ] > {
215
+ async function executepostSetup ( projectDir : string , commands : PostSetupCommand [ ] ) : Promise < string [ ] > {
216
216
const results : string [ ] = [ ]
217
217
218
218
for ( const command of commands ) {
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export interface LaunchpadConfig {
83
83
laravel ?: {
84
84
enabled ?: boolean
85
85
autoDetect ?: boolean
86
- postSetupCommands ?: {
86
+ postSetup ?: {
87
87
enabled ?: boolean
88
88
commands ?: PostSetupCommand [ ]
89
89
}
You can’t perform that action at this time.
0 commit comments