Skip to content

Commit

Permalink
Upgrade modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kmalakoff committed Nov 23, 2024
1 parent 5054bd7 commit 8bfc21d
Show file tree
Hide file tree
Showing 24 changed files with 9,943 additions and 354 deletions.
2 changes: 1 addition & 1 deletion .depcheckrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ignores: ["depcheck"]
ignores: ["walk-filtered", "depcheck", "ts-dev-stack", "@types/*"]
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

14 changes: 0 additions & 14 deletions .eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ updates:
directory: '/'
schedule:
interval: daily
ignore:
- dependency-name: 'rimraf'
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
name: CI
on:
- push
- pull_request
push:
branches:
- master
jobs:
test:
name: Node.js ${{ matrix.node-version }} ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['latest']
os: [ubuntu-latest, windows-latest, macOS-latest]
node: [latest]
os: [ubuntu-latest, windows-latest]
# os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: git config --global user.name "Github Actions"
- run: git config --global user.email "[email protected]"
- run: npm uninstall node-version-use -g
- run: npm install node-version-use -g
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run lint
- run: npm run version
- run: npm run build
- run: npm run test
- run: npm run test:engines
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node_modules/
npm-debug.log
.tmp/
package-lock.json
data/
*.heapsnapshot
*.0x
4 changes: 4 additions & 0 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"upgrade": true,
"reject": ["rimraf"]
}
2 changes: 0 additions & 2 deletions .prettierignore

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

13 changes: 11 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,18 @@
{
"type": "node",
"request": "launch",
"name": "mocha",
"name": "test:node",
"program": "${workspaceFolder}/node_modules/mocha-compat/bin/_mocha-compat",
"args": ["--no-timeouts", "--colors", "${workspaceFolder}/test/spec/**/*.test.js"],
"args": ["--no-timeouts", "--colors", "${workspaceFolder}/test/**/*.test.*"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
{
"type": "node",
"request": "launch",
"name": "test:node",
"program": "${workspaceFolder}/node_modules/mocha-compat/bin/nvu",
"args": ["mocha-compat", "--no-timeouts", "--colors", "${workspaceFolder}/test/**/*.test.*"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
Expand Down
36 changes: 36 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"files": {
"ignore": ["assets/**", "dist/**", "node_modules/**", "test/data/**"]
},
"formatter": {
"enabled": true,
"lineWidth": 320,
"indentStyle": "space"
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"trailingCommas": "es5"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off",
"useOptionalChain": "off"
},
"correctness": {
"noUnusedVariables": "warn",
"noInnerDeclarations": "off"
},
"style": {
"noParameterAssign": "off",
"useNumberNamespace": "off",
"useNodejsImportProtocol": "off"
}
}
}
}
Loading

0 comments on commit 8bfc21d

Please sign in to comment.