And change the version string in package.json on master to v0.44.0-dev
to indicate it is the dev version for v0.44.0.
Prerelease versions will use v0.43.X.
While doing so, I learned that the version string must have
Major.Minor.Patch[-prerelease] format, and strings like "v0.44-dev"
are not acceptable. Otherwise, `vsce` and vscode
test framework fails to build the extension quite mysteriously.
Change-Id: I6e73b2bf6d0f41b491844345193064320dd401e3
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/615775
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Regexp capturing group used in extesion/src/goTest/utils.ts `moduleNameRegex`
is available from es2018
Originally targetted to switch to es2018, but Ethan Reesor pointed out
the current vscode-go targets vscode 1.75.0+ and according to
https://github.com/ewanharris/vscode-versions, it must be able to
support node 16.14.2+. node.green shows 16.14.2 supports up through
es2022. From https://compat-table.github.io/compat-table/es2016plus/
es2022 is widely supported. So, bump up to es2022.
Fixesgolang/vscode-go#3540
Change-Id: I033ef645f77b06ca1c9cf5415f3c7c95887be409
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/606695
Reviewed-by: Ethan Reesor <ethan.reesor@gmail.com>
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>
github.com/google/js-green-licenses is the license checker
used by many google-authored open source JS/TS projects.
Use it instead of using ./extension/tools/license.sh
Usage:
cd extension; npx jsgl --local .
Configured js-green-licenses to skip checking on the
es5class package. This package was published long ago
and the last version lacks the license metadata
so js-green-licenses cannot process it.
A new version to fix the metadata won't be published
since it is officially deprecated (for a while).
The latest version was published with MIT license
(https://github.com/pocesar/ES5-Class/blob/master/LICENSE)
Change-Id: I952938cbc56aa93258de43653d531e405ea40683
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/610257
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>
For golang/vscode-go#3453
Change-Id: I627ded0f80703d7b5753367769ec0afe28187d89
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/606696
Reviewed-by: Hongxiang Jiang <hxjiang@golang.org>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
For golang/vscode-go#3167
Change-Id: I279dcfd0d71ec75a0bf1cc1af5e19094ed13286e
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/564596
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
kokoro-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
README.md is outside the extension directory.
Updated @vscode/vsce to get --readme-path flag support.
(Still in a prerelease state.
See https://github.com/microsoft/vscode-vsce/issues/905).
Change-Id: Ie9ed25643307ae8827bbf15589be131019a9159b
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/556535
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
The vscgo command line tool is moved to the repo root module.
This simplifies the release process.
The extension module is meant to be used only for development
and majority of the code is non-Go code.
src/goInstallTools.ts installVSCGO is modified too -
Nightly installs with @master.
Updates golang/vscode-go#3122
Updates golang/vscode-go#3121
Change-Id: I04e441ecac71b4ab42e635835d91dcf344353e67
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/554316
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Commit-Queue: Hyang-Ah Hana Kim <hyangah@gmail.com>