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": {
|
2021-05-11 22:57:04 +03:00
|
|
|
"errorOnVersionRange": "1.0.0-beta.100 - 99.x || ^1.1.0-0 || ^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",
|
2021-08-15 23:09:55 +03:00
|
|
|
"sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-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
|
|
|
{
|
2020-08-21 16:14:34 +03:00
|
|
|
"command": "cargo package --allow-dirty",
|
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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "cargo publish --no-verify",
|
2020-07-21 20:35:43 +03:00
|
|
|
"dryRunCommand": "cargo publish --no-verify --dry-run --allow-dirty",
|
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": [
|
|
|
|
{
|
|
|
|
"path": "${ pkg.path }/${ pkg.pkg }-${ pkgFile.version }.crate",
|
|
|
|
"name": "${ pkg.pkg }-${ pkgFile.version }.crate"
|
|
|
|
}
|
|
|
|
]
|
2020-06-12 17:23:54 +03:00
|
|
|
},
|
|
|
|
"javascript": {
|
2021-04-17 01:55:00 +03:00
|
|
|
"errorOnVersionRange": "1.0.0-beta-rc.100 - 99.x || ^1.1.0-0 || ^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
|
|
|
},
|
|
|
|
"tauri-bundler": {
|
2021-04-12 07:59:25 +03:00
|
|
|
"path": "./tooling/bundler",
|
2020-06-12 17:23:54 +03:00
|
|
|
"manager": "rust"
|
|
|
|
},
|
2020-07-20 07:34:16 +03:00
|
|
|
"tauri-utils": {
|
2021-04-08 19:22:20 +03:00
|
|
|
"path": "./core/tauri-utils",
|
2020-07-20 07:34:16 +03:00
|
|
|
"manager": "rust"
|
2020-06-12 17:23:54 +03:00
|
|
|
},
|
2021-05-09 21:19:37 +03:00
|
|
|
"tauri-runtime": {
|
|
|
|
"path": "./core/tauri-runtime",
|
|
|
|
"manager": "rust",
|
2021-07-04 01:48:04 +03:00
|
|
|
"dependencies": ["tauri-utils"],
|
2021-05-10 00:43:50 +03:00
|
|
|
"postversion": "node ../../.scripts/sync-prerelease.js ${ pkg.pkg } ${ release.type }"
|
|
|
|
},
|
|
|
|
"tauri-runtime-wry": {
|
|
|
|
"path": "./core/tauri-runtime-wry",
|
|
|
|
"manager": "rust",
|
2021-07-04 01:48:04 +03:00
|
|
|
"dependencies": ["tauri-utils", "tauri-runtime"],
|
2021-05-10 00:43:50 +03:00
|
|
|
"postversion": "node ../../.scripts/sync-prerelease.js ${ pkg.pkg } ${ release.type }"
|
2021-05-09 21:19:37 +03:00
|
|
|
},
|
2021-04-14 23:00:44 +03:00
|
|
|
"tauri-codegen": {
|
|
|
|
"path": "./core/tauri-codegen",
|
|
|
|
"manager": "rust",
|
2021-07-04 01:48:04 +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",
|
2021-07-04 01:48:04 +03:00
|
|
|
"dependencies": ["tauri-codegen"]
|
2021-04-08 19:22:20 +03:00
|
|
|
},
|
|
|
|
"tauri-build": {
|
|
|
|
"path": "./core/tauri-build",
|
2021-04-14 23:00:44 +03:00
|
|
|
"manager": "rust",
|
2021-07-04 01:48:04 +03:00
|
|
|
"dependencies": ["tauri-codegen", "tauri-utils"],
|
2021-04-19 17:48:02 +03:00
|
|
|
"postversion": "node ../../.scripts/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"
|
2021-05-07 16:58:44 +03:00
|
|
|
],
|
2021-04-19 17:48:02 +03:00
|
|
|
"postversion": "node ../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }"
|
2021-04-19 17:15:21 +03:00
|
|
|
},
|
|
|
|
"cli.js": {
|
|
|
|
"path": "./tooling/cli.js",
|
|
|
|
"manager": "javascript",
|
2021-07-04 01:48:04 +03:00
|
|
|
"dependencies": ["cli.rs"],
|
2021-04-19 20:49:11 +03:00
|
|
|
"postversion": "node ../../.scripts/sync-cli-metadata.js ${ pkg.pkg } ${ release.type }",
|
2021-04-19 17:15:21 +03:00
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"path": "./tooling/cli.js/tauri-apps-cli-${ pkgFile.version }.tgz",
|
|
|
|
"name": "cli.js-${ pkgFile.version }.tgz"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"cli.rs": {
|
|
|
|
"path": "./tooling/cli.rs",
|
|
|
|
"manager": "rust",
|
2021-07-04 01:48:04 +03:00
|
|
|
"dependencies": ["tauri-bundler"],
|
2021-04-19 20:49:11 +03:00
|
|
|
"postversion": "cargo check"
|
2021-04-14 21:51:25 +03:00
|
|
|
},
|
|
|
|
"create-tauri-app": {
|
|
|
|
"path": "./tooling/create-tauri-app",
|
|
|
|
"manager": "javascript"
|
2021-08-02 05:54:10 +03:00
|
|
|
},
|
|
|
|
"tauri-driver": {
|
|
|
|
"path": "./tooling/webdriver",
|
|
|
|
"manager": "rust",
|
|
|
|
"postversion": "node ../../.scripts/sync-prerelease.js ${ pkg.pkg } ${ release.type }"
|
2020-06-12 17:23:54 +03:00
|
|
|
}
|
|
|
|
}
|
2021-07-04 01:48:04 +03:00
|
|
|
}
|