1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00
pdf.js/docs/contents
Tim van der Meij 0348559ef8
Don't recommend installing gulp-cli globally in the README and on the website
It's recommended to always install dependencies locally in the project
folder because global dependencies can easily conflict with other
projects and, because they are not managed by the project, diverge from
versions defined in e.g. `package.json`. Previously we installed
`gulp-cli` globally because at the time we lacked a convenient mechanism
to use Gulp otherwise, but nowadays NPM provides the `npx` command for
that purpose and recommends using it over global installations (see
https://docs.npmjs.com/downloading-and-installing-packages-globally
and PR #17489 that provided the ground work for using it).

This commit therefore updates our README and website to no longer recommend
installing `gulp-cli` globally but instead installing it locally from the
already existing entries in `package.json` like all other dependencies
we use. Not only does this remove the special-casing for `gulp-cli`
which simplifies the installation procedure, it also ensures that the
version ranges provided in `package.json` are respected.

This change is similar to the change in commit 92de2b7.

Fixes #18232.
Fixes 98ef8a1.
2024-06-14 18:41:44 +02:00
..
api Creates make.js code to build jsdoc. 2014-04-13 15:54:24 -05:00
css Redo and add more documentation to gh-pages. 2014-04-10 10:01:51 -07:00
examples Update the "Interactive examples" links (PR 17055 follow-up) 2023-10-10 09:41:01 +02:00
getting_started Don't recommend installing gulp-cli globally in the README and on the website 2024-06-14 18:41:44 +02:00
images Redo and add more documentation to gh-pages. 2014-04-10 10:01:51 -07:00
js Redo and add more documentation to gh-pages. 2014-04-10 10:01:51 -07:00
index.md Update the PDF.js web page to link to both versions of the demo viewer (PR 11241 follow-up) 2020-02-18 12:19:33 +01:00