This commit is contained in:
adueck 2024-08-15 12:43:49 -04:00
parent 373048cb98
commit 8b9ebbf89c
4 changed files with 134 additions and 189 deletions

View File

@ -16,16 +16,13 @@ jobs:
env: env:
LINGDOCS_NPM_TOKEN: ${{ secrets.LINGDOCS_NPM_TOKEN }} LINGDOCS_NPM_TOKEN: ${{ secrets.LINGDOCS_NPM_TOKEN }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Cache NPM deps - uses: actions/setup-node@v4
uses: actions/cache@v3
# TODO: for some reason this cache is not helping
with: with:
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} node-version: 20
path: ~/.npm cache: "npm"
- run: | - run: |
npm install npm install
# TODO: could save a bunch of install time by not requiring ps-react in the website/account-types
cd website cd website
npm install npm install
cd .. cd ..
@ -45,7 +42,7 @@ jobs:
source: "account.tar.gz" source: "account.tar.gz"
target: "." target: "."
- name: unpack tarball and restart app - name: unpack tarball and restart app
uses: appleboy/ssh-action@v1.0.0 uses: appleboy/ssh-action@v1.0.3
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}

10
package-lock.json generated
View File

@ -9,7 +9,7 @@
"version": "1.0.2", "version": "1.0.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@lingdocs/ps-react": "^7.6.3", "@lingdocs/ps-react": "7.6.5",
"lokijs": "^1.5.12", "lokijs": "^1.5.12",
"nano": "^9.0.5", "nano": "^9.0.5",
"passport-github2": "^0.1.12", "passport-github2": "^0.1.12",
@ -335,9 +335,10 @@
} }
}, },
"node_modules/@lingdocs/ps-react": { "node_modules/@lingdocs/ps-react": {
"version": "7.6.3", "version": "7.6.5",
"resolved": "https://npm.lingdocs.com/@lingdocs/ps-react/-/ps-react-7.6.3.tgz", "resolved": "https://npm.lingdocs.com/@lingdocs/ps-react/-/ps-react-7.6.5.tgz",
"integrity": "sha512-lVsusrzy+NuQ+IdWV7f5Au57/R4zACfetKFiHdv5NwLhFvw8gdjkdMkI5EFTWT10ZX8kvM8/Eq1J8I9svct5SA==", "integrity": "sha512-ryH8Atg1DE+VcwMgb+HK84j0KgST2vSra384wfJCnk8sft+LixAbvNdrOG65huXtu7QW0IiLxu09eG0bwKgMYA==",
"license": "GPL-3.0",
"dependencies": { "dependencies": {
"@formkit/auto-animate": "^1.0.0-beta.3", "@formkit/auto-animate": "^1.0.0-beta.3",
"classnames": "^2.5.1", "classnames": "^2.5.1",
@ -1971,6 +1972,7 @@
"version": "2.0.17", "version": "2.0.17",
"resolved": "https://registry.npmjs.org/supermemo/-/supermemo-2.0.17.tgz", "resolved": "https://registry.npmjs.org/supermemo/-/supermemo-2.0.17.tgz",
"integrity": "sha512-c/BMAkG+IDYtAP1AR97DVU4x4gs8vfvLA4ejND7lHKdzjaAWwxixtcZjnQNfcyAKfZn2ovIYKJAGpTG45dr8ug==", "integrity": "sha512-c/BMAkG+IDYtAP1AR97DVU4x4gs8vfvLA4ejND7lHKdzjaAWwxixtcZjnQNfcyAKfZn2ovIYKJAGpTG45dr8ug==",
"license": "MIT",
"engines": { "engines": {
"node": ">=10" "node": ">=10"
} }

File diff suppressed because it is too large Load Diff

View File

@ -38,11 +38,8 @@
"react-player": "^2.11.0", "react-player": "^2.11.0",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",
"relevancy": "^0.2.0", "relevancy": "^0.2.0",
"save-dev": "^0.0.1-security",
"stripe": "^10.14.0", "stripe": "^10.14.0",
"supermemo": "^2.0.17", "supermemo": "^2.0.17",
"sylviejs": "^0.0.14",
"tsup": "^8.2.4",
"vite-plugin-pwa": "^0.20.1", "vite-plugin-pwa": "^0.20.1",
"workbox-background-sync": "^5.1.3", "workbox-background-sync": "^5.1.3",
"workbox-broadcast-update": "^5.1.3", "workbox-broadcast-update": "^5.1.3",
@ -79,6 +76,7 @@
} }
}, },
"devDependencies": { "devDependencies": {
"tsup": "^8.2.4",
"@testing-library/jest-dom": "^5.11.4", "@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0", "@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10", "@testing-library/user-event": "^12.1.10",
@ -87,7 +85,6 @@
"@types/jest": "^26.0.20", "@types/jest": "^26.0.20",
"@types/lokijs": "^1.5.14", "@types/lokijs": "^1.5.14",
"@types/mousetrap": "^1.6.8", "@types/mousetrap": "^1.6.8",
"@types/node": "^22.3.0",
"@types/papaparse": "^5.2.5", "@types/papaparse": "^5.2.5",
"@types/passport-github2": "^1.2.5", "@types/passport-github2": "^1.2.5",
"@types/passport-google-oauth": "^1.0.42", "@types/passport-google-oauth": "^1.0.42",
@ -99,7 +96,6 @@
"@types/react-image-crop": "^8.1.2", "@types/react-image-crop": "^8.1.2",
"@types/react-router-dom": "^5.1.7", "@types/react-router-dom": "^5.1.7",
"@vitejs/plugin-react": "^4.3.1", "@vitejs/plugin-react": "^4.3.1",
"bun": "^1.1.24",
"fake-indexeddb": "^3.1.2", "fake-indexeddb": "^3.1.2",
"history": "4", "history": "4",
"jest": "^29.7.0", "jest": "^29.7.0",
@ -107,7 +103,6 @@
"ts-jest": "^29.2.4", "ts-jest": "^29.2.4",
"typescript": "^5.5.4", "typescript": "^5.5.4",
"typescript-eslint": "^8.1.0", "typescript-eslint": "^8.1.0",
"user-event": "^4.0.0",
"vite": "^5.4.0" "vite": "^5.4.0"
} }
} }