appium-adb 9.14.0 → 9.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +10 -11
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [9.14.2](https://github.com/appium/appium-adb/compare/v9.14.1...v9.14.2) (2023-07-07)
2
+
3
+
4
+ ### Miscellaneous Chores
5
+
6
+ * Bump prettier from 2.8.8 to 3.0.0 ([#682](https://github.com/appium/appium-adb/issues/682)) ([a2b4e6d](https://github.com/appium/appium-adb/commit/a2b4e6de31f7bd3d98a8202bdb2fcbde3ebee463))
7
+
8
+ ## [9.14.1](https://github.com/appium/appium-adb/compare/v9.14.0...v9.14.1) (2023-06-29)
9
+
10
+
11
+ ### Miscellaneous Chores
12
+
13
+ * add husky and commitlint ([75e86fc](https://github.com/appium/appium-adb/commit/75e86fc6d1bd2a691b3051656fa880503f62380d))
14
+
1
15
  ## [9.14.0](https://github.com/appium/appium-adb/compare/v9.13.3...v9.14.0) (2023-06-29)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appium-adb",
3
- "version": "9.14.0",
3
+ "version": "9.14.2",
4
4
  "description": "Android Debug Bridge interface",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {
@@ -9,8 +9,8 @@
9
9
  "dev": "npm run build -- --watch",
10
10
  "lint": "eslint .",
11
11
  "lint:fix": "npm run lint -- --fix",
12
- "precommit-lint": "lint-staged",
13
- "precommit-msg": "echo 'Pre-commit checks...' && exit 0",
12
+ "lint:staged": "lint-staged",
13
+ "lint:commit": "commitlint",
14
14
  "prepare": "npm run rebuild",
15
15
  "rebuild": "npm run clean && npm run build",
16
16
  "test": "mocha --exit --timeout 1m \"./test/unit/**/*-specs.js\"",
@@ -34,8 +34,9 @@
34
34
  "lib": "lib"
35
35
  },
36
36
  "lint-staged": {
37
- "*.js": [
38
- "eslint --fix"
37
+ "*.(js|ts)": [
38
+ "eslint --fix",
39
+ "prettier --write"
39
40
  ]
40
41
  },
41
42
  "prettier": {
@@ -66,14 +67,12 @@
66
67
  "teen_process": "^2.0.1",
67
68
  "utf7": "^1.0.2"
68
69
  },
69
- "pre-commit": [
70
- "precommit-msg",
71
- "precommit-lint"
72
- ],
73
70
  "devDependencies": {
74
71
  "@appium/eslint-config-appium": "^6.0.0",
75
72
  "@appium/test-support": "^3.0.1",
76
73
  "@appium/types": "^0.13.0",
74
+ "@commitlint/cli": "^17.6.6",
75
+ "@commitlint/config-conventional": "^17.6.6",
77
76
  "@semantic-release/changelog": "^6.0.1",
78
77
  "@semantic-release/git": "^10.0.1",
79
78
  "@types/async-lock": "^1.4.0",
@@ -96,10 +95,10 @@
96
95
  "eslint-plugin-import": "^2.26.0",
97
96
  "eslint-plugin-mocha": "^9.0.0",
98
97
  "eslint-plugin-promise": "^6.0.0",
98
+ "husky": "^8.0.3",
99
99
  "lint-staged": "^13.0.3",
100
100
  "mocha": "^10.0.0",
101
- "pre-commit": "^1.1.3",
102
- "prettier": "^2.7.1",
101
+ "prettier": "^3.0.0",
103
102
  "rimraf": "^5.0.0",
104
103
  "semantic-release": "^20.0.2",
105
104
  "sinon": "^15.0.0",