chore: prepare package for npm publishing (NodeNext, exports, v1.1.1)#2
Merged
Conversation
- NodeNext build with explicit .js relative imports - package.json exports, files, prepack/prepublishOnly, v1.1.1 - MIT LICENSE, materials-extension barrel, exclude src/test.ts from build - README publishing notes, CHANGELOG, CI frozen lockfile
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.
Summary
Prepares
three-mffor npm publishing with Node-compatible ESM (NodeNext), explicit.jsrelative imports, and packageexports(v1.1.1).Changes
Build & module resolution
tsconfig.build.json:module/moduleResolution→NodeNext.json relativefrom/export * fromimports acrosssrc/src/test.tsfrom the buildPackage (v1.1.1)
exports:.,./production-extension,./materials-extensionfiles,prepack,prepublishOnly, metadata cleanupNew / docs / CI
LICENSEsrc/materials-extension/index.tsbarrelValidation
bun run buildbun test— 111 passed, 0 failednpm pack --dry-run— 87 files, nosrc/testin tarballthree-mf,three-mf/production-extension,three-mf/materials-extension