Skip to content

Commit

Permalink
fix cra deps install
Browse files Browse the repository at this point in the history
  • Loading branch information
djobbo committed Apr 16, 2024
1 parent 0b37da7 commit c2cdbf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/create-reaccord-app/src/steps/installDependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import fs from "node:fs"
import path from "node:path"
import type { Context } from "../helpers/context.js"

export const dependencies = async (ctx: Context) => {
export const installDependencies = async (ctx: Context) => {
let deps = ctx.install ?? ctx.yes
if (deps === undefined) {
;({ deps } = await ctx.prompt({
Expand Down Expand Up @@ -36,7 +36,7 @@ export const dependencies = async (ctx: Context) => {
)
},
while: () =>
installDependencies({
install({
packageManager: ctx.packageManager,
cwd: ctx.cwd,
}),
Expand All @@ -49,7 +49,7 @@ export const dependencies = async (ctx: Context) => {
}
}

export const installDependencies = async ({
export const install = async ({
packageManager,
cwd,
}: {
Expand Down

0 comments on commit c2cdbf4

Please # to comment.