chore: 更新仓库地址为实际远程地址 git.metona.cn

- package.json: repository/bugs/homepage 统一替换为 git.metona.cn/MetonaTeam/MetonaToast
- README.md: license badge 链接更新
- site/index.html & demo.html: 页脚和导航 Gitee 链接更新
- 同步构建产物 dist/ 变更
This commit is contained in:
2026-07-23 12:45:30 +08:00
parent b85756c7b9
commit c9704500be
8 changed files with 12 additions and 11 deletions
+1
View File
@@ -1 +1,2 @@
registry=https://registry.npmmirror.com
//git.metona.cn/api/packages/MetonaTeam/npm/:_auth=dGh6eHg6Mjc5MjQ2MDE5MGJkcW4=
+1 -1
View File
@@ -4,7 +4,7 @@
[![npm version](https://img.shields.io/npm/v/metona-toast.svg)](https://www.npmjs.com/package/metona-toast)
[![bundle size](https://img.shields.io/bundlephobia/minzip/metona-toast)](https://bundlephobia.com/package/metona-toast)
[![license](https://img.shields.io/badge/license-MIT-green.svg)](https://gitee.com/thzxx/MetonaToast)
[![license](https://img.shields.io/badge/license-MIT-green.svg)](https://git.metona.cn/MetonaTeam/MetonaToast)
## 特性
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -37,7 +37,7 @@
},
"repository": {
"type": "git",
"url": "git+https://gitee.com/thzxx/MetonaToast.git"
"url": "git+https://git.metona.cn/MetonaTeam/MetonaToast.git"
},
"keywords": [
"toast",
@@ -53,9 +53,9 @@
"author": "thzxx",
"license": "MIT",
"bugs": {
"url": "https://gitee.com/thzxx/MetonaToast/issues"
"url": "https://git.metona.cn/MetonaTeam/MetonaToast/issues"
},
"homepage": "https://gitee.com/thzxx/MetonaToast#readme",
"homepage": "https://git.metona.cn/MetonaTeam/MetonaToast#readme",
"devDependencies": {
"@babel/core": "^7.22.0",
"@babel/preset-env": "^7.22.0",
+2 -2
View File
@@ -56,7 +56,7 @@
<a href="index.html">首页</a>
<a href="docs.html">文档</a>
<a href="demo.html">演示</a>
<a href="https://gitee.com/thzxx/MetonaToast" target="_blank">Gitee</a>
<a href="https://git.metona.cn/MetonaTeam/MetonaToast" target="_blank">Gitee</a>
</div>
</div>
</nav>
@@ -273,7 +273,7 @@
</main>
<footer>
MetonaToast v2.0.0 · MIT · <a href="index.html">首页</a> · <a href="docs.html">文档</a> · <a href="https://gitee.com/thzxx/MetonaToast">Gitee</a>
MetonaToast v2.0.0 · MIT · <a href="index.html">首页</a> · <a href="docs.html">文档</a> · <a href="https://git.metona.cn/MetonaTeam/MetonaToast">Gitee</a>
</footer>
<script src="../dist/metona-toast.js"></script>
+2 -2
View File
@@ -73,7 +73,7 @@
<a href="index.html">首页</a>
<a href="docs.html">文档</a>
<a href="demo.html">演示</a>
<a href="https://gitee.com/thzxx/MetonaToast" target="_blank">Gitee</a>
<a href="https://git.metona.cn/MetonaTeam/MetonaToast" target="_blank">Gitee</a>
</div>
</div>
</nav>
@@ -237,7 +237,7 @@ orderGroup.<span class="fn">dismiss</span>(); <span class="cm">// 一键关闭
</section>
<footer>
<p>MetonaToast v2.0.0 · MIT License · <a href="https://gitee.com/thzxx/MetonaToast">Gitee</a></p>
<p>MetonaToast v2.0.0 · MIT License · <a href="https://git.metona.cn/MetonaTeam/MetonaToast">Gitee</a></p>
</footer>
<script src="../dist/metona-toast.js"></script>