Koen Vlaswinkel
4e66b62534
Add environment variables for date test
...
This adds the environment variables necessary for running the date test
in all of these cases:
- When running the npm script outside of VSCode (using `cross-env`)
- When using the Jest Runner "Run" option (`terminal.integrated.env.*`)
- When using the Jest Runner "Debug" option
2022-12-07 16:35:48 +01:00
dependabot[bot]
28652a2088
Bump decode-uri-component from 0.2.0 to 0.2.2 in /extensions/ql-vscode ( #1842 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 17:39:18 +01:00
dependabot[bot]
04b4d15099
Bump @xmldom/xmldom from 0.8.3 to 0.8.6 in /extensions/ql-vscode ( #1843 )
...
Bumps [@xmldom/xmldom](https://github.com/xmldom/xmldom ) from 0.8.3 to 0.8.6.
- [Release notes](https://github.com/xmldom/xmldom/releases )
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xmldom/xmldom/compare/0.8.3...0.8.6 )
---
updated-dependencies:
- dependency-name: "@xmldom/xmldom"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 17:20:19 +01:00
Elena Tanasoiu
bccc573c6a
Install eslint-plugin-github
2022-12-01 09:08:32 +00:00
Koen Vlaswinkel
56585b43e6
Merge remote-tracking branch 'origin/main' into jest-migration/integration-tests
2022-11-30 09:06:07 +01:00
Alexander Eyers-Taylor
5754d19327
Merge remote-tracking branch 'origin/main' into alexet/update-lsp
2022-11-25 16:53:43 +00:00
Koen Vlaswinkel
55408a7e0b
Merge pull request #1792 from github/jest-migration/windows
...
Use `patch-package` to add Windows support
2022-11-25 13:40:29 +01:00
Koen Vlaswinkel
aa5026f192
Use `patch-package` to add Windows support
...
This will apply the same change as the PR on `jest-runner-vscode` in
the local `node_modules` on every install, ensuring that we have
Windows support.
2022-11-25 10:11:19 +01:00
Koen Vlaswinkel
e55b8a366e
Clean up Mocha, Sinon and Chai
...
This removes the Mocha, Sinon and Chai-related packages and removes
unused code from the test suite.
2022-11-24 17:24:43 +01:00
Charis Kyriakou
261933b6a9
Install VS Code jest runner ( #1781 )
2022-11-22 11:01:46 +00:00
aeisenberg
fbd2cbd3aa
Bump version to v1.7.7
2022-11-21 19:39:04 +00:00
Koen Vlaswinkel
f41ca1a330
Add Prettier
...
This adds Prettier and makes it replace tsfmt. VSCode is set to use
Prettier for formatting TypeScript/TSX files and format on save since
Prettier is very fast and does not cause any noticeable delay.
2022-11-16 19:04:17 +01:00
dependabot[bot]
d7fd84c8e1
Bump loader-utils from 1.4.1 to 1.4.2 in /extensions/ql-vscode ( #1772 )
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-16 15:03:23 +00:00
Koen Vlaswinkel
a4402cb68b
Add tar-stream as dev dependency
2022-11-11 11:24:22 +01:00
Koen Vlaswinkel
2dad33f2ba
Change remote queries to test against submitted data
...
The remote queries tests were testing the data on the filesystem, rather
than the data submitted to the server. This required using a `dryRun`
parameter to prevent deleting the temporary directory, while we can
actually just test against the submitted data.
This will create an in-memory filesystem of the submitted query pack by
un-tar-gz'ing the query pack into memory and using that to test the
existence of certain files.
2022-11-11 10:40:04 +01:00
aeisenberg
632a675b13
Bump version to v1.7.6
2022-11-09 02:04:18 +00:00
Nora
03f58593ce
Merge pull request #1717 from github/norascheuch/add-config-validation
...
Add config validation
2022-11-08 16:11:15 +01:00
dependabot[bot]
66cb7dc92f
Bump loader-utils from 1.4.0 to 1.4.1 in /extensions/ql-vscode
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-07 23:29:11 +00:00
Andrew Eisenberg
9519efe525
Merge pull request #1679 from github/version/bump-to-v1.7.5
...
Bump version to v1.7.5
2022-11-07 15:21:25 -08:00
Nora
daec8b691d
Extract validation to its own file
2022-11-07 16:56:48 +01:00
Shati Patel
684c492a43
Set up a watcher that checks for changes to the new db config ( #1699 )
...
Co-authored-by: Nora <norascheuch@users.noreply.github.com>
Co-authored-by: Charis Kyriakou <charisk@users.noreply.github.com>
2022-11-03 12:26:30 +00:00
Koen Vlaswinkel
06fd3a58a7
Add new GitHub API fields to scenario files
...
This uses a script to add the new `stargazers_count` and `updated_at` to
the scenario files. This is done by using the GitHub API to get the
information for each repo and then updating the scenario file.
The `updated_at` values are not completely representative since they are
the `updated_at` at time of running the script, rather than at the time
the variant analysis was run. However, this should not really matter in
practice. An alternative for scanned repositories might be getting the
creation time of the `database_commit_sha` commit.
2022-11-02 12:39:30 +01:00
aeisenberg
12e2eb2d8b
Bump version to v1.7.5
2022-10-29 20:41:07 +00:00
Andrew Eisenberg
606ffe41b0
v1.7.4
2022-10-29 13:17:19 -07:00
github-actions[bot]
75b4934d97
Bump version to v1.7.4 ( #1676 )
...
Co-authored-by: angelapwen <angelapwen@users.noreply.github.com>
2022-10-29 00:31:47 +00:00
Koen Vlaswinkel
123219aace
Upgrade from vscode-test to @vscode/test-electron
2022-10-27 10:51:30 +02:00
Alexander Eyers-Taylor
df832746ad
Also upgrade jsonrpc
2022-10-26 17:09:56 +00:00
Alexander Eyers-Taylor
c9e87eff56
Update languageserver-client
2022-10-26 15:08:43 +00:00
Koen Vlaswinkel
c325a725ea
Merge pull request #1642 from github/koesie10/validate-mocks
...
Add linter for scenario files
2022-10-24 10:01:44 +02:00
Charis Kyriakou
6b1fce9cd5
Revert to previously used version of husky ( #1640 )
2022-10-21 14:51:56 +00:00
Koen Vlaswinkel
104055e703
Add linter for scenario files
...
This adds a linter for JSON scenario files which will validate the JSON
files in the scenarios directory against the TypeScript types. It will
convert the TypeScript types to JSON schema to simplify this process.
Unfortunately, this will not currently allow adding scenarios with
failing requests since the types do not allow this. Rather than removing
this validation, we should fix the types. This can be done in a follow-up
PR.
2022-10-21 16:41:01 +02:00
dependabot[bot]
0ce25eef63
Bump ansi-regex from 4.1.0 to 5.0.1 in /extensions/ql-vscode ( #1613 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 5.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v5.0.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 08:49:22 -07:00
dependabot[bot]
2ca4fb052e
Bump husky from 4.3.8 to 8.0.1 in /extensions/ql-vscode ( #1555 )
...
Bumps [husky](https://github.com/typicode/husky ) from 4.3.8 to 8.0.1.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v4.3.8...v8.0.1 )
---
updated-dependencies:
- dependency-name: husky
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-19 08:48:35 -07:00
Charis Kyriakou
424520613e
Initial setup around GitHub API mock server ( #1629 )
2022-10-19 12:05:28 +00:00
Elena Tanasoiu
aaf21d35f6
Install p-queue
2022-10-17 14:51:05 +01:00
aeisenberg
3b644fea7b
Bump version to v1.7.3
2022-10-17 10:03:25 +01:00
Andrew Eisenberg
c7c709b366
Revert "Upgrade from vscode-test to @vscode/test-electron"
2022-10-14 14:15:18 -07:00
Koen Vlaswinkel
f8d5fd8f6e
Merge pull request #1586 from github/koesie10/upgrade-vscode-test
...
Upgrade from vscode-test to @vscode/test-electron
2022-10-14 11:54:22 +02:00
github-actions[bot]
e8d230c8f5
Bump version to v1.7.2 ( #1592 )
...
Co-authored-by: aeisenberg <aeisenberg@users.noreply.github.com>
2022-10-14 09:36:00 +00:00
Koen Vlaswinkel
525f5234b6
Upgrade from vscode-test to @vscode/test-electron
...
The `vscode-test` package was renamed to `@vscode/test-electron` in
December of last year. This commit updates the extension to use the new
package name.
The reason for this change is that the `vscode-test` package was
somewhat flaky in actually starting VSCode to run the tests from the
command line. The new package also has some bugfixes and other
improvements which would normally have been part of a new version of the
`vscode-test` package.
2022-10-12 15:12:17 +02:00
dependabot[bot]
d3e961ffb3
Bump @primer/octicons-react in /extensions/ql-vscode ( #1569 )
...
Bumps [@primer/octicons-react](https://github.com/primer/octicons ) from 16.3.0 to 17.6.0.
- [Release notes](https://github.com/primer/octicons/releases )
- [Changelog](https://github.com/primer/octicons/blob/main/CHANGELOG.md )
- [Commits](https://github.com/primer/octicons/compare/v16.3.0...v17.6.0 )
---
updated-dependencies:
- dependency-name: "@primer/octicons-react"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-06 08:29:04 -07:00
Elena Tanasoiu
2065c7d75c
Merge pull request #1545 from github/elenatanasoiu/monitor-variant-analysis
...
Implement monitoring for variant analysis live results
2022-09-30 10:00:03 +01:00
dependabot[bot]
ea022f4cde
Bump @octokit/rest from 18.6.0 to 19.0.4 in /extensions/ql-vscode ( #1551 )
...
Bumps [@octokit/rest](https://github.com/octokit/rest.js ) from 18.6.0 to 19.0.4.
- [Release notes](https://github.com/octokit/rest.js/releases )
- [Commits](https://github.com/octokit/rest.js/compare/v18.6.0...v19.0.4 )
---
updated-dependencies:
- dependency-name: "@octokit/rest"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-29 09:12:38 -07:00
Elena Tanasoiu
17ed18a29d
Install faker
2022-09-27 18:28:41 +01:00
dependabot[bot]
1f95eb2f49
Bump sinon from 13.0.1 to 14.0.0 in /extensions/ql-vscode ( #1535 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 13.0.1 to 14.0.0.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v13.0.1...v14.0.0 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-22 10:38:00 -07:00
Koen Vlaswinkel
bec23f36d2
Add ESLint plugin for React hooks
...
This will add the ESLint plugin for React hooks which will automatically
check that all dependencies are listed in `useMemo`, `useEffect`, etc.
See: https://www.npmjs.com/package/eslint-plugin-react-hooks
2022-09-22 17:10:45 +02:00
robertbrignull
434567aa34
Bump version to v1.7.1
2022-09-21 15:22:10 +00:00
Robert
1a9d63315f
v1.7.0
2022-09-20 16:23:47 +01:00
dependabot[bot]
48a527ad52
Bump applicationinsights from 1.8.7 to 2.3.5 in /extensions/ql-vscode ( #1515 )
...
Bumps [applicationinsights](https://github.com/microsoft/ApplicationInsights-node.js ) from 1.8.7 to 2.3.5.
- [Release notes](https://github.com/microsoft/ApplicationInsights-node.js/releases )
- [Commits](https://github.com/microsoft/ApplicationInsights-node.js/compare/1.8.7...2.3.5 )
---
updated-dependencies:
- dependency-name: applicationinsights
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 10:02:35 -07:00
Koen Vlaswinkel
3079d7f285
Split variant analysis header component
2022-09-16 12:10:13 +02:00