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

Lerna #33

Merged
merged 7 commits into from
Apr 4, 2023
Merged

Lerna #33

merged 7 commits into from
Apr 4, 2023

Conversation

floscher
Copy link
Contributor

@fumiX/entwickler Ich hab mir mal ein bisschen Lerna angeschaut. Das ging recht fix aufzusetzen und scheint auch ein paar Verbesserungen für den Build mitzubringen.

An den Kommandos fürs Bauen ändert sich nix, aber diese Tasks delegieren im Hintergrund an Lerna bzw. Nx:

  • npm run build: Die Projekte werden in topologischer Reihenfolge gebaut, soweit es geht parallel und die Buildergebnisse werden gecacht
  • npm run lint: Wird für alle Module parallel ausgeführt und Ergebnis gecacht → schneller
  • npm run lintfix: Wird für alle Module parallel ausgeführt → schneller

Für das start-Skript wäre das bestimmt auch sinnvoll, um automatisch bei Änderungen die richtigen Module neu zu bauen und die App neu zu starten.

@floscher floscher merged commit a29bce4 into fumiX:main Apr 4, 2023
@floscher floscher deleted the lerna branch April 6, 2023 10:39
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.

1 participant