From 6a6c9daeb261a29707c9d011346c8b7746ae6f54 Mon Sep 17 00:00:00 2001 From: Fabian-Lars Date: Mon, 18 Mar 2024 09:40:14 +0100 Subject: [PATCH] chore(template): Replace {{name}} with PLUGIN_NAME (#1087) fixes #1052 --- shared/template/Cargo.toml | 2 +- shared/template/README.md | 2 +- shared/template/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/template/Cargo.toml b/shared/template/Cargo.toml index 7b0fbd4b..e8eecc46 100644 --- a/shared/template/Cargo.toml +++ b/shared/template/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "tauri-plugin-{{name}}" +name = "tauri-plugin-PLUGIN_NAME" version = "0.0.0" edition.workspace = true authors.workspace = true diff --git a/shared/template/README.md b/shared/template/README.md index 4765690f..f2d83a45 100644 --- a/shared/template/README.md +++ b/shared/template/README.md @@ -1,4 +1,4 @@ -![{{plugin name}}](https://github.com/tauri-apps/plugins-workspace/raw/v1/plugins/{{plugin name}}/banner.png) +![PLUGIN_NAME](https://github.com/tauri-apps/plugins-workspace/raw/v1/plugins/PLUGIN_NAME/banner.png) diff --git a/shared/template/package.json b/shared/template/package.json index 287997fc..046683a0 100644 --- a/shared/template/package.json +++ b/shared/template/package.json @@ -1,5 +1,5 @@ { - "name": "tauri-plugin-{{name}}-api", + "name": "tauri-plugin-PLUGIN_NAME-api", "version": "0.0.0", "license": "MIT or APACHE-2.0", "authors": [