|
@@ -1,91 +0,0 @@
|
|
|
-{
|
|
|
- "gitSiteUrl": "https://www.github.com/your-org/tauri-plugin-{{ plugin_name }}/",
|
|
|
- "pkgManagers": {
|
|
|
- "rust": {
|
|
|
- "version": true,
|
|
|
- "getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
|
|
|
- "prepublish": [
|
|
|
- "sudo apt-get update",
|
|
|
- "sudo apt-get install -y webkit2gtk-4.1",
|
|
|
- "cargo install cargo-audit",
|
|
|
- {
|
|
|
- "command": "cargo generate-lockfile",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "echo '<details>\n<summary><em><h4>Cargo Audit</h4></em></summary>\n\n```'",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "cargo audit ${ process.env.CARGO_AUDIT_OPTIONS || '' }",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "echo '```\n\n</details>\n'",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- }
|
|
|
- ],
|
|
|
- "publish": [
|
|
|
- {
|
|
|
- "command": "cargo package --no-verify",
|
|
|
- "dryRunCommand": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "echo '<details>\n<summary><em><h4>Cargo Publish</h4></em></summary>\n\n```'",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "cargo publish",
|
|
|
- "dryRunCommand": "cargo publish --dry-run",
|
|
|
- "pipe": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "echo '```\n\n</details>\n'",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- "javascript": {
|
|
|
- "version": true,
|
|
|
- "getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
|
|
|
- "publish": [
|
|
|
- {
|
|
|
- "command": "echo '<details>\n<summary><em><h4>Yarn Publish</h4></em></summary>\n\n```'",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "yarn publish --access public --loglevel silly",
|
|
|
- "dryRunCommand": "npm publish --dry-run --access public",
|
|
|
- "pipe": true
|
|
|
- },
|
|
|
- {
|
|
|
- "command": "echo '```\n\n</details>\n'",
|
|
|
- "dryRunCommand": true,
|
|
|
- "pipe": true
|
|
|
- }
|
|
|
- ]
|
|
|
- }
|
|
|
- },
|
|
|
- "packages": {
|
|
|
- "tauri-plugin-{{ plugin_name }}": {
|
|
|
- "path": ".",
|
|
|
- "manager": "rust",
|
|
|
- "releaseTag": "crate-v${ pkgFile.version }"
|
|
|
- },
|
|
|
- "tauri-plugin-{{ plugin_name }}-api": {
|
|
|
- "path": ".",
|
|
|
- "manager": "javascript",
|
|
|
- "dependencies": [
|
|
|
- "tauri-plugin-{{ plugin_name }}"
|
|
|
- ],
|
|
|
- "releaseTag": "npm-v${ pkgFile.version }"
|
|
|
- }
|
|
|
- }
|
|
|
-}
|