Skip to content

Commit

Permalink
Update dependencies (#20)
Browse files Browse the repository at this point in the history
* update eslint-related packages

* update prettier

* update rollup and typescript

* update canvas

* update tsm

* update @types/node

* update rollup.config.js

* update prettier config

* update the tsconfig settings

* workaround version.d.ts not being generated

* update ci workflows
  • Loading branch information
JeanJPNM committed Jul 18, 2023
1 parent 4291f19 commit d6b0bd0
Show file tree
Hide file tree
Showing 17 changed files with 703 additions and 378 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: 16
- run: npm i -g pnpm
- uses: pnpm/action-setup@v2
- run: pnpm i
- name: Run tests
run: npm test
run: pnpm test
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 14
- run: npm i -g pnpm
node-version: 16
- uses: pnpm/action-setup@v2
- run: pnpm install
- run: pnpm test
- uses: JS-DevTools/npm-publish@v1
Expand Down
5 changes: 3 additions & 2 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"arrowParens": "avoid",
"singleQuote": true,
"semi": false,
"endOfLine": "crlf"
}
"endOfLine": "crlf",
"trailingComma": "es5"
}
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,24 +28,24 @@
"license": "ISC",
"packageManager": "pnpm@7.0.0",
"dependencies": {
"canvas": "^2.10.2",
"canvas": "^2.11.2",
"pako": "^2.1.0",
"pkg-dir": "^7.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.0",
"@types/node": "^14.17.0",
"@rollup/plugin-typescript": "^11.1.2",
"@types/node": "^14.18.53",
"@types/pako": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.5.1",
"rollup": "^2.67.3",
"tsm": "^2.2.1",
"typescript": "^4.5.5",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.0",
"rollup": "^3.26.2",
"tsm": "^2.3.0",
"typescript": "^5.1.6",
"uvu": "^0.5.3"
},
"files": [
Expand All @@ -63,4 +63,3 @@
},
"homepage": "https://github.com/JeanJPNM/mindustry-schematic-parser#readme"
}

0 comments on commit d6b0bd0

Please sign in to comment.