fix: resolve editor-github-actions-utils import in release-tag-creation [ED-24451]#44
Open
davseve wants to merge 2 commits into
Open
fix: resolve editor-github-actions-utils import in release-tag-creation [ED-24451]#44davseve wants to merge 2 commits into
davseve wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✨ PR Description
1. Problem & Context
The
release-tag-creationaction couldn't import utilities from theeditor-github-actions-utilspackage due to missing export configuration and incorrect module resolution. Switching to ES modules and fixing import paths resolves the dependency chain.2. What Changed (Where)
•
editor-github-actions-utils/src/index.ts: Added.tsextensions to exports for ES module compatibility•
editor-github-actions-utils/package.json: Converted to ES module with direct source entry point•
release-tag-creation/action.yml: Changed npm install to workspace-aware command•
release-tag-creation/package.json: Added missing dependency on@elementor/editor-github-actions-utils3. How It Works
The package exports are now ES module compliant with explicit file extensions. The
release-tag-creationaction installs from workspace root, gaining access to the published utility package dependency, eliminating import resolution failures.4. Risks
Minor: Direct source entry point (
src/index.ts) requires TypeScript support at runtime. Mitigation—consumers must have TypeScript tooling or build step configured; verifyrelease-tag-creationuses compatible loader.Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how