guibranco / gstraccini-bot-service

🤖 :octocat: GStraccini-bot automates repository management, ensuring organization and health by handling pull requests, issues, comments, and commits.
https://gstraccini.bot
MIT License
2 stars 0 forks source link

[FEATURE] Command to (re)generate `dist` files #594

Closed guibranco closed 6 days ago

guibranco commented 6 days ago

Summary

I would like to request a new command that automates (re)generating the dist files from a JavaScript/TypeScript project.

Description

The new command should:

  1. Run the command npm run package to generate or regenerate the dist files.
  2. Commit the updated dist files to the repository.
  3. Push the changes back to the repository.

This feature will automate the common task of building the production files and ensure they are always up-to-date in the repository.

Use Case

This feature would be helpful for projects that include built files (dist files) in version control, to streamline the process of keeping them in sync with the source code.

Example Workflow

  1. Developer runs the new command.
  2. The command executes npm run package, generates the dist files, commits them with a meaningful message (e.g., chore: update dist files), and pushes the commit to the remote branch.
gitauto-ai[bot] commented 6 days ago

Click the checkbox below to generate a PR!

@guibranco, You have 4 requests left in this cycle which refreshes on 2024-10-21 10:07:38+00:00. If you have any questions or concerns, please contact us at info@gitauto.ai.