[PR #2085] [CLOSED] feat(javascript): resolve package pattern maps #5015

Closed
opened 2026-10-31 00:58:00 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/2085
Author: @NIU-123370
Created: 10/12/2026
Status: ❌ Closed

Base: main ← Head: codex/package-pattern-imports


📝 Commits (1)

  • 6c9eaea feat(javascript): resolve package pattern maps

📊 Changes

5 files changed (+199 additions, -29 deletions)

View changed files

📝 src/application/javascript/JavaScriptArtifactPathResolution.test.ts (+32 -4)
📝 src/application/javascript/JavaScriptArtifactPathResolution.ts (+48 -15)
📝 src/domain/javascript/javascriptPackageImportAliases.test.ts (+23 -4)
📝 src/domain/javascript/javascriptPackageImportAliases.ts (+48 -6)
📝 tests/boundary/filesystem/javascript-applications/javascriptModuleSpecifierPaths.test.ts (+48 -0)

📄 Description

Summary

  • Resolve single-wildcard package exports and imports patterns in the static JavaScript dependency graph.
  • Prefer exact keys, then apply Node-compatible prefix and suffix precedence.
  • Revalidate substituted targets through the existing package-boundary checks.

Verification

  • 171 focused domain, application, and filesystem boundary tests passed.
  • npm run check:fast passed.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/2085 **Author:** [@NIU-123370](https://github.com/NIU-123370) **Created:** 10/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `codex/package-pattern-imports` --- ### 📝 Commits (1) - [`6c9eaea`](https://github.com/morluto/rea/commit/6c9eaea0b24bb96504e153dcc323d38e71e0e4fc) feat(javascript): resolve package pattern maps ### 📊 Changes **5 files changed** (+199 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `src/application/javascript/JavaScriptArtifactPathResolution.test.ts` (+32 -4) 📝 `src/application/javascript/JavaScriptArtifactPathResolution.ts` (+48 -15) 📝 `src/domain/javascript/javascriptPackageImportAliases.test.ts` (+23 -4) 📝 `src/domain/javascript/javascriptPackageImportAliases.ts` (+48 -6) 📝 `tests/boundary/filesystem/javascript-applications/javascriptModuleSpecifierPaths.test.ts` (+48 -0) </details> ### 📄 Description ## Summary - Resolve single-wildcard package exports and imports patterns in the static JavaScript dependency graph. - Prefer exact keys, then apply Node-compatible prefix and suffix precedence. - Revalidate substituted targets through the existing package-boundary checks. ## Verification - 171 focused domain, application, and filesystem boundary tests passed. - npm run check:fast passed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 00:58:00 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#5015
No description provided.