bitwarden-estensione-browser/apps/browser
Oscar Hinton b55a28f755
[PM-14485] Remove manifest and index.html logic from gulp (#12033)
Refactor the remaining logic from gulp.  Part of the browser build script
refactor effort.

Webpack is now responsible for performing most of the operations previously
done by gulp. This includes: - Setting browser specific class - Building the
manifest file  The `package.json` is modified to include browser specific
commands for `build`, `build:prod`, `build:watch` and `dist`.

# Manifests

Manifests now uses the `copy-webpack-plugin` `transform` feature. The logic is
located in `apps/browser/webpack/manifest.js`. It reads a template, which
supports some basic operations primarily overriding with browser specific
fields using `__browser__`.  The `manifest.json` for both regular and mv3
builds are identical to our existing manifests except:
- `applications` renamed to `browser_specific_settings`.
- `permissions` sorted alphabetically.

# Safari build

Safari requires additional packaging commands. This is implemented as a
powershell script due to the cross-platform nature, and since we generally
require powershell in our distribution pipelines. An alternative would be to
write it in bash, but bash is less powerful and would require some additional
commands like `jq`. Another alternative is to write it using js, but that would
require additional dependencies.
2024-11-19 13:25:30 +00:00
..
.vscode
config Remove showPasswordless conditionals (#11928) 2024-11-15 12:34:02 -05:00
scripts [PM-14485] Remove manifest and index.html logic from gulp (#12033) 2024-11-19 13:25:30 +00:00
spec
src [PM-14485] Remove manifest and index.html logic from gulp (#12033) 2024-11-19 13:25:30 +00:00
store Update the publisher name for Bitwarden (#11846) 2024-11-13 11:05:19 -05:00
webpack [PM-14485] Remove manifest and index.html logic from gulp (#12033) 2024-11-19 13:25:30 +00:00
.eslintrc.json
.gitignore
README.md
crowdin.yml
jest.config.js
package.json [PM-14485] Remove manifest and index.html logic from gulp (#12033) 2024-11-19 13:25:30 +00:00
postcss.config.js
tailwind.config.js
test.setup.ts [PM-10669] Fix inconsistencies with notification bar when saving or updating login credentials (#10617) 2024-08-27 13:31:44 -05:00
tsconfig.json [CL-425] - add tools card component (#11375) 2024-10-11 23:00:45 +02:00
tsconfig.spec.json
webpack.config.js [PM-14485] Remove manifest and index.html logic from gulp (#12033) 2024-11-19 13:25:30 +00:00

README.md

Github Workflow build browser on master Crowdin Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Browser Extension

The Bitwarden browser extension is written using the Web Extension API and Angular.

My Vault

Documentation

Please refer to the Browser section of the Contributing Documentation for build instructions, recommended tooling, code style tips, and lots of other great information to get you started.