Shati Patel
f6613867d3
Bump CLI version to 2.11.4 for integration tests ( #1794 )
2022-11-25 11:40:28 +00:00
Koen Vlaswinkel
b10cb7771e
Merge pull request #1784 from github/koesie10/move-filter-sort
...
Move filter and sort tests to pure tests
2022-11-23 16:39:29 +01:00
Koen Vlaswinkel
80b2a43be9
Move filter and sort tests to pure tests
...
The filter and sort tests were located inside the React tests since they
were already using Jest. Now that the pure tests have been switched to
Jest, these tests can finally be moved to the "normal" pure tests.
2022-11-23 14:06:57 +01:00
Koen Vlaswinkel
cc869daf05
Merge pull request #1783 from github/koesie10/split-workflow-files
...
Split workflow run into more jobs
2022-11-23 10:59:54 +01:00
Koen Vlaswinkel
1c820b4812
Switch from `npm install` to `npm ci` in CI
2022-11-23 10:44:45 +01:00
Koen Vlaswinkel
d215c7e2de
Split workflow run into more jobs
...
The unit tests and linting is now run separately, which will hopefully
speed up the time it takes for the integration tests to complete.
2022-11-23 10:19:34 +01:00
Koen Vlaswinkel
a88039bf0b
Merge pull request #1780 from github/koesie10/jest-pure-tests
...
Convert pure tests to Jest
2022-11-22 16:13:05 +01:00
Koen Vlaswinkel
f5c39d7931
Improve error message for empty array
...
When `jest-codemods` was run, it replaced the error message `array.join`
by a comment for the error message. Since Jest does not support custom
error messages out-of-the-box, this will instead do an equality check
with an empty array, which will ensure that the received array is
printed.
2022-11-22 15:54:22 +01:00
Charis Kyriakou
261933b6a9
Install VS Code jest runner ( #1781 )
2022-11-22 11:01:46 +00:00
Nora
33eb33405e
Merge pull request #1776 from github/nora/update-compiler-target
...
Update compiler target version in gulp and extension tsconfig
2022-11-22 11:55:14 +01:00
Koen Vlaswinkel
ec60f3f000
Dispose config store in tests
...
The config store was not being disposed in tests, resulting in Chokidar
watchers being left open. This was causing tests to not exit since there
were still open file descriptors.
This commit also fixes the `DbConfigStore` to make the correct `super`
call in its `dispose` method.
2022-11-22 11:53:21 +01:00
Koen Vlaswinkel
0974700557
Convert pure tests to Jest
...
This converts all pure tests to Jest. This was done by first running
`npx jest-codemods` with the Mocha transformation, then manually fixing
any places where it hadn't automatically converted the correct thing
or had missed things (mostly Sinon).
This also sets up VSCode correctly for running Jest.
2022-11-22 10:39:21 +01:00
Koen Vlaswinkel
03f1547160
Merge pull request #1777 from github/koesie10/jest-config-projects
...
Add project-based Jest config
2022-11-22 09:44:23 +01:00
Andrew Eisenberg
91a5db7359
Merge pull request #1779 from github/version/bump-to-v1.7.7
...
Bump version to v1.7.7
2022-11-21 12:02:20 -08:00
aeisenberg
fbd2cbd3aa
Bump version to v1.7.7
2022-11-21 19:39:04 +00:00
Andrew Eisenberg
f36ab18310
Merge pull request #1778 from github/v1.7.6
...
v1.7.6
2022-11-21 09:42:39 -08:00
Andrew Eisenberg
663b26328b
v1.7.6
2022-11-21 09:01:47 -08:00
Koen Vlaswinkel
55534e19d6
Add project-based Jest config
...
This moves the view Jest config to the view directory and adds a new
jest.config.js file which only references the view directory as a
project. This will make it easier to add multiple Jest configs for
separate projects.
2022-11-21 16:41:47 +01:00
Nora
b6f33d7c7b
Update compiler target version in gulp and extension tsconfig
2022-11-21 15:49:38 +01:00
Andrew Eisenberg
e93d8393ca
Merge pull request #1774 from github/aeisenberg/fix-mrva-packs
...
Allow synthetic variant analysis packs to handle `${workspace}`
2022-11-18 15:00:05 -08:00
Andrew Eisenberg
24bbd5153c
Allow synthetic variant analysis packs to handle `${workspace}`
...
`${workspace}` references are new in CLI version 2.11.3. These mean that
the version depended upon in a pack must be the version available in the
current codeql workspace.
When generating a variant analysis pack, however, we copy the target
query and generate a synthetic pack with the original dependencies.
This breaks workspace references since the synthetic pack is no longer
in the same workspace.
A simple workaround is to replace `${workspace}` with `*` references.
2022-11-18 14:47:07 -08:00
Andrew Eisenberg
4eb465277a
Update gitignore to avoid codeql metadata files
...
Also, we're no longer using the rush package manager, so delete that
from gitignore.
2022-11-18 11:33:53 -08:00
Koen Vlaswinkel
3e7e4b86bd
Merge pull request #1525 from github/koesie10/prettier
...
Add Prettier
2022-11-17 09:58:47 +01:00
Koen Vlaswinkel
f515663640
Add .git-blame-ignore-revs file for previous commit
...
See https://www.stefanjudis.com/today-i-learned/how-to-exclude-commits-from-git-blame/
2022-11-16 19:07:01 +01:00
Koen Vlaswinkel
ebcdf8ad0b
Run Prettier on all files
...
This will change all existing files to match Prettier formatting.
The command used is `npm run format`.
2022-11-16 19:06:13 +01: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
Koen Vlaswinkel
6219b43051
Merge pull request #1766 from github/koesie10/export-results-sorting-filtering
...
Add filtering and sorting to exported results
2022-11-16 19:01:36 +01:00
Koen Vlaswinkel
47297800ab
Merge remote-tracking branch 'origin/main' into koesie10/export-results-sorting-filtering
2022-11-16 18:44:36 +01:00
Koen Vlaswinkel
5838f1b6a3
Merge pull request #1765 from github/koesie10/selected-copy
...
Use selected repositories for copying repo lists
2022-11-16 18:41:46 +01:00
Koen Vlaswinkel
bbaa27a1f0
Split filter and sort methods and simplify type checks
2022-11-16 16:32: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
6aaa7d63a7
Simplify type checks for `repositoryIds`
2022-11-16 13:02:55 +01:00
Robert
ed0868ba26
Merge pull request #1768 from github/robertbrignull/openVariantAnalysis
...
Remove the openVariantAnalysis command
2022-11-16 11:04:02 +00:00
Shati Patel
b2a3703d3a
Render nodes for local database items ( #1759 )
2022-11-16 11:03:49 +00:00
Nora
539dd1f0f3
Merge pull request #1771 from github/nora/move-db-panel-files
...
New DB Panel: Move config files to config folder
2022-11-16 10:55:30 +01:00
Koen Vlaswinkel
2a30c669e1
Merge pull request #1760 from github/koesie10/filter-export-copy
...
Add filtering and sorting to exported repo list
2022-11-16 10:31:52 +01:00
Nora
bd6c3add1b
Move files to config folder
2022-11-16 10:22:54 +01:00
Charis Kyriakou
435fc0a327
Fix rootDir used in test tsconfig ( #1770 )
2022-11-16 09:01:55 +00:00
Koen Vlaswinkel
53c1a585c1
Simplify filtering of repositories
...
Co-authored-by: Elena Tanasoiu <elenatanasoiu@github.com>
2022-11-16 09:53:37 +01:00
Andrew Eisenberg
ede534cf5f
Merge pull request #1744 from github/aeisenberg/new-query-server
...
Enable the new query server by default
2022-11-15 13:24:01 -08:00
Andrew Eisenberg
9a7489f6cd
Merge pull request #1674 from github/aeisenberg/assert-version
...
Assert VSCode version is high enough
2022-11-15 10:51:42 -08:00
Robert
2f5f09550d
Remove openVariantAnalysis command
2022-11-15 16:49:49 +00:00
Koen Vlaswinkel
1793963f06
Merge branch 'koesie10/selected-copy' into koesie10/export-results-sorting-filtering
2022-11-15 16:14:45 +01:00
Koen Vlaswinkel
e0230375e3
Merge branch 'koesie10/filter-export-copy' into koesie10/selected-copy
2022-11-15 16:13:29 +01:00
Koen Vlaswinkel
b8a0ed4ec3
Merge remote-tracking branch 'origin/main' into koesie10/filter-export-copy
2022-11-15 16:12:13 +01:00
Nora
846eda5428
Merge pull request #1761 from github/nora/add-selected-state-to-db-config
...
Add selected to config
2022-11-15 16:09:06 +01:00
Koen Vlaswinkel
796611d3bc
Merge pull request #1758 from github/koesie10/export-results-from-view
...
Add exporting of results to view
2022-11-15 16:02:23 +01:00
Koen Vlaswinkel
c88b32091b
Merge pull request #1750 from github/koesie10/export-results
...
Add exporting of results from the context menu
2022-11-15 16:01:50 +01:00
Nora
a012d80341
Merge comments
2022-11-15 15:48:28 +01:00
Charis Kyriakou
542a78e4ef
Stop showing warnings for unhandled requests by the mock API server ( #1767 )
2022-11-15 14:45:21 +00:00