托管 Proton 网页客户端的 Monorepo
本项目是一个托管 Proton Web 客户端的 monorepo。它包括 Web 应用程序、它们的依赖项和共享模块,以及围绕 Web 客户端开发的所有工具(还有一些其他杂项内容)。
从技术上讲,这个 monorepo 基于 Yarn 和 Yarn Workspaces,内部所有包采用统一的版本管理。
你需要具备以下环境才能使用本项目:
具体版本要求请查看 package.json。
# Clone the project
git clone https://github.com/ProtonMail/WebClients.git
git clone [email protected]:ProtonMail/WebClients.git
# Install all dependencies for the entire monorepo & symlink
# local dependents to one another
yarn install
# Run web clients by running proton-<package-name>
# Example: proton mail web client
yarn workspace proton-mail start关于如何操作 monorepo 的更多细节,请参考 yarn 文档。
VPN 同时存在于 proton.me 和 protonvpn.com 中。不过,它们的提供服务的方式不同。VPN 的某些部分是共享的,托管在 @proton/components 或 @proton/shared 中,但它们的入口点各不相同。
对于 protonvpn.com,入口点来自 applications/vpn-settings,而对于 account.proton.me/u/{X}/vpn,
暂无开放 Issues,或尚未同步最近议题。