Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
338 changes: 0 additions & 338 deletions .dumi/theme/locales/en.json

This file was deleted.

330 changes: 0 additions & 330 deletions .dumi/theme/locales/zh.json

This file was deleted.

66 changes: 0 additions & 66 deletions .dumi/theme/slots/Detail/index.tsx

This file was deleted.

154 changes: 0 additions & 154 deletions .dumirc.ts

This file was deleted.

13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,24 @@ name: build

on:
push:
pull_request:

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22

- name: Install dependencies
run: npm install

- name: Type Check
run: npm run type-check
run: npm run check

- name: Build
run: npm run build
run: npm run build
14 changes: 10 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ on:
workflow_dispatch:
push:
branches:
- master
- master

jobs:
deploy-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm run build
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm install
- name: Build site
run: npm run build
- run: echo 'antv.vision' > dist/CNAME
- run: |
cd dist
Expand Down
84 changes: 10 additions & 74 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,83 +1,19 @@
# Logs
logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# dotenv environment variables file
.env

# gatsby files
.cache/
public

# Mac files
.DS_Store

# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity

package-lock.json
yarn.lock
_site


# Local environment
.env
.DS_Store
.idea/

# dumi production
/dist

# dumi tmp_production
.dumi/tmp
.dumi/tmp-production
.idea
# Generated files
dist/
.astro/
coverage/
pnpm-lock.yaml
Loading
Loading