bug 1540655: remote: ignore non-vendored Node.js assets; r=remote-protocol-reviewers,jdescottes

We vendor the Puppeteer library, but not its dependencies.
When "npm install" is called in remote/test/puppeteer/, it puts
its dependencies under remote/test/puppeteer/node_modules/ and
generates a remote/test/puppeteer/package-lock.json file.  We do
not want these to be checked in.

DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D37010

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andreas Tolfsen 2019-08-16 12:58:17 +00:00
parent a5a5c8b5bb
commit e95c2010c7
2 changed files with 6 additions and 0 deletions

View File

@ -99,6 +99,10 @@ _OPT\.OBJ/
# Ignore node_modules directories in devtools
^devtools/.*/node_modules/
# Ignore node_module directories and npm artifacts
^remote/test/puppeteer/package-lock.json
^remote/test/puppeteer/node_modules/
# git checkout of libstagefright
^media/libstagefright/android$

2
remote/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
test/puppeteer/package-lock.json
test/puppeteer/node_modules/