Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
101 commits
Select commit Hold shift + click to select a range
dcfec0d
chore(deps): update all non-major dependencies
github-actions[bot] Aug 22, 2025
b46a930
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 22, 2025
c4f581c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
341ae01
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
23a0f8f
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
b85c1b3
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
bcf74ba
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
9c400a1
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
922c5b1
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
12f1cf4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
5f243a7
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
26f327b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
ef6b897
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
1d11b59
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 23, 2025
0df3fd5
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
6940892
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
6fd6952
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
4503384
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
65691c9
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
93b38c8
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
78fff58
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
0b4dc08
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
0af77f5
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
92f4f62
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
6890873
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
009ea36
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 24, 2025
15a13c7
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
703c097
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
b485e53
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
e101295
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
7fe64b4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
a41eadb
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
0303b84
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
7adba3a
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
6c46fc3
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
469c2d4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
4cfc293
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
98e1d59
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 25, 2025
a679f5d
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 26, 2025
1ad9e23
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 26, 2025
c085f8c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 27, 2025
fba440f
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 28, 2025
fb940b7
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 29, 2025
10b5cee
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 29, 2025
cf2f2b9
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 29, 2025
23c44f1
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 29, 2025
58627ff
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 30, 2025
64dfb93
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 30, 2025
e6e62d3
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 31, 2025
f12b3e6
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Aug 31, 2025
f492066
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 1, 2025
e6eb0f5
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 2, 2025
60af98d
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 2, 2025
e151ee6
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 2, 2025
34ebac8
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 2, 2025
e81c86c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 10, 2025
e11f20f
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 10, 2025
c586af1
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 10, 2025
7cdeb8f
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 11, 2025
e192599
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 14, 2025
da3e00b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 18, 2025
36f9d1e
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 24, 2025
8890b71
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 24, 2025
595f3cc
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 28, 2025
1f3b2cc
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 30, 2025
e0817d5
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 6, 2025
4645eaf
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 6, 2025
4280fb4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 7, 2025
81cf788
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 9, 2025
66521cc
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 10, 2025
1c7beb9
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 10, 2025
c0dffd9
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 11, 2025
9e2f88b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 14, 2025
37c389a
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 15, 2025
8cf023b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
0496880
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
f60b178
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
68c7a54
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
fce6c7b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
34d5a66
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 17, 2025
3f4e2dc
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 17, 2025
b930f6d
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 17, 2025
f7b86f7
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 20, 2025
935a798
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 22, 2025
fa10110
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 23, 2025
af80811
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 28, 2025
2863417
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
362c0c2
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
72610d4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
907a14c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
eede41c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 29, 2025
6c5d1c4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 30, 2025
c938b63
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 30, 2025
5b2226c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 30, 2025
bfbd000
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 31, 2025
bb2e37f
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Nov 3, 2025
8212f96
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Nov 5, 2025
9ef1ef8
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Nov 6, 2025
b8c668d
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Nov 7, 2025
9ab75c5
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Nov 7, 2025
834f41e
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Nov 8, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/buddy-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:

- name: Setup PHP and Composer (if needed)
if: ${{ hashFiles('composer.json') != '' }}
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2.35.5
with:
php-version: '8.4'
tools: composer
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:

- name: Setup PHP and Composer (if needed)
if: ${{ hashFiles('composer.json') != '' }}
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2.35.5
with:
php-version: '8.4'
tools: composer
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -44,10 +44,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -67,10 +67,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -90,10 +90,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -107,4 +107,4 @@ jobs:
run: bun run build

- name: Publish Commit
run: bunx pkg-pr-new publish
run: bunx pkg-pr-new publish "./packages/besting" "./packages/very-happy-dom"
29 changes: 14 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,14 @@ jobs:
fetch-depth: 0

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/[email protected]
# env:
# BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
with:
bun-version: latest

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -30,23 +34,18 @@ jobs:
run: bun install

- name: Publish to npm
run: bun publish --access public
run: ./scripts/publish.sh
env:
BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

