2020-06-12 17:23:54 +03:00
|
|
|
{
|
2020-07-10 20:29:11 +03:00
|
|
|
"gitSiteUrl": "https://www.github.com/tauri-apps/tauri/",
|
2020-11-10 17:46:23 +03:00
|
|
|
"timeout": 3600000,
|
2020-06-12 17:23:54 +03:00
|
|
|
"pkgManagers": {
|
|
|
|
"rust": {
|
2022-06-15 19:53:44 +03:00
|
|
|
"errorOnVersionRange": "^2.0.0-0",
|
2020-06-15 16:29:22 +03:00
|
|
|
"version": true,
|
2021-04-18 18:02:17 +03:00
|
|
|
"getPublishedVersion": "cargo search ${ pkgFile.pkg.package.name } --limit 1 | sed -nE \"s/^[^\\\"]*\\\"//; s/\\\".*//1p\"",
|
2020-07-19 23:33:12 +03:00
|
|
|
"prepublish": [
|
|
|
|
"sudo apt-get update",
|
2022-04-19 23:33:17 +03:00
|
|
|
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libayatana-appindicator3-dev librsvg2-dev patchelf",
|
2020-09-03 05:06:12 +03:00
|
|
|
"cargo install cargo-audit --features=fix",
|
2020-07-19 23:33:12 +03:00
|
|
|
{
|
|
|
|
"command": "cargo generate-lockfile",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"runFromRoot": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"# Cargo Audit\"",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2020-11-10 16:59:04 +03:00
|
|
|
"command": "cargo audit ${ process.env.CARGO_AUDIT_OPTIONS || '' }",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"runFromRoot": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
2020-08-21 16:14:34 +03:00
|
|
|
}
|
2020-08-21 16:21:43 +03:00
|
|
|
],
|
|
|
|
"publish": [
|
2021-04-19 22:04:44 +03:00
|
|
|
"sleep 15s",
|
2020-07-19 23:33:12 +03:00
|
|
|
{
|
2022-06-21 21:21:47 +03:00
|
|
|
"command": "cargo package --no-verify",
|
2020-07-21 20:35:43 +03:00
|
|
|
"dryRunCommand": true
|
2020-08-21 16:14:34 +03:00
|
|
|
},
|
2020-07-19 23:33:12 +03:00
|
|
|
{
|
|
|
|
"command": "echo \"# Cargo Publish\"",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2022-06-21 21:21:47 +03:00
|
|
|
"command": "cargo publish",
|
|
|
|
"dryRunCommand": "cargo publish --dry-run",
|
2020-07-19 23:33:12 +03:00
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"postpublish": [
|
|
|
|
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f",
|
|
|
|
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f",
|
|
|
|
"git push --tags -f"
|
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
{
|
2022-02-13 06:56:06 +03:00
|
|
|
"path": "${ pkg.path }/target/package/${ pkg.pkg }-${ pkgFile.version }.crate",
|
2020-07-19 23:33:12 +03:00
|
|
|
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
|
|
|
|
}
|
|
|
|
]
|
2020-06-12 17:23:54 +03:00
|
|
|
},
|
|
|
|
"javascript": {
|
2022-06-15 19:53:44 +03:00
|
|
|
"errorOnVersionRange": "^2.0.0-0",
|
2020-06-15 16:29:22 +03:00
|
|
|
"version": true,
|
2020-07-19 23:33:12 +03:00
|
|
|
"getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
|
|
|
|
"prepublish": [
|
|
|
|
{
|
|
|
|
"command": "yarn",
|
|
|
|
"dryRunCommand": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"# Yarn Audit\n\"",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '<details>\n<summary>click to view</summary>\n\n```'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "yarn audit",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"runFromRoot": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```\n\n</details>\n'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "npm pack",
|
2020-07-21 20:35:43 +03:00
|
|
|
"dryRunCommand": true
|
2020-07-19 23:33:12 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"publish": [
|
2021-04-19 22:04:44 +03:00
|
|
|
"sleep 15s",
|
2020-07-19 23:33:12 +03:00
|
|
|
{
|
2020-11-10 20:21:01 +03:00
|
|
|
"command": "echo \"# Yarn Package Publish\"",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2020-11-12 20:09:50 +03:00
|
|
|
"command": "yarn publish --access public --loglevel silly",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": "npm publish --dry-run --access public",
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2020-07-19 23:33:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"postpublish": [
|
|
|
|
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor } -f",
|
|
|
|
"git tag ${ pkg.pkg }-v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f",
|
|
|
|
"git push --tags -f"
|
|
|
|
]
|
2020-06-12 17:23:54 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"packages": {
|
2021-01-30 18:15:47 +03:00
|
|
|
"api": {
|
2021-04-12 07:59:25 +03:00
|
|
|
"path": "./tooling/api",
|
2020-06-12 17:23:54 +03:00
|
|
|
"manager": "javascript",
|
2020-07-19 23:33:12 +03:00
|
|
|
"assets": [
|
|
|
|
{
|
2021-04-19 06:31:12 +03:00
|
|
|
"path": "./tooling/api/dist/tauri-apps-api-${ pkgFile.version }.tgz",
|
2021-01-30 18:15:47 +03:00
|
|
|
"name": "api-${ pkgFile.version }.tgz"
|
2020-07-19 23:33:12 +03:00
|
|
|
}
|
2021-04-19 06:31:12 +03:00
|
|
|
],
|
|
|
|
"prepublish": [
|
|
|
|
{
|
|
|
|
"command": "yarn",
|
|
|
|
"dryRunCommand": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"# Yarn Audit\n\"",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '<details>\n<summary>click to view</summary>\n\n```'",
|
2021-04-19 06:31:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "yarn audit",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"runFromRoot": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```\n\n</details>\n'",
|
2021-04-19 06:31:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "yarn npm-pack",
|
|
|
|
"dryRunCommand": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"publish": [
|
|
|
|
{
|
|
|
|
"command": "echo \"# Yarn Package Publish\"",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2021-04-19 06:31:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "yarn npm-publish",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
2021-04-19 22:04:44 +03:00
|
|
|
"command": "echo '```'",
|
2021-04-19 06:31:12 +03:00
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
}
|
2020-07-19 23:33:12 +03:00
|
|
|
]
|
2020-06-12 17:23:54 +03:00
|
|
|
},
|
2022-02-11 00:42:50 +03:00
|
|
|
"tauri-utils": {
|
|
|
|
"path": "./core/tauri-utils",
|
|
|
|
"manager": "rust"
|
|
|
|
},
|
2020-06-12 17:23:54 +03:00
|
|
|
"tauri-bundler": {
|
2021-04-12 07:59:25 +03:00
|
|
|
"path": "./tooling/bundler",
|
2022-02-08 19:13:21 +03:00
|
|
|
"manager": "rust",
|
2022-02-18 00:20:56 +03:00
|
|
|
"dependencies": ["tauri-utils"]
|
2020-06-12 17:23:54 +03:00
|
|
|
},
|
2021-05-09 21:19:37 +03:00
|
|
|
"tauri-runtime": {
|
|
|
|
"path": "./core/tauri-runtime",
|
|
|
|
"manager": "rust",
|
2022-06-27 16:36:14 +03:00
|
|
|
"dependencies": ["tauri-utils"]
|
2021-05-10 00:43:50 +03:00
|
|
|
},
|
|
|
|
"tauri-runtime-wry": {
|
|
|
|
"path": "./core/tauri-runtime-wry",
|
|
|
|
"manager": "rust",
|
2022-06-27 16:36:14 +03:00
|
|
|
"dependencies": ["tauri-utils", "tauri-runtime"]
|
2021-05-09 21:19:37 +03:00
|
|
|
},
|
2021-04-14 23:00:44 +03:00
|
|
|
"tauri-codegen": {
|
|
|
|
"path": "./core/tauri-codegen",
|
|
|
|
"manager": "rust",
|
2022-02-18 00:20:56 +03:00
|
|
|
"dependencies": ["tauri-utils"]
|
2021-04-14 23:00:44 +03:00
|
|
|
},
|
2021-02-09 21:22:04 +03:00
|
|
|
"tauri-macros": {
|
2021-04-08 19:22:20 +03:00
|
|
|
"path": "./core/tauri-macros",
|
2021-02-09 21:22:04 +03:00
|
|
|
"manager": "rust",
|
2022-02-18 00:20:56 +03:00
|
|
|
"dependencies": ["tauri-codegen", "tauri-utils"]
|
2021-04-08 19:22:20 +03:00
|
|
|
},
|
|
|
|
"tauri-build": {
|
|
|
|
"path": "./core/tauri-build",
|
2021-04-14 23:00:44 +03:00
|
|
|
"manager": "rust",
|
2022-02-18 00:20:56 +03:00
|
|
|
"dependencies": ["tauri-codegen", "tauri-utils"],
|
2022-02-11 02:08:54 +03:00
|
|
|
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
|
2020-07-20 07:34:16 +03:00
|
|
|
},
|
|
|
|
"tauri": {
|
2021-04-08 19:22:20 +03:00
|
|
|
"path": "./core/tauri",
|
2020-07-20 07:34:16 +03:00
|
|
|
"manager": "rust",
|
2021-05-07 16:58:44 +03:00
|
|
|
"dependencies": [
|
|
|
|
"tauri-macros",
|
2021-05-09 21:19:37 +03:00
|
|
|
"tauri-utils",
|
2021-05-10 00:43:50 +03:00
|
|
|
"tauri-runtime",
|
|
|
|
"tauri-runtime-wry"
|
2022-02-11 02:08:54 +03:00
|
|
|
],
|
|
|
|
"postversion": "node ../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
|
2021-04-19 17:15:21 +03:00
|
|
|
},
|
|
|
|
"cli.js": {
|
2022-02-10 23:23:10 +03:00
|
|
|
"path": "./tooling/cli/node",
|
2021-04-19 17:15:21 +03:00
|
|
|
"manager": "javascript",
|
2022-02-18 00:20:56 +03:00
|
|
|
"dependencies": ["cli.rs"],
|
2022-02-11 02:08:54 +03:00
|
|
|
"postversion": "node ../../../.scripts/covector/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
|
2022-02-10 04:11:00 +03:00
|
|
|
"prepublish": [],
|
|
|
|
"publish": [],
|
|
|
|
"postpublish": []
|
2021-04-19 17:15:21 +03:00
|
|
|
},
|
|
|
|
"cli.rs": {
|
2022-02-10 23:23:10 +03:00
|
|
|
"path": "./tooling/cli",
|
2021-04-19 17:15:21 +03:00
|
|
|
"manager": "rust",
|
2022-02-18 00:20:56 +03:00
|
|
|
"dependencies": ["tauri-bundler", "tauri-utils"],
|
2022-02-13 17:51:30 +03:00
|
|
|
"postversion": "cargo check",
|
2022-02-13 06:56:06 +03:00
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"path": "${ pkg.path }/target/package/tauri-cli-${ pkgFile.version }.crate",
|
|
|
|
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
|
|
|
|
}
|
|
|
|
]
|
2021-04-14 21:51:25 +03:00
|
|
|
},
|
2021-08-02 05:54:10 +03:00
|
|
|
"tauri-driver": {
|
|
|
|
"path": "./tooling/webdriver",
|
2022-06-27 16:36:14 +03:00
|
|
|
"manager": "rust"
|
2020-06-12 17:23:54 +03:00
|
|
|
}
|
|
|
|
}
|
2022-02-18 00:20:56 +03:00
|
|
|
}
|