Skip to content

Issue 529, Added support for pnpm#572

Merged
dbaeumer merged 3 commits intomicrosoft:masterfrom
Lee182:master
Dec 17, 2018
Merged

Issue 529, Added support for pnpm#572
dbaeumer merged 3 commits intomicrosoft:masterfrom
Lee182:master

Conversation

@Lee182
Copy link
Contributor

@Lee182 Lee182 commented Nov 4, 2018

No description provided.

@msftclas
Copy link

msftclas commented Nov 4, 2018

CLA assistant check
All CLA requirements met.

@dbaeumer dbaeumer self-assigned this Nov 5, 2018
@dbaeumer dbaeumer added this to the On Deck milestone Nov 5, 2018
npm: {
cache: undefined,
get(): string {
const npmPath = execSync('npm root -g').toString().trim();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep using Files.resolveGlobalNodePath here to make sure we are not breaking anything.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's fine 👍

Copy link
Member

@dbaeumer dbaeumer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good to me except the two comments I have.

@dbaeumer dbaeumer merged commit 627935c into microsoft:master Dec 17, 2018
const packageManager = Workspace.getConfiguration('eslint', uri).get('packageManager', 'npm');
const localInstall = {
npm: 'npm install eslint',
pnpm: 'pnpm install pnpm',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this say pnpm install eslint?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. Will fix it.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dbaeumer this PR has been merged but this change wasn't added

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What exactly are you referring to?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was fixed here: 545149c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants