mirror of
https://github.com/tauri-apps/tauri-vscode.git
synced 2026-01-31 00:35:18 +01:00
feat: updates for tauri beta-rc
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"jsonValidation": [
|
||||
{
|
||||
"fileMatch": "tauri.conf.json",
|
||||
"url": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/cli/tauri.js/src/types/config.schema.json"
|
||||
"url": "https://github.com/tauri-apps/tauri/blob/dev/tooling/cli.rs/schema.json"
|
||||
}
|
||||
],
|
||||
"commands": [
|
||||
@@ -81,4 +81,4 @@
|
||||
"glob": "7.1.6",
|
||||
"run-in-terminal": "^0.0.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -55,8 +55,8 @@ function runTauriInit(): void {
|
||||
installCommand = 'vue add tauri';
|
||||
} else {
|
||||
installCommand = fs.existsSync(path.join(projectPath, 'yarn.lock'))
|
||||
? 'yarn add tauri'
|
||||
: `${__getNpmBin()} install tauri`;
|
||||
? 'yarn add @tauri-apps/cli --dev'
|
||||
: `${__getNpmBin()} install @tauri-apps/cli --save-dev`;
|
||||
onInstall = () => {
|
||||
__runTauriScript(['init'], { cwd: projectPath, noOutputWindow: true });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user