Skip to content

Commit f692b71

Browse files
committed
Move to vite and vitest
1 parent 12b67c0 commit f692b71

10 files changed

+2836
-11558
lines changed

.babelrc

-5
This file was deleted.

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
node-version: [10.x, 12.x, 14.x]
13+
node-version: [18.x, 20.x, 22.x]
1414
steps:
1515

1616
- uses: actions/checkout@v2
@@ -57,17 +57,17 @@ jobs:
5757

5858
- uses: actions/checkout@v2
5959

60-
- name: Use Node.js 14.x
60+
- name: Use Node.js 22.x
6161
uses: actions/setup-node@v2
6262
with:
63-
node-version: 14.x
63+
node-version: 22.x
6464

6565
- uses: actions/cache@v3
6666
with:
6767
path: ~/.npm
68-
key: ${{ runner.os }}-node-14.x-${{ hashFiles('**/package-lock.json') }}
68+
key: ${{ runner.os }}-node-22.x-${{ hashFiles('**/package-lock.json') }}
6969
restore-keys: |
70-
${{ runner.os }}-node-14.x-
70+
${{ runner.os }}-node-22.x-
7171
7272
- run: npm install
7373

.npmignore

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
coverage
22
demo
33
docs
4-
src
54
test
6-
.babelrc
75
.eslintrc
86
.idea
9-
.nyc_output
107
.github
11-
webpack.config.js
8+
vite.config.js

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

0 commit comments

Comments
 (0)