Skip to content

Commit fad3b27

Browse files
committed
feat: add ignore option and simplify passing sources to glob
1 parent f46caad commit fad3b27

File tree

4 files changed

+2870
-2363
lines changed

4 files changed

+2870
-2363
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ module.exports = {
2525
/** @type {import('docusaurus-plugin-react-docgen-typescript').Options} */
2626
{
2727
// pass in a single string or an array of strings
28-
src: ["path/to/**/*.tsx", "!path/to/**/*test.*"],
28+
src: ["path/to/**/*.tsx"],
29+
ignore: ["path/to/**/*test.*"],
2930
parserOptions: {
3031
// pass parserOptions to react-docgen-typescript
3132
// here is a good starting point which filters out all

package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,28 +55,28 @@
5555
"prepare": "is-ci || husky install"
5656
},
5757
"dependencies": {
58-
"glob": "^10.3.15"
58+
"glob": "^11.0.0"
5959
},
6060
"devDependencies": {
61-
"@arethetypeswrong/cli": "^0.15.3",
62-
"@commitlint/cli": "^19.3.0",
63-
"@commitlint/config-conventional": "^19.2.2",
61+
"@arethetypeswrong/cli": "^0.17.2",
62+
"@commitlint/cli": "^19.6.1",
63+
"@commitlint/config-conventional": "^19.6.0",
6464
"@djthoms/eslint-config": "^6.4.2",
6565
"@djthoms/prettier-config": "^4.4.1",
66-
"@docusaurus/types": "^3.3.2",
66+
"@docusaurus/types": "^3.7.0",
6767
"@semantic-release/changelog": "^6.0.3",
6868
"@semantic-release/git": "^10.0.1",
69-
"@types/node": "^20.12.12",
70-
"@types/react": "^18.3.2",
71-
"husky": "^9.0.11",
69+
"@types/node": "^22.10.5",
70+
"@types/react": "^18.3.18",
71+
"husky": "^9.1.7",
7272
"is-ci": "^3.0.1",
73-
"lint-staged": "^15.2.2",
73+
"lint-staged": "^15.3.0",
7474
"npm-run-all": "^4.1.5",
7575
"react": "^18.3.1",
7676
"react-docgen-typescript": "^2.2.2",
77-
"semantic-release": "^23.1.1",
78-
"tsup": "^8.0.2",
79-
"typescript": "^5.4.5"
77+
"semantic-release": "^24.2.1",
78+
"tsup": "^8.3.5",
79+
"typescript": "^5.7.2"
8080
},
8181
"peerDependencies": {
8282
"react": ">=16.8.0",

0 commit comments

Comments
 (0)