Skip to content

Commit

Permalink
fix: move husky to root
Browse files Browse the repository at this point in the history
  • Loading branch information
arun3528 committed Jan 27, 2023
1 parent d04bc65 commit 36c6562
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 27 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,17 @@
"dev": "yarn workspace @webex/webrtc-core dev",
"start": "cd samples && yarn start"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"lint-staged": "^11.1.1"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --max-warnings=0",
"cspell"
]
},
"packageManager": "[email protected]"
}
14 changes: 1 addition & 13 deletions packages/webrtc-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
"repository": "https://github.com/webex/webrtc-core.git",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@microsoft/api-documenter": "^7.13.33",
"@microsoft/api-extractor": "^7.18.4",
"@rollup/plugin-commonjs": "^20.0.0",
Expand All @@ -46,7 +44,6 @@
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-jsdoc": "^35.5.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"karma": "6.3.15",
"karma-chai": "^0.1.0",
Expand All @@ -60,7 +57,6 @@
"karma-sauce-launcher": "^4.3.6",
"karma-typescript": "^5.5.2",
"karma-typescript-es6-transform": "^5.5.2",
"lint-staged": "^11.1.1",
"mocha": "^9.1.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
Expand All @@ -87,8 +83,7 @@
"fix": "run-s fix:*",
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"prepare": "husky install",
"release": "semantic-release",
"release": "CI=true yarn semantic-release",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",
"test:prettier": "prettier \"src/**/*.ts\" --list-different",
Expand All @@ -111,12 +106,5 @@
"js-logger": "^1.6.1",
"typed-emitter": "^2.1.0",
"webrtc-adapter": "^8.1.2"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --max-warnings=0",
"cspell"
]
}
}
31 changes: 17 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4926,12 +4926,22 @@ __metadata:
languageName: node
linkType: hard

"@webex/webrtc-core@npm:1.1.0, @webex/webrtc-core@workspace:packages/webrtc-core":
"@webex/webrtc-core@npm:1.1.0":
version: 1.1.0
resolution: "@webex/webrtc-core@npm:1.1.0"
dependencies:
events: "npm:^3.3.0"
js-logger: "npm:^1.6.1"
typed-emitter: "npm:^2.1.0"
webrtc-adapter: "npm:^8.1.2"
checksum: 98b105b765515d43dbcffe25800dd87560a7b87d01b5bf96ade8e6aa17e969790344102bb5d51e3e1efd401680b1dde8887ab607d7ec9444fec4480a9e111bfb
languageName: node
linkType: hard

"@webex/webrtc-core@workspace:packages/webrtc-core":
version: 0.0.0-use.local
resolution: "@webex/webrtc-core@workspace:packages/webrtc-core"
dependencies:
"@commitlint/cli": "npm:^12.1.4"
"@commitlint/config-conventional": "npm:^12.1.4"
"@microsoft/api-documenter": "npm:^7.13.33"
"@microsoft/api-extractor": "npm:^7.18.4"
"@rollup/plugin-commonjs": "npm:^20.0.0"
Expand All @@ -4958,7 +4968,6 @@ __metadata:
eslint-plugin-jsdoc: "npm:^35.5.0"
eslint-plugin-prettier: "npm:^3.4.0"
events: "npm:^3.3.0"
husky: "npm:^7.0.0"
jest: "npm:^27.0.6"
js-logger: "npm:^1.6.1"
karma: "npm:6.3.15"
Expand All @@ -4973,7 +4982,6 @@ __metadata:
karma-sauce-launcher: "npm:^4.3.6"
karma-typescript: "npm:^5.5.2"
karma-typescript-es6-transform: "npm:^5.5.2"
lint-staged: "npm:^11.1.1"
mocha: "npm:^9.1.2"
npm-run-all: "npm:^4.1.5"
prettier: "npm:^2.3.2"
Expand Down Expand Up @@ -11203,15 +11211,6 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^7.0.0":
version: 7.0.4
resolution: "husky@npm:7.0.4"
bin:
husky: lib/bin.js
checksum: 1d6dd7e973e7fab4316f767f3f8d76591a9857b3ad4fea2b371834afe2122d6567965b6c5a027040b403363c328d35871113d7f64586d7149b4b417c90554237
languageName: node
linkType: hard

"iconv-lite@npm:0.4.24":
version: 0.4.24
resolution: "iconv-lite@npm:0.4.24"
Expand Down Expand Up @@ -20713,6 +20712,10 @@ __metadata:
"webrtc-core-mono@workspace:.":
version: 0.0.0-use.local
resolution: "webrtc-core-mono@workspace:."
dependencies:
"@commitlint/cli": "npm:^12.1.4"
"@commitlint/config-conventional": "npm:^12.1.4"
lint-staged: "npm:^11.1.1"
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 36c6562

Please sign in to comment.