Skip to content

Commit

Permalink
✨ feat: Update workflow and dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Nov 20, 2024
1 parent 9e9b679 commit be085bd
Show file tree
Hide file tree
Showing 1,169 changed files with 2,417 additions and 197 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ jobs:
- name: Test
run: bun run test

- name: Build Toc
run: bun run build:toc

- name: Build
run: bun run build

Expand Down
114 changes: 76 additions & 38 deletions README.md

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
"es"
],
"scripts": {
"build": "father build",
"build": "build:toc && father build",
"build:static": "tsx scripts/svgWorkflow/index.ts",
"build:toc": "tsx scripts/tocWorkflow/index.ts",
"build:watch": "father dev",
"ci": "npm run lint && npm run type-check",
"clean": "rm -r es lib dist coverage .dumi/tmp .eslintcache node_modules/.cache",
Expand All @@ -47,7 +48,7 @@
"release:static": "multi-semantic-release",
"setup": "dumi setup",
"start": "npm run dev",
"sync:md": "tsx scripts/readmeWorkflow/index.ts",
"sync:md": "npm run build:toc && tsx scripts/readmeWorkflow/index.ts",
"test": "vitest --passWithNoTests",
"test:coverage": "vitest run --coverage --passWithNoTests",
"test:update": "vitest -u",
Expand Down Expand Up @@ -101,6 +102,7 @@
"markdown-table": "^3.0.4",
"multi-semantic-release": "^3",
"p-map": "^7.0.2",
"polished": "^4.3.1",
"prettier": "^3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand All @@ -110,6 +112,7 @@
"sharp": "^0.33.5",
"stylelint": "^15.11.0",
"svgo-browser": "^1.3.8",
"swr": "^2.2.5",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"vitest": "~1.2.2"
Expand Down
21 changes: 9 additions & 12 deletions packages/static-png/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ Icons can be served from a CDN such as **unpkg** or **npmmirror (aliyun)**. Simp
### Example

<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/open-ai.png">
<img height="64" src="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/light/open-ai.png">
<source media="(prefers-color-scheme: dark)" srcset="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/openai.png">
<img height="64" src="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/light/openai.png">
</picture>

```html
Expand All @@ -75,18 +75,18 @@ Icons can be served from a CDN such as **unpkg** or **npmmirror (aliyun)**. Simp
media="(prefers-color-scheme: dark)"
srcset="https://unpkg.com/@lobehub/icons-static-png@latest/dark/open-ai.png"
/>
<img height="64" src="https://unpkg.com/@lobehub/icons-static-png@latest/light/open-ai.png" />
<img height="64" src="https://unpkg.com/@lobehub/icons-static-png@latest/light/openai.png" />
</picture>

<!--ALIYUN-->
<picture>
<source
media="(prefers-color-scheme: dark)"
srcset="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/open-ai.png"
srcset="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/openai.png"
/>
<img
height="64"
src="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/light/open-ai.png"
src="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/light/openai.png"
/>
</picture>
```
Expand All @@ -101,25 +101,22 @@ Icons can be served from a CDN such as **unpkg** or **npmmirror (aliyun)**. Simp
<picture>
<source
media="(prefers-color-scheme: dark)"
srcset="https://unpkg.com/@lobehub/icons-static-png@latest/dark/open-ai-text.png"
/>
<img
height="64"
src="https://unpkg.com/@lobehub/icons-static-png@latest/light/open-ai-text.png"
srcset="https://unpkg.com/@lobehub/icons-static-png@latest/dark/openai-text.png"
/>
<img height="64" src="https://unpkg.com/@lobehub/icons-static-png@latest/light/openai-text.png" />
</picture>

<!--ALIYUN-->
<picture>
<source
media="(prefers-color-scheme: dark)"
srcset="
https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/open-ai-text.png
https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/openai-text.png
"
/>
<img
height="64"
src="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/light/open-ai-text.png"
src="https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/light/openai-text.png"
/>
</picture>
```
Expand Down
File renamed without changes
Binary file removed packages/static-png/dark/ai-21-color.png
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added packages/static-png/dark/xai-text.png
Binary file added packages/static-png/dark/xai.png
File renamed without changes
File renamed without changes
Binary file removed packages/static-png/light/ai-21-color.png
Diff not rendered.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added packages/static-png/light/xai-text.png
Binary file added packages/static-png/light/xai.png
File renamed without changes
File renamed without changes
12 changes: 6 additions & 6 deletions packages/static-svg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,29 +51,29 @@ Icons can be served from a CDN such as **unpkg** or **npmmirror (aliyun)**. Simp

### Example

<img height="64" src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/open-ai.svg">
<img height="64" src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/openai.svg">

```html
<!--UNPKG-->
<img height="64" src="https://unpkg.com/@lobehub/icons-static-svg@latest/icons/open-ai.svg" />
<img height="64" src="https://unpkg.com/@lobehub/icons-static-svg@latest/icons/openai.svg" />

<!--ALIYUN-->
<img
height="64"
src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/open-ai.svg"
src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/openai.svg"
/>
```

<img height="64" src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/open-ai-text.svg">
<img height="64" src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/openai-text.svg">

```html
<!--UNPKG-->
<img height="64" src="https://unpkg.com/@lobehub/icons-static-svg@latest/icons/open-ai-text.svg" />
<img height="64" src="https://unpkg.com/@lobehub/icons-static-svg@latest/icons/openai-text.svg" />

<!--ALIYUN-->
<img
height="64"
src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/open-ai-text.svg"
src="https://registry.npmmirror.com/@lobehub/icons-static-svg/latest/files/icons/openai-text.svg"
/>
```

Expand Down
1 change: 0 additions & 1 deletion packages/static-svg/icons/ai-21-color.svg
Diff not rendered.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit be085bd

Please sign in to comment.