Skip to content

Commit

Permalink
Merge pull request #130 from syfxlin/develop
Browse files Browse the repository at this point in the history
fix(deps): Update dependencies version
  • Loading branch information
syfxlin authored Oct 16, 2024
2 parents a1a7f18 + 52c27ee commit ef9091e
Show file tree
Hide file tree
Showing 10 changed files with 4,424 additions and 4,214 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Deploy to docker
run: |
depker --version
depker service deploy
depker deploy
env:
TZ: Asia/Shanghai
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
Expand Down
30 changes: 13 additions & 17 deletions depker.config.ts
Original file line number Diff line number Diff line change
@@ -1,28 +1,24 @@
import { depker, docker, nextjs } from "https://raw.githubusercontent.com/syfxlin/depker/master/mod.ts";

const app = depker();
depker.master(docker({ type: "https" }));
depker.runner(docker({ type: "local" }));

app.master(docker({ type: "https" }));
app.runner(docker({ type: "local" }));

app.service(
depker.use(
nextjs({
name: "blog",
domain: "blog.ixk.me",
tls: true,
secrets: {
NEXT_PUBLIC_COLINE_LANGUAGE: "@BLOG_COLINE_LANGUAGE",
NEXT_PUBLIC_COLINE_GOOGLE_ANALYTICS: "@BLOG_COLINE_GOOGLE_ANALYTICS",
NEXT_PUBLIC_COLINE_ARTALK_SITE_NAME: "@BLOG_COLINE_ARTALK_SITE_NAME",
NEXT_PUBLIC_COLINE_ARTALK_SERVER_URL: "@BLOG_COLINE_ARTALK_SERVER_URL",
NEXT_PUBLIC_COLINE_GITHUB_REPO: "@BLOG_COLINE_GITHUB_REPO",
COLINE_GITHUB_TOKEN: "@BLOG_COLINE_GITHUB_TOKEN",
KEYSTATIC_SECRET: "@BLOG_KEYSTATIC_SECRET",
KEYSTATIC_GITHUB_CLIENT_ID: "@BLOG_KEYSTATIC_GITHUB_CLIENT_ID",
KEYSTATIC_GITHUB_CLIENT_SECRET: "@BLOG_KEYSTATIC_GITHUB_CLIENT_SECRET",
NEXT_PUBLIC_KEYSTATIC_GITHUB_APP_SLUG: "@BLOG_KEYSTATIC_GITHUB_APP_SLUG",
NEXT_PUBLIC_COLINE_LANGUAGE: "@NEXT_PUBLIC_COLINE_LANGUAGE",
NEXT_PUBLIC_COLINE_GOOGLE_ANALYTICS: "@NEXT_PUBLIC_COLINE_GOOGLE_ANALYTICS",
NEXT_PUBLIC_COLINE_ARTALK_SITE_NAME: "@NEXT_PUBLIC_COLINE_ARTALK_SITE_NAME",
NEXT_PUBLIC_COLINE_ARTALK_SERVER_URL: "@NEXT_PUBLIC_COLINE_ARTALK_SERVER_URL",
NEXT_PUBLIC_COLINE_GITHUB_REPO: "@NEXT_PUBLIC_COLINE_GITHUB_REPO",
COLINE_GITHUB_TOKEN: "@COLINE_GITHUB_TOKEN",
KEYSTATIC_SECRET: "@KEYSTATIC_SECRET",
KEYSTATIC_GITHUB_CLIENT_ID: "@KEYSTATIC_GITHUB_CLIENT_ID",
KEYSTATIC_GITHUB_CLIENT_SECRET: "@KEYSTATIC_GITHUB_CLIENT_SECRET",
NEXT_PUBLIC_KEYSTATIC_GITHUB_APP_SLUG: "@NEXT_PUBLIC_KEYSTATIC_GITHUB_APP_SLUG",
},
}),
);

export default app;
51 changes: 28 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,53 +18,58 @@
"build": "next build"
},
"dependencies": {
"@iconify/json": "^2.2.219",
"@iconify/utils": "^2.1.24",
"@keystatic/core": "^0.5.19",
"@iconify/json": "^2.2.260",
"@iconify/utils": "^2.1.33",
"@keystatic/core": "0.5.19",
"@keystatic/next": "^5.0.1",
"@markdoc/markdoc": "^0.4.0",
"@radix-ui/colors": "3.0.0",
"@syfxlin/reks": "^1.0.4",
"@syfxlin/reve": "^1.0.6",
"@tippyjs/react": "^4.2.6",
"@vanilla-extract/css": "^1.15.3",
"artalk": "^2.8.7",
"@vanilla-extract/css": "1.14.2",
"artalk": "^2.9.1",
"fs-extra": "^11.2.0",
"fuse.js": "^7.0.0",
"gh-lang-colors": "^0.1.5",
"github-slugger": "^2.0.0",
"katex": "^0.16.10",
"katex": "^0.16.11",
"medium-zoom": "^1.1.0",
"next": "14.2.4",
"next": "14.2.15",
"next-pwa": "^5.6.0",
"next-themes": "^0.3.0",
"nextjs-google-analytics": "^2.3.3",
"nextjs-toploader": "^1.6.12",
"open-graph-scraper": "^6.3.2",
"nextjs-google-analytics": "^2.3.7",
"nextjs-toploader": "^3.7.15",
"open-graph-scraper": "^6.8.2",
"polished": "^4.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-use": "^17.5.0",
"react-use": "^17.5.1",
"rss": "^1.2.2",
"sharp": "^0.32.6",
"sharp": "^0.33.5",
"shikiji": "0.10.2",
"swr": "^2.2.5"
},
"devDependencies": {
"@next/bundle-analyzer": "14.2.4",
"@syfxlin/eslint-config": "^1.0.7",
"@next/bundle-analyzer": "14.2.15",
"@syfxlin/eslint-config": "^1.0.8",
"@types/fs-extra": "^11.0.4",
"@types/katex": "^0.16.7",
"@types/next-pwa": "^5.6.9",
"@types/node": "^20.14.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/node": "^22.7.5",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.1",
"@types/rss": "^0.0.32",
"@vanilla-extract/next-plugin": "^2.4.2",
"esbuild": "^0.21.5",
"eslint": "^9.4.0",
"esno": "^4.7.0",
"typescript": "^5.4.5",
"webpack": "^5.92.0"
"@vanilla-extract/next-plugin": "^2.4.6",
"esbuild": "^0.24.0",
"eslint": "^9.12.0",
"esno": "^4.8.0",
"typescript": "^5.6.3",
"webpack": "^5.95.0"
},
"overrides": {
"@keystatic/core": "0.5.19",
"@vanilla-extract/css": "1.14.2",
"undici": "5.28.4"
}
}
Loading

0 comments on commit ef9091e

Please sign in to comment.