Skip to content

chore: remove unused generate-seed.ts and generate:seed script#987

Merged
pyramation merged 1 commit intomainfrom
devin/1776387099-cleanup-generate-seed
Apr 17, 2026
Merged

chore: remove unused generate-seed.ts and generate:seed script#987
pyramation merged 1 commit intomainfrom
devin/1776387099-cleanup-generate-seed

Conversation

@pyramation
Copy link
Copy Markdown
Contributor

Summary

Removes the unused generate-seed.ts codegen script from the node-type-registry package. This script generated SQL seed files for the node_type_registry table in constructive-db, but was never actually used — the table is not queried at runtime and all 55 node type definitions live in this package's TypeScript source as the single source of truth.

Changes:

  • Delete src/codegen/generate-seed.ts (288 lines)
  • Remove "generate:seed" script from package.json
  • Remove "Codegen: SQL seed" section from README.md

No runtime code, exports, or the remaining generate:types script are affected.

Companion PR: constructive-io/constructive-db — updates docs/skills that referenced node_type_registry as the source of truth to point to this npm package instead.

Review & Testing Checklist for Human

  • Verify nothing else in the monorepo imports or references generate-seed.ts (a quick grep for generate-seed or generate:seed across the workspace)
  • Confirm the generate:types codegen path is unaffected (the only remaining file in src/codegen/)

Notes

  • Package build (pnpm build) was verified to pass after the deletion.
  • The node_type_registry table schema in constructive-db is intentionally left in place (harmless); only documentation references were updated in the companion PR.

Link to Devin session: https://app.devin.ai/sessions/61be2d8e471048e294178e4a95d7e9dc
Requested by: @pyramation

The generate-seed.ts script generated SQL seed files for the
node_type_registry table in constructive-db, but was never actually
used — the table is unused at runtime and all 55 node type definitions
live in this package's TypeScript source.

- Delete src/codegen/generate-seed.ts
- Remove generate:seed script from package.json
- Remove seed generation section from README.md
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@pyramation pyramation merged commit d330f0f into main Apr 17, 2026
49 checks passed
@pyramation pyramation deleted the devin/1776387099-cleanup-generate-seed branch April 17, 2026 03:01
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