-
Notifications
You must be signed in to change notification settings - Fork 90
Consolidate dependency management on npm #372
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
Consolidate dependency management on npm #372
Conversation
7cd3aff
to
3d27b47
Compare
3d27b47
to
0666bda
Compare
Hi, LGTM. Our README.md needs to be updated, it still refers to:
Thanks,
|
Thanks, Dave. I updated the readme as well. |
I think you missing the 'd' in 'dependency' for this PR title 😄 thank |
Last chance to review. Going once, twice... |
- 'git checkout -B $TRAVIS_BRANCH' # Reconcile detached HEAD | ||
- 'npm install -g bower grunt-cli' | ||
- if [[ `npm -v` != 3* ]]; then npm i -g npm@3; fi | ||
- npm install -g bower grunt-cli |
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.
Do we still need to install bower here if we're no longer using it?
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 don't need bower to build, but Travis still needs to verify the bower install during the release process. (Still supporting both npm and bower installs.) In order for the Travis build to succeed, we still need this line -- for now.
FYI, the Travis build (i.e., the scripts from patternfly-eng-release) will still perform an npm and bower install for all our repos. That is, if there is a bower.json file available. During a release, the scripts will also perform an npm and bower install to verify.
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.
👍
This PR consolidates the angular-patternfly dependency management on npm for the pf 4 branch.
https://patternfly.atlassian.net/browse/PTNFLY-2035
Note that I'm using lodash-amd in package.json. The npm version of lodash is written for Node.js and uses require to load.
Also note that lodash no longer supports _.findWhere or _.remove. I had to replace functionality in filter-directive.js with _.find and _.filter.