-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fiks linkerscriptet for pnpm #3315
Conversation
ISSUES CLOSED: #3309
description: "Hva er filstien til prosjektet hvor du vil teste?", | ||
message: "Kan være absolutt (starte med /) eller relativ (starte med ../).", | ||
required: true, | ||
let projectPath = process.argv[2]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Åpner for pnpm linker ../path/to/project
uten et prompt.
✅ Forhåndsvisning: https://jokul.fremtind.no/preview/fix/pnpm-linker/ Forhåndsvisningen blir tilgjengelig innen et par minutter. Den fjernes automatisk når pull requesten lukkes. |
@@ -81,7 +94,11 @@ | |||
continue; | |||
} | |||
|
|||
execSync(`${tool} link`, { cwd: path.join(__dirname, "..", "packages", entry.name), windowsHide: true }); | |||
if (isPnpm) { | |||
execSync(`pnpm link ${packagePath}`, { cwd: resolvedPath, windowsHide: true }); |
Check warning
Code scanning / CodeQL
Shell command built from environment values
ISSUES CLOSED: #3309
🎯 Sjekkliste
pnpm build
ogpnpm ci:test
gir ingen feil