Skip to content

Commit

Permalink
Make typescript as an optional peer dep
Browse files Browse the repository at this point in the history
- Update packages
  • Loading branch information
chungweileong94 committed Nov 7, 2023
1 parent 2310782 commit 2ab7571
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/grumpy-ligers-knock.md
@@ -0,0 +1,5 @@
---
'eslint-config-whiteroom': patch
---

Make `typescript` as an optional peer dependency
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -3,7 +3,7 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"eslint": "^8.44.0",
"eslint": "^8.0.0",
"prettier": "^3.0.3"
},
"packageManager": "pnpm@8.0.0"
Expand Down
18 changes: 11 additions & 7 deletions packages/eslint-config-whiteroom/package.json
Expand Up @@ -13,17 +13,21 @@
},
"homepage": "https://github.com/chungweileong94/eslint-config-whiteroom#readme",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-import-helpers": "1.3.1"
},
"peerDependencies": {
"eslint": "^8.44.0",
"typescript": "^5.1.6"
"eslint": "^8.0.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"devDependencies": {
"eslint": "^8.44.0"
"eslint": "^8.0.0"
}
}

0 comments on commit 2ab7571

Please sign in to comment.