meta-json-schema 1.18.4-beta5 → 1.18.4-beta6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
- ## v1.18.5
1
+ ## v1.18.6
2
2
 
3
3
  ### Changes
4
4
 
@@ -7,6 +7,7 @@
7
7
  - 移除: Clash Verge Merge 配置移除`prepend-rule-providers`、`prepend-proxy-providers`、`append-rule-providers`、`append-proxy-providers`
8
8
  - 新增: `sniffer` 未配置 `sniff` 警告
9
9
  - 新增: `vless` 使用旧版 `XTLS` 协议警告
10
+ - 新增: `rules` 新增规则 `PROCESS-NAME-REGEX` 、 `PROCESS-PATH-REGEX`
10
11
 
11
12
  ### Bugs Fixes
12
13
 
package/README.md CHANGED
@@ -76,7 +76,7 @@ VS Code 扩展商店搜索 `Meta JSON Schema` 或 `ClashMeta.meta-json-schema`
76
76
 
77
77
  </details>
78
78
 
79
- ## 可视化
79
+ ## 👓 JSON Schema可视化
80
80
 
81
81
  - <a href="https://dongchengjie.github.io/meta-json-schema/?schema=https://raw.githubusercontent.com/dongchengjie/meta-json-schema/main/schemas/meta-json-schema.json" target="_blank">meta-json-schema</a>
82
82
 
@@ -86,13 +86,13 @@ VS Code 扩展商店搜索 `Meta JSON Schema` 或 `ClashMeta.meta-json-schema`
86
86
 
87
87
  1. 下载代码
88
88
 
89
- ```
89
+ ```bash
90
90
  git clone https://github.com/dongchengjie/meta-json-schema.git
91
91
  ```
92
92
 
93
93
  2. 使用Visual Studio Code打开项目(工作目录为.vscode所在目录)。
94
94
 
95
- ```
95
+ ```bash
96
96
  code /path/to/project/location
97
97
  ```
98
98
 
@@ -101,19 +101,19 @@ code /path/to/project/location
101
101
 
102
102
  3. 安装依赖
103
103
 
104
- ```
104
+ ```bash
105
105
  npm install
106
106
  ```
107
107
 
108
108
  4. 启动项目。执行下列命令后,会对`src`目录进行监视,如果发生变动则会对项目进行bundle,输出到`.temp`目录下。
109
109
 
110
- ```
110
+ ```bash
111
111
  npm run dev
112
112
  ```
113
113
 
114
114
  5. 测试schema。由于`.vscode`目录下`settings.json`中已事先配置了如下配置(`test`目录下的文件使用`.temp`目录下输出的schema文件)。因此可以对`src`进行修改,并在`test`目录下新增测试文件,及时观察变动并做出修正。
115
115
 
116
- ```yaml
116
+ ```json
117
117
  "yaml.schemas": {
118
118
  ".temp/meta-json-schema.json": "test/clash-meta/**/*.yaml",
119
119
  ".temp/clash-verge-merge-json-schema.json": "test/clash-verge/**/*.yaml"
@@ -122,11 +122,11 @@ npm run dev
122
122
 
123
123
  6. 发布release。执行下列命令后,会根据`package.json`文件中定义的`releases`进行输出,并根据`optimization`决定是否进行压缩。
124
124
 
125
- ```
125
+ ```bash
126
126
  npm run release
127
127
  ```
128
128
 
129
- ## 语法参考
129
+ ## 📚 语法参考
130
130
 
131
131
  <details>
132
132
  <summary>JSON Schema标准语法</summary>
@@ -165,7 +165,7 @@ interface JSONSchema {
165
165
 
166
166
  </details>
167
167
 
168
- ## FAQ
168
+ ## 🤔 FAQ
169
169
 
170
170
  ### definitions中的`compatible.json`文件的用途是什么?
171
171
 
@@ -175,10 +175,10 @@ YAML支持`Folded Style`和`Inline Style`的写法。
175
175
  <details>
176
176
  <summary>Inline Style</summary>
177
177
 
178
- ```
178
+ ```yaml
179
179
  proxies:
180
- - {name: 'proxy1', type: 'ss', cipher: 'auto', tls: 'true'}
181
- - {name: proxy2, type: ss, cipher: auto, tls: true}
180
+ - { name: "proxy1", type: "ss", cipher: "auto", tls: "true" }
181
+ - { name: proxy2, type: ss, cipher: auto, tls: true }
182
182
  ```
183
183
 
184
184
  </details>
@@ -186,16 +186,16 @@ proxies:
186
186
  <details>
187
187
  <summary>Folded Style</summary>
188
188
 
189
- ```
189
+ ```yaml
190
190
  proxies:
191
- - name: 'proxy1'
192
- type: 'ss'
193
- cipher: 'auto'
194
- tls: 'true'
195
- - name: proxy1
196
- type: ss
197
- cipher: auto
198
- tls: true
191
+ - name: "proxy1"
192
+ type: "ss"
193
+ cipher: "auto"
194
+ tls: "true"
195
+ - name: proxy1
196
+ type: ss
197
+ cipher: auto
198
+ tls: true
199
199
  ```
200
200
 
201
201
  </details>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-json-schema",
3
- "version": "1.18.4-beta5",
3
+ "version": "1.18.4-beta6",
4
4
  "description": "JSON Schema for Clash Meta",
5
5
  "keywords": [
6
6
  "clash",