- name: Create GitHub release
run: bunx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Attach Binaries
uses: stacksjs/[email protected]
- name: Create GitHub Release
uses: stacksjs/[email protected]
with:
files: |
bin/besting-linux-x64
bin/besting-linux-arm64
bin/besting-windows-x64.exe
bin/besting-darwin-x64
bin/besting-darwin-arm64
packages/besting/bin/besting-linux-x64.zip
packages/besting/bin/besting-linux-arm64.zip
packages/besting/bin/besting-windows-x64.zip
packages/besting/bin/besting-darwin-x64.zip
packages/besting/bin/besting-darwin-arm64.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions deps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dependencies:
bun.sh: ^1.2.23
86 changes: 23 additions & 63 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "besting",
"type": "module",
"version": "0.0.4",
"version": "0.0.9",
"private": true,
"description": "A Bun test framework.",
"author": "Chris Breuer <[email protected]>",
"license": "MIT",
Expand All @@ -19,90 +20,49 @@
"test",
"framework"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"besting": "./dist/bin/cli.js"
},
"files": [
"README.md",
"dist"
],
"scripts": {
"build": "bun --bun build.ts && bun run compile",
"compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/besting",
"compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64",
"compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/besting-linux-x64",
"compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/besting-linux-arm64",
"compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/besting-windows-x64.exe",
"compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/besting-darwin-x64",
"compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/besting-darwin-arm64",
"zip": "bun run zip:all",
"zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64",
"zip:linux-x64": "zip -j bin/besting-linux-x64.zip bin/besting-linux-x64",
"zip:linux-arm64": "zip -j bin/besting-linux-arm64.zip bin/besting-linux-arm64",
"zip:windows-x64": "zip -j bin/besting-windows-x64.zip bin/besting-windows-x64.exe",
"zip:darwin-x64": "zip -j bin/besting-darwin-x64.zip bin/besting-darwin-x64",
"zip:darwin-arm64": "zip -j bin/besting-darwin-arm64.zip bin/besting-darwin-arm64",
"build": "cd packages/besting && bun run build && cd ../very-happy-dom && bun run build && cd ../",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
"lint": "bunx --bun eslint .",
"lint:fix": "bunx --bun eslint . --fix",
"changelog": "bunx logsmith --verbose",
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
"release": "bun run changelog:generate && bunx bumpx prompt --recursive",
"postinstall": "bunx git-hooks",
"release": "bun run changelog:generate && bunx --bun bumpx prompt --recursive",
"bench": "bun packages/benchmarks/dom-performance.bench.ts",
"bench:dom": "bun packages/benchmarks/dom-performance.bench.ts",
"bench:compare": "bun packages/benchmarks/competitive-comparison.bench.ts",
"bench:very-happy-dom": "bun packages/benchmarks/lib/very-happy-dom.test.ts",
"test": "bun test",
"test:custom": "bun run src/bin.ts",
"test:standard": "bun test",
"test:debug": "BESTING_DEBUG=true bun test",
"test:core": "bun test test/index.test.ts",
"test:stress": "bun test test/stress.test.ts",
"test:errors": "bun test test/error-handling.test.ts",
"test:all": "bun test:core && bun test:stress && bun test:errors",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
"typecheck": "bun --bun tsc --noEmit"
},
"dependencies": {
"cac": "^6.7.14"
},
"devDependencies": {
"@stacksjs/bumpx": "^0.1.13",
"@stacksjs/bumpx": "^0.2.4",
"@stacksjs/docs": "^0.70.23",
"@stacksjs/eslint-config": "^4.10.2-beta.3",
"@stacksjs/eslint-config": "^4.14.0-beta.3",
"@stacksjs/gitlint": "^0.1.5",
"@stacksjs/logsmith": "^0.1.8",
"@types/bun": "^1.2.11",
"buddy-bot": "^0.8.8",
"bumpp": "^10.1.0",
"bun-git-hooks": "^0.2.19",
"bun-plugin-dtsx": "^0.21.9",
"bunfig": "^0.8.4",
"changelogen": "^0.6.1",
"lint-staged": "^15.5.1",
"simple-git-hooks": "^2.13.0",
"typescript": "^5.8.3"
"@stacksjs/logsmith": "^0.2.1",
"@types/bun": "^1.3.2",
"buddy-bot": "^0.9.11",
"bun-git-hooks": "^0.3.1",
"bun-plugin-dtsx": "0.9.9",
"bunfig": "^0.15.6",
"typescript": "^5.9.3"
},
"overrides": {
"unconfig": "0.3.10"
},
"git-hooks": {
"pre-commit": {
"staged-lint": {
"*.{js,ts,json,yaml,yml,md}": "bun lint:fix"
"*.{js,ts,json,yaml,yml,md}": "bunx --bun eslint --fix"
}
},
"commit-msg": "bunx gitlint --edit $1"
}
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
},
"workspaces": [
"packages/*"
]
}
48 changes: 48 additions & 0 deletions packages/benchmarks/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"name": "@besting/benchmarks",
"type": "module",
"version": "0.0.9",
"private": true,
"description": "Benchmarks for the `besting` library.",
"author": "Chris Breuer <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/besting#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/stacksjs/besting.git"
},
"bugs": {
"url": "https://github.com/stacksjs/besting/issues"
},
"keywords": [
"besting",
"happy-dom",
"bun"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/src/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "bun --bun build.ts",
"lint": "bunx --bun eslint .",
"lint:fix": "bunx --bun eslint . --fix",
"prepublishOnly": "bun --bun run build",
"test": "bun test"
},
"devDependencies": {
"happy-dom": "^20.0.10",
"jsdom": "^25.0.1",
"mitata": "^1.0.34"
}
}
2 changes: 1 addition & 1 deletion pkgx.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dependencies:
bun.sh: ^1.2.10
bun.sh: ^1.2.20