Skip to content

Commit d65da8c

Browse files
committed
chore: wip
1 parent 405724e commit d65da8c

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

packages/launchpad/launchpad.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export const defaultConfig: LaunchpadConfig = {
7070
},
7171
frameworks: {
7272
laravel: {
73-
postSetupCommands: {
73+
postSetup: {
7474
enabled: true,
7575
commands: [
7676
{

packages/launchpad/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const defaultConfig: LaunchpadConfig = {
6868
laravel: {
6969
enabled: process.env.LAUNCHPAD_LARAVEL_ENABLED !== 'false',
7070
autoDetect: process.env.LAUNCHPAD_LARAVEL_AUTO_DETECT !== 'false',
71-
postSetupCommands: {
71+
postSetup: {
7272
enabled: process.env.LAUNCHPAD_LARAVEL_POST_SETUP !== 'false',
7373
commands: [
7474
{

packages/launchpad/src/dev/dump.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ export async function detectLaravelProject(dir: string): Promise<{ isLaravel: bo
201201

202202
// Execute post-setup commands if enabled
203203
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 || [])
206206
suggestions.push(...postSetupResults)
207207
}
208208

@@ -212,7 +212,7 @@ export async function detectLaravelProject(dir: string): Promise<{ isLaravel: bo
212212
/**
213213
* Execute post-setup commands based on their conditions
214214
*/
215-
async function executePostSetupCommands(projectDir: string, commands: PostSetupCommand[]): Promise<string[]> {
215+
async function executepostSetup(projectDir: string, commands: PostSetupCommand[]): Promise<string[]> {
216216
const results: string[] = []
217217

218218
for (const command of commands) {

packages/launchpad/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface LaunchpadConfig {
8383
laravel?: {
8484
enabled?: boolean
8585
autoDetect?: boolean
86-
postSetupCommands?: {
86+
postSetup?: {
8787
enabled?: boolean
8888
commands?: PostSetupCommand[]
8989
}

0 commit comments

Comments
 (0)