Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
- uses: "actions/checkout@v3"
with:
fetch-depth: 0
- run: sudo apt-get install -y valgrind
- name: Install valgrind
run: |
sudo apt-get update
sudo apt-get install -y valgrind
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -48,7 +51,10 @@ jobs:
- uses: "actions/checkout@v3"
with:
fetch-depth: 0
- run: sudo apt-get install -y valgrind
- name: Install valgrind
run: |
sudo apt-get update
sudo apt-get install -y valgrind
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
- uses: "actions/checkout@v3"
with:
fetch-depth: 0
- run: sudo apt-get install -y valgrind
- name: Install valgrind
run: |
sudo apt-get update
sudo apt-get install -y valgrind
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
node-version-file: .nvmrc
registry-url: "https://registry.npmjs.org"
- run: pnpm install --frozen-lockfile --prefer-offline
- run: sudo apt-get install -y valgrind
- name: Install valgrind
run: |
sudo apt-get update
sudo apt-get install -y valgrind

- name: Build the libraries
run: pnpm moon run :build
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": false // Import sorting is handled by prettier
"source.organizeImports": "never" // Import sorting is handled by prettier
}
}
2 changes: 1 addition & 1 deletion examples/with-typescript-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"esbuild-register": "^3.4.2",
"tinybench": "^2.5.0",
"typescript": "^5.1.3",
"vitest": "1.0.0-beta.4"
"vitest": "^1.0.3"
}
}
10 changes: 5 additions & 5 deletions packages/vitest-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ Check out the [documentation](https://docs.codspeed.io/benchmarks/nodejs/vitest)

First, install the plugin [`@codspeed/vitest-plugin`](https://www.npmjs.com/package/@codspeed/vitest-plugin) and `vitest` (if not already installed):

> [!WARNING]
> [!NOTE]
> The CodSpeed plugin is only compatible with
> [[email protected]-beta.4](https://github.com/vitest-dev/vitest/releases/tag/v1.0.0-beta.4)
> [[email protected]](https://www.npmjs.com/package/vitest/v/1.0.0)
> and above.

```sh
npm install --save-dev @codspeed/vitest-plugin vitest@1.0.0-beta.4
npm install --save-dev @codspeed/vitest-plugin vitest
```

or with `yarn`:

```sh
yarn add --dev @codspeed/vitest-plugin vitest@1.0.0-beta.4
yarn add --dev @codspeed/vitest-plugin vitest
```

or with `pnpm`:

```sh
pnpm add --save-dev @codspeed/vitest-plugin vitest@1.0.0-beta.4
pnpm add --save-dev @codspeed/vitest-plugin vitest
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/vitest-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@total-typescript/shoehorn": "^0.1.1",
"execa": "^8.0.1",
"vite": "^5.0.0",
"vitest": "1.0.0-beta.4"
"vitest": "^1.0.3"
}
}
Loading