Skip to content

Commit 92856d3

Browse files
Merge pull request #69 from hydro-dev/docs-next
2 parents 73f708f + ca41bc8 commit 92856d3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+9165
-5337
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["next/core-web-vitals", "next/typescript"]
3+
}

.github/workflows/Deploy.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ jobs:
1717
node-version: 22.x
1818
- name: Get yarn cache
1919
id: yarn-cache
20-
run: echo "::set-output name=dir::$(yarn cache dir)"
20+
run: echo "::set-output name=dir::$(yarn config get globalFolder)"
2121
- name: Restore Cache
2222
uses: actions/cache@v4
2323
with:
2424
path: ${{ steps.yarn-cache.outputs.dir }}
25-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
26-
restore-keys: ${{ runner.os }}-yarn-
25+
key: ${{ runner.os }}-next-yarn-${{ hashFiles('**/yarn.lock') }}
26+
restore-keys: ${{ runner.os }}-next-yarn-
2727
- name: Install
28-
run: yarn install --ignore-engines
28+
run: yarn
2929
- name: Build
30-
run: yarn build && echo "hydro.js.org" >./.vuepress/dist/CNAME
30+
run: yarn build && echo "hydro.js.org" >./out/CNAME
3131
- name: Deploy
3232
uses: peaceiris/actions-gh-pages@v3
3333
with:
3434
github_token: ${{ secrets.GITHUB_TOKEN }}
35-
publish_dir: ./.vuepress/dist
35+
publish_dir: ./out
3636
publish_branch: master
3737
force_orphan: true

.gitignore

+30
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,33 @@ node_modules
33
.vuepress/dist
44
.cache/
55
.temp/
6+
# deps
7+
/node_modules
8+
9+
# generated content
10+
.contentlayer
11+
.content-collections
12+
.source
13+
14+
# test & build
15+
/coverage
16+
/.next/
17+
/out/
18+
/build
19+
*.tsbuildinfo
20+
21+
# misc
22+
.DS_Store
23+
*.pem
24+
/.pnp
25+
.pnp.js
26+
npm-debug.log*
27+
yarn-debug.log*
28+
yarn-error.log*
29+
30+
# others
31+
.env*.local
32+
.vercel
33+
next-env.d.ts
34+
35+
.yarn/install-state.gz

.vuepress/components/Terminal.vue

-257
This file was deleted.

0 commit comments

Comments
 (0)