-
Notifications
You must be signed in to change notification settings - Fork 598
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
Get web-build-tools using PNPM #383
Conversation
love this!!! #Resolved |
Looked at the PR, is |
Hi @HipsterZipster , no "pnpmVersion" was added with #449 You should be able to try it now, although there a number of known issues that we are working on resolving the pnpm maintainer. #Resolved |
rush.json
Outdated
@@ -1,5 +1,5 @@ | |||
{ | |||
"npmVersion": "4.5.0", | |||
"pnpmVersion": "1.25.1", | |||
"rushVersion": "4.1.0", | |||
"nodeSupportedVersionRange": ">=6.9.0 <7.0.0", |
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.
"nodeSupportedVersionRange": ">=6.9.0 <7.0.0", [](start = 1, length = 47)
Your PR adds typings for Node 8 #Resolved
apps/api-documenter/package.json
Outdated
@@ -27,7 +27,7 @@ | |||
"@types/colors": "1.1.3", | |||
"@types/fs-extra": "0.0.37", | |||
"@types/js-yaml": "3.9.1", | |||
"@types/node": "6.0.88", | |||
"@types/node": "^8.0.0", |
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.
"@types/node": "^8.0.0", [](start = 4, length = 24)
We have to use node 8 with PNPM? #Resolved
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.
{ | ||
"name": "chalk", | ||
"allowedCategories": [ "libraries" ] | ||
}, |
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.
We use colors, not chalk.
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.
we use chalk in GCB apparently, however it was not defined as a dependency. PNPM exposed this as a problem. I can replace chalk with colors in this PR, or I can also do it in another PR. your call
In reply to: 159794773 [](ancestors = 159794773)
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.
common/config/rush/pnpmfile.js
Outdated
pkg.dependencies['slash'] = '^1.0.0'; | ||
} | ||
return pkg; | ||
} |
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.
What is this? Does every project that uses PNPM need this file? #Resolved
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.
This is a special override for "bad packages" (e.g. jest-runtime didn't add slash as a dependency). There is a long discussion about this file here pnpm/pnpm#949
Goal here is to get WBT working with PNPM before making additional changes to pnpm
In reply to: 159794827 [](ancestors = 159794827)
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.
I tested and we don't need this since newer version of jest-runtime arent missing the dependency
In reply to: 159795139 [](ancestors = 159795139,159794827)
/** | ||
* A helper utility for gulp which can be extended to provide additional features to gulp vinyl streams | ||
*/ | ||
export class GulpProxy extends Orchestrator implements gulp.Gulp { |
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.
GulpProxy [](start = 13, length = 9)
What is this change?
#Resolved
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.
I removed gulpproxy because it was causing a lot of issues with node/gulp typings, but I may be able to revert this as well
In reply to: 159794855 [](ancestors = 159794855)
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.
I think this can also be reverted due to the deduping change
In reply to: 159795595 [](ancestors = 159795595,159794855)
Hmm, we may not need the gulp proxy change. It was caused by conflicts in the gulp/node typings. I may be able to revert it. Let me see In reply to: 355447824 [](ancestors = 355447824) Refers to: common/reviews/api/gulp-core-build.api.ts:2 in e0f6e05. [](commit_id = e0f6e05, deletion_comment = False) |
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.
🕐
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.
@@ -145,7 +144,7 @@ export abstract class GulpTask<TTaskConfig> implements IExecutable { | |||
* @returns a Promise, a Stream or undefined if completeCallback() is called | |||
*/ | |||
public abstract executeTask( | |||
gulp: gulp.Gulp | GulpProxy, |
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.
p: gulp.Gulp | GulpProxy, [](start = 7, length = 25)
Are you removing GulpProxy? #Resolved
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.
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.
Fix your PR description |
@zkochan FYI We've now officially converted our first Rush monorepo to use pnpm! In the coming weeks we'll be working on migrating other repos to use this tool. Thanks again for all your help and fixes! (And great job @nickpape-msft !) |
This is awesome news! 🎉🍾🎆 |
No description provided.