Skip to content

Commit

Permalink
chroe: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rockbenben committed Jul 11, 2024
1 parent 2bbc459 commit b2ea6f4
Show file tree
Hide file tree
Showing 4 changed files with 366 additions and 311 deletions.
27 changes: 10 additions & 17 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,30 @@ jobs:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
-
name: Check out the repo
- name: Check out the repo
uses: actions/checkout@v4
-
name: Log in to Docker Hub
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

-
name: Extract metadata (tags, labels) for Docker

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: rockben/chatgpt-shortcut
tags: |
type=raw,value=latest
type=ref,event=tag
-
name: Set up QEMU
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

-
name: Set up Docker Buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

-
name: Build and push Docker image

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -49,4 +43,3 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chatgpt-shortcut",
"version": "3.2.1",
"version": "3.2.2",
"private": false,
"license": "MIT",
"scripts": {
Expand All @@ -13,22 +13,23 @@
"serve": "docusaurus serve",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"dev": "docusaurus start"
"dev": "docusaurus start",
"update": "ncu -u && yarn install"
},
"dependencies": {
"@ant-design/compatible": "^5.1.3",
"@docusaurus/core": "3.3.2",
"@docusaurus/preset-classic": "3.3.2",
"@docusaurus/core": "3.4.0",
"@docusaurus/preset-classic": "3.4.0",
"@emoji-mart/data": "^1.2.1",
"@emoji-mart/react": "^1.1.1",
"@mdx-js/react": "^3.0.1",
"@popperjs/core": "^2.11.8",
"antd": "^5.18.0",
"antd": "^5.19.1",
"axios": "^1.7.2",
"buffer": "^6.0.3",
"clsx": "^2.1.1",
"emoji-mart": "^5.6.0",
"lodash": "^4.0.0",
"lodash": "^4.17.21",
"prism-react-renderer": "^2.3.1",
"react": "^18.3.1",
"react-beautiful-dnd": "^13.1.1",
Expand All @@ -41,11 +42,11 @@
"react-share": "^5.1.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.3.2",
"@docusaurus/tsconfig": "3.3.2",
"@docusaurus/types": "3.3.2",
"@types/react": "^18.3.1",
"typescript": "~5.4.5"
"@docusaurus/module-type-aliases": "3.4.0",
"@docusaurus/tsconfig": "3.4.0",
"@docusaurus/types": "3.4.0",
"@types/react": "^18.3.3",
"typescript": "~5.5.3"
},
"browserslist": {
"production": [
Expand Down
2 changes: 1 addition & 1 deletion src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export function getPrompts(type, ids, lang) {
expirationTime = 100 * 24 * 60 * 60 * 1000;
break;
case "commus":
expirationTime = 10 * 24 * 60 * 60 * 1000;
expirationTime = 30 * 24 * 60 * 60 * 1000;
break;
case "userprompts":
expirationTime = 12 * 60 * 60 * 1000;
Expand Down
Loading

0 comments on commit b2ea6f4

Please sign in to comment.