Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pgpm/core/src/export/export-migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,9 @@ const preparePackage = async ({
access: 'restricted',
license: 'CLOSED',
fullName,
...(email && { email })
...(email && { email }),
repoName: name,
username: 'constructive-io'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded organization-specific username in template answers

The username template answer is hardcoded to 'constructive-io' instead of being derived from available inputs or made configurable. Unlike fullName and email which are properly extracted from the author parameter via parseAuthor(), this value will be incorrect for any user or organization other than Constructive IO. Test snapshots show username is expected to be user-specific (e.g., "tester"). Generated modules will have incorrect ownership metadata, potentially affecting repository URLs or package attribution.

Fix in Cursor Fix in Web

}
});
} else {
Expand Down
Loading