Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add generate command for faster build and baseline acceptance #1968

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Bashamega
Copy link
Contributor

Hello! 🙂

I’ve added a new generate command to the package.json scripts. This change will allow contributors to quickly run the build and baseline acceptance process with a single command, improving workflow efficiency.

Instead of manually running:

npm run build && npm run baseline-accept

Contributors can now simply execute:

npm run generate

Here’s how the updated scripts section will look:

"scripts": {
  "generate": "npm run build && npm run baseline-accept"
}

This small change should help make the development process smoother for everyone. Let me know if you have any questions or suggestions!

package.json Outdated
@@ -20,7 +20,8 @@
"changelog": "tsc && node ./lib/changelog.js",
"ts-changelog": "node ./deploy/versionChangelog.js",
"migrate": "node ./deploy/migrate.js",
"version": "npm i && tsc && node ./lib/version.js"
"version": "npm i && tsc && node ./lib/version.js",
"generate": "npm run generate"
Copy link
Contributor

Choose a reason for hiding this comment

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

It's calling itself but supposed to call build and baseline-accept, right? (please try it before filing a PR 😛, because I'm pretty sure this will hang when you run it)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

LMAO!
Sorry, I have added it by mistake. It is fixed rn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants