[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps bomb.sh/docs/clack/basics/getting-started/
cli command-line command-line-app node prompt prompts
5

Configure Feed

Select the types of activity you want to include in your feed.

ci: setup type-checking on PRs (#90)

authored by

Nate Moore and committed by
GitHub
(Mar 5, 2023, 2:50 PM -0600) f60f71d6 a7e6a5a6

+30 -5
+23
.github/workflows/lint.yml
··· 1 + name: Lint 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + pull_request: 8 + 9 + jobs: 10 + lint: 11 + name: Lint 12 + runs-on: ubuntu-latest 13 + steps: 14 + - uses: actions/checkout@v3 15 + - uses: pnpm/action-setup@v2 16 + - uses: actions/setup-node@v3 17 + with: 18 + node-version: 18 19 + cache: "pnpm" 20 + - if: ${{ steps.cache-node.outputs.cache-hit != 'true' }} 21 + run: pnpm install 22 + - run: pnpm build 23 + - run: pnpm type-check
+1
package.json
··· 12 12 "format": "pnpm run format:code", 13 13 "format:code": "prettier -w . --cache", 14 14 "format:imports": "organize-imports-cli ./packages/*/tsconfig.json", 15 + "type-check": "tsc", 15 16 "ci:version": "changeset version && pnpm install --no-frozen-lockfile", 16 17 "ci:publish": "changeset publish", 17 18 "ci:format": "pnpm run format:imports && pnpm run format:code"
+6 -5
tsconfig.json
··· 1 1 { 2 2 "compilerOptions": { 3 + "noEmit": true, 3 4 "module": "ESNext", 4 5 "target": "ESNext", 5 - "declaration": true, 6 6 "moduleResolution": "node", 7 - "emitDeclarationOnly": true, 8 7 "strict": true, 9 8 "esModuleInterop": true, 10 9 "forceConsistentCasingInFileNames": true, 11 - "allowJs": true, 12 - "types": ["node"] 13 - } 10 + "skipLibCheck": true, 11 + }, 12 + "include": [ 13 + "packages" 14 + ] 14 15 }