mirror of
https://github.com/tauri-apps/tauri-action.git
synced 2026-01-31 00:35:20 +01:00
* refactor repo into one package * take pnpm for a test drive * add tslib again * fix dist path in action.yml * split up core script. add eslint * don't early return artifacts on macos * up node version * update deps * fix change files * rebuild dist
45 lines
1.1 KiB
JSON
45 lines
1.1 KiB
JSON
{
|
|
"gitSiteUrl": "https://www.github.com/tauri-apps/tauri-action/",
|
|
"pkgManagers": {
|
|
"javascript": {
|
|
"version": true,
|
|
"getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
|
|
"prepublish": [
|
|
{
|
|
"command": "pnpm install",
|
|
"dryRunCommand": true
|
|
},
|
|
{
|
|
"command": "npm pack",
|
|
"dryRunCommand": true
|
|
}
|
|
],
|
|
"publish": [
|
|
{
|
|
"command": "echo # Package Publish",
|
|
"dryRunCommand": "echo # Package Publish",
|
|
"pipe": true
|
|
},
|
|
{
|
|
"command": "npm publish --access public",
|
|
"dryRunCommand": "echo publish here",
|
|
"pipe": true
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"packages": {
|
|
"action": {
|
|
"path": "./",
|
|
"manager": "javascript",
|
|
"publish": [
|
|
"git tag v${ pkgFile.versionMajor } -f",
|
|
"git tag v${ pkgFile.versionMajor }.${ pkgFile.versionMinor } -f",
|
|
"git push --tags -f"
|
|
],
|
|
"getPublishedVersion": "git tag -a -m \"v${ pkgFile.version }\" v${ pkgFile.version } 2>/dev/null || echo ${ pkgFile.version }",
|
|
"assets": false
|
|
}
|
|
}
|
|
}
|