Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
* removed eslint and prettier for deno tools
* removed dts-bundle-generator for vite plugin
* updated CI
* version bump
  • Loading branch information
thednp committed Nov 7, 2024
1 parent 77ea1e8 commit 6c87b8f
Show file tree
Hide file tree
Showing 23 changed files with 1,516 additions and 9,173 deletions.
224 changes: 0 additions & 224 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/badges.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v3

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

- name: Commit any changed files 💾
uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
25 changes: 17 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,39 @@ on: push
jobs:
test:
runs-on: ubuntu-20.04
name: Test on Node v20
name: Test on Node 20
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node
- name: PNPM setup
uses: pnpm/action-setup@v3

- name: Deno Setup
uses: denoland/setup-deno@v2
with:
deno-version: v2.x

- name: Node Setup
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm

- name: Install Dependencies
run: npm install
run: pnpm install --no-frozen-lockfile

- name: Install Playwright
run: npx playwright install
run: pnpm exec playwright install

- name: Lint
run: npm run lint
run: pnpm lint

- name: Build
run: npm run build
run: pnpm build

- name: Test
run: npm run test
- name: ViTest
run: pnpm test

- name: Upload coverage report to coveralls.io...
uses: coverallsapp/github-action@master
Expand Down
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@
node_modules
experiments
coverage
cypress/videos
cypress/screenshots
cypress/coverage
cypress/instrumented
9 changes: 5 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ node_modules
docs
experiments
coverage
cypress/videos
cypress/screenshots
cypress/coverage
cypress/instrumented
src
test
vite.config.mts
vitest.config.mts
vitest.config-ui.mts
15 changes: 0 additions & 15 deletions .prettierrc.json

This file was deleted.

8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@
[![NPM Downloads](https://img.shields.io/npm/dm/@thednp/dommatrix.svg?style=flat-square)](http://npm-stat.com/charts.html?@thednp/dommatrix)
[![ci](https://github.com/thednp/dommatrix/actions/workflows/ci.yml/badge.svg)](https://github.com/thednp/dommatrix/actions/workflows/ci.yml)
[![jsDeliver](https://data.jsdelivr.com/v1/package/npm/@thednp/dommatrix/badge)](https://www.jsdelivr.com/package/npm/@thednp/dommatrix)
[![typescript version](https://img.shields.io/badge/typescript-5.5.4-brightgreen)](https://www.typescriptlang.org/)
[![eslint version](https://img.shields.io/badge/eslint-8.57.0-brightgreen)](https://github.com/eslint)
[![vitest version](https://img.shields.io/badge/vitest-2.0.5-brightgreen)](https://vitest.dev/)
[![vite version](https://img.shields.io/badge/vite-5.4.3-brightgreen)](https://vitejs.dev/)
[![prettier version](https://img.shields.io/badge/prettier-2.8.8-brightgreen)](https://prettier.io/)
[![typescript version](https://img.shields.io/badge/typescript-5.6.3-brightgreen)](https://www.typescriptlang.org/)
[![vitest version](https://img.shields.io/badge/vitest-2.1.4-brightgreen)](https://vitest.dev/)
[![vite version](https://img.shields.io/badge/vite-5.4.10-brightgreen)](https://vitejs.dev/)

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.

Expand Down
2 changes: 1 addition & 1 deletion dist/dommatrix.cjs.map

Large diffs are not rendered by default.

Loading

0 comments on commit 6c87b8f

Please sign in to comment.