Skip to content

Commit

Permalink
chore: release v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Nov 16, 2023
1 parent b0ef85b commit 3bda087
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

[改动日志](https://github.com/uni-helper/uni-app-schemas-vscode/blob/main/CHANGELOG.md)

想让 `uni-app` 开发变得更直观、高效?想要更好的 `uni-app` 开发体验?不妨看看 [uni-helper 主页](https://uni-helper.js.org)[uni-helper GitHub Organization](https://github.com/uni-helper)

## 插件特性

校验 `uni-app` 中的 `androidPrivacy.json``pages.json``manifest.json` 格式。
Expand All @@ -34,20 +36,40 @@

`manifest.json`

> 该文件根据 `@uni-helper/vite-plugin-uni-manifest` 提供的 TypeScript 类型自动生成,0.9.0 起默认使用该文件
```json
{
"$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/manifest.json"
"$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/manifest_legacy.json"
}
```

`pages.json`

> 该文件根据 `@uni-helper/vite-plugin-uni-pages` 提供的 TypeScript 类型自动生成,0.9.0 起默认使用该文件
```json
{
"$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/pages.json"
}
```

## 额外推荐
`manifest_legacy.json`

> 该文件根据官方文档手动整合,0.9.0 前默认使用该文件,不建议再使用
请查看 [uni-helper 插件说明](https://marketplace.visualstudio.com/items?itemName=uni-helper.uni-helper-vscode)
```json
{
"$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/manifest_legacy.json"
}
```

`pages_legacy.json`

> 该文件根据官方文档手动整合,0.9.0 前默认使用该文件,不建议再使用
```json
{
"$schema": "https://cdn.jsdelivr.net/gh/uni-helper/uni-app-schemas-vscode/schemas/pages_legacy.json"
}
```
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "uni-app-schemas-vscode",
"displayName": "uni-app-schemas",
"version": "0.8.11",
"version": "0.9.0",
"description": "校验 uni-app 中的 androidPrivacy.json、pages.json 和 manifest.json 格式",
"categories": [
"Other"
Expand Down

0 comments on commit 3bda087

Please sign in to comment.