Skip to content

Commit

Permalink
fix: fix path laravel
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Jan 25, 2025
1 parent 0e8aa03 commit 2916815
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
16 changes: 2 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,7 @@
"bin": {
"justd": "dist/index.js"
},
"files": [
"dist",
"src/resources",
"LICENSE",
"README.md",
"package.json"
],
"files": ["dist", "src/resources", "LICENSE", "README.md", "package.json"],
"repository": {
"type": "git",
"url": "git+https://github.com/justdlabs/cli.git"
Expand All @@ -32,13 +26,7 @@
"release": "export GITHUB_TOKEN=$(cat .github_token) && release-it",
"typecheck": "tsc --noEmit"
},
"keywords": [
"cli",
"justd cli",
"Justd",
"design-system",
"justd"
],
"keywords": ["cli", "justd cli", "Justd", "design-system", "justd"],
"author": "Irsyad A. Panjaitan",
"license": "MIT",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/commands/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ export async function init(flags: {
providers = path.join(stubs, `next/${lang}/providers.stub`)
} else if (isLaravel()) {
twConfigStub = path.join(stubs, "1.x/tailwind.config.laravel.stub")
themeProvider = path.join(stubs, `laravel/${lang}theme-provider.stub`)
providers = path.join(stubs, `laravel/${lang}providers.stub`)
themeProvider = path.join(stubs, `laravel/${lang}/theme-provider.stub`)
providers = path.join(stubs, `laravel/${lang}/providers.stub`)
} else if (isRemix()) {
twConfigStub = path.join(stubs, "1.x/tailwind.config.vite.stub")
themeProvider = path.join(stubs, `remix/${lang}/theme-provider.stub`)
Expand Down
3 changes: 1 addition & 2 deletions src/commands/start-new-project/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import {
import { setupBiome, setupTailwind } from "@/commands/start-new-project/partials/setup"
import type { Framework, FrameworkKey, FrameworkOptions, PackageManager } from "@/types"
import type { Config } from "@/utils/config"
import { isTailwind } from "@/utils/helpers"
import { error, grayText, highlight } from "@/utils/logging"
import { input, select } from "@inquirer/prompts"
import { executeCommand } from "./partials/execute-command"
import { isTailwind } from "@/utils/helpers"

const isProduction = process.env.NODE_ENV === "production"

Expand Down Expand Up @@ -111,7 +111,6 @@ export async function startNewProject(
options.useSrc = ["y", "yes"].includes(wantSrcFolder.trim().toLowerCase())
}


const useBiome = await input({
message: `Do you want to use Biome for this project? (Y/${grayText("n")})`,
default: "Yes",
Expand Down

0 comments on commit 2916815

Please sign in to comment.