Skip to content

chore: migrate internal schemas package to npm-hosted package#472

Draft
JoshMock wants to merge 9 commits into
mainfrom
schemas-pkg
Draft

chore: migrate internal schemas package to npm-hosted package#472
JoshMock wants to merge 9 commits into
mainfrom
schemas-pkg

Conversation

@JoshMock

@JoshMock JoshMock commented Jul 10, 2026

Copy link
Copy Markdown
Member

I'm working on a standalone package for storing all Zod schemas. This removes the bundled package and depends on that package. Not ready to merge until @elastic/schemas is published to npm.

Major changes:

  • packages/es-schemas/ no longer exists; imports @elastic/schemas instead
  • Zod dependency is removed in favor of ajv

Results:

  • npm pack (gzip of compiled source) size reduced from 26MB to 18MB
  • speed benchmarks: equivalent
  • heap usage benchmarks: equivalent

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 1 0 0 0.25s
✅ COPYPASTE jscpd yes no no 0.59s
✅ REPOSITORY gitleaks yes no no 61.58s
✅ REPOSITORY git_diff yes no no 0.07s
✅ REPOSITORY secretlint yes no no 3.21s
✅ REPOSITORY trivy yes no no 20.84s
✅ TYPESCRIPT eslint 58 0 0 9.07s
✅ YAML yamllint 2 0 0 0.83s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@JoshMock
JoshMock force-pushed the schemas-pkg branch 3 times, most recently from d6ef7f3 to 62d5772 Compare July 22, 2026 17:13
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

🔍 Preview links for changed docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant