Skip to content

Commit

Permalink
changelog and prep for 0.0.9
Browse files Browse the repository at this point in the history
Fixes #25
Fixes #30
  • Loading branch information
connor4312 committed Apr 3, 2024
1 parent ca2fa84 commit a23ab47
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Changelog

## 0.0.9 - 2024-03-04

- Handle relative paths in `--config
- Add `engines.node` version to the package.json
- Enable installing `extensionDependencies` automatically, and optional `installExtensions` config option.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### @vscode/test
### @vscode/test-cli

> This is an experimental command-line test runner is available. Its API may change as we get feedback on it. Please try it out!
Expand All @@ -7,14 +7,14 @@ This is an configuration-driver command line runner for [VS Code extension tests
Install with:

```
npm install --save-dev @vscode/test
npm install --save-dev @vscode/test-cli
```

After installing the package, the runner is available as the `vscode-test` CLI. Running it will look for a `.vscode-test.(js/json/mjs)` file relative to the current working directory. You can see the configuration [here](https://github.com/microsoft/vscode-test-cli/blob/main/src/config.cts). This may be as simple as:

```js
// .vscode-test.mjs
import { defineConfig } from '@vscode/test';
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({ files: 'out/test/**/*.test.js' });
```
Expand All @@ -23,7 +23,7 @@ Or include more options. For example:

```js
// .vscode-test.mjs
import { defineConfig } from '@vscode/test';
import { defineConfig } from '@vscode/test-cli';

export default defineConfig([
{
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"watch": "tsc --watch",
"prettier": "prettier --write src"
},
"engines": {
"node": ">=18"
},
"type": "module",
"main": "out/index.cjs",
"bin": {
Expand Down

0 comments on commit a23ab47

Please sign in to comment.