mirror of
https://github.com/bitwarden/browser
synced 2025-12-24 04:04:24 +00:00
* Applies patch to enable the autofill extension * Fixes the zip command * Updates the signing identity * Fixes a typo in a github action * Moves the security command to a previous action * Updates workflow to work on the PR branch * Updates the workflow to build from this branch * Forces native module build * Adds profile to extension building * Enables the autofill production config * List the profiles * Copies the autofill provisioning profile to Xcode * Updates the provisioning profile used for the autofill extension * Alters how the provisioning profile is provided to xcodebuild * Adds a mas build with the autofill extension * Print variables * Removes spaces from the config file * Updates all provisioning profile installation steps * Adds a new provisioning profiles location * Updates the inherited entitlements * Passes in identity and provisioning profile in after sign call * Removes mac dev cert from keychain * Undoes after sign changes * Adds resign step to workflow * Fixes the codesign call * Adds profile argument to electron builder * Adds resign step to mas builds * Removes resign step * Enable debug messages for electron builder signing * Copies autofill profile instead of desktop * Add autofill extension to signIgnore list in electron-builder config * Comment out if in test flight * Bump version * Moves the autofill extension building to after pack * Update version * Fixes windows and linux builds * Forces native build * Removes installation of unrelated certificates * Comments out synchronous function call * Update autofill project configuration * Adds ls command to debug framework * Moves the extension build script back * Updates mac developer id provisioning profile * Updates build location for autofill extension release versions * Removes unnecessary extension build call * Updates the version number * Debug signing * Removes team identifier from mac entitlements * Adds new inherited entitlements for mac * Updates the version number * Debug version number * Removes check for creating fastlane secrets * Readds check for cache before building * Reverts workflow changes in build-desktop.yml * Cleans up after-sign and extension build script * Removes installation of unnecessary mac signing certs --------- Co-authored-by: Michal Checinski <mchecinski@bitwarden.com>
73 lines
5.8 KiB
JSON
73 lines
5.8 KiB
JSON
{
|
|
"name": "@bitwarden/desktop",
|
|
"description": "A secure and free password manager for all of your devices.",
|
|
"version": "2025.4.2",
|
|
"keywords": [
|
|
"bitwarden",
|
|
"password",
|
|
"vault",
|
|
"password manager"
|
|
],
|
|
"author": "Bitwarden Inc. <hello@bitwarden.com> (https://bitwarden.com)",
|
|
"homepage": "https://bitwarden.com",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bitwarden/clients.git"
|
|
},
|
|
"license": "GPL-3.0",
|
|
"scripts": {
|
|
"postinstall": "electron-rebuild",
|
|
"start": "cross-env ELECTRON_IS_DEV=0 ELECTRON_NO_UPDATER=1 electron ./build",
|
|
"build-native": "cd desktop_native && node build.js",
|
|
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" concurrently -n Main,Rend,Prel -c yellow,cyan \"npm run build:main\" \"npm run build:renderer\" \"npm run build:preload\"",
|
|
"build:dev": "concurrently -n Main,Rend -c yellow,cyan \"npm run build:main:dev\" \"npm run build:renderer:dev\"",
|
|
"build:preload": "cross-env NODE_ENV=production webpack --config webpack.preload.js",
|
|
"build:preload:watch": "cross-env NODE_ENV=production webpack --config webpack.preload.js --watch",
|
|
"build:macos-extension:mac": "./desktop_native/macos_provider/build.sh && node scripts/build-macos-extension.js mac",
|
|
"build:macos-extension:mas": "./desktop_native/macos_provider/build.sh && node scripts/build-macos-extension.js mas",
|
|
"build:macos-extension:masdev": "./desktop_native/macos_provider/build.sh && node scripts/build-macos-extension.js mas-dev",
|
|
"build:main": "cross-env NODE_ENV=production webpack --config webpack.main.js",
|
|
"build:main:dev": "npm run build-native && cross-env NODE_ENV=development webpack --config webpack.main.js",
|
|
"build:main:watch": "npm run build-native && cross-env NODE_ENV=development webpack --config webpack.main.js --watch",
|
|
"build:renderer": "cross-env NODE_ENV=production webpack --config webpack.renderer.js",
|
|
"build:renderer:dev": "cross-env NODE_ENV=development webpack --config webpack.renderer.js",
|
|
"build:renderer:watch": "cross-env NODE_ENV=development webpack --config webpack.renderer.js --watch",
|
|
"electron": "node ./scripts/start.js",
|
|
"electron:ignore": "node ./scripts/start.js --ignore-certificate-errors",
|
|
"clean:dist": "rimraf ./dist",
|
|
"pack:dir": "npm run clean:dist && electron-builder --dir -p never",
|
|
"pack:lin:flatpak": "npm run clean:dist && electron-builder --dir -p never && flatpak-builder --repo=build/.repo build/.flatpak ./resources/com.bitwarden.desktop.devel.yaml --install-deps-from=flathub --force-clean && flatpak build-bundle ./build/.repo/ ./dist/com.bitwarden.desktop.flatpak com.bitwarden.desktop",
|
|
"pack:lin": "npm run clean:dist && electron-builder --linux --x64 -p never && export SNAP_FILE=$(realpath ./dist/bitwarden_*.snap) && unsquashfs -d ./dist/tmp-snap/ $SNAP_FILE && mkdir -p ./dist/tmp-snap/meta/polkit/ && cp ./resources/com.bitwarden.desktop.policy ./dist/tmp-snap/meta/polkit/polkit.com.bitwarden.desktop.policy && rm $SNAP_FILE && snapcraft pack ./dist/tmp-snap/ && mv ./*.snap ./dist/ && rm -rf ./dist/tmp-snap/",
|
|
"pack:lin:arm64": "npm run clean:dist && electron-builder --dir -p never && tar -czvf ./dist/bitwarden_desktop_arm64.tar.gz -C ./dist/linux-arm64-unpacked/ .",
|
|
"pack:mac": "npm run clean:dist && electron-builder --mac --universal -p never",
|
|
"pack:mac:with-extension": "npm run clean:dist && npm run build:macos-extension:mac && electron-builder --mac --universal -p never",
|
|
"pack:mac:arm64": "npm run clean:dist && electron-builder --mac --arm64 -p never",
|
|
"pack:mac:mas": "npm run clean:dist && electron-builder --mac mas --universal -p never",
|
|
"pack:mac:mas:with-extension": "npm run clean:dist && npm run build:macos-extension:mas && electron-builder --mac mas --universal -p never",
|
|
"pack:mac:masdev": "npm run clean:dist && electron-builder --mac mas-dev --universal -p never",
|
|
"pack:mac:masdev:with-extension": "npm run clean:dist && npm run build:macos-extension:masdev && electron-builder --mac mas-dev --universal -p never",
|
|
"pack:win": "npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p never -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
|
"pack:win:ci": "npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p never",
|
|
"dist:dir": "npm run build && npm run pack:dir",
|
|
"dist:lin": "npm run build && npm run pack:lin",
|
|
"dist:lin:arm64": "npm run build && npm run pack:lin:arm64",
|
|
"dist:mac": "npm run build && npm run pack:mac",
|
|
"dist:mac:with-extension": "npm run build && npm run pack:mac:with-extension",
|
|
"dist:mac:mas": "npm run build && npm run pack:mac:mas",
|
|
"dist:mac:mas:with-extension": "npm run build && npm run pack:mac:mas:with-extension",
|
|
"dist:mac:masdev": "npm run build && npm run pack:mac:masdev",
|
|
"dist:mac:masdev:with-extension": "npm run build && npm run pack:mac:masdev:with-extension",
|
|
"dist:win": "npm run build && npm run pack:win",
|
|
"dist:win:ci": "npm run build && npm run pack:win:ci",
|
|
"publish:lin": "npm run build && npm run clean:dist && electron-builder --linux --x64 -p always",
|
|
"publish:mac": "npm run build && npm run clean:dist && electron-builder --mac -p always",
|
|
"publish:mac:mas": "npm run dist:mac:mas && npm run upload:mas",
|
|
"publish:win": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always -c.win.certificateSubjectName=\"8bit Solutions LLC\"",
|
|
"publish:win:dev": "npm run build && npm run clean:dist && electron-builder --win --x64 --arm64 --ia32 -p always",
|
|
"upload:mas": "xcrun altool --upload-app --type osx --file \"$(find ./dist/mas-universal/Bitwarden*.pkg)\" --apiKey $APP_STORE_CONNECT_AUTH_KEY --apiIssuer $APP_STORE_CONNECT_TEAM_ISSUER",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:watch:all": "jest --watchAll"
|
|
}
|
|
}
|