Skip to content

Commit 81d776f

Browse files
authored
feat: include $schema property in tauri.conf.json (#770)
* feat: include `$schema` property in `tauri.conf.json` closes #725 * change file
1 parent 5dfef4f commit 81d776f

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

.changes/schema.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"create-tauri-app": minor
3+
"create-tauri-app-js": minor
4+
---
5+
6+
Include `$schema` property in `tauri.conf.json` file by default

templates/_base_/src-tauri/%(rc)%tauri.conf.json.lte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://schema.tauri.app/config/2.0.0-rc",
23
"productName": "{% package_name %}",
34
"version": "0.1.0",
45
"identifier": "{% identifier %}",

templates/_base_/src-tauri/%(stable)%tauri.conf.json.lte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://schema.tauri.app/config/1",
23
"build": {
34
{% if before_dev_command %}"beforeDevCommand": "{% before_dev_command %}",
45
{% endif %}{% if before_build_command %}"beforeBuildCommand": "{% before_build_command %}",

0 commit comments

Comments
 (0)