fix(deps): update dependency probot to v13 (#244)

* fix(deps): update dependency probot to v13

* fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: amrbashir <amr.bashir2015@gmail.com>
This commit is contained in:
renovate[bot]
2024-02-19 16:55:29 +02:00
committed by GitHub
parent 731a731eca
commit f56aaea163
4 changed files with 441 additions and 754 deletions

View File

@@ -1,105 +1,61 @@
{
"action": "closed",
"issue": {
"url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/80",
"repository_url": "https://api.github.com/repos/tauri-apps/create-tauri-app",
"labels_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/80/labels{/name}",
"comments_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/80/comments",
"events_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/80/events",
"html_url": "https://github.com/tauri-apps/create-tauri-app/pull/80",
"id": 1298612529,
"node_id": "PR_kwDOG3NXc847Fgp4",
"number": 80,
"title": "Removed deprecated sveltejs/template",
"url": "https://api.github.com/repos/tauri-apps/tauri/issues/8798",
"repository_url": "https://api.github.com/repos/tauri-apps/tauri",
"labels_url": "https://api.github.com/repos/tauri-apps/tauri/issues/8798/labels{/name}",
"comments_url": "https://api.github.com/repos/tauri-apps/tauri/issues/8798/comments",
"events_url": "https://api.github.com/repos/tauri-apps/tauri/issues/8798/events",
"html_url": "https://github.com/tauri-apps/tauri/issues/8798",
"id": 2121112213,
"node_id": "I_kwDOC7lts85-bZqV",
"number": 8798,
"title": "[feat] conditionally add capabilities",
"user": {
"login": "tauri-bot",
"id": 207248,
"node_id": "MDQ6VXNlcjIwNzI0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/207248?v=4",
"login": "someuser",
"id": 20051258,
"node_id": "MDQ6VXNlcjIwMDUxMjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/20051258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/someusername",
"html_url": "https://github.com/someusername",
"followers_url": "https://api.github.com/users/someusername/followers",
"following_url": "https://api.github.com/users/someusername/following{/other_user}",
"gists_url": "https://api.github.com/users/someusername/gists{/gist_id}",
"starred_url": "https://api.github.com/users/someusername/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/someusername/subscriptions",
"organizations_url": "https://api.github.com/users/someusername/orgs",
"repos_url": "https://api.github.com/users/someusername/repos",
"events_url": "https://api.github.com/users/someusername/events{/privacy}",
"received_events_url": "https://api.github.com/users/someusername/received_events",
"url": "https://api.github.com/users/someuser",
"html_url": "https://github.com/someuser",
"followers_url": "https://api.github.com/users/someuser/followers",
"following_url": "https://api.github.com/users/someuser/following{/other_user}",
"gists_url": "https://api.github.com/users/someuser/gists{/gist_id}",
"starred_url": "https://api.github.com/users/someuser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/someuser/subscriptions",
"organizations_url": "https://api.github.com/users/someuser/orgs",
"repos_url": "https://api.github.com/users/someuser/repos",
"events_url": "https://api.github.com/users/someuser/events{/privacy}",
"received_events_url": "https://api.github.com/users/someuser/received_events",
"type": "User",
"site_admin": false
},
"labels": [],
"labels": [
{
"id": 3307089819,
"node_id": "MDU6TGFiZWwzMzA3MDg5ODE5",
"url": "https://api.github.com/repos/tauri-apps/tauri/labels/type:%20feature%20request",
"name": "type: feature request",
"color": "446DBA",
"default": false,
"description": ""
}
],
"state": "closed",
"locked": false,
"assignee": null,
"assignees": [],
"milestone": null,
"comments": 2,
"created_at": "2022-07-08T07:31:46Z",
"updated_at": "2022-08-09T12:53:59Z",
"closed_at": "2022-08-09T12:53:59Z",
"author_association": "NONE",
"active_lock_reason": null,
"draft": false,
"pull_request": {
"url": "https://api.github.com/repos/tauri-apps/create-tauri-app/pulls/80",
"html_url": "https://github.com/tauri-apps/create-tauri-app/pull/80",
"diff_url": "https://github.com/tauri-apps/create-tauri-app/pull/80.diff",
"patch_url": "https://github.com/tauri-apps/create-tauri-app/pull/80.patch",
"merged_at": null
},
"body": "> This issue has been upstreamed from https://github.com/tauri-apps/tauri/issues/90 \n\nhttps://github.com/sveltejs/template is deprecated and no longer maintained, \r\n\r\nThe create-vite with a svelte preset is the recommend way for Svelte projects (and soon SvelteKit)\r\n\r\n\r\n<!--\r\nUpdate \"[ ]\" to \"[x]\" to check a box\r\n\r\nPlease make sure to read the Pull Request Guidelines: https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines\r\n-->\r\n\r\n### What kind of change does this PR introduce?\r\n<!-- Check at least one. If you are introducing a new binding, you must reference an issue where this binding has been proposed, discussed and approved by the maintainers. -->\r\n\r\n- [ ] Bugfix\r\n- [ ] Feature\r\n- [ ] Docs\r\n- [ ] New Binding issue #___\r\n- [ ] Code style update\r\n- [ ] Refactor\r\n- [ ] Build-related changes\r\n- [X] Other, please describe:\r\n\r\nRemoved recipe\r\n\r\n### Does this PR introduce a breaking change?\r\n<!-- If yes, please describe the impact and migration path for existing applications in an attached issue. -->\r\n\r\n- [X] Yes, and the changes were approved in issue #___\r\n- [ ] No\r\n\r\n### Checklist\r\n- [X] When resolving issues, they are referenced in the PR's title (e.g `fix: remove a typo, closes #___, #___`)\r\n- [ ] A change file is added if any packages will require a version bump due to this PR per [the instructions in the readme](https://github.com/tauri-apps/tauri/blob/dev/.changes/readme.md).\r\n? that link doesn't work :(\r\n- [X] I have added a convincing reason for adding this feature, if necessary\r\n\r\nThe Svelte recipe stood out more than the vite recipe (which does mention svelte) so I picked this outdated recipe instead of the svelte recommended one.\r\n\r\n### Other information\r\n",
"reactions": {
"url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/80/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
},
"timeline_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/80/timeline",
"performed_via_github_app": null,
"state_reason": null
},
"comment": {
"url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/comments/1209344860",
"html_url": "https://github.com/tauri-apps/create-tauri-app/pull/80#issuecomment-1209344860",
"issue_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/80",
"id": 1209344860,
"node_id": "IC_kwDOG3NXc85IFSNc",
"user": {
"login": "someasidja;d",
"id": 48618675,
"node_id": "MDQ6VXNlcjQ4NjE4Njc1",
"avatar_url": "https://avatars.githubusercontent.com/u/48618675?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/someasidja;d",
"html_url": "https://github.com/someasidja;d",
"followers_url": "https://api.github.com/users/someasidja;d/followers",
"following_url": "https://api.github.com/users/someasidja;d/following{/other_user}",
"gists_url": "https://api.github.com/users/someasidja;d/gists{/gist_id}",
"starred_url": "https://api.github.com/users/someasidja;d/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/someasidja;d/subscriptions",
"organizations_url": "https://api.github.com/users/someasidja;d/orgs",
"repos_url": "https://api.github.com/users/someasidja;d/repos",
"events_url": "https://api.github.com/users/someasidja;d/events{/privacy}",
"received_events_url": "https://api.github.com/users/someasidja;d/received_events",
"type": "User",
"site_admin": false
},
"created_at": "2022-08-09T12:53:59Z",
"updated_at": "2022-08-09T12:53:59Z",
"comments": 0,
"created_at": "2024-02-06T15:49:59Z",
"updated_at": "2024-02-19T14:13:37Z",
"closed_at": "2024-02-19T14:13:37Z",
"author_association": "MEMBER",
"body": "Closing in favor of #90 , it has a new template for svelte",
"active_lock_reason": null,
"body": "> This issue has been upstreamed from https://github.com/tauri-apps/create-tauri-app/issues/90 \n\n### Describe the problem\r\n\r\nThe current capability design automatically pulls every capability file and resolves to the app runtime authority. While this is a good approach for developer experience, it is static and does not support more dynamic applications such as:\r\n- nightly releases including new features\r\n- feature-flag based multi application mode (for instance an admin vs user shared app that uses Cargo features to toggle what is compiled)\r\n- debug-only plugins (like developer productivity tools)\r\n\r\n### Describe the solution you'd like\r\n\r\nwe should add an option to define capabilities in Rust code. Ideally this should still be done at compile time. Since the current capabilities resolution is done in the Context generation, we could extend it to allow defining capabilities conditionally:\r\n\r\n```rust\r\ntauri::generate_context!(\r\n capabilities = [\r\n\t #[cfg(debug_assertions)]\r\n\t \"./capabilities/debug.json\",\r\n\t #[cfg(feature = \"admin\")]\r\n\t \"./capabilities/admin.json\",\r\n ]\r\n)\r\n```\r\n\r\n#8797 implements the first step for this feature, without that change users need to define conditionally added capabilities in a separate folder otherwise they would be enabled automatically.\r\n\r\n### Alternatives considered\r\n\r\nWe could also allow defining the capability at runtime instead, but I'll open a separate issue for that one.\r\n\r\n### Additional context\r\n\r\n_No response_",
"reactions": {
"url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/comments/1209344860/reactions",
"url": "https://api.github.com/repos/tauri-apps/tauri/issues/8798/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
@@ -110,13 +66,15 @@
"rocket": 0,
"eyes": 0
},
"performed_via_github_app": null
"timeline_url": "https://api.github.com/repos/tauri-apps/tauri/issues/8798/timeline",
"performed_via_github_app": null,
"state_reason": "completed"
},
"repository": {
"id": 460543859,
"node_id": "R_kgDOG3NXcw",
"name": "create-tauri-app",
"full_name": "tauri-apps/create-tauri-app",
"id": 196701619,
"node_id": "MDEwOlJlcG9zaXRvcnkxOTY3MDE2MTk=",
"name": "tauri",
"full_name": "tauri-apps/tauri",
"private": false,
"owner": {
"login": "tauri-apps",
@@ -138,68 +96,69 @@
"type": "Organization",
"site_admin": false
},
"html_url": "https://github.com/tauri-apps/create-tauri-app",
"description": "Rapidly scaffold out a new tauri app project.",
"html_url": "https://github.com/tauri-apps/tauri",
"description": "Build smaller, faster, and more secure desktop applications with a web frontend.",
"fork": false,
"url": "https://api.github.com/repos/tauri-apps/create-tauri-app",
"forks_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/forks",
"keys_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/teams",
"hooks_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/hooks",
"issue_events_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/events{/number}",
"events_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/events",
"assignees_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/assignees{/user}",
"branches_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/branches{/branch}",
"tags_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/tags",
"blobs_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/statuses/{sha}",
"languages_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/languages",
"stargazers_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/stargazers",
"contributors_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/contributors",
"subscribers_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/subscribers",
"subscription_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/subscription",
"commits_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/contents/{+path}",
"compare_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/merges",
"archive_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/downloads",
"issues_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/issues{/number}",
"pulls_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/pulls{/number}",
"milestones_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/milestones{/number}",
"notifications_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/labels{/name}",
"releases_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/releases{/id}",
"deployments_url": "https://api.github.com/repos/tauri-apps/create-tauri-app/deployments",
"created_at": "2022-02-17T17:44:10Z",
"updated_at": "2022-08-09T12:17:08Z",
"pushed_at": "2022-08-09T12:52:24Z",
"git_url": "git://github.com/tauri-apps/create-tauri-app.git",
"ssh_url": "git@github.com:tauri-apps/create-tauri-app.git",
"clone_url": "https://github.com/tauri-apps/create-tauri-app.git",
"svn_url": "https://github.com/tauri-apps/create-tauri-app",
"homepage": "",
"size": 2873,
"stargazers_count": 145,
"watchers_count": 145,
"language": "TypeScript",
"url": "https://api.github.com/repos/tauri-apps/tauri",
"forks_url": "https://api.github.com/repos/tauri-apps/tauri/forks",
"keys_url": "https://api.github.com/repos/tauri-apps/tauri/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/tauri-apps/tauri/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/tauri-apps/tauri/teams",
"hooks_url": "https://api.github.com/repos/tauri-apps/tauri/hooks",
"issue_events_url": "https://api.github.com/repos/tauri-apps/tauri/issues/events{/number}",
"events_url": "https://api.github.com/repos/tauri-apps/tauri/events",
"assignees_url": "https://api.github.com/repos/tauri-apps/tauri/assignees{/user}",
"branches_url": "https://api.github.com/repos/tauri-apps/tauri/branches{/branch}",
"tags_url": "https://api.github.com/repos/tauri-apps/tauri/tags",
"blobs_url": "https://api.github.com/repos/tauri-apps/tauri/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/tauri-apps/tauri/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/tauri-apps/tauri/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/tauri-apps/tauri/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/tauri-apps/tauri/statuses/{sha}",
"languages_url": "https://api.github.com/repos/tauri-apps/tauri/languages",
"stargazers_url": "https://api.github.com/repos/tauri-apps/tauri/stargazers",
"contributors_url": "https://api.github.com/repos/tauri-apps/tauri/contributors",
"subscribers_url": "https://api.github.com/repos/tauri-apps/tauri/subscribers",
"subscription_url": "https://api.github.com/repos/tauri-apps/tauri/subscription",
"commits_url": "https://api.github.com/repos/tauri-apps/tauri/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/tauri-apps/tauri/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/tauri-apps/tauri/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/tauri-apps/tauri/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/tauri-apps/tauri/contents/{+path}",
"compare_url": "https://api.github.com/repos/tauri-apps/tauri/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/tauri-apps/tauri/merges",
"archive_url": "https://api.github.com/repos/tauri-apps/tauri/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/tauri-apps/tauri/downloads",
"issues_url": "https://api.github.com/repos/tauri-apps/tauri/issues{/number}",
"pulls_url": "https://api.github.com/repos/tauri-apps/tauri/pulls{/number}",
"milestones_url": "https://api.github.com/repos/tauri-apps/tauri/milestones{/number}",
"notifications_url": "https://api.github.com/repos/tauri-apps/tauri/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/tauri-apps/tauri/labels{/name}",
"releases_url": "https://api.github.com/repos/tauri-apps/tauri/releases{/id}",
"deployments_url": "https://api.github.com/repos/tauri-apps/tauri/deployments",
"created_at": "2019-07-13T09:09:37Z",
"updated_at": "2024-02-19T14:06:13Z",
"pushed_at": "2024-02-19T14:13:37Z",
"git_url": "git://github.com/tauri-apps/tauri.git",
"ssh_url": "git@github.com:tauri-apps/tauri.git",
"clone_url": "https://github.com/tauri-apps/tauri.git",
"svn_url": "https://github.com/tauri-apps/tauri",
"homepage": "https://tauri.app",
"size": 81232,
"stargazers_count": 74725,
"watchers_count": 74725,
"language": "Rust",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_wiki": false,
"has_pages": false,
"forks_count": 13,
"has_discussions": true,
"forks_count": 2272,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 19,
"open_issues_count": 711,
"license": {
"key": "apache-2.0",
"name": "Apache License 2.0",
@@ -210,12 +169,31 @@
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [],
"topics": [
"hacktoberfest",
"high-performance",
"rust",
"webview",
"works-with-clojurescript",
"works-with-construct",
"works-with-elm",
"works-with-flutter",
"works-with-gatsby",
"works-with-mint",
"works-with-phaser",
"works-with-quasar",
"works-with-react",
"works-with-reason",
"works-with-svelte",
"works-with-vue",
"works-with-yew"
],
"visibility": "public",
"forks": 13,
"open_issues": 19,
"watchers": 145,
"default_branch": "dev"
"forks": 2272,
"open_issues": 711,
"watchers": 74725,
"default_branch": "dev",
"custom_properties": {}
},
"organization": {
"login": "tauri-apps",
@@ -232,22 +210,22 @@
"description": "Build smaller, faster, and more secure desktop applications with a web frontend"
},
"sender": {
"login": "someasidja;d",
"id": 48618675,
"node_id": "MDQ6VXNlcjQ4NjE4Njc1",
"avatar_url": "https://avatars.githubusercontent.com/u/48618675?v=4",
"login": "someuser",
"id": 20051258,
"node_id": "MDQ6VXNlcjIwMDUxMjU4",
"avatar_url": "https://avatars.githubusercontent.com/u/20051258?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/someasidja;d",
"html_url": "https://github.com/someasidja;d",
"followers_url": "https://api.github.com/users/someasidja;d/followers",
"following_url": "https://api.github.com/users/someasidja;d/following{/other_user}",
"gists_url": "https://api.github.com/users/someasidja;d/gists{/gist_id}",
"starred_url": "https://api.github.com/users/someasidja;d/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/someasidja;d/subscriptions",
"organizations_url": "https://api.github.com/users/someasidja;d/orgs",
"repos_url": "https://api.github.com/users/someasidja;d/repos",
"events_url": "https://api.github.com/users/someasidja;d/events{/privacy}",
"received_events_url": "https://api.github.com/users/someasidja;d/received_events",
"url": "https://api.github.com/users/someuser",
"html_url": "https://github.com/someuser",
"followers_url": "https://api.github.com/users/someuser/followers",
"following_url": "https://api.github.com/users/someuser/following{/other_user}",
"gists_url": "https://api.github.com/users/someuser/gists{/gist_id}",
"starred_url": "https://api.github.com/users/someuser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/someuser/subscriptions",
"organizations_url": "https://api.github.com/users/someuser/orgs",
"repos_url": "https://api.github.com/users/someuser/repos",
"events_url": "https://api.github.com/users/someuser/events{/privacy}",
"received_events_url": "https://api.github.com/users/someuser/received_events",
"type": "User",
"site_admin": false
},

View File

@@ -48,7 +48,10 @@ describe("Tauri Github bot", () => {
};
it("issue comment, doesn't upstream an issue", async () => {
await probot.receive({ name: "issue_comment", payload: noUpstream });
await probot.receive({
name: "issue_comment",
payload: noUpstream,
});
});
it("issue comment, upstreams an issue", async () => {

View File

@@ -19,7 +19,7 @@
"test": "vitest run"
},
"dependencies": {
"probot": "12.3.3"
"probot": "13.0.2"
},
"devDependencies": {
"@octokit/rest": "20.0.2",

878
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff