Skip to content

Commit

Permalink
Update dependencies and practies
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Oct 8, 2023
1 parent cf7b264 commit 5b29369
Show file tree
Hide file tree
Showing 3 changed files with 484 additions and 353 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 19
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile --ignore-scripts
Expand All @@ -36,7 +36,7 @@ jobs:
name: Node.js ${{ matrix.node-version }} Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
Expand All @@ -55,7 +55,7 @@ jobs:
name: Node.js 14 Quick
steps:
- name: Checkout the repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
Expand Down
22 changes: 14 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,28 @@
"./package.json": "./package.json"
},
"scripts": {
"test": "c8 pnpm unit && eslint .",
"unit": "NODE_ENV=test uvu test .test.js"
"unit": "NODE_ENV=test uvu test .test.js",
"test:coverage": "c8 pnpm unit",
"test:lint": "eslint .",
"test": "pnpm run /^test:/"
},
"dependencies": {
"browserslist": "^4.21.9",
"browserslist": "^4.22.1",
"picocolors": "^1.0.0"
},
"bin": {
"browserslist-lint": "cli.js"
},
"devDependencies": {
"@logux/eslint-config": "^51.0.0",
"c8": "^8.0.0",
"@logux/eslint-config": "^52.0.1",
"c8": "^8.0.1",
"clean-publish": "^4.2.0",
"eslint": "^8.43.0",
"eslint": "^8.51.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-es5": "^1.5.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"uvu": "^0.5.6"
Expand All @@ -73,6 +76,9 @@
],
"eslintConfig": {
"extends": "@logux/eslint-config",
"rules": {
"node-import/prefer-node-protocol": "off"
},
"overrides": [
{
"files": [
Expand Down
Loading

0 comments on commit 5b29369

Please # to comment.