Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow packageManager to be specified by name alone#300

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
rotu wants to merge9 commits intonodejs:main
base:main
Choose a base branch
Loading
fromrotu:poised-ermine
Open
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update packageManager on corepack install
  • Loading branch information
@rotu
rotu committedSep 4, 2023
commit8099e5acde02d2888e502d6c85352dd9ebd572f7
4 changes: 3 additions & 1 deletionsources/commands/InstallLocal.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,6 +29,8 @@ export class InstallLocalCommand extends BaseCommand {
throw new UsageError(`Failed to successfully resolve '${descriptor.range}' to a valid ${descriptor.name} release`);

this.context.stdout.write(`Adding ${resolved.name}@${resolved.reference} to the cache...\n`);
await this.context.engine.ensurePackageManager(resolved);
const packageManagerInfo = await this.context.engine.ensurePackageManager(resolved);

await this.setLocalPackageManager(packageManagerInfo);
}
}

[8]ページ先頭

©2009-2025 Movatter.jp