Commit Graph

225 Commits

Author SHA1 Message Date
Ladislau Szomoru
2b52b93770 Git - enable ESLint rule for git extensions (#277156)
* Initial commit with all exceptions

* First pass of fixing

* Add ignored files explicitly
2025-11-13 15:35:01 +00:00
Ladislau Szomoru
ffcd44e6a1 Git - remove the use of in (#277077) 2025-11-13 08:51:35 +00:00
Matt Bierner
dd281f1d90 Remove allowSyntheticDefaultImports 2025-11-10 09:01:56 -08:00
Ladislau Szomoru
da14a6ea3a GitHub - use different link for hover commands and links in the commit message (#275518) 2025-11-05 09:46:59 +00:00
Matt Bierner
e8b2531c8b Merge pull request #271470 from mjbvz/dev/mjbvz/panicky-mockingbird
Enforce single quote string usage in extension tests
2025-10-15 11:16:49 -07:00
Ladislau Szomoru
a1d4cfa3d8 SCM - graph hover provided by extension (#271519)
* Git - 💄 consolidate git blame and timeline hover code

* Git - Delete code that was commented out

* SCM - graph hover provided by extension

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* More fixes

* More fixes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-15 14:22:12 +00:00
Matt Bierner
1c35a4d05c Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation

Starting with converting over tests in the `extensions` dir
2025-10-15 01:51:43 -07:00
Matt Bierner
8f232fff89 Exclude a few more files from published extensions 2025-08-13 10:15:20 -07:00
Matt Bierner
ed71020bfc Convert extension webpack scripts to modules 2025-08-07 17:20:22 -07:00
Matt Bierner
2baf1b4cde Runtime fixes for stage 3 decorators 2025-08-06 14:32:43 -07:00
Matt Bierner
d8c9852fe9 Don't use experimental decorators in extensions
Seeing if we can compile our extensions using TS native which doesn't support these. The usage is so low that I think we can just remove them
2025-08-06 13:24:19 -07:00
Matt Bierner
30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Ladislau Szomoru
90fcd05e94 GitHub - update remote order for git blame actions (#257816) 2025-07-25 12:06:47 +00:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Ladislau Szomoru
9913e0238a GitHub - cleanup octokit auth (#251266)
Refactor auth
2025-06-12 12:41:33 +02:00
Ladislau Szomoru
39500b94ef GitHub - fix auth regression (#250556)
* Revert "GitHub - fix regression in `getOctokitGraphql()` (#249355)"

This reverts commit 3381c264e1.

* Fix graphql client caching
2025-06-03 13:13:53 -07:00
nomike
c80442dee0 Enhance GithHub publishing logic to handle renamed repositories (#245024)
* Enhance GithHub publishing logic to handle renamed repositories.

* Make "result" const as it is never reassigned.

* Pull request feedback

---------

Co-authored-by: nomike <nomike@nomike.cpm>
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-05-27 13:20:25 +00:00
Ladislau Szomoru
e806b1ba01 GitHub - only prompt once to authenticate in the avatar provider (#249785) 2025-05-26 01:30:03 -07:00
Ladislau Szomoru
3381c264e1 GitHub - fix regression in getOctokitGraphql() (#249355) 2025-05-20 16:43:20 +02:00
Ladislau Szomoru
70107d1562 GitHub - fix graphql query regression following the ESM migration (#249340) 2025-05-20 12:09:15 +02:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Johannes Rieken
cb0950e9d7 Migrate github extension to ESM (2nd attempt) (#248312)
* Revert "GitHub - revert ESM migration (#247322)"

This reverts commit 2047ab0fff.

* use `"@vscode/extension-telemetry": "^1.0.0"` which doesn't use default export anymore
2025-05-07 15:52:46 +02:00
Ladislau Szomoru
2047ab0fff GitHub - revert ESM migration (#247322)
* Revert "fix github extension bundling (#247314)"

This reverts commit 0cffb673f5.

* Revert "migrate github-extension to ESM"

This reverts commit 493874c390.

* Add missing JS file
2025-04-24 19:24:59 +02:00
Johannes Rieken
0cffb673f5 fix github extension bundling (#247314) 2025-04-24 16:52:46 +02:00
Johannes
493874c390 migrate github-extension to ESM 2025-04-16 16:04:12 +02:00
Ladislau Szomoru
956aabf049 Engineering - Revert "Bump @octokit/endpoint, @octokit/graphql and @octokit/rest in /extensions/github (#240838)" (#246621)
Revert "Bump @octokit/endpoint, @octokit/graphql and @octokit/rest in /extensions/github (#240838)"

This reverts commit d1d596a1fc.
2025-04-15 15:41:06 +02:00
dependabot[bot]
d1d596a1fc Bump @octokit/endpoint, @octokit/graphql and @octokit/rest in /extensions/github (#240838)
Bump @octokit/endpoint, @octokit/graphql and @octokit/rest

Bumps [@octokit/endpoint](https://github.com/octokit/endpoint.js) to 10.1.3 and updates ancestor dependencies [@octokit/endpoint](https://github.com/octokit/endpoint.js), [@octokit/graphql](https://github.com/octokit/graphql.js) and [@octokit/rest](https://github.com/octokit/rest.js). These dependencies need to be updated together.


Updates `@octokit/endpoint` from 7.0.1 to 10.1.3
- [Release notes](https://github.com/octokit/endpoint.js/releases)
- [Commits](https://github.com/octokit/endpoint.js/compare/v7.0.1...v10.1.3)

Updates `@octokit/graphql` from 5.0.5 to 8.2.0
- [Release notes](https://github.com/octokit/graphql.js/releases)
- [Commits](https://github.com/octokit/graphql.js/compare/v5.0.5...v8.2.0)

Updates `@octokit/rest` from 19.0.4 to 21.1.0
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v19.0.4...v21.1.0)

---
updated-dependencies:
- dependency-name: "@octokit/endpoint"
  dependency-type: indirect
- dependency-name: "@octokit/graphql"
  dependency-type: direct:production
- dependency-name: "@octokit/rest"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-17 11:17:06 +01:00
Ladislau Szomoru
b9cbfa49d8 GitHub - fix event handled (#238676) 2025-01-24 16:05:13 +01:00
Ladislau Szomoru
7667cdd1ed GitHub - add setting to disable avatar resolution (#238270) 2025-01-20 10:32:51 +01:00
Ladislau Szomoru
4b4cd6b702 GitHub - add more logs to avatar resolution (#238266) 2025-01-20 09:46:10 +01:00
Ladislau Szomoru
d64829f052 Git - add avatar to graph hover (#238246) 2025-01-19 21:30:42 +01:00
Ladislau Szomoru
1600fb4c76 GitHub - avatar resolution improvements (#238239)
* Add support for size

* Add support for extracting user id from GitHub no-reply email addresses

* Fix git blame email parsing

* Extrat link into function
2025-01-19 16:44:40 +01:00
Ladislau Szomoru
bb655894c2 GitHub - add "Open on GitHub" action to timeline context menu (#238144) 2025-01-17 09:19:04 -08:00
Ladislau Szomoru
5e399f3069 GitHub - add support for batch avatar query (#238114) 2025-01-17 10:56:49 +01:00
Ladislau Szomoru
abecfae1ec Git - add avatar resolution to git blame editor decoration hover (#238083)
* Initial implementation

* Add logging

* Improve avatar resolution
2025-01-16 21:33:08 +01:00
Ladislau Szomoru
7610cc1d19 Git - 💄 fix history item details provider name (#238045) 2025-01-16 20:25:19 +09:00
Ladislau Szomoru
eaba97f995 Git - extract history item detail provider (#238041)
* Initial refactor of hover commands

* Delete old code for hover commands

* More refactoring
2025-01-16 11:37:27 +01:00
Ladislau Szomoru
57e8c28877 GitHub - link provider for various hovers (#237961)
* Initial implementation

* Refactor code, add link to blame decoration

* Add links to timeline hover

* Saving my work

* Update remote order for "Open on GitHub" action

* Bug fixes

* Add link provider for graph hover

* Rename method
2025-01-15 16:30:43 +01:00
Ladislau Szomoru
4cdae9cc06 GitHub - 💄 extract command strings (#237899) 2025-01-14 15:33:56 +01:00
Ladislau Szomoru
924d7a84bf SCM - Add "Open on GitHub" action to history item hover (#237893) 2025-01-14 15:10:20 +01:00
Ladislau Szomoru
9ee0345b63 Git - fix "Open on GitHub" command (#237832) 2025-01-14 11:45:03 +01:00
Ladislau Szomoru
9bb633aaf7 GitHub - add "Open on GitHub" action to the SCM graph (#237635) 2025-01-10 13:52:01 +01:00
Ladislau Szomoru
dca80ea667 GitHub - add "Open on GitHub" to blame hover (#237514)
* WIP - saving my work

* Refactor hover rendering code
2025-01-08 11:34:54 -08:00
Ladislau Szomoru
1c10a0e551 Git - remove proposed api typings from git/github extensions (#237409) 2025-01-07 17:00:02 +01:00
Logan Ramos
e689b912ba Update telemetry package (#236378) 2024-12-17 20:12:49 +01:00
Ladislau Szomoru
a31ec0d89a GitHub - do not show the "Publish to GitHub" command in an empty workspace (#236234) 2024-12-16 16:39:11 +01:00
Robo
9494a89080 chore: add npmrc to extensions folder (#230214) 2024-10-01 12:43:01 +02:00
Ladislau Szomoru
04d2ba7d90 GitHub - fix welcome message (#228956) 2024-09-18 16:31:52 +02:00
hj
88d7b97c93 chore: rm unreached ignore items when build extensions. (#227906)
chore: rm unreached ignore items when compiling extensions.
2024-09-09 10:32:51 +00:00
Robo
b5a6aa14a8 feat: switch to npm as default package manager (#226927)
* feat: move from yarn to npm

* chore: skip yarn.lock files

* fix: playwright download

* chore: fix compile and hygiene

* chore: bump vsce@2.17.0

Refs 8b49e9dfdf

* test: update results for bat and sh colorizer tests

* fix: add missing lock files for windows

* fix: switch to legacy-peer-deps

* chore: update markdown-it@14.1.0

Refs 737c95a129

esbuild step in extensions-ci-pr was previously using markdown-it
from root which had userland punycode and was able to compile successfully.

* ci: increase pr timeout for windows integration tests

* chore: fix product build

* build: ignore extension dev dependency for rcedit

* build: fix working directory inside container

* build: fix dependency generation

* npm: update dependencies

* ci: use global npmrc

* ci: update cache

* ci: setup global npmrc for private npm auth

* build: fix extension bundling

* chore: sync npm dependencies

* ci: debug env variables for container

* ci: fix win32 cli pipeline

* build: fix npmrc config usage for build/ and remote/ dirs

* fix: windows build

* fix: container builds

* fix: markdown-language-features tests and bundling

```
[03:58:22] Error: Command failed: /Users/demohan/.nvm/versions/node/v20.15.1/bin/node /Users/demohan/github/vscode/extensions/markdown-language-features/esbuild-notebook.js --outputRoot /Users/demohan/github/vscode/.build/extensions/markdown-language-features
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds userland package based on beed9aee2c

* fix: container builds for distro

* chore: update yarn occurrences

* fixup! chore: bump vsce@2.17.0

Uses the closest version to `main` branch that does not
include d3cc84cdec
while still having the fix 8b49e9dfdf

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: sync npm dependencies

* chore: throw error when yarn is used for installation

* chore: add review feedback

* chore: switch exec => run where needed

* chore: npm sync dependencies

* fix: markdown-language-features bundling

```
✘ [ERROR] Could not resolve "punycode"

    extensions/markdown-language-features/node_modules/markdown-it/lib/index.js:14:27:
      14 │ var punycode     = require('punycode');
         ╵                            ~~~~~~~~~~

  The package "punycode" wasn't found on the file system but is built into node. Are you trying to bundle for node? You can use "platform: 'node'" to do that, which will remove this error.
```

Adds missing userland package based on markdown-it/markdown-it@beed9ae,
can be removed once we update markdown-it >= 14.1.0

* ci: rename no-yarn-lock-changes.yml

* chore: sync npm dependencies

* ci: restore no-yarn-lock-changes.yml

We can disable it in a separate PR to keep the required
checks happy and also need workflow edit perms.

* chore: sync npm dependencies

* ci: rebuild cache

* ci: fix no-package-lock-changes.yml

* chore: bump distro

* chore: rm yarn.lock files

* chore: rm yarn.lock files without dependencies

* chore: add vscode-selfhost-import-aid to postinstall dirs

* chore: bump distro
2024-09-06 22:18:02 +09:00