mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Previously we built DevTools for all browsers with version 2 of the manifest file format. This commit includes a number of refactors and API additions that will enable us to build DevTools with version 3 of the manifest file format. The manifest v3 build of Angular DevTools has been tested on Chrome, Edge, and Safari. Notably, the Firefox version of Angular DevTools remains as a manifest v2 build. Firefox does not yet support manifest v3 in it's latest stable release. When Firefox makes this transition, a follow up PR will update the Firefox manifest file to version 3. Because Firefox still needs v2, we need to keep some old v2 APIs around in our background page (service worker in v3) that will execute conditionally based on if the extension was built for v2 or v3. This is determined with the chrome.runtime.getManifest().manifest_version API. PR Close #47575 |
||
|---|---|---|
| .. | ||
| cypress | ||
| docs | ||
| projects | ||
| src | ||
| tools | ||
| .gitignore | ||
| BUILD.bazel | ||
| CONTRIBUTING.md | ||
| cypress.json | ||
| DEVELOPING.md | ||
| packages.bzl | ||
| README.md | ||
| tsconfig.json | ||
| tsconfig.spec.json | ||
| tslint.json | ||
Angular DevTools
Angular DevTools is a browser DevTools extension for debugging and profiling Angular applications.
Installing and Running locally
To setup your local development environment for Angular DevTools, perform the following steps:
git clone git://github.com/angular/angular
cd angular
yarn
yarn run devtools:devserver
Publish Angular DevTools
To publish Angular DevTools to Firefox or Chrome stores:
- Update the version of the corresponding manifest file. Currently, Angular DevTools uses different versioning compared to the rest of the packages within the monorepo.
manifest.chrome.jsonfor Chromemanifest.firefox.jsonfor Firefox
- Build the extension:
yarn devtools:build:chromefor Chromeyarn devtools:build:firefoxfor Firefox
- Find the extension production assets in
dist/bin/devtools/projects/shell-browser/src/prodapprelative to the root of the Angular monorepo - Zip the files in the directory
- Upload them to the corresponding store
Firefox
- Go to the Firefox Addons page
- For email enter
devrel@angular.io - Find the password on Valentine
- Setup Google Authenticator with the 2FA QR code. You can find the QR code on Valentine
Chrome Web Store
- Go to the extension page
- Make sure your email is part of the Google Group we use for publishing the extension
- Navigate to "Developer Dashboard"
- Enter your account credentials
- You should be able to change the publisher to "Angular"