-
Notifications
You must be signed in to change notification settings - Fork 16
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
Feature/node upgrade #181
Feature/node upgrade #181
Conversation
|
I think the angular 5 requirement is something the flexbox developer manually set the requirement as (in his package.json probably). The flexbox developer probably tested it with Angular 5, but still retains backwards compatibility with Angular 4. It's likely there's 0 breaking changes between Angular 4 and 5 for using flexbox. |
ok, might as well keep the newer version then |
4ed0f71
to
f685252
Compare
Ok this is interesting. apparently the shrinkwrap from before locked it down to beta 9 which completely disregarded beta 12 in the package.json which is why it works. My recent upgrade to 12 actually does not work |
Codecov Report
@@ Coverage Diff @@
## develop #181 +/- ##
==========================================
Coverage ? 63.16%
==========================================
Files ? 95
Lines ? 2802
Branches ? 365
==========================================
Hits ? 1770
Misses ? 839
Partials ? 193 Continue to review full report at Codecov.
|
52bf950
to
f685252
Compare
@garyluu could you comment on the status of this? thanks |
Good to re-review |
As discussed, let's get a check into the travis-ci production checks. |
6a633da
to
b70db38
Compare
2278030
to
cf236cd
Compare
As discussed, we'll discuss this as a group at the demo and hopefully decide between yarn and npm5 |
As discussed, we'll move ahead with NPM5 |
* Update node and cypress * Moved fixed versions to package-lock.json, no need in package.json * Check if package-lock.json has changed * Don't dedupe, run package-lock.json against all deps
Originally trying to fix the npm econreset and cypress install issue on Travis. Ended up:
npm i --prod
,npm i --dev
, andnpm i
. The lock file's packages will be used for whichever one is about to be installed.Notes
npm i
will install the exact version of the packages listed in the lock file. If they are not compatible, npm will install what's listed in the package.json and then update the lock file.npm dedupe
to modify the lock file again otherwise a bunch of deps of deps will conflict with each othernpm install --prod
andnpm install
yields a slightly different package-lock.json due to angular/cli not liking being placed in deps instead of devDeps. Using the package-lock.json fromnpm install --prod
instead. Can't move cli to devDeps because we need ng commands during production. Can't install it outside ofnpm install --prod
because it would still require an angular-cli in the package.json to link to things like the compiler-cli etc.