-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CHANGELOG.md Update request.dev.js Update README.md Update request.js
- Loading branch information
1 parent
9b27a94
commit 30cbebf
Showing
22 changed files
with
2,613 additions
and
350 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "src/utils"] | ||
path = src/utils | ||
url = https://github.com/NanoCat-Me/utils.git | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
### 🛠️ Bug Fixes | ||
* 修复 `Surge` 模块内置`参数面板` | ||
* 修复 `Loon` 插件内置`设置面板` | ||
* 修复读取`数据库`不正确的问题 | ||
* 修复 `$argument` 和 `$persistentStore` 载入顺序颠倒的问题 | ||
* 正确顺序为先读取 `$argument` 再读取 `$persistentStore (BoxJs)` | ||
* 即,有相同键名时,`$persistentStore (BoxJs)` 的值会覆盖 `$argument` 的值 | ||
|
||
### 🔄 Other Changes | ||
* 打包器由 `rollup` 更改为 `rspack` | ||
### 🔣 Dependencies | ||
* 升级了 `@nsnanocat/util` | ||
* `util` 由 `submodule` 更改为 `package` | ||
* `$platform` 改为 `$app` | ||
* 使用了全新的 `Console` polyfill |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# News | ||
# iRingo: 📰 News |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
import { defineConfig } from "@iringo/arguments-builder"; | ||
export default defineConfig({ | ||
output: { | ||
surge: { | ||
path: "./dist/iRingo.News.sgmodule", | ||
transformEgern: { | ||
enable: true, | ||
path: "./dist/iRingo.News.yaml", | ||
}, | ||
}, | ||
loon: { | ||
path: "./dist/iRingo.News.plugin", | ||
}, | ||
customItems: [ | ||
{ | ||
path: "./dist/iRingo.News.snippet", | ||
template: "./template/quantumultx.handlebars", | ||
}, | ||
{ | ||
path: "./dist/iRingo.News.stoverride", | ||
template: "./template/stash.handlebars", | ||
}, | ||
{ | ||
path: "./dist/iRingo.News.srmodule", | ||
template: "./template/shadowrocket.handlebars", | ||
}, | ||
], | ||
dts: { | ||
isExported: true, | ||
path: "./src/types.d.ts", | ||
}, | ||
boxjsSettings: { | ||
path: "./template/boxjs.settings.json", | ||
scope: "@iRingo.News.Settings", | ||
}, | ||
}, | ||
args: [ | ||
{ | ||
key: "CountryCode", | ||
name: "国家或地区代码", | ||
defaultValue: "US", | ||
type: "string", | ||
options: [ | ||
{ key: "AUTO", label: "🇺🇳自动(跟随地区检测结果)" }, | ||
{ key: "CN", label: "🇨🇳中国大陆" }, | ||
{ key: "HK", label: "🇭🇰香港" }, | ||
{ key: "TW", label: "🇹🇼台湾" }, | ||
{ key: "SG", label: "🇸🇬新加坡" }, | ||
{ key: "US", label: "🇺🇸美国" }, | ||
{ key: "JP", label: "🇯🇵日本" }, | ||
{ key: "AU", label: "🇦🇺澳大利亚" }, | ||
{ key: "GB", label: "🇬🇧英国" }, | ||
{ key: "KR", label: "🇰🇷韩国" }, | ||
{ key: "CA", label: "🇨🇦加拿大" }, | ||
{ key: "IE", label: "🇮🇪爱尔兰" }, | ||
], | ||
description: "不同国家或地区提供的内容或有差别。", | ||
}, | ||
{ | ||
key: "NewsPlusUser", | ||
name: "[搜索]显示News+内容", | ||
defaultValue: true, | ||
type: "boolean", | ||
description: "是否显示News+搜索结果。", | ||
}, | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.