Skip to content

Conversation

@crisbeto
Copy link
Member

These changes add a script for publishing the package to npm, as well as some smaller fixes.

Sets up a script that we can use to publish to npm so that we don't have to remember the steps.
Fixes that one of the keywords in the `package.json` had a typo.
* Limits the size of boxes to the terminal width.
* Logs relative paths to the output directory, instead of absolute ones.
Fixes that the `hr` elements that were being generated in the markdown didn't match the rest of the app.
@crisbeto crisbeto requested a review from devversion September 19, 2025 09:46
@crisbeto crisbeto merged commit b36ae14 into angular:main Sep 19, 2025
3 checks passed
required: true,
});

// Build the project.
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is great, thanks @crisbeto!

I have a feature request :) Can we add a quick check to make sure that the repo is "clean" (no uncommitted local changes) and we are on the right branch (the "main" one)?

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.

3 participants