Compare commits

...

103 commits
v2.9.2 ... main

Author SHA1 Message Date
marocchino
5060d4700a
Merge pull request #1622 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.3.4
build(deps-dev): Bump @biomejs/biome from 2.2.4 to 2.3.4
2025-11-11 18:41:34 +09:00
dependabot[bot]
6c08a17c18
build(deps-dev): Bump @biomejs/biome from 2.2.4 to 2.3.4
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.4 to 2.3.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.3.4
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-05 20:01:28 +00:00
marocchino
fd19551a2a
Merge pull request #1585 from marocchino/dependabot/npm_and_yarn/vite-7.1.5
build(deps): Bump vite from 6.3.5 to 7.1.5
2025-09-21 15:21:37 +09:00
marocchino
62c9bf942d
Merge pull request #1591 from marocchino/dependabot/npm_and_yarn/types/node-24.5.2
build(deps-dev): Bump @types/node from 24.3.0 to 24.5.2
2025-09-21 15:21:16 +09:00
dependabot[bot]
8719b0fae6
build(deps-dev): Bump @types/node from 24.3.0 to 24.5.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.3.0 to 24.5.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.5.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-18 20:01:27 +00:00
marocchino
a071bc9e79
Merge pull request #1586 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.2.4
build(deps-dev): Bump @biomejs/biome from 2.2.2 to 2.2.4
2025-09-11 12:11:59 +09:00
dependabot[bot]
f1e6f4c9d1
build(deps-dev): Bump @biomejs/biome from 2.2.2 to 2.2.4
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 20:01:31 +00:00
dependabot[bot]
1f1faa9bfb
build(deps): Bump vite from 6.3.5 to 7.1.5
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.3.5 to 7.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-10 02:00:42 +00:00
marocchino
11dd26c196
Merge pull request #1582 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.2.2
build(deps-dev): Bump @biomejs/biome from 2.2.0 to 2.2.2
2025-08-29 15:58:09 +09:00
dependabot[bot]
7ea52a04ba
build(deps-dev): Bump @biomejs/biome from 2.2.0 to 2.2.2
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.2/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-26 11:28:44 +00:00
marocchino
9c40848920
Merge pull request #1581 from marocchino/dependabot/npm_and_yarn/types/node-24.3.0
build(deps-dev): Bump @types/node from 24.2.1 to 24.3.0
2025-08-17 11:53:46 +09:00
dependabot[bot]
b75bcb3b4d
build(deps-dev): Bump @types/node from 24.2.1 to 24.3.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.2.1 to 24.3.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-15 20:48:09 +00:00
marocchino
8ac02941f2
Merge pull request #1580 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.2.0
build(deps-dev): Bump @biomejs/biome from 2.1.4 to 2.2.0
2025-08-15 12:56:21 +09:00
dependabot[bot]
862829ff7f
build(deps-dev): Bump @biomejs/biome from 2.1.4 to 2.2.0
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.2.0/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-14 20:40:28 +00:00
marocchino
6b2e3507a7
Merge pull request #1576 from marocchino/dependabot/github_actions/actions/checkout-5
build(deps): Bump actions/checkout from 4 to 5
2025-08-14 16:56:06 +09:00
dependabot[bot]
8512a4c98b
build(deps): Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-12 04:54:18 +00:00
marocchino
64e3ffec43
Merge pull request #1575 from marocchino/dependabot/npm_and_yarn/types/node-24.2.1
build(deps-dev): Bump @types/node from 24.2.0 to 24.2.1
2025-08-11 08:10:38 +09:00
dependabot[bot]
df6f56addc
build(deps-dev): Bump @types/node from 24.2.0 to 24.2.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.2.0 to 24.2.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-09 20:57:50 +00:00
marocchino
35cd516fad
Merge pull request #1574 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.4
build(deps-dev): Bump @biomejs/biome from 2.1.3 to 2.1.4
2025-08-10 05:56:28 +09:00
dependabot[bot]
10cd405f3b
build(deps-dev): Bump @biomejs/biome from 2.1.3 to 2.1.4
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.4/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-07 20:33:17 +00:00
marocchino
3ace774a11
Merge pull request #1573 from marocchino/dependabot/npm_and_yarn/types/node-24.2.0
build(deps-dev): Bump @types/node from 24.1.0 to 24.2.0
2025-08-05 21:12:35 +09:00
dependabot[bot]
7f95f155b2
build(deps-dev): Bump @types/node from 24.1.0 to 24.2.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.1.0 to 24.2.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-05 03:40:54 +00:00
marocchino
9745255517
Merge pull request #1572 from marocchino/dependabot/npm_and_yarn/typescript-5.9.2
build(deps-dev): Bump typescript from 5.8.3 to 5.9.2
2025-08-04 19:20:45 +09:00
dependabot[bot]
e0c4431039
build(deps-dev): Bump typescript from 5.8.3 to 5.9.2
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.8.3 to 5.9.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release-publish.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.9.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-31 20:35:26 +00:00
marocchino
4e6a58dde8
Merge pull request #1571 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.3
build(deps-dev): Bump @biomejs/biome from 2.1.2 to 2.1.3
2025-07-30 13:39:47 +09:00
dependabot[bot]
521f58f1c3
build(deps-dev): Bump @biomejs/biome from 2.1.2 to 2.1.3
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.2 to 2.1.3.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.3/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 20:27:05 +00:00
marocchino
2cdbc7bc07
Merge pull request #1568 from marocchino/dependabot/npm_and_yarn/types/node-24.1.0
build(deps-dev): Bump @types/node from 24.0.14 to 24.1.0
2025-07-24 06:24:07 +09:00
dependabot[bot]
17b35a04bd
build(deps-dev): Bump @types/node from 24.0.14 to 24.1.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.14 to 24.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 20:14:27 +00:00
marocchino
348e2622a2
Merge pull request #1567 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.2
build(deps-dev): Bump @biomejs/biome from 2.1.1 to 2.1.2
2025-07-19 11:18:35 +09:00
dependabot[bot]
9966eda730
build(deps-dev): Bump @biomejs/biome from 2.1.1 to 2.1.2
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.2/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 06:21:08 +00:00
marocchino
28d58c4b5a
Merge pull request #1565 from marocchino/dependabot/npm_and_yarn/types/node-24.0.14
build(deps-dev): Bump @types/node from 24.0.13 to 24.0.14
2025-07-18 15:17:39 +09:00
marocchino
773744901b
📦️ Build 2025-07-17 11:36:47 +09:00
dependabot[bot]
08207e50cb
build(deps-dev): Bump @types/node from 24.0.13 to 24.0.14
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.13 to 24.0.14.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-15 20:20:41 +00:00
marocchino
8b423c6fac
Merge pull request #1564 from marocchino/dependabot/npm_and_yarn/types/node-24.0.13
build(deps-dev): Bump @types/node from 24.0.12 to 24.0.13
2025-07-12 05:42:36 +09:00
dependabot[bot]
3ac8a744e4
build(deps-dev): Bump @types/node from 24.0.12 to 24.0.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.12 to 24.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.13
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-10 20:17:31 +00:00
marocchino
e430cfc2fc
Merge pull request #1563 from marocchino/dependabot/npm_and_yarn/types/node-24.0.12
build(deps-dev): Bump @types/node from 24.0.11 to 24.0.12
2025-07-10 13:40:42 +09:00
dependabot[bot]
99f9378b47
build(deps-dev): Bump @types/node from 24.0.11 to 24.0.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.11 to 24.0.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.12
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 20:44:28 +00:00
marocchino
2216b3aa26
Merge pull request #1562 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.1.1
build(deps-dev): Bump @biomejs/biome from 2.0.4 to 2.1.1
2025-07-10 04:20:57 +09:00
dependabot[bot]
482d7fd7d6
build(deps-dev): Bump @biomejs/biome from 2.0.4 to 2.1.1
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.4 to 2.1.1.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.1.1/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.1.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 19:19:37 +00:00
marocchino
c2da581914
Merge pull request #1561 from marocchino/dependabot/npm_and_yarn/types/node-24.0.11
build(deps-dev): Bump @types/node from 24.0.3 to 24.0.11
2025-07-10 04:18:14 +09:00
dependabot[bot]
76f84622bc
build(deps-dev): Bump @types/node from 24.0.3 to 24.0.11
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.0.3 to 24.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-08 20:33:24 +00:00
marocchino
246151aa30
⬆️ Update biome 2025-06-22 09:15:12 +09:00
marocchino
eb0a404705
Merge pull request #1554 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.0.2
build(deps-dev): Bump @biomejs/biome from 2.0.0 to 2.0.2
2025-06-22 09:12:58 +09:00
dependabot[bot]
436d8efa4c
build(deps-dev): Bump @biomejs/biome from 2.0.0 to 2.0.2
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/HEAD/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 20:22:09 +00:00
marocchino
d2ad0de260
📦️ Build 2025-06-20 12:05:52 +09:00
marocchino
c6b90f93cb
Merge pull request #1553 from marocchino/dependabot/npm_and_yarn/brace-expansion-1.1.12
build(deps): Bump brace-expansion from 1.1.11 to 1.1.12
2025-06-20 12:05:22 +09:00
marocchino
20665dd134
Merge pull request #1550 from marocchino/dependabot/npm_and_yarn/types/node-24.0.3
build(deps-dev): Bump @types/node from 22.15.30 to 24.0.3
2025-06-20 12:05:06 +09:00
dependabot[bot]
8a03a65ab9
build(deps): Bump brace-expansion from 1.1.11 to 1.1.12
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.11 to 1.1.12.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/1.1.11...v1.1.12)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 03:03:23 +00:00
dependabot[bot]
8d4420ab75
build(deps-dev): Bump @types/node from 22.15.30 to 24.0.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.30 to 24.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.0.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-20 03:03:18 +00:00
marocchino
14ca6a4b49
📦️ Build 2025-06-20 12:01:24 +09:00
marocchino
283f17cccc
🔧 Update biome setting 2025-06-20 12:00:27 +09:00
marocchino
0607099d6a
Merge pull request #1552 from marocchino/dependabot/npm_and_yarn/vitest-3.2.4
build(deps-dev): Bump vitest from 3.2.2 to 3.2.4
2025-06-20 06:17:47 +09:00
marocchino
9bff39e005
Merge pull request #1551 from marocchino/dependabot/npm_and_yarn/biomejs/biome-2.0.0
build(deps-dev): Bump @biomejs/biome from 1.9.4 to 2.0.0
2025-06-20 06:17:26 +09:00
dependabot[bot]
f02e40f8ac
build(deps-dev): Bump vitest from 3.2.2 to 3.2.4
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.2 to 3.2.4.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.4/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 20:17:49 +00:00
dependabot[bot]
797883c7cc
build(deps-dev): Bump @biomejs/biome from 1.9.4 to 2.0.0
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 1.9.4 to 2.0.0.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.0.0/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-17 20:17:36 +00:00
marocchino
a168248bf4
Merge pull request #1546 from marocchino/dependabot/npm_and_yarn/types/node-22.15.30
build(deps-dev): Bump @types/node from 22.15.29 to 22.15.30
2025-06-10 03:39:34 +09:00
marocchino
813b89b687
Merge pull request #1545 from marocchino/dependabot/npm_and_yarn/vitest-3.2.2
build(deps-dev): Bump vitest from 3.2.1 to 3.2.2
2025-06-10 03:39:21 +09:00
dependabot[bot]
da6e6f78b7
build(deps-dev): Bump @types/node from 22.15.29 to 22.15.30
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.29 to 22.15.30.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.30
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 20:51:58 +00:00
dependabot[bot]
aa90be19b3
build(deps-dev): Bump vitest from 3.2.1 to 3.2.2
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.2/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-05 20:51:51 +00:00
marocchino
513087bc4f
Merge pull request #1544 from marocchino/dependabot/npm_and_yarn/vitest-3.2.1
build(deps-dev): Bump vitest from 3.2.0 to 3.2.1
2025-06-04 13:14:58 +09:00
dependabot[bot]
1419e402bb
build(deps-dev): Bump vitest from 3.2.0 to 3.2.1
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.1/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 20:52:20 +00:00
marocchino
0db00dfb01
Merge pull request #1543 from marocchino/dependabot/npm_and_yarn/vitest-3.2.0
build(deps-dev): Bump vitest from 3.1.4 to 3.2.0
2025-06-03 12:08:12 +09:00
marocchino
d5ecf98649
Merge pull request #1542 from marocchino/dependabot/npm_and_yarn/types/node-22.15.29
build(deps-dev): Bump @types/node from 22.15.21 to 22.15.29
2025-06-03 12:08:00 +09:00
dependabot[bot]
69f7b3174f
build(deps-dev): Bump vitest from 3.1.4 to 3.2.0
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.4 to 3.2.0.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.0/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-02 20:54:26 +00:00
dependabot[bot]
78718f94d6
build(deps-dev): Bump @types/node from 22.15.21 to 22.15.29
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.21 to 22.15.29.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.29
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-30 20:04:50 +00:00
marocchino
9429b3bc0f
Merge pull request #1539 from marocchino/dependabot/npm_and_yarn/types/node-22.15.21
build(deps-dev): Bump @types/node from 22.15.19 to 22.15.21
2025-05-26 05:17:43 +09:00
dependabot[bot]
f35cc7b22e
build(deps-dev): Bump @types/node from 22.15.19 to 22.15.21
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.19 to 22.15.21.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.21
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-21 20:15:44 +00:00
marocchino
cd90ead742
Merge pull request #1537 from marocchino/dependabot/npm_and_yarn/types/node-22.15.19
build(deps-dev): Bump @types/node from 22.15.18 to 22.15.19
2025-05-20 13:35:49 +09:00
marocchino
0df83a7c62
Merge pull request #1536 from marocchino/dependabot/npm_and_yarn/vitest-3.1.4
build(deps-dev): Bump vitest from 3.1.3 to 3.1.4
2025-05-20 13:35:42 +09:00
dependabot[bot]
e8c7f253b4
build(deps-dev): Bump @types/node from 22.15.18 to 22.15.19
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.18 to 22.15.19.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.19
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 20:25:41 +00:00
dependabot[bot]
ddfea1aff0
build(deps-dev): Bump vitest from 3.1.3 to 3.1.4
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.4/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-19 20:25:28 +00:00
marocchino
754747fca7
Merge pull request #1535 from marocchino/dependabot/npm_and_yarn/types/node-22.15.18
build(deps-dev): Bump @types/node from 22.15.17 to 22.15.18
2025-05-15 10:18:53 +09:00
dependabot[bot]
487e475c40
build(deps-dev): Bump @types/node from 22.15.17 to 22.15.18
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.17 to 22.15.18.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.18
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-14 20:29:36 +00:00
marocchino
45705bf499
Merge pull request #1533 from marocchino/dependabot/npm_and_yarn/types/node-22.15.17
build(deps-dev): Bump @types/node from 22.15.15 to 22.15.17
2025-05-15 00:37:28 +09:00
dependabot[bot]
49898e67b8
build(deps-dev): Bump @types/node from 22.15.15 to 22.15.17
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.15 to 22.15.17.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.17
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-08 20:53:33 +00:00
marocchino
4fd9ae4d9b
Merge pull request #1532 from marocchino/dependabot/npm_and_yarn/types/node-22.15.15
build(deps-dev): Bump @types/node from 22.15.6 to 22.15.15
2025-05-08 08:22:01 +09:00
marocchino
f7c6602941
Merge pull request #1531 from marocchino/dependabot/npm_and_yarn/actions/github-6.0.1
build(deps): Bump @actions/github from 6.0.0 to 6.0.1
2025-05-08 08:21:50 +09:00
dependabot[bot]
d2061ba45b
build(deps-dev): Bump @types/node from 22.15.6 to 22.15.15
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.6 to 22.15.15.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.15
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 20:35:48 +00:00
dependabot[bot]
ce4aee291a
build(deps): Bump @actions/github from 6.0.0 to 6.0.1
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-07 20:35:38 +00:00
marocchino
885e744192
Merge pull request #1529 from marocchino/dependabot/npm_and_yarn/types/node-22.15.6
build(deps-dev): Bump @types/node from 22.15.3 to 22.15.6
2025-05-06 09:40:09 +09:00
marocchino
52e5976aed
Merge pull request #1528 from marocchino/dependabot/npm_and_yarn/vitest-3.1.3
build(deps-dev): Bump vitest from 3.1.2 to 3.1.3
2025-05-06 09:39:57 +09:00
dependabot[bot]
813ebceea4
build(deps-dev): Bump @types/node from 22.15.3 to 22.15.6
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.3 to 22.15.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 21:10:02 +00:00
dependabot[bot]
9a2b56befc
build(deps-dev): Bump vitest from 3.1.2 to 3.1.3
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.3/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-05 20:55:58 +00:00
marocchino
e6d24883ad
Merge pull request #1527 from marocchino/dependabot/npm_and_yarn/vite-6.3.4
build(deps): Bump vite from 6.2.6 to 6.3.4
2025-05-01 22:24:28 +09:00
marocchino
983d440620
Merge pull request #1526 from marocchino/dependabot/npm_and_yarn/types/node-22.15.3
build(deps-dev): Bump @types/node from 22.15.2 to 22.15.3
2025-05-01 22:24:09 +09:00
dependabot[bot]
cc9d2d7967
build(deps): Bump vite from 6.2.6 to 6.3.4
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.6 to 6.3.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-30 19:37:07 +00:00
dependabot[bot]
5b241ae39e
build(deps-dev): Bump @types/node from 22.15.2 to 22.15.3
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.2 to 22.15.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-28 21:28:54 +00:00
marocchino
f7b3b9766a
Merge pull request #1525 from marocchino/dependabot/npm_and_yarn/types/node-22.15.2
build(deps-dev): Bump @types/node from 22.14.1 to 22.15.2
2025-04-27 10:20:08 +09:00
marocchino
6a6c10452a
Merge pull request #1523 from marocchino/dependabot/npm_and_yarn/vitest-3.1.2
build(deps-dev): Bump vitest from 3.1.1 to 3.1.2
2025-04-27 10:20:00 +09:00
dependabot[bot]
1d9bd96cc2
build(deps-dev): Bump @types/node from 22.14.1 to 22.15.2
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.1 to 22.15.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 20:31:21 +00:00
dependabot[bot]
51afe4c253
build(deps-dev): Bump vitest from 3.1.1 to 3.1.2
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.2/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-21 20:46:18 +00:00
marocchino
baa7203ed6
Merge pull request #1522 from marocchino/dependabot/npm_and_yarn/types/node-22.14.1
build(deps-dev): Bump @types/node from 22.14.0 to 22.14.1
2025-04-16 03:59:57 +09:00
dependabot[bot]
984890f228
build(deps-dev): Bump @types/node from 22.14.0 to 22.14.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.14.0 to 22.14.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.14.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-14 20:18:21 +00:00
marocchino
46530777f2
Merge pull request #1521 from marocchino/dependabot/npm_and_yarn/vitest-3.1.1
build(deps-dev): Bump vitest from 1.6.1 to 3.1.1
2025-04-13 08:09:18 +09:00
dependabot[bot]
74dc329c07
build(deps-dev): Bump vitest from 1.6.1 to 3.1.1
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.6.1 to 3.1.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.1.1/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 3.1.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-11 20:51:45 +00:00
marocchino
f6fe57d669
Merge pull request #1520 from marocchino/update-jest-config
Use vitest instead of jest
2025-04-11 07:36:08 +09:00
marocchino
91b5bf387e
👷 Fix descriptor 2025-04-11 07:35:16 +09:00
marocchino
faaf52818d
jest to vitest 2025-04-11 07:17:55 +09:00
marocchino
e39079643f
🔧 Update lint option 2025-04-11 06:51:34 +09:00
marocchino
1b19b68425
Merge pull request #1519 from marocchino/update-jest-config
🔧 Update jest config
2025-04-09 22:09:43 +09:00
marocchino
1125c50abd
🔧 Update jest config 2025-04-09 22:07:55 +09:00
marocchino
05d9fdbad3
Merge pull request #1518 from marocchino/update-ts-config
🔧 Update ts config
2025-04-09 21:58:59 +09:00
marocchino
0dbe58c83e
🔧 Update ts config 2025-04-09 21:56:19 +09:00
15 changed files with 2841 additions and 4456 deletions

View file

@ -11,15 +11,14 @@ jobs:
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: yarn install
- run: |
set -o pipefail
mkdir -p ./pr
echo ${{ github.event.number }} | tee ./pr/number
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
echo "all_result<<$EOF" >> "$GITHUB_ENV"
yarn all >> "$GITHUB_ENV" 2&>1 || true # proceed even if yarn fails
yarn all >> "$GITHUB_ENV" 2>&1 || true # proceed even if yarn fails
echo >> "$GITHUB_ENV" # yarn all doesn't necessarily produce a newline
echo "$EOF" >> "$GITHUB_ENV"
id: all
@ -29,9 +28,9 @@ jobs:
header: All
message: |
<details open>
<summary>output of yarn all</summary>
<summary>Output of yarn all</summary>
```
```shell
${{ env.all_result }}
```
</details>

View file

@ -1,5 +1,6 @@
import {getOctokit} from "@actions/github"
import * as core from "@actions/core"
import { vi, describe, it, expect, beforeEach } from 'vitest'
import {
createComment,
@ -11,8 +12,8 @@ import {
commentsEqual
} from "../src/comment"
jest.mock("@actions/core", () => ({
warning: jest.fn()
vi.mock("@actions/core", () => ({
warning: vi.fn()
}))
const repo = {
@ -68,7 +69,7 @@ it("findPreviousComment", async () => {
}
]
const octokit = getOctokit("github-token")
jest.spyOn(octokit, "graphql").mockResolvedValue({
vi.spyOn(octokit, "graphql").mockResolvedValue({
viewer: authenticatedBotUser,
repository: {
pullRequest: {
@ -104,7 +105,7 @@ describe("updateComment", () => {
const octokit = getOctokit("github-token")
beforeEach(() => {
jest.spyOn<any, string>(octokit, "graphql").mockResolvedValue("")
vi.spyOn(octokit, "graphql").mockResolvedValue("")
})
it("with comment body", async () => {
@ -150,13 +151,12 @@ describe("createComment", () => {
const octokit = getOctokit("github-token")
beforeEach(() => {
jest
.spyOn<any, string>(octokit.rest.issues, "createComment")
.mockResolvedValue("<return value>")
vi.spyOn(octokit.rest.issues, "createComment")
.mockResolvedValue({ data: "<return value>" } as any)
})
it("with comment body or previousBody", async () => {
expect(await createComment(octokit, repo, 456, "hello there", "")).toEqual("<return value>")
expect(await createComment(octokit, repo, 456, "hello there", "")).toEqual({ data: "<return value>" })
expect(octokit.rest.issues.createComment).toBeCalledWith({
issue_number: 456,
owner: "marocchino",
@ -164,7 +164,7 @@ describe("createComment", () => {
body: "hello there\n<!-- Sticky Pull Request Comment -->"
})
expect(await createComment(octokit, repo, 456, "hello there", "TypeA")).toEqual(
"<return value>"
{ data: "<return value>" }
)
expect(octokit.rest.issues.createComment).toBeCalledWith({
issue_number: 456,
@ -183,7 +183,7 @@ describe("createComment", () => {
it("deleteComment", async () => {
const octokit = getOctokit("github-token")
jest.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
vi.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
expect(await deleteComment(octokit, "456")).toBeUndefined()
expect(octokit.graphql).toBeCalledWith(expect.any(String), {
id: "456"
@ -193,7 +193,7 @@ it("deleteComment", async () => {
it("minimizeComment", async () => {
const octokit = getOctokit("github-token")
jest.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
vi.spyOn(octokit, "graphql").mockReturnValue(undefined as any)
expect(await minimizeComment(octokit, "456", "OUTDATED")).toBeUndefined()
expect(octokit.graphql).toBeCalledWith(expect.any(String), {
input: {
@ -226,7 +226,7 @@ describe("getBodyOf", () => {
</details>
<!-- Sticky Pull Request CommentTypeA -->
`
test.each`
it.each`
append | hideDetails | previous | expected
${false} | ${false} | ${detailsPrevious} | ${undefined}
${true} | ${false} | ${nullPrevious} | ${undefined}
@ -243,7 +243,7 @@ describe("getBodyOf", () => {
})
describe("commentsEqual", () => {
test.each([
it.each([
{
body: "body",
previous: "body\n<!-- Sticky Pull Request Commentheader -->",

View file

@ -1,4 +1,28 @@
import { beforeEach, afterEach, test, expect, vi, describe } from 'vitest'
const mockConfig = {
pullRequestNumber: 123,
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
append: false,
recreate: false,
deleteOldComment: false,
hideOldComment: false,
hideAndRecreate: false,
hideClassify: "OUTDATED",
hideDetails: false,
githubToken: "some-token",
ignoreEmpty: false,
skipUnchanged: false,
getBody: vi.fn().mockResolvedValue("")
}
vi.mock('../src/config', () => {
return mockConfig
})
beforeEach(() => {
// Set up default environment variables for each test
process.env["GITHUB_REPOSITORY"] = "marocchino/stick-pull-request-comment"
process.env["INPUT_NUMBER"] = "123"
process.env["INPUT_APPEND"] = "false"
@ -14,10 +38,26 @@ beforeEach(() => {
process.env["INPUT_IGNORE_EMPTY"] = "false"
process.env["INPUT_SKIP_UNCHANGED"] = "false"
process.env["INPUT_FOLLOW_SYMBOLIC_LINKS"] = "false"
// 모킹된 값 초기화
mockConfig.pullRequestNumber = 123
mockConfig.repo = {owner: "marocchino", repo: "stick-pull-request-comment"}
mockConfig.header = ""
mockConfig.append = false
mockConfig.recreate = false
mockConfig.deleteOldComment = false
mockConfig.hideOldComment = false
mockConfig.hideAndRecreate = false
mockConfig.hideClassify = "OUTDATED"
mockConfig.hideDetails = false
mockConfig.githubToken = "some-token"
mockConfig.ignoreEmpty = false
mockConfig.skipUnchanged = false
mockConfig.getBody.mockResolvedValue("")
})
afterEach(() => {
jest.resetModules()
vi.resetModules()
delete process.env["GITHUB_REPOSITORY"]
delete process.env["INPUT_OWNER"]
delete process.env["INPUT_REPO"]
@ -43,7 +83,11 @@ afterEach(() => {
test("repo", async () => {
process.env["INPUT_OWNER"] = "jin"
process.env["INPUT_REPO"] = "other"
expect(require("../src/config")).toMatchObject({
mockConfig.repo = {owner: "jin", repo: "other"}
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "jin", repo: "other"},
header: "",
@ -58,11 +102,15 @@ test("repo", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("header", async () => {
process.env["INPUT_HEADER"] = "header"
expect(require("../src/config")).toMatchObject({
mockConfig.header = "header"
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "header",
@ -77,11 +125,15 @@ test("header", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("append", async () => {
process.env["INPUT_APPEND"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.append = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -96,11 +148,15 @@ test("append", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("recreate", async () => {
process.env["INPUT_RECREATE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.recreate = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -115,11 +171,15 @@ test("recreate", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("delete", async () => {
process.env["INPUT_DELETE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.deleteOldComment = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -134,11 +194,15 @@ test("delete", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideOldComment", async () => {
process.env["INPUT_HIDE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.hideOldComment = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -153,11 +217,15 @@ test("hideOldComment", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideAndRecreate", async () => {
process.env["INPUT_HIDE_AND_RECREATE"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.hideAndRecreate = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -172,11 +240,15 @@ test("hideAndRecreate", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideClassify", async () => {
process.env["INPUT_HIDE_CLASSIFY"] = "OFF_TOPIC"
expect(require("../src/config")).toMatchObject({
mockConfig.hideClassify = "OFF_TOPIC"
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -191,11 +263,15 @@ test("hideClassify", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("hideDetails", async () => {
process.env["INPUT_HIDE_DETAILS"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.hideDetails = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -210,12 +286,16 @@ test("hideDetails", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
describe("path", () => {
test("when exists return content of a file", async () => {
process.env["INPUT_PATH"] = "./__tests__/assets/result"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("hi there\n")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -230,12 +310,15 @@ describe("path", () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("hi there\n")
expect(await config.getBody()).toEqual("hi there\n")
})
test("glob match files", async () => {
process.env["INPUT_PATH"] = "./__tests__/assets/*"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("hi there\n\nhey there\n")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -250,12 +333,15 @@ describe("path", () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("hi there\n\nhey there\n")
expect(await config.getBody()).toEqual("hi there\n\nhey there\n")
})
test("when not exists return null string", async () => {
process.env["INPUT_PATH"] = "./__tests__/assets/not_exists"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -270,13 +356,16 @@ describe("path", () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
})
test("message", async () => {
process.env["INPUT_MESSAGE"] = "hello there"
expect(require("../src/config")).toMatchObject({
mockConfig.getBody.mockResolvedValue("hello there")
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -291,12 +380,15 @@ test("message", async () => {
ignoreEmpty: false,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("hello there")
expect(await config.getBody()).toEqual("hello there")
})
test("ignore_empty", async () => {
process.env["INPUT_IGNORE_EMPTY"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.ignoreEmpty = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -311,12 +403,15 @@ test("ignore_empty", async () => {
ignoreEmpty: true,
skipUnchanged: false
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})
test("skip_unchanged", async () => {
process.env["INPUT_SKIP_UNCHANGED"] = "true"
expect(require("../src/config")).toMatchObject({
mockConfig.skipUnchanged = true
const config = await import('../src/config')
expect(config).toMatchObject({
pullRequestNumber: expect.any(Number),
repo: {owner: "marocchino", repo: "stick-pull-request-comment"},
header: "",
@ -331,5 +426,5 @@ test("skip_unchanged", async () => {
ignoreEmpty: false,
skipUnchanged: true
})
expect(await require("../src/config").getBody()).toEqual("")
expect(await config.getBody()).toEqual("")
})

View file

@ -1,103 +1,31 @@
{
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
"$schema": "https://biomejs.dev/schemas/2.0.4/schema.json",
"files": {
"include": ["src/**/*.ts"],
"ignore": ["node_modules", "dist", "lib", "**/__tests__/**"]
"includes": ["src/**/*.ts"]
},
"formatter": {
"enabled": true,
"useEditorconfig": true,
"formatWithErrors": false,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 100,
"attributePosition": "auto",
"bracketSpacing": true,
"ignore": ["**/dist/", "**/lib/", "**/node_modules/"]
"lineWidth": 100
},
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noExtraBooleanCast": "error",
"noMultipleSpacesInRegularExpressionLiterals": "error",
"noStaticOnlyClass": "error",
"noUselessConstructor": "error",
"noUselessStringConcat": "error"
},
"correctness": {
"noConstAssign": "error",
"noConstantCondition": "error",
"noEmptyCharacterClassInRegex": "error",
"noEmptyPattern": "error",
"noGlobalObjectCalls": "error",
"noInnerDeclarations": "error",
"noInvalidConstructorSuper": "error",
"noNewSymbol": "error",
"noSelfAssign": "error",
"noSwitchDeclarations": "error",
"noUndeclaredVariables": "error",
"noUnreachable": "error",
"noUnreachableSuper": "error",
"noUnsafeFinally": "error",
"noUnusedLabels": "error",
"noUnusedVariables": "error",
"useIsNan": "error",
"useYield": "error"
},
"style": {
"noArguments": "error",
"noCommaOperator": "error",
"noInferrableTypes": "error",
"noNamespace": "error",
"noNonNullAssertion": "warn",
"noVar": "error",
"useConsistentArrayType": "error",
"useConst": "error",
"useForOf": "warn",
"useShorthandFunctionType": "warn",
"useSingleVarDeclarator": "error",
"useTemplate": "error"
},
"suspicious": {
"noCatchAssign": "error",
"noClassAssign": "error",
"noCompareNegZero": "error",
"noConsole": "error",
"noControlCharactersInRegex": "error",
"noDebugger": "error",
"noDoubleEquals": "error",
"noDuplicateCase": "error",
"noDuplicateClassMembers": "error",
"noDuplicateObjectKeys": "error",
"noDuplicateParameters": "error",
"noEmptyBlockStatements": "error",
"noExplicitAny": "warn",
"noFallthroughSwitchClause": "error",
"noFunctionAssign": "error",
"noGlobalAssign": "error",
"noMisleadingInstantiator": "error",
"noRedeclare": "error",
"noSparseArray": "error",
"noUnsafeNegation": "error",
"useValidTypeof": "error"
}
"recommended": true
},
"ignore": ["**/dist/", "**/lib/", "**/node_modules/", "**/jest.config.js"]
"includes": ["vitest.config.ts", "src/**/*.ts", "__tests__/**/*.ts"]
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "none",
"semicolons": "asNeeded",
"arrowParentheses": "asNeeded",
"bracketSameLine": false,
"quoteStyle": "double",
"attributePosition": "auto",
"bracketSpacing": false
},
"globals": ["jest"]

3603
dist/index.js generated vendored

File diff suppressed because it is too large Load diff

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -1,10 +0,0 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}

View file

@ -11,8 +11,10 @@
"lint": "biome check .",
"lint:fix": "biome check --apply .",
"package": "ncc build --source-map --license licenses.txt",
"test": "jest",
"build_test": "tsc && jest",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage",
"build_test": "tsc && vitest run",
"all": "yarn build && yarn format && yarn lint && yarn package && yarn test"
},
"repository": {
@ -28,19 +30,16 @@
"license": "MIT",
"dependencies": {
"@actions/core": "^1.11.1",
"@actions/github": "^6.0.0",
"@actions/github": "^6.0.1",
"@actions/glob": "^0.5.0",
"@octokit/graphql-schema": "^15.26.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.14.0",
"@biomejs/biome": "2.3.4",
"@types/node": "^24.5.2",
"@vercel/ncc": "^0.38.3",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"js-yaml": "^4.1.0",
"ts-jest": "^29.3.1",
"typescript": "^5.8.3"
"typescript": "^5.9.2",
"vitest": "^3.2.4"
}
}

View file

@ -4,8 +4,8 @@ import type {
IssueComment,
ReportedContentClassifiers,
Repository,
User
} from "@octokit/graphql-schema/schema.d"
User,
} from "@octokit/graphql-schema"
type CreateCommentResponse = Awaited<
ReturnType<InstanceType<typeof GitHub>["rest"]["issues"]["createComment"]>
@ -30,7 +30,7 @@ export async function findPreviousComment(
repo: string
},
number: number,
header: string
header: string,
): Promise<IssueComment | undefined> {
let after = null
let hasNextPage = true
@ -60,7 +60,7 @@ export async function findPreviousComment(
}
}
`,
{...repo, after, number}
{...repo, after, number},
)
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
const viewer = data.viewer as User
@ -70,7 +70,7 @@ export async function findPreviousComment(
(node: IssueComment | null | undefined) =>
node?.author?.login === viewer.login.replace("[bot]", "") &&
!node?.isMinimized &&
node?.body?.includes(h)
node?.body?.includes(h),
)
if (target) {
return target
@ -86,7 +86,7 @@ export async function updateComment(
id: string,
body: string,
header: string,
previousBody?: string
previousBody?: string,
): Promise<void> {
if (!body && !previousBody) return core.warning("Comment body cannot be blank")
@ -108,9 +108,9 @@ export async function updateComment(
id,
body: previousBody
? bodyWithHeader(`${rawPreviousBody}\n${body}`, header)
: bodyWithHeader(body, header)
}
}
: bodyWithHeader(body, header),
},
},
)
}
export async function createComment(
@ -122,7 +122,7 @@ export async function createComment(
issue_number: number,
body: string,
header: string,
previousBody?: string
previousBody?: string,
): Promise<CreateCommentResponse | undefined> {
if (!body && !previousBody) {
core.warning("Comment body cannot be blank")
@ -132,12 +132,12 @@ export async function createComment(
return await octokit.rest.issues.createComment({
...repo,
issue_number,
body: previousBody ? `${previousBody}\n${body}` : bodyWithHeader(body, header)
body: previousBody ? `${previousBody}\n${body}` : bodyWithHeader(body, header),
})
}
export async function deleteComment(
octokit: InstanceType<typeof GitHub>,
id: string
id: string,
): Promise<void> {
await octokit.graphql(
`
@ -147,13 +147,13 @@ export async function deleteComment(
}
}
`,
{id}
{id},
)
}
export async function minimizeComment(
octokit: InstanceType<typeof GitHub>,
subjectId: string,
classifier: ReportedContentClassifiers
classifier: ReportedContentClassifiers,
): Promise<void> {
await octokit.graphql(
`
@ -163,14 +163,14 @@ export async function minimizeComment(
}
}
`,
{input: {subjectId, classifier}}
{input: {subjectId, classifier}},
)
}
export function getBodyOf(
previous: {body?: string},
append: boolean,
hideDetails: boolean
hideDetails: boolean,
): string | undefined {
if (!append) {
return undefined

View file

@ -2,7 +2,7 @@ import {readFileSync} from "node:fs"
import * as core from "@actions/core"
import {context} from "@actions/github"
import {create} from "@actions/glob"
import type {ReportedContentClassifiers} from "@octokit/graphql-schema/schema.d"
import type {ReportedContentClassifiers} from "@octokit/graphql-schema"
export const pullRequestNumber =
context?.payload?.pull_request?.number || +core.getInput("number", {required: false})
@ -11,48 +11,48 @@ export const repo = buildRepo()
export const header = core.getInput("header", {required: false})
export const append = core.getBooleanInput("append", {required: true})
export const hideDetails = core.getBooleanInput("hide_details", {
required: true
required: true,
})
export const recreate = core.getBooleanInput("recreate", {required: true})
export const hideAndRecreate = core.getBooleanInput("hide_and_recreate", {
required: true
required: true,
})
export const hideClassify = core.getInput("hide_classify", {
required: true
required: true,
}) as ReportedContentClassifiers
export const deleteOldComment = core.getBooleanInput("delete", {required: true})
export const onlyCreateComment = core.getBooleanInput("only_create", {
required: true
required: true,
})
export const onlyUpdateComment = core.getBooleanInput("only_update", {
required: true
required: true,
})
export const skipUnchanged = core.getBooleanInput("skip_unchanged", {
required: true
required: true,
})
export const hideOldComment = core.getBooleanInput("hide", {required: true})
export const githubToken = core.getInput("GITHUB_TOKEN", {required: true})
export const ignoreEmpty = core.getBooleanInput("ignore_empty", {
required: true
required: true,
})
function buildRepo(): {repo: string; owner: string} {
return {
owner: core.getInput("owner", {required: false}) || context.repo.owner,
repo: core.getInput("repo", {required: false}) || context.repo.repo
repo: core.getInput("repo", {required: false}) || context.repo.repo,
}
}
export async function getBody(): Promise<string> {
const pathInput = core.getMultilineInput("path", {required: false})
const followSymbolicLinks = core.getBooleanInput("follow_symbolic_links", {
required: true
required: true,
})
if (pathInput && pathInput.length > 0) {
try {
const globber = await create(pathInput.join("\n"), {
followSymbolicLinks,
matchDirectories: false
matchDirectories: false,
})
return (await globber.glob()).map(path => readFileSync(path, "utf-8")).join("\n")
} catch (error) {

View file

@ -7,7 +7,7 @@ import {
findPreviousComment,
getBodyOf,
minimizeComment,
updateComment
updateComment,
} from "./comment"
import {
append,
@ -25,7 +25,7 @@ import {
pullRequestNumber,
recreate,
repo,
skipUnchanged
skipUnchanged,
} from "./config"
async function run(): Promise<undefined> {
@ -104,7 +104,7 @@ async function run(): Promise<undefined> {
pullRequestNumber,
body,
header,
previousBody
previousBody,
)
core.setOutput("created_comment_id", created?.data.id)
return

View file

@ -1,12 +1,25 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "es6" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
"outDir": "./lib" /* Redirect output structure to the directory. */,
"rootDir": "./src" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */,
"strict": true /* Enable all strict type-checking options. */,
"noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */,
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"allowSyntheticDefaultImports": true,
"declaration": false,
"declarationMap": false,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["ES2022"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"newLine": "lf",
"noImplicitAny": true,
"noUnusedLocals": true,
"noUnusedParameters": false,
"pretty": true,
"resolveJsonModule": true,
"strict": true,
"strictNullChecks": true,
"target": "ES2022",
"outDir": "./lib",
"rootDir": "./src"
},
"exclude": ["node_modules", "**/*.test.ts"]
"exclude": ["node_modules", "**/*.test.ts", "vitest.config.ts"]
}

21
vitest.config.ts Normal file
View file

@ -0,0 +1,21 @@
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
clearMocks: true,
coverage: {
provider: 'v8',
reporter: ['json', 'lcov', 'text', 'clover'],
exclude: ['/node_modules/'],
},
environment: 'node',
include: ['**/__tests__/**/*.test.ts'],
globals: true,
testTimeout: 10000,
poolOptions: {
threads: {
maxThreads: 10,
},
},
},
});

View file

@ -1,15 +0,0 @@
module.exports = function(wallaby) {
return {
files: ["src/**/*.js?(x)", "!src/**/*.spec.ts?(x)"],
tests: ["__tests__/**/*.test.ts?(x)"],
env: {
type: "node",
runner: "node"
},
testFramework: "jest",
debug: true
};
};

3264
yarn.lock

File diff suppressed because it is too large Load diff