Skip to content

Document src/**/assets/README.md files about direct installation and recommended alternatives. #2612

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 2 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 #2595, related to #2575

@carsonbot carsonbot added Bug Bug Fix Feature New Feature Status: Needs Review Needs to be reviewed labels Mar 1, 2025
@Kocal Kocal added docs Improvements or additions to documentation and removed Bug Bug Fix Feature New Feature labels Mar 1, 2025
@Kocal Kocal merged commit b536b09 into symfony:2.x Mar 1, 2025
79 of 81 checks passed
@Kocal Kocal deleted the doc/npm-assets-sync-version branch March 1, 2025 16:48
Kocal added a commit that referenced this pull request Mar 1, 2025
…sions) can be installed/used inside an Encore App (Kocal)

This PR was squashed before being merged into the 2.x branch.

Discussion
----------

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

| 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 #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.

Commits
-------

2a65cb2 [CI] Add "test-app-encore-app" job, to ensure that JS packages are usable from `vendor/symfony/*` or from standalone JS packages
3720ba6 Update build-packages.php to cover `test_apps/*/`
c7debbf [TestApps] Introduce an EncoreApp with all UX PHP and JS packages required
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants