Skip to content

Commit

Permalink
Uchore: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
j4ckofalltrades committed Apr 27, 2024
1 parent d0958e0 commit 77b5614
Show file tree
Hide file tree
Showing 6 changed files with 3,051 additions and 2,458 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
version: 9
run_install: false

- name: Build
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '20.x'

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
version: 9
run_install: false

- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.0
v20.1.0
17 changes: 17 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import eslintConfigPrettier from "eslint-config-prettier"

export default [
eslintConfigPrettier,
{
languageOptions: {
sourceType: "module",
ecmaVersion: 2017,
},
rules: {
indent: ["error", 2],
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "never"],
},
},
]
45 changes: 7 additions & 38 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,56 +2,25 @@
"name": "joy-con-drum-kit",
"version": "1.0.0",
"description": "Joy-Con Drum Kit",
"type": "module",
"scripts": {
"build": "parcel build src/index.html --public-url ./ --no-source-maps",
"start": "parcel src/index.html --open chrome",
"prepare": "husky install",
"lint": "eslint --cache src",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "Jordan Duabe @j4ckofalltrades <[email protected]>",
"license": "MIT",
"devDependencies": {
"eslint": "^8.51.0",
"eslint": "^9.1.1",
"eslint-config": "^0.3.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.11",
"joy-con-webhid": "^0.7.0",
"lint-staged": "^14.0.1",
"parcel": "^2.9.3",
"prettier": "^3.0.3"
},
"eslintConfig": {
"env": {
"browser": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2017
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"never"
]
}
"lint-staged": "^15.2.2",
"parcel": "^2.12.0",
"prettier": "^3.2.5"
},
"prettier": {
"printWidth": 120,
Expand Down
Loading

0 comments on commit 77b5614

Please sign in to comment.