-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Support positional parameters like `migra postgresql://a psotgresql://b` - Also support numbers - Also support booleans - `getInnerType` helper to more accurately inspect zod schemas - reorganise src dir into separate files rather than one 400+ line index.ts - udpate calculator example to use positional parameters so `calculator add 2 3` rather than `calculator add --left 2 --right 3` - more hand-written docs on how flags and positional parameters work - return `ignoredProcedures` instead of throwing when invalid - add a validation test --------- Co-authored-by: Misha Kaletsky <[email protected]>
- Loading branch information
Showing
12 changed files
with
1,175 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,9 @@ | |
"packageManager": "[email protected]", | ||
"scripts": { | ||
"prepare": "pnpm build", | ||
"lint": "eslint .", | ||
"lint": "eslint --max-warnings=0 .", | ||
"build": "tsc -p tsconfig.lib.json", | ||
"dev": "cd test/fixtures && tsx", | ||
"test": "vitest run" | ||
}, | ||
"repository": { | ||
|
Oops, something went wrong.