Skip to content

Commit

Permalink
package update + yarn->pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
jackschedel committed Nov 13, 2024
1 parent fd121a0 commit b340b09
Show file tree
Hide file tree
Showing 5 changed files with 7,329 additions and 62 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/check_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ jobs:
with:
node-version: 18

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Get pnpm cache directory path
id: pnpm-cache-dir-path
run: echo "::set-output name=dir::$(pnpm cache dir)"

- name: Cache yarn dependencies
- name: Cache pnpm dependencies
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
path: ${{ steps.pnpm-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
${{ runner.os }}-pnpm-
- name: Install dependencies
run: yarn
run: pnpm

- name: Cache release assets
uses: actions/cache@v3
Expand All @@ -49,7 +49,7 @@ jobs:
${{ runner.os }}-release-
- name: Build
run: yarn make
run: pnpm make
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
node-version: 18

- name: Install dependencies
run: yarn
run: pnpm

- name: Build website
run: yarn build
run: pnpm build
env:
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}

Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ jobs:
with:
node-version: 18

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Get pnpm cache directory path
id: pnpm-cache-dir-path
run: echo "::set-output name=dir::$(pnpm cache dir)"

- name: Cache yarn dependencies
- name: Cache pnpm dependencies
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
path: ${{ steps.pnpm-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
${{ runner.os }}-pnpm-
- name: Install dependencies
run: yarn
run: pnpm

- name: Cache release assets
uses: actions/cache@v3
Expand All @@ -56,7 +56,7 @@ jobs:
${{ runner.os }}-release-
- name: Build
run: yarn make
run: pnpm make
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VITE_GOOGLE_CLIENT_ID: ${{ secrets.GCLIENT }}
Expand Down
85 changes: 43 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"electron": "concurrently -k \"BROWSER=none yarn dev\" \"wait-on tcp:5173 && electron .\"",
"pack": "yarn build && electron-builder --dir",
"make": "yarn build && electron-builder",
"electron": "concurrently -k \"BROWSER=none pnpm dev\" \"wait-on tcp:5173 && electron .\"",
"pack": "pnpm build && electron-builder --dir",
"make": "pnpm build && electron-builder",
"lint": "tsc && eslint ./src",
"errors": "eslint ./src --quiet",
"format": "prettier --write ./"
Expand Down Expand Up @@ -47,57 +47,58 @@
},
"dependencies": {
"@chengsokdara/use-whisper": "^0.2.0",
"@dqbd/tiktoken": "^1.0.2",
"@react-oauth/google": "^0.9.0",
"@dqbd/tiktoken": "^1.0.17",
"@react-oauth/google": "^0.9.1",
"electron-context-menu": "^3.6.1",
"electron-is-dev": "^2.0.0",
"electron-squirrel-startup": "^1.0.0",
"electron-squirrel-startup": "^1.0.1",
"electron-updater": "^5.3.0",
"html2canvas": "^1.4.1",
"i18next": "^22.4.11",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-http-backend": "^2.1.1",
"jspdf": "^2.5.1",
"katex": "^0.16.4",
"i18next": "^22.5.1",
"i18next-browser-languagedetector": "^7.2.1",
"i18next-http-backend": "^2.6.2",
"jspdf": "^2.5.2",
"katex": "^0.16.11",
"lodash": "^4.17.21",
"match-sorter": "^6.3.1",
"match-sorter": "^6.3.4",
"mermaid": "~9.4.3",
"papaparse": "^5.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^12.2.0",
"react-markdown": "^8.0.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^12.3.1",
"react-markdown": "^8.0.7",
"react-scroll-to-bottom": "^4.2.0",
"rehype-highlight": "^6.0.0",
"rehype-katex": "^6.0.2",
"rehype-katex": "^6.0.3",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"uuid": "^9.0.0",
"zustand": "^4.3.6"
"uuid": "^9.0.1",
"zustand": "^4.5.5"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.9",
"@types/lodash": "^4.14.192",
"@types/papaparse": "^5.3.7",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@types/react-scroll-to-bottom": "^4.2.0",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"@vitejs/plugin-react-swc": "^3.0.0",
"autoprefixer": "^10.4.13",
"concurrently": "^8.0.1",
"electron": "^28.1.1",
"@tailwindcss/typography": "^0.5.15",
"@types/lodash": "^4.17.13",
"@types/papaparse": "^5.3.15",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-scroll-to-bottom": "^4.2.5",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitejs/plugin-react-swc": "^3.7.1",
"autoprefixer": "^10.4.20",
"concurrently": "^8.2.2",
"electron": "^28.3.3",
"electron-builder": "^23.6.0",
"eslint": "^8.56.0",
"eslint-plugin-react": "^7.33.2",
"postcss": "^8.4.21",
"tailwindcss": "^3.2.7",
"typescript": "^4.9.3",
"vite": "^4.1.0",
"vite-plugin-top-level-await": "^1.3.0",
"vite-plugin-wasm": "^3.2.2",
"wait-on": "^7.0.1"
}
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.2",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.14",
"typescript": "^4.9.5",
"vite": "^4.5.5",
"vite-plugin-top-level-await": "^1.4.4",
"vite-plugin-wasm": "^3.3.0",
"wait-on": "^7.2.0"
},
"packageManager": "[email protected]+sha512.67f5879916a9293e5cf059c23853d571beaf4f753c707f40cb22bed5fb1578c6aad3b6c4107ccb3ba0b35be003eb621a16471ac836c87beb53f9d54bb4612724"
}
Loading

0 comments on commit b340b09

Please sign in to comment.