Skip to content

Commit 182f01f

Browse files
committed
minor #2709 [StimulusBundle] Make the JS package private (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- [StimulusBundle] Make the JS package private | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | yes <!-- required for new features --> | 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. - Update/add documentation as required (we can help!) - 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). --> This PR follows #2708 The npm package ``@symfony`/stimulus-bundle` was accidentally published on npm when I was working on the "Symfony UX on NPM" project, but when I realized it was to late to unpublish it. Today, I was able to unpublish the package from npm. I'm now making the package **private**, so it won't be released anymore (until a solution is implemented) Commits ------- f1b2ebf [StimulusBundle] Make the JS package private
2 parents 61819ae + f1b2ebf commit 182f01f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/StimulusBundle/assets/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
JavaScript assets of the [symfony/stimulus-bundle](https://packagist.org/packages/symfony/stimulus-bundle) PHP package.
44

5-
This package is private and is not intended to be published on npm or installed.
5+
## Installation
66

7-
If you're looking for a npm package to integrate Stimulus in your Symfony application, you may be looking for the [`@symfony/stimulus-bridge`](https://www.npmjs.com/package/@symfony/stimulus-bridge) package.
7+
Due to compatibility issues with JSDelivr causing the package not to work as expected, the package is not yet released on NPM.
8+
Read more at [symfony/ux#2708](https://github.com/symfony/ux/issues/2708).
89

910
## Resources
1011

src/StimulusBundle/assets/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@symfony/stimulus-bundle",
33
"description": "Integration of @hotwired/stimulus into Symfony",
4+
"private": "true",
45
"license": "MIT",
56
"version": "2.24.0",
67
"keywords": [

0 commit comments

Comments
 (0)