build: add scripts to the mono repository#44
Merged
baptistegrimaud merged 2 commits intomainfrom Feb 7, 2025
Merged
Conversation
a5d284c to
51e741e
Compare
GauBen
reviewed
Feb 7, 2025
1b79e2a to
65a6a72
Compare
2 tasks
baptistegrimaud
pushed a commit
that referenced
this pull request
Feb 25, 2025
* BACKLOG-23228: folder structure for simple elements * README.txt to .md for /settings directory instructions * missing rename for README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Copy the build scripts (to
compile, clean, build, pack,deployand watch) from https://github.com/Jahia/javascript-components/ to this repository, so the project can get rid of the dependency towards@jahia/scripts dependency.Example of cleanup in Luxe: Jahia/luxe-jahia-demo#178
When the
@jahia/javascript-modules-librarydependency is added to a project, the following commands are exposed:jahia-build: simply calls the production build (jahia-build_production)jahia-build_development: builds the project with webpack using the development modejahia-build_production: builds the project with webpack default mode (production)jahia-clean: cleans the generated folder created by the build (dist/)jahia-deploy: builds the project if needed, then deploys the.tgzfile to a running Jahia instance (via Docker or curl)jahia-watch: watches for changes and automatically build and deploy them to a running Jahia instance