mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-05 06:32:00 +08:00
Compare commits
57
Commits
No files matched your search
@@ -3,17 +3,25 @@ name: npm publish
|
|||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types: [created]
|
types: [created]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write # OIDC 必須
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
# Setup .npmrc file to publish to npm
|
# Setup .npmrc file to publish to npm
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '20.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm publish
|
|
||||||
|
- run: npm publish --provenance --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
@@ -124,7 +124,6 @@ npm install hexo-renderer-pug hexo-renderer-stylus --save
|
|||||||
- [x] **Theme Customization** - Custom site color schemes
|
- [x] **Theme Customization** - Custom site color schemes
|
||||||
- [x] **Chart Support** - Mermaid flowcharts/Chart.js data charts
|
- [x] **Chart Support** - Mermaid flowcharts/Chart.js data charts
|
||||||
- [x] **Music Notation** - ABCJS music notation support
|
- [x] **Music Notation** - ABCJS music notation support
|
||||||
- [x] **Music Player** - APlayer/Meting music playback
|
|
||||||
- [x] **Article Series** - Series article organization
|
- [x] **Article Series** - Series article organization
|
||||||
- [x] **Instantpage** - Page preloading acceleration
|
- [x] **Instantpage** - Page preloading acceleration
|
||||||
- [x] **Snackbar** - Elegant notification messages
|
- [x] **Snackbar** - Elegant notification messages
|
||||||
@@ -152,7 +151,7 @@ Thanks to all the developers who have contributed to the Butterfly theme!
|
|||||||
|
|
||||||
## ⭐ Star History
|
## ⭐ Star History
|
||||||
|
|
||||||
[](https://star-history.com/#jerryc127/hexo-theme-butterfly&Date)
|
[](https://star-history.dera.page/#jerryc127/hexo-theme-butterfly&Date)
|
||||||
|
|
||||||
## 🤝 Building a Better Theme Together
|
## 🤝 Building a Better Theme Together
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -124,7 +124,6 @@ npm install hexo-renderer-pug hexo-renderer-stylus --save
|
|||||||
- [x] **主題定製** - 自訂網站配色方案
|
- [x] **主題定製** - 自訂網站配色方案
|
||||||
- [x] **圖表支援** - Mermaid 流程圖/Chart.js 數據圖表
|
- [x] **圖表支援** - Mermaid 流程圖/Chart.js 數據圖表
|
||||||
- [x] **音樂符號** - ABCJS 音樂記譜法支援
|
- [x] **音樂符號** - ABCJS 音樂記譜法支援
|
||||||
- [x] **音樂播放器** - APlayer/Meting 音樂播放功能
|
|
||||||
- [x] **系列文章** - 系列文章組織功能
|
- [x] **系列文章** - 系列文章組織功能
|
||||||
- [x] **Instantpage** - 頁面預載入加速
|
- [x] **Instantpage** - 頁面預載入加速
|
||||||
- [x] **Snackbar** - 優雅的提示訊息
|
- [x] **Snackbar** - 優雅的提示訊息
|
||||||
@@ -152,7 +151,7 @@ npm install hexo-renderer-pug hexo-renderer-stylus --save
|
|||||||
|
|
||||||
## ⭐ Star 趨勢
|
## ⭐ Star 趨勢
|
||||||
|
|
||||||
[](https://star-history.com/#jerryc127/hexo-theme-butterfly&Date)
|
[](https://star-history.dera.page/#jerryc127/hexo-theme-butterfly&Date)
|
||||||
|
|
||||||
## 🤝 一起構建更美好的主題
|
## 🤝 一起構建更美好的主題
|
||||||
|
|
||||||
|
|||||||
Loaded 3 of 74 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user