Skip to content

fix: resolve editor-github-actions-utils import in release-tag-creation [ED-24451]#44

Open
davseve wants to merge 2 commits into
mainfrom
ED-24451-fix-package-ref
Open

fix: resolve editor-github-actions-utils import in release-tag-creation [ED-24451]#44
davseve wants to merge 2 commits into
mainfrom
ED-24451-fix-package-ref

Conversation

@davseve

@davseve davseve commented Jul 20, 2026

Copy link
Copy Markdown
Member

✨ PR Description

1. Problem & Context

The release-tag-creation action couldn't import utilities from the editor-github-actions-utils package 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 .ts extensions 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-utils

3. How It Works

The package exports are now ES module compliant with explicit file extensions. The release-tag-creation action 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; verify release-tag-creation uses 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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant