-
Notifications
You must be signed in to change notification settings - Fork 99
feat: created a script that merges all projects together - #1572
feat: created a script that merges all projects together #1572karlaalkhouri wants to merge 1 commit into
Conversation
PR Summary
-
Introduction of Project Metadata File
A new file namedpackage.jsonhas been created. This is like the ID card of our project, it contains information like the project's name, version, and a brief description. It also has instructions for building the project using our TypeScript and ESLint tools, so this file basically tells our tools what to do. -
Development of a Script for Merging Files
A new function namedrepo-mixing.jshas been added. Its function is to combine multiple JavaScript files or documents from different folders that already have thepackage.jsonfile into one single file. It's like gathering parts of a puzzle scattered in different boxes and compiling them together. This function also has its housekeeping duties, it can:- Create a new folder if one doesn't exist where it should
- Clean up old data before merging new parts
- Look for all the different pieces in directories with a
package.jsonand put all.jsfiles together, all the while keeping track of what it is doing.
davidverdu
commented
May 28, 2025
Thank you for your PR @karlaalkhouri . We have the concern that Booster relies on Rush to manage packages and you are suggesting that it coexist with npm. The issue is that they could interfere with each other. Could you integrate your solution with Rush, maybe as a Rush command?
Uh oh!
There was an error while loading. Please reload this page.
Description
Mix multiple booster projects into a single one.
Changes
repo-mixing.jsin the directoryscriptsthat merges all the.jsfiles from all the projects altogether and puts them in/dist/repo-mixing.jsinside the root project directorypackage.jsonfile inside the root project directoryChecks
npm installnpm run mixto merge the projectsAdditional information
This PR is for the issue #1514