Skip to content

Commit be3e8ea

Browse files
authored
Merge pull request #106 from tetherto/staging
Release v1.5.0
2 parents e290d47 + 292a78b commit be3e8ea

39 files changed

Lines changed: 3237 additions & 2720 deletions

File tree

.github/workflows/build-browser-extension.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -60,25 +60,6 @@ jobs:
6060

6161
- name: Build extension (Vite)
6262
run: npm run build
63-
env:
64-
VITE_SLACK_WEBHOOK_URL_PATH: ${{ secrets.SLACK_WEBHOOK_URL_PATH }}
65-
VITE_GOOGLE_FORM_KEY: ${{ secrets.GOOGLE_FORM_KEY }}
66-
VITE_GOOGLE_FORM_MAPPING_TIMESTAMP: ${{ secrets.GOOGLE_FORM_MAPPING_TIMESTAMP }}
67-
VITE_GOOGLE_FORM_MAPPING_TOPIC: ${{ secrets.GOOGLE_FORM_MAPPING_TOPIC }}
68-
VITE_GOOGLE_FORM_MAPPING_APP: ${{ secrets.GOOGLE_FORM_MAPPING_APP }}
69-
VITE_GOOGLE_FORM_MAPPING_OPERATING_SYSTEM: ${{ secrets.GOOGLE_FORM_MAPPING_OPERATING_SYSTEM }}
70-
VITE_GOOGLE_FORM_MAPPING_DEVICE_MODEL: ${{ secrets.GOOGLE_FORM_MAPPING_DEVICE_MODEL }}
71-
VITE_GOOGLE_FORM_MAPPING_MESSAGE: ${{ secrets.GOOGLE_FORM_MAPPING_MESSAGE }}
72-
VITE_GOOGLE_FORM_MAPPING_APP_VERSION: ${{ secrets.GOOGLE_FORM_MAPPING_APP_VERSION }}
73-
VITE_TEST_SLACK_WEBHOOK_URL_PATH: ${{ secrets.TEST_SLACK_WEBHOOK_URL_PATH }}
74-
VITE_TEST_GOOGLE_FORM_KEY: ${{ secrets.TEST_GOOGLE_FORM_KEY }}
75-
VITE_TEST_GOOGLE_FORM_MAPPING_TIMESTAMP: ${{ secrets.TEST_GOOGLE_FORM_MAPPING_TIMESTAMP }}
76-
VITE_TEST_GOOGLE_FORM_MAPPING_TOPIC: ${{ secrets.TEST_GOOGLE_FORM_MAPPING_TOPIC }}
77-
VITE_TEST_GOOGLE_FORM_MAPPING_APP: ${{ secrets.TEST_GOOGLE_FORM_MAPPING_APP }}
78-
VITE_TEST_GOOGLE_FORM_MAPPING_OPERATING_SYSTEM: ${{ secrets.TEST_GOOGLE_FORM_MAPPING_OPERATING_SYSTEM }}
79-
VITE_TEST_GOOGLE_FORM_MAPPING_DEVICE_MODEL: ${{ secrets.TEST_GOOGLE_FORM_MAPPING_DEVICE_MODEL }}
80-
VITE_TEST_GOOGLE_FORM_MAPPING_MESSAGE: ${{ secrets.TEST_GOOGLE_FORM_MAPPING_MESSAGE }}
81-
VITE_TEST_GOOGLE_FORM_MAPPING_APP_VERSION: ${{ secrets.TEST_GOOGLE_FORM_MAPPING_APP_VERSION }}
8263

8364
- name: Package Chrome ZIP
8465
run: |

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ dist-ssr
2727
yalc.lock
2828

2929
.env
30+
31+
tsconfig.tsbuildinfo
32+
33+
/src/locales

