Skip to content

Commit

Permalink
upgrade packages and cleanup node 16 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
atlowChemi authored Mar 2, 2024
1 parent 011fa6a commit dfc3f20
Show file tree
Hide file tree
Showing 18 changed files with 2,960 additions and 3,604 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
dist
node_modules
test/fixtures/*
test/fixtures/*
coverage/*
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint -- --max-warnings=0 \
&& npx prettier --check . \
&& npm run type-check \
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist
dist-*
webfont
node_modules
node_modules
coverage/*
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
783 changes: 555 additions & 228 deletions example/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"vite-svg-2-webfont": "../dist"
},
"devDependencies": {
"typescript": "^4.9.4",
"vite": "^4.5.2"
"typescript": "^5.3.3",
"vite": "^5.1.4"
}
}
1 change: 0 additions & 1 deletion example/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { iconBaseSelector, iconClassPrefix, icons } from './webfont/icons';

const baseSelector = iconBaseSelector.replace('.', '');

// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
document.querySelector<HTMLDivElement>('#app')!.innerHTML = `
<div>
<h1>vite-svg-2-webfont</h1>
Expand Down
Loading

0 comments on commit dfc3f20

Please sign in to comment.