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

build: add a dev mode for prepack npm step #1331

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Conversation

pdesoyres-cc
Copy link
Contributor

When we build the components for testing integration inside the console, we don't want the full prepack process to be executed (tests, lint, documentation, etc.)

This PR splits the prepack script into 2 sub npm scripts:

  • The dev mode runs only the components:build
  • The prod mode runs the full build and code quality checking

The prepack step will check for the DEV env var to run one or the other mode.

Copy link
Contributor

🔎 A preview has been automatically published : https://clever-components-preview.cellar-c2.services.clever-cloud.com/prepack-for-dev/index.html.

This preview will be deleted once this PR is closed.

@pdesoyres-cc pdesoyres-cc merged commit e208aa7 into master Feb 17, 2025
4 checks passed
@pdesoyres-cc pdesoyres-cc deleted the prepack-for-dev branch February 17, 2025 16:05
Copy link
Contributor

🔎 The preview has been automatically deleted.

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.

2 participants