Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] <support@github.com> Closes #17072
Firebase for docs.angularjs.org
Continuous integration
The docs are deployed to Google Firebase hosting via a CI deployment config, which expects
firebase.json to be in the repository root, which is done by a Grunt task
(firebaseDocsJsonForCI which is included in prepareDeploy).
The firebaseDocsJsonForCI task modifies the paths in the firebase.json and copies it to the
repository root.
See .circleci/config.yml for the complete deployment config and build steps.
Serving locally:
-
Run
yarn grunt package. This builds the files that will be deployed. -
Run
yarn grunt prepareDeploy. This copies docs content files into deploy/docs and the partials for Search Engine AJAX Crawling into ./functions/content. It also moves the firebase.json file to the root folder, where the firebase-cli expects it -
Run
firebase serve --only functions,hostingCreates a server at localhost:5000 that serves from deploy/docs and uses the local function
See /scripts/code.angularjs.org-firebase/readme.firebase.code.md for the firebase deployment to code.angularjs.org