Skip to content

Commit d5deddd

Browse files
committed
update deps, test setup, workflows
1 parent b0cbae3 commit d5deddd

File tree

10 files changed

+1489
-2021
lines changed

10 files changed

+1489
-2021
lines changed

.github/FUNDING.yml

100644100755
File mode changed.

.github/workflows/badges.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,20 @@ on:
1010
- README.md
1111
- package.json
1212
- .github/workflows/badges.yml
13+
pull_request:
14+
# update README badge only if the README file changes
15+
# or if the package.json file changes, or this file changes
16+
# IMPORTANT: branches must match
17+
branches:
18+
- master
19+
paths:
20+
- README.md
21+
- package.json
22+
- .github/workflows/badges.yml
1323

1424
jobs:
1525
badges:
16-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-24.04
1727
steps:
1828
- name: Checkout 🛎
1929
uses: actions/checkout@v3

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,19 @@ on:
66
paths:
77
- src
88
- test
9+
- package.json
10+
- .github/workflows/ci.yml
11+
pull_request:
12+
branches:
13+
- master
14+
paths:
15+
- src
16+
- test
17+
- package.json
918
- .github/workflows/ci.yml
1019
jobs:
1120
test:
12-
runs-on: ubuntu-22.04
21+
runs-on: ubuntu-24.04
1322
name: Test on Node
1423
steps:
1524
- name: Checkout

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ on:
1616
branches: [ master ]
1717
paths:
1818
- src
19+
- package.json
1920
- .github/workflows/codeql.yml
2021
pull_request:
2122
# The branches below must be a subset of the branches above
2223
branches: [ master ]
2324
paths:
2425
- src
26+
- package.json
2527
- .github/workflows/codeql.yml
2628

2729
jobs:
@@ -36,7 +38,7 @@ jobs:
3638
strategy:
3739
fail-fast: false
3840
matrix:
39-
language: [ 'javascript' ]
41+
language: [ 'typescript' ]
4042
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
4143
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
4244

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
[![NPM Downloads](https://img.shields.io/npm/dm/@thednp/dommatrix.svg)](http://npm-stat.com/charts.html?@thednp/dommatrix)
55
[![ci](https://github.com/thednp/dommatrix/actions/workflows/ci.yml/badge.svg)](https://github.com/thednp/dommatrix/actions/workflows/ci.yml)
66
[![jsDeliver](https://data.jsdelivr.com/v1/package/npm/@thednp/dommatrix/badge)](https://www.jsdelivr.com/package/npm/@thednp/dommatrix)
7-
[![typescript version](https://img.shields.io/badge/typescript-5.7.2-brightgreen)](https://www.typescriptlang.org/)
8-
[![vitest version](https://img.shields.io/badge/vitest-2.1.8-brightgreen)](https://vitest.dev/)
9-
[![vite version](https://img.shields.io/badge/vite-5.4.11-brightgreen)](https://vitejs.dev/)
7+
[![typescript version](https://img.shields.io/badge/typescript-5.8.3-brightgreen)](https://www.typescriptlang.org/)
8+
[![vitest version](https://img.shields.io/badge/vitest-3.1.4-brightgreen)](https://vitest.dev/)
9+
[![vite version](https://img.shields.io/badge/vite-6.3.5-brightgreen)](https://vitejs.dev/)
1010

1111
A TypeScript sourced [DOMMatrix](https://developer.mozilla.org/en-US/docs/Web/API/DOMMatrix) shim for **Node.js** apps and legacy browsers. Since this source is modernized, legacy browsers might need some additional shims.
1212

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thednp/dommatrix",
3-
"version": "2.0.11",
3+
"version": "2.0.12",
44
"description": "TypeScript shim for DOMMatrix",
55
"homepage": "https://thednp.github.io/dommatrix/",
66
"author": "thednp",
@@ -28,7 +28,7 @@
2828
"fix:ts": "deno lint src --fix",
2929
"build": "vite build && pnpm copy-docs",
3030
"copy-docs": "cp dist/dommatrix.js docs/dommatrix.js && cp dist/dommatrix.js.map docs/dommatrix.js.map",
31-
"prepublishOnly": "pnpm up && pnpm format && pnpm lint && pnpm build && pnpm badges"
31+
"prepublishOnly": "pnpm up --latest && pnpm format && pnpm lint && pnpm build && pnpm badges"
3232
},
3333
"repository": {
3434
"type": "git",
@@ -53,14 +53,14 @@
5353
"url": "https://github.com/thednp/dommatrix/issues"
5454
},
5555
"devDependencies": {
56-
"@vitest/browser": "^2.1.8",
57-
"@vitest/coverage-istanbul": "^2.1.8",
58-
"@vitest/ui": "^2.1.8",
59-
"playwright": "^1.49.1",
60-
"typescript": "^5.7.2",
61-
"vite": "^5.4.11",
62-
"vite-plugin-dts": "^4.3.0",
63-
"vitest": "^2.1.8"
56+
"@vitest/browser": "^3.1.4",
57+
"@vitest/coverage-istanbul": "^3.1.4",
58+
"@vitest/ui": "^3.1.4",
59+
"playwright": "^1.52.0",
60+
"typescript": "^5.8.3",
61+
"vite": "^6.3.5",
62+
"vite-plugin-dts": "^4.5.4",
63+
"vitest": "^3.1.4"
6464
},
6565
"packageManager": "pnpm@8.6.12",
6666
"engines": {

0 commit comments

Comments
 (0)