Skip to content

Commit 6c87b8f

Browse files
committed
Changes
* removed eslint and prettier for deno tools * removed dts-bundle-generator for vite plugin * updated CI * version bump
1 parent 77ea1e8 commit 6c87b8f

23 files changed

+1516
-9173
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 224 deletions
This file was deleted.

.github/workflows/badges.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v3
2020

2121
- name: Update version badges 🏷
22-
run: npx -p dependency-version-badge update-badge typescript eslint prettier vitest vite
22+
run: npx -p dependency-version-badge update-badge typescript vitest vite
2323

2424
- name: Commit any changed files 💾
2525
uses: stefanzweifel/git-auto-commit-action@v4

.github/workflows/ci.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,39 @@ on: push
33
jobs:
44
test:
55
runs-on: ubuntu-20.04
6-
name: Test on Node v20
6+
name: Test on Node 20
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v4
1010

11-
- name: Setup Node
11+
- name: PNPM setup
12+
uses: pnpm/action-setup@v3
13+
14+
- name: Deno Setup
15+
uses: denoland/setup-deno@v2
16+
with:
17+
deno-version: v2.x
18+
19+
- name: Node Setup
1220
uses: actions/setup-node@v4
1321
with:
1422
node-version: 20
23+
cache: pnpm
1524

1625
- name: Install Dependencies
17-
run: npm install
26+
run: pnpm install --no-frozen-lockfile
1827

1928
- name: Install Playwright
20-
run: npx playwright install
29+
run: pnpm exec playwright install
2130

2231
- name: Lint
23-
run: npm run lint
32+
run: pnpm lint
2433

2534
- name: Build
26-
run: npm run build
35+
run: pnpm build
2736

28-
- name: Test
29-
run: npm run test
37+
- name: ViTest
38+
run: pnpm test
3039

3140
- name: Upload coverage report to coveralls.io...
3241
uses: coverallsapp/github-action@master

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@
33
node_modules
44
experiments
55
coverage
6-
cypress/videos
7-
cypress/screenshots
8-
cypress/coverage
9-
cypress/instrumented

.npmignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ node_modules
55
docs
66
experiments
77
coverage
8-
cypress/videos
9-
cypress/screenshots
10-
cypress/coverage
11-
cypress/instrumented
8+
src
9+
test
10+
vite.config.mts
11+
vitest.config.mts
12+
vitest.config-ui.mts

.prettierrc.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44
[![NPM Downloads](https://img.shields.io/npm/dm/@thednp/dommatrix.svg?style=flat-square)](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.5.4-brightgreen)](https://www.typescriptlang.org/)
8-
[![eslint version](https://img.shields.io/badge/eslint-8.57.0-brightgreen)](https://github.com/eslint)
9-
[![vitest version](https://img.shields.io/badge/vitest-2.0.5-brightgreen)](https://vitest.dev/)
10-
[![vite version](https://img.shields.io/badge/vite-5.4.3-brightgreen)](https://vitejs.dev/)
11-
[![prettier version](https://img.shields.io/badge/prettier-2.8.8-brightgreen)](https://prettier.io/)
7+
[![typescript version](https://img.shields.io/badge/typescript-5.6.3-brightgreen)](https://www.typescriptlang.org/)
8+
[![vitest version](https://img.shields.io/badge/vitest-2.1.4-brightgreen)](https://vitest.dev/)
9+
[![vite version](https://img.shields.io/badge/vite-5.4.10-brightgreen)](https://vitejs.dev/)
1210

1311
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.
1412

dist/dommatrix.cjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)