Skip to content

chore(CI): clean up semantic-release setup#142

Merged
emmclaughlin merged 1 commit intomainfrom
evan/update-semantic-release-action
Jan 30, 2026
Merged

chore(CI): clean up semantic-release setup#142
emmclaughlin merged 1 commit intomainfrom
evan/update-semantic-release-action

Conversation

@emmclaughlin
Copy link
Collaborator

No description provided.

fs.writeFileSync(destination, file.toString().replace(/dist\//g, ""));
const packageJson = JSON.parse(file.toString().replace(/dist\//g, ""));

// Remove fields that shouldn't be in the published package

Choose a reason for hiding this comment

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

I will trust you that we should really be deleting all these...

For my understanding though, what's the goal here? Trying to put out a new release and the old release method is out of date so need to update?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, we used to use an NPM token but NPM deprecated using those for releases. Trying to move to the new method, but finding some issues with our original setup that is blocking. E.g. I think we should have always been removing these fields from the dist version of the package.json so they are not relevant to the final build

@emmclaughlin emmclaughlin merged commit 150aff3 into main Jan 30, 2026
3 checks passed
@emmclaughlin emmclaughlin deleted the evan/update-semantic-release-action branch January 30, 2026 15:12
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.

2 participants

Comments