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": {
|
2020-06-15 16:29:22 +03:00
|
|
|
"version": true,
|
2020-07-19 23:33:12 +03:00
|
|
|
"getPublishedVersion": "cargo search ${ pkg.pkg } --limit 1 | sed -nE 's/^[^\"]*\"//; s/\".*//1p' -",
|
|
|
|
"prepublish": [
|
|
|
|
"sudo apt-get update",
|
|
|
|
"sudo apt-get install -y webkit2gtk-4.0",
|
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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"\\`\\`\\`\"",
|
|
|
|
"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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"\\`\\`\\`\"",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
2020-08-21 16:14:34 +03:00
|
|
|
}
|
2020-08-21 16:21:43 +03:00
|
|
|
],
|
|
|
|
"publish": [
|
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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"\\`\\`\\`\"",
|
|
|
|
"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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"\\`\\`\\`\"",
|
|
|
|
"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": {
|
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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"<details>\n<summary>click to view</summary>\n\n\\`\\`\\`\"",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "yarn audit",
|
|
|
|
"dryRunCommand": true,
|
|
|
|
"runFromRoot": true,
|
|
|
|
"pipe": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"\\`\\`\\`\n\n</details>\n\"",
|
|
|
|
"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": [
|
|
|
|
{
|
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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"\\`\\`\\`\"",
|
|
|
|
"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
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "echo \"\\`\\`\\`\"",
|
|
|
|
"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": {
|
|
|
|
"path": "./api",
|
2020-06-12 17:23:54 +03:00
|
|
|
"manager": "javascript",
|
2020-07-19 23:33:12 +03:00
|
|
|
"assets": [
|
|
|
|
{
|
2021-01-30 18:15:47 +03:00
|
|
|
"path": "./api/tauri-${ pkgFile.version }.tgz",
|
|
|
|
"name": "api-${ pkgFile.version }.tgz"
|
2020-07-19 23:33:12 +03:00
|
|
|
}
|
|
|
|
]
|
2020-06-12 17:23:54 +03:00
|
|
|
},
|
|
|
|
"tauri-bundler": {
|
|
|
|
"path": "./cli/tauri-bundler",
|
|
|
|
"manager": "rust"
|
|
|
|
},
|
2021-01-30 18:15:47 +03:00
|
|
|
"tauri-cli": {
|
|
|
|
"path": "./cli/core",
|
|
|
|
"manager": "rust",
|
|
|
|
"dependencies": ["api", "tauri-bundler", "tauri"]
|
|
|
|
},
|
|
|
|
"tauri.js": {
|
|
|
|
"path": "./cli/tauri.js",
|
|
|
|
"manager": "javascript",
|
|
|
|
"dependencies": ["tauri-cli"],
|
|
|
|
"assets": [
|
|
|
|
{
|
|
|
|
"path": "./cli/tauri.js/tauri-${ pkgFile.version }.tgz",
|
|
|
|
"name": "tauri.js-${ pkgFile.version }.tgz"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-07-20 07:34:16 +03:00
|
|
|
"tauri-utils": {
|
|
|
|
"path": "./tauri-utils",
|
|
|
|
"manager": "rust"
|
2020-06-12 17:23:54 +03:00
|
|
|
},
|
|
|
|
"tauri-api": {
|
|
|
|
"path": "./tauri-api",
|
|
|
|
"manager": "rust",
|
|
|
|
"dependencies": ["tauri-utils"]
|
|
|
|
},
|
2021-02-09 21:22:04 +03:00
|
|
|
"tauri-macros": {
|
|
|
|
"path": "./tauri-macros",
|
|
|
|
"manager": "rust",
|
|
|
|
"dependencies": ["tauri-utils"]
|
|
|
|
},
|
2020-06-12 17:23:54 +03:00
|
|
|
"tauri-updater": {
|
|
|
|
"path": "./tauri-updater",
|
2020-07-19 23:33:12 +03:00
|
|
|
"manager": "rust",
|
|
|
|
"publish": false
|
2020-07-20 07:34:16 +03:00
|
|
|
},
|
|
|
|
"tauri": {
|
|
|
|
"path": "./tauri",
|
|
|
|
"manager": "rust",
|
2021-02-09 21:22:04 +03:00
|
|
|
"dependencies": ["api", "tauri-api", "tauri-macros", "tauri-updater"]
|
2020-06-12 17:23:54 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|