Skip to content

Add db package entrypoints#4091

Open
Alex-Parejo wants to merge 1 commit into
SecureBananaLabs:mainfrom
Alex-Parejo:fix/db-package-entrypoint-4089
Open

Add db package entrypoints#4091
Alex-Parejo wants to merge 1 commit into
SecureBananaLabs:mainfrom
Alex-Parejo:fix/db-package-entrypoint-4089

Conversation

@Alex-Parejo

Copy link
Copy Markdown

Proposed Changes

  • Adds explicit main and types entrypoints to @freelanceflow/db.
  • Uses src/index.ts, matching the source-first workspace package style already used in this repo.
  • Keeps the fix limited to package metadata.

Proof

node -e "const fs=require('fs'); const p=JSON.parse(fs.readFileSync('packages/db/package.json','utf8')); if (p.main !== 'src/index.ts' || p.types !== 'src/index.ts') process.exit(1); console.log(JSON.stringify({name:p.name,main:p.main,types:p.types}))"
# {"name":"@freelanceflow/db","main":"src/index.ts","types":"src/index.ts"}

git diff --check
# passed

Related Issue

Fixes #4089

/claim #743

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.

@freelanceflow/db should declare package entrypoints

1 participant