chore: remove unused generate-seed.ts and generate:seed script#987
Merged
pyramation merged 1 commit intomainfrom Apr 17, 2026
Merged
chore: remove unused generate-seed.ts and generate:seed script#987pyramation merged 1 commit intomainfrom
pyramation merged 1 commit intomainfrom
Conversation
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
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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
Removes the unused
generate-seed.tscodegen script from thenode-type-registrypackage. This script generated SQL seed files for thenode_type_registrytable inconstructive-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:
src/codegen/generate-seed.ts(288 lines)"generate:seed"script frompackage.jsonREADME.mdNo runtime code, exports, or the remaining
generate:typesscript are affected.Companion PR: constructive-io/constructive-db — updates docs/skills that referenced
node_type_registryas the source of truth to point to this npm package instead.Review & Testing Checklist for Human
generate-seed.ts(a quick grep forgenerate-seedorgenerate:seedacross the workspace)generate:typescodegen path is unaffected (the only remaining file insrc/codegen/)Notes
pnpm build) was verified to pass after the deletion.node_type_registrytable 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