Repository navigation
refactor: rename symbols to imports - #4052
Conversation
|
|
🦋 Changeset detectedLatest commit: 57fac5e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@hey-api/codegen-core
@hey-api/json-schema-ref-parser
@hey-api/nuxt
@hey-api/openapi-ts
@hey-api/shared
@hey-api/spec-types
@hey-api/types
@hey-api/vite-plugin
commit: |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4052 +/- ##
==========================================
+ Coverage 38.71% 38.73% +0.02%
==========================================
Files 626 626
Lines 21892 21878 -14
Branches 6408 6407 -1
==========================================
- Hits 8475 8474 -1
+ Misses 10933 10920 -13
Partials 2484 2484
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
ℹ️ Clean rename, two rough edges worth a look.
Reviewed changes — renames the plugin symbols concept to imports across the entire codebase, removes the external() shorthand from SymbolFactory, and updates all documentation and type definitions.
- Rename
PluginSymbols→PluginImportsin shared types (packages/shared/src/plugins/types.ts) - Rename
symbols→importsonPluginInstanceandPlugin.Config(packages/shared/src/plugins/shared/utils/instance.ts) - Remove
external()method fromSymbolFactory(packages/shared/src/utils/symbols.ts) — everything now uses the imports API - Rename
symbols.ts→imports.tsin all plugin packages with corresponding function/type renames;plugin.symbol()calls in imports functions replaced withfactory.register() - Update
.changeset/entries documenting the breaking changes across@hey-api/openapi-tsand@hey-api/shared - Update docs in migration guide and custom plugin guide (
web/src/content/docs/) - Fix unrelated
formatCompactrounding inweb/src/utils/npm.ts
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

No description provided.