Skip to content

Commit

Permalink
fix: allow description in command flags (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
privatenumber authored Jan 24, 2022
1 parent a766c57 commit 3d5d19e
Show file tree
Hide file tree
Showing 5 changed files with 319 additions and 7 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npx ci
- name: Build
run: npm run build
- name: Lint
if: ${{ matrix.node-version == '14.x' }}
run: npm run lint
- name: Test
run: npm run test --if-present
run: npm run test
- name: Test DTS
run: npm run test:dts
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"scripts": {
"build": "tsup src/index.ts --dts --format esm,cjs --minify",
"lint": "eslint .",
"test": "CI=true jest"
"test": "CI=true jest",
"test:dts": "tsd"
},
"husky": {
"hooks": {
Expand All @@ -48,7 +49,7 @@
},
"dependencies": {
"terminal-columns": "^1.4.1",
"type-flag": "^2.0.0"
"type-flag": "^2.0.1"
},
"devDependencies": {
"@pvtnbr/eslint-config": "^0.11.0",
Expand All @@ -61,6 +62,7 @@
"husky": "^4.3.8",
"jest": "^27.4.7",
"lint-staged": "^12.1.2",
"tsd": "^0.19.1",
"tsup": "^5.11.10",
"typescript": "^4.5.4"
},
Expand All @@ -69,5 +71,8 @@
"rules": {
"unicorn/no-process-exit": "off"
}
},
"tsd": {
"directory": "tests"
}
}
Loading

0 comments on commit 3d5d19e

Please sign in to comment.