Skip to content

[CI] Ensure JS packages (either from vendor/ or npm versions) can be installed/used inside an Encore App #2613

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

Merged
merged 3 commits into from
Mar 1, 2025

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Mar 1, 2025

Q A
Bug fix? no
New feature? no
Issues Fix #...
License MIT

Follow #2612

This PR add a new E2E test to ensure, inside a Symfony app, that our JS packages (either from vendor/symfony/ux-* or from standalone ones from src/*/assets/npm) are usable inside a real application using a package.json and Encore.

@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Mar 1, 2025
@Kocal Kocal added the DX label Mar 1, 2025
@Kocal Kocal force-pushed the ci-npm-tests branch 8 times, most recently from b20a961 to 2b4cb23 Compare March 1, 2025 21:36
…able from `vendor/symfony/*` or from standalone JS packages
@Kocal Kocal changed the title [CI] Test that JS packages from vendor/symfony/ and new standalone JS packages can be installed and used inside an Encore App [CI] Ensure JS packages (either from vendor/ or npm versions) can be installed/used inside an Encore App Mar 1, 2025
@Kocal Kocal merged commit 0c66d96 into symfony:2.x Mar 1, 2025
77 of 79 checks passed
Kocal added a commit that referenced this pull request Mar 2, 2025
This PR was merged into the 2.x branch.

Discussion
----------

[CI] Refactor some steps in test-app-encore-app job

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Issues        | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

<!--
Replace this notice by a description of your feature/bugfix.
This will help reviewers and should be a good start for the documentation.

Additionally (see https://symfony.com/releases):
 - Always add tests and ensure they pass.
 - For new features, provide some code snippets to help understand usage.
 - Features and deprecations must be submitted against branch main.
 - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry
 - Never break backward compatibility (see https://symfony.com/bc).
-->
Follow #2613

Commits
-------

365888a [CI] Refactor some steps in test-app-encore-app job
@Kocal Kocal deleted the ci-npm-tests branch April 5, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants