Fix export mapping pointing to invalid src folder#181
Merged
Elliot Huffman (elliot-huffman) merged 1 commit intoJul 22, 2026
Conversation
Release 3.0.1 and correct the root `exports` entry to point at `./bin/index.js` instead of the invalid `./bin/src/index.js`, so package consumers resolve the main import correctly.
There was a problem hiding this comment.
Pull request overview
This PR updates the package’s root export map so consumers can import from the package root (via the compiled bin/index.js) instead of an invalid bin/src/index.js path.
Changes:
- Fix the root
exports["."].importentry to point to./bin/index.js. - Bump package version from
3.0.0to3.0.1(and sync the lockfile).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Fixes the root export mapping and bumps the package version. |
| package-lock.json | Updates the lockfile version fields to match the package version bump. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
15
to
18
| "exports": { | ||
| ".": { | ||
| "import": "./bin/src/index.js" | ||
| "import": "./bin/index.js" | ||
| }, |
Contributor
Author
Contributor
Author
There was a problem hiding this comment.
AI is false positive because it's not accounting for this script:
"prebuild:Prod": "tsc -p prod.tsconfig.json --emitDeclarationOnly false",
Elliot Huffman (elliot-huffman)
approved these changes
Jul 22, 2026
Elliot Huffman (elliot-huffman)
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me!
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.


Correct the root
exportsentry to point at./bin/index.jsinstead of the invalid./bin/src/index.js, so package consumers resolve the main import correctly.Before change, imports must be:
import { eslintConfig } from '@shi-corp/development-utilities/optimized/lint/base.js'after change:
import { baseLintConfig } from '@software-hardware-integration-lab/development-utilities'Change is backwards compatible so won't break consumers that auto upgrade to 3.0.1 but keep previous import syntax