scalar / openapi-parser

Modern OpenAPI parser written in TypeScript
MIT License
26 stars 7 forks source link

chore: update build setup, fix #134 #127

Closed hanspagel closed 3 weeks ago

hanspagel commented 1 month ago

This PR tries to bring the build setup closer to what we do in scalar/scalar:

https://github.com/scalar/scalar/blob/main/packages/build-tooling/src/build-options.ts

Here’s some of the noteworthy changes:

Fixes #134.

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 349ddaa1c6edec5094d721a49377d41fa120ff8e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

relativeci[bot] commented 1 month ago

#114 Bundle Size — 74.91KiB (-35.66%).

349ddaa(current) vs 8d8aa80 main#112(baseline)

Bundle metrics  Change 2 changes Improvement 1 improvement
                 Current
#114
     Baseline
#112
Improvement  Initial JS 74.91KiB(-35.66%) 116.42KiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 100% 0%
No change  Chunks 45 45
No change  Assets 45 45
No change  Modules 45 45
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
No change  Packages 0 0
No change  Duplicate Packages 0 0

Bundle size by type  Change 1 change Improvement 1 improvement
|            |       Current
[#114](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/114-G0ftFsVauby0nD3w0lmr?utm_source=github&utm_medium=pr-report "View bundle analysis report") |      Baseline
[#112](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/112-rwOKxS6AqXHxGSRP6LAF?utm_source=github&utm_medium=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | Improvement  [JS](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/114-G0ftFsVauby0nD3w0lmr/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View JS assets") | `74.91KiB` (`-35.66%`) | `116.42KiB` |

Bundle analysis reportBranch chore/build-setupProject dashboard

cloudflare-pages[bot] commented 1 month ago

Deploying openapi-parser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 349ddaa
Status: ✅  Deploy successful!
Preview URL: https://f439a527.openapi-parser.pages.dev
Branch Preview URL: https://chore-build-setup.openapi-parser.pages.dev

View logs