Skip to content

[@corbits/artifacts] publish-prep: publishConfig + exports - #23

Merged
TheGreatAxios merged 3 commits into
mainfrom
cl-8963-corbitsartifacts-publish-prep-publishconfig-exports
Sep 25, 2026
Merged

TheGreatAxios merged 3 commits into
mainfrom
cl-8963-corbitsartifacts-publish-prep-publishconfig-exports

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Publish prep for @corbits/artifacts (CL-8963):

  • Add "publishConfig": { "access": "public" } so scoped package publishes publicly.
  • Rename exports condition key bun -> intx-src on both subpaths (. and ./sidecar-bundle), keeping targets and types/default order.
  • Verified files list; no version change, no bundler, no publish.

Verification:

  • bun install exit 0
  • bun run build exit 0
  • npm pack --dry-run succeeds
  • Node smoke: import.meta.resolve('@corbits/artifacts') -> dist/index.js, sidecar-bundle -> dist/sidecar-bundle.js

Fixes CL-8963

…, canonical build config

- exports: drop intx-src from both subpaths, keep {types, default}
- top-level main + types already present, kept
- add sideEffects:false (verified: no import-time I/O, global mutation, or CSS imports in src; only function-scoped DB handle creation in db.ts; process.env only in excluded test-helpers.ts)
- tsconfig.build.json: NodeNext module/resolution, maps off, allowImportingTsExtensions:false, composite:false, include:[src]
@TheGreatAxios
TheGreatAxios merged commit 026f583 into main Sep 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant