Skip to content

Commit 3019bca

Browse files
committed
fix: 🐛 修复元数据构建异常
1 parent 2980c9c commit 3019bca

9 files changed

Lines changed: 34 additions & 16 deletions

File tree

dist/xpath-selector.lib.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// ==UserScript==
2-
// name XPath Selector
3-
// namespace xiaohuohumax/userscripts/xpath-selector
4-
// version 1.0.4
5-
// author xiaohuohumax
6-
// description XPath Selector -- 一个 XPath 选择器库,快速获取节点数据
7-
// license MIT
2+
// @name XPath Selector
3+
// @namespace xiaohuohumax/userscripts/xpath-selector
4+
// @version 1.0.4
5+
// @author xiaohuohumax
6+
// @description XPath Selector -- 一个 XPath 选择器库,快速获取节点数据
7+
// @license MIT
88
// ==/UserScript==
99

1010
var xpathSelector = function() {

dist/zip-downloader.lib.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// ==UserScript==
2-
// name Zip Downloader
3-
// namespace xiaohuohumax/userscripts/zip-downloader
4-
// version 2.0.2
5-
// author xiaohuohumax
6-
// description Zip Downloader -- 资源下载器(下载资源、Zip 压缩、下载到本地)
7-
// license MIT
2+
// @name Zip Downloader
3+
// @namespace xiaohuohumax/userscripts/zip-downloader
4+
// @version 2.0.2
5+
// @author xiaohuohumax
6+
// @description Zip Downloader -- 资源下载器(下载资源、Zip 压缩、下载到本地)
7+
// @license MIT
88
// ==/UserScript==
99

1010
var zipDownloader = function() {

libs/xpath-selector/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @xiaohuohumax/xpath-selector
22

3+
## 1.0.5
4+
5+
### Patch Changes
6+
7+
- 修复元数据构建异常
8+
39
## 1.0.4
410

511
### Patch Changes

libs/xpath-selector/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@xiaohuohumax/xpath-selector",
33
"type": "module",
4-
"version": "1.0.4",
4+
"version": "1.0.5",
55
"description": "XPath Selector -- 一个 XPath 选择器库,快速获取节点数据",
66
"author": {
77
"name": "xiaohuohumax",

libs/zip-downloader/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @xiaohuohumax/xpath-selector
22

3+
## 2.0.3
4+
5+
### Patch Changes
6+
7+
- 修复元数据构建异常
8+
39
## 2.0.2
410

511
### Patch Changes

libs/zip-downloader/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@xiaohuohumax/zip-downloader",
33
"type": "module",
4-
"version": "2.0.2",
4+
"version": "2.0.3",
55
"description": "Zip Downloader -- 资源下载器(下载资源、Zip 压缩、下载到本地)",
66
"author": {
77
"name": "xiaohuohumax",

packages/lib-default-config/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# lib-default-config
22

3+
## 1.0.2
4+
5+
### Patch Changes
6+
7+
- 修复元数据构建异常
8+
39
## 1.0.1
410

511
### Patch Changes

packages/lib-default-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "lib-default-config",
33
"type": "module",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"private": true,
66
"description": "lib default config",
77
"main": "./dist/index.js",

packages/lib-default-config/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function (options: Options): UserConfig {
3636
}
3737
const keyMax = Object.keys(options.meta).reduce((acc, cur) => Math.max(acc, cur.length), 0)
3838
const lines = Object.entries(options.meta)
39-
.map(([key, value]) => `// ${key.padEnd(keyMax)} ${value}`)
39+
.map(([key, value]) => `// @${key.padEnd(keyMax)} ${value}`)
4040
return `// ==UserScript==\n${lines.join('\n')}\n// ==/UserScript==\n`
4141
}
4242

0 commit comments

Comments
 (0)