Skip to content

Commit

Permalink
Merge pull request #25 from wtto00/dev
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
wtto00 authored May 15, 2024
2 parents e0f9005 + cb1aa6e commit 8794dab
Show file tree
Hide file tree
Showing 12 changed files with 1,102 additions and 951 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

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

This file was deleted.

2 changes: 1 addition & 1 deletion .lintstagedrc.cjs → .lintstagedrc.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
'*': ['prettier --write --ignore-unknown'],
'*.{js,mjs,cjs,ts,mts}': ['eslint --cache --fix'],
'*.{ts,mts,tsx}': [() => 'npm run tscheck']
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules\\typescript\\lib"
}
15 changes: 15 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import tseslint from 'typescript-eslint';

export default [
{ ignores: ['**/spec/coverage/**/*', '**/dist/**/*'] },
{ languageOptions: { globals: globals.node } },
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
{ ...pluginJs.configs.recommended },

...tseslint.config({
extends: tseslint.configs.recommendedTypeChecked,
languageOptions: { parserOptions: { project: true } }
})
];
37 changes: 20 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@wtto00/android-tools",
"version": "1.0.5",
"description": "Node module for managing and controlling the Android Devices.",
"packageManager": "[email protected]",
"type": "module",
"main": "dist/lib/index.cjs",
"module": "dist/esm/index.mjs",
Expand All @@ -20,10 +21,11 @@
"scripts": {
"build": "rm -rf dist && rollup -c",
"test": "jest --detectOpenHandles --verbose",
"lint": "eslint --fix --color .",
"lint": "eslint --color .",
"lint:fix": "eslint --fix --color .",
"format": "prettier . --write --ignore-unknown",
"tscheck": "tsc --noEmit --pretty -p ./tsconfig.json",
"prepare": "husky install && husky set .husky/pre-commit \"npx lint-staged\""
"prepare": "husky && echo npx lint-staged > .husky/pre-commit"
},
"repository": {
"type": "git",
Expand All @@ -45,25 +47,26 @@
},
"homepage": "https://github.com/wtto00/android-tools#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-typescript": "^11.1.3",
"@types/debug": "^4.1.9",
"@types/jest": "^29.5.4",
"@types/node": "^20.6.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@eslint/js": "^9.2.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.11",
"debug": "^4.3.4",
"eslint": "^8.57.0",
"husky": "^8.0.3",
"eslint": "^9.2.0",
"globals": "^15.2.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"rollup": "^3.29.1",
"rollup-plugin-dts": "^6.0.2",
"rollup": "^4.17.2",
"rollup-plugin-dts": "^6.1.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2"
"typescript": "^5.4.5",
"typescript-eslint": "^7.9.0"
}
}
Loading

0 comments on commit 8794dab

Please sign in to comment.