Skip to content

Commit

Permalink
include scripts in ts-config (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
luantr authored Dec 22, 2023
1 parent 475828b commit 763684a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ Nå er du klar til å bruke `ecli`!
<!-- COMPUTER SAYS DON'T TOUCH THIS START -->

* `test` - Dette er esyfos aller første kommando
* `marius` - Dette er en ny test
* `henrik` - Dette er en ny test

<!-- COMPUTER SAYS DON'T TOUCH THIS END -->

Expand Down
1 change: 0 additions & 1 deletion scripts/update-readme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import path from 'node:path'

// @ts-ignore bun script doesn't like importing src
import { getYargsParser } from '../src/yargs-parser'

const availableCommands = await Promise.all(
Expand Down
6 changes: 2 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"types": [
"bun-types" // add Bun global
]
"types": ["bun-types"]
},
"include": ["./esyfo-cli/package.json", "src/**/*"]
"include": ["./esyfo-cli/package.json", "src/**/*", "scripts/**/*"]
}

0 comments on commit 763684a

Please sign in to comment.