Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
feat: support for esm builds (#290)
Browse files Browse the repository at this point in the history
* feat: support for esm builds

* fix: tsconfig
  • Loading branch information
erunion authored Sep 1, 2023
1 parent 22ee07d commit d115d70
Show file tree
Hide file tree
Showing 6 changed files with 552 additions and 4,928 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lockfile-version=3
1 change: 1 addition & 0 deletions __tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ describe('#validate', () => {

// Skipping because the `chalk` dependency of `better-ajv-errors` within `openapi-parser` has
// issues in CI. Test works fine locally though!
// eslint-disable-next-line vitest/no-disabled-tests
it.skip('should colorize errors when `opts.colorizeErrors` is present', async () => {
const o = new OASNormalize(require.resolve('./__fixtures__/invalid/openapi-3.1.json'), {
colorizeErrors: true,
Expand Down
Loading

0 comments on commit d115d70

Please sign in to comment.