Skip to content

Commit

Permalink
fix: #57 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalics committed Aug 8, 2024
1 parent 539d22f commit c71cba9
Show file tree
Hide file tree
Showing 9 changed files with 395 additions and 33 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ CONTRIBUTING.md
CHANGELOG.md
UPCOMING.md
SECURITY.md
vitest*
47 changes: 22 additions & 25 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,29 @@
"version": "0.2.0",
"configurations": [
{
"type": "bun",
"name": "tsx",
"type": "node",
"request": "launch",
"name": "Debug Bun",
// The path to a JavaScript or TypeScript file to run.
// Debug current file in VSCode
"program": "${file}",
// The arguments to pass to the program, if any.
"args": [],
// The working directory of the program.
"cwd": "${workspaceFolder}",
// The environment variables to pass to the program.
"env": {},
// If the environment variables should not be inherited from the parent process.
"strictEnv": false,
// If the program should be run in watch mode.
// This is equivalent to passing `--watch` to the `bun` executable.
// You can also set this to "hot" to enable hot reloading using `--hot`.
"watchMode": false,
// If the debugger should stop on the first line of the program.
"stopOnEntry": false,
// If the debugger should be disabled. (for example, breakpoints will not be hit)
"noDebug": false,
// The path to the `bun` executable, defaults to your `PATH` environment variable.
"runtime": "bun",
// The arguments to pass to the `bun` executable, if any.
// Unlike `args`, these are passed to the executable itself, not the program.
"runtimeArgs": [],
},
/*
* Path to tsx binary
* Assuming locally installed
*/
"runtimeExecutable": "tsx",
/*
* Open terminal when debugging starts (Optional)
* Useful to see console.logs
*/
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
// Files to exclude from debugger (e.g. call stack)
"skipFiles": [
// Node.js internal core modules
"<node_internals>/**",
// Ignore all dependencies (optional)
"${workspaceFolder}/node_modules/**",
],
}
]
}
22 changes: 19 additions & 3 deletions UPCOMING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# 0.8
# x.x.x

features:
Fixes:

- Benhmark
- Issue [#57](https://github.com/vitalics/ajv-ts/issues/57) - `merge` construct schema with `undefined` fields.
- Extend don't update `def` property.
- Advanced TS type for `.array()` call.

Chore:

- Move bech under `tests` folder

Infra:

- Configure vitest config file for testing and enable github actions reporter for CI
- Add `tsx` package for inspection.
- Update launch.json file for vscode debugger

Tests:

- add [#57](https://github.com/vitalics/ajv-ts/issues/57) issue test for `object` type.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"eslint-plugin-import": "2.25.2",
"eslint-plugin-n": "15.0.0",
"tsup": "8.1.0",
"tsx": "4.17.0",
"typescript": "5.5.3",
"vitest": "1.6.0"
},
Expand Down
Loading

0 comments on commit c71cba9

Please sign in to comment.