Closed conorsch closed 5 years ago
Copying over my comments from https://github.com/freedomofpress/securedrop.org/pull/598:
I actually noticed, again, that the
optional
deps do switch around when I rundocker-compose up --build
after deleting mynode_modules
file. However, it looks like this is a known issue innpm
that might, if I understand this issue, be resolved in an upcoming version ofnpm
. Given that, I'm happy to merge Node upgrade PRs and just bear it till then.
Bumps the nodejs version to a supported LTS. The actual deploy logic must be updated separately—first, let's validate no breakage to the best of our ability here.
For the most part, I've abstained from updating the node dependencies themselves, opting to bump only the parent nodejs/npm versions. The exception is to the
jade
dep; see commit messages for details there.Testing
First, it's critical that you run
docker-compose build
(ordocker-compose up --build
) on this branch. otherwise, you'll still be using the old containers, even if you have this branch checked out! See output from docker-compose for reference:Fire up the dev env, interact with the local site manually, see if you can identify any breakage. Keep an eye on the dev console in particular.
Refs: https://github.com/freedomofpress/fpf-www-projects/issues/33