Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 2916815

Browse files
committed
fix: fix path laravel
1 parent 0e8aa03 commit 2916815

File tree

3 files changed

+5
-18
lines changed

3 files changed

+5
-18
lines changed

package.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@
77
"bin": {
88
"justd": "dist/index.js"
99
},
10-
"files": [
11-
"dist",
12-
"src/resources",
13-
"LICENSE",
14-
"README.md",
15-
"package.json"
16-
],
10+
"files": ["dist", "src/resources", "LICENSE", "README.md", "package.json"],
1711
"repository": {
1812
"type": "git",
1913
"url": "git+https://github.com/justdlabs/cli.git"
@@ -32,13 +26,7 @@
3226
"release": "export GITHUB_TOKEN=$(cat .github_token) && release-it",
3327
"typecheck": "tsc --noEmit"
3428
},
35-
"keywords": [
36-
"cli",
37-
"justd cli",
38-
"Justd",
39-
"design-system",
40-
"justd"
41-
],
29+
"keywords": ["cli", "justd cli", "Justd", "design-system", "justd"],
4230
"author": "Irsyad A. Panjaitan",
4331
"license": "MIT",
4432
"devDependencies": {

src/commands/init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ export async function init(flags: {
155155
providers = path.join(stubs, `next/${lang}/providers.stub`)
156156
} else if (isLaravel()) {
157157
twConfigStub = path.join(stubs, "1.x/tailwind.config.laravel.stub")
158-
themeProvider = path.join(stubs, `laravel/${lang}theme-provider.stub`)
159-
providers = path.join(stubs, `laravel/${lang}providers.stub`)
158+
themeProvider = path.join(stubs, `laravel/${lang}/theme-provider.stub`)
159+
providers = path.join(stubs, `laravel/${lang}/providers.stub`)
160160
} else if (isRemix()) {
161161
twConfigStub = path.join(stubs, "1.x/tailwind.config.vite.stub")
162162
themeProvider = path.join(stubs, `remix/${lang}/theme-provider.stub`)

src/commands/start-new-project/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import {
1313
import { setupBiome, setupTailwind } from "@/commands/start-new-project/partials/setup"
1414
import type { Framework, FrameworkKey, FrameworkOptions, PackageManager } from "@/types"
1515
import type { Config } from "@/utils/config"
16+
import { isTailwind } from "@/utils/helpers"
1617
import { error, grayText, highlight } from "@/utils/logging"
1718
import { input, select } from "@inquirer/prompts"
1819
import { executeCommand } from "./partials/execute-command"
19-
import { isTailwind } from "@/utils/helpers"
2020

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

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

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

0 commit comments

Comments
 (0)