babel.config.cjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module.exports = {
77
modules: 'commonjs'
88
}
99
],
10-
'@babel/preset-react'
10+
'@babel/preset-react',
11+
'@babel/preset-typescript'
1112
]
1213
}

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { eslintConfig } from 'tether-dev-docs'
33
export default [
44
...eslintConfig,
55
{
6+
plugins: eslintConfig[0].plugins,
67
languageOptions: {
78
globals: {
89
chrome: 'readonly',

package-lock.json

Lines changed: 2838 additions & 2313 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pearpass-app-browser-extension",
33
"private": true,
4-
"version": "1.4.0",
4+
"version": "1.5.0",
55
"type": "module",
66
"license": "Apache-2.0",
77
"scripts": {
@@ -15,7 +15,7 @@
1515
"build:watch:content": "vite build --watch --config vite.config.content.js --mode development",
1616
"build:watch:background": "vite build --watch --config vite.config.background.js --mode development",
1717
"build:watch:inject": "vite build --watch --config vite.config.inject.js --mode development",
18-
"build:watch": "npm-run-all --parallel build:watch:main build:watch:content build:watch:background build:watch:inject",
18+
"build:watch": "npm-run-all --parallel lingui:extract lingui:compile build:watch:main build:watch:content build:watch:background build:watch:inject",
1919
"preview": "vite preview",
2020
"test": "jest",
2121
"lint:fix": "eslint --fix ./src",
@@ -48,9 +48,9 @@
4848
"pearpass-lib-vault": "file:packages/pearpass-lib-vault",
4949
"pearpass-utils-password-check": "file:packages/pearpass-utils-password-check",
5050
"pearpass-utils-password-generator": "file:packages/pearpass-utils-password-generator",
51-
"react": "18.3.1",
52-
"react-dom": "18.3.0",
53-
"react-redux": "9.1.2",
51+
"react": "19.1.0",
52+
"react-dom": "19.1.0",
53+
"react-redux": "9.2.0",
5454
"styled-components": "6.1.19",
5555
"tailwind-merge": "3.3.0",
5656
"tailwindcss": "4.1.4",
@@ -60,10 +60,16 @@
6060
"@babel/core": "7.26.10",
6161
"@babel/preset-env": "7.26.9",
6262
"@babel/preset-react": "7.26.3",
63+
"@babel/preset-typescript": "^7.28.5",
6364
"@lingui/babel-plugin-lingui-macro": "5.1.2",
6465
"@lingui/cli": "5.1.2",
6566
"@testing-library/jest-dom": "6.6.3",
66-
"@testing-library/react": "15.0.7",
67+
"@testing-library/react": "16.3.2",
68+
"@types/chrome": "^0.1.36",
69+
"@types/jest": "^30.0.0",
70+
"@types/node": "^25.1.0",
71+
"@types/react": "^18.3.0",
72+
"@types/react-dom": "^18.3.0",
6773
"@vitejs/plugin-react": "4.3.4",
6874
"babel-jest": "29.7.0",
6975
"husky": "9.1.7",
@@ -72,6 +78,7 @@
7278
"npm-run-all": "4.1.5",
7379
"pear-interface": "1.0.0",
7480
"prettier-plugin-tailwindcss": "0.6.11",
81+
"typescript": "^5.9.3",
7582
"vite": "6.3.1"
7683
}
7784
}

public/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 3,
33
"name": "PearPass",
4-
"version": "1.4.0",
4+
"version": "1.5.0",
55
"permissions": [
66
"storage",
77
"nativeMessaging",

src/action/app/Routes.jsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { t } from '@lingui/core/macro'
22

3+
import { useVaultSync } from './hooks/useVaultSync'
34
import { useDesktopLogout } from '../../hooks/useDesktopLogout'
45
import { useInactivity } from '../../hooks/useInactivity'
56
import { FadeInWrapper } from '../../shared/components/FadeInWrapper'
@@ -45,6 +46,8 @@ export const Routes = () => {
4546

4647
useInactivity()
4748

49+
useVaultSync()
50+
4851
const renderPage = () => {
4952
switch (currentPage) {
5053
case 'welcome':

0 commit comments

Comments
 (0)