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

10
package-lock.json generated
View File

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

File diff suppressed because it is too large Load Diff

View File

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