mirror of
https://github.com/symfony/stimulus-testing.git
synced 2026-04-24 00:58:03 +02:00
[PR #4] [MERGED] Removing dist/ & testing against Stimulus 3 #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/symfony/stimulus-testing/pull/4
Author: @weaverryan
Created: 9/27/2021
Status: ✅ Merged
Merged: 11/24/2021
Merged by: @tgalopin
Base:
main← Head:stimulus3📝 Commits (1)
3c7697aRemoving dist/ & testing against Stimulus 3📊 Changes
8 files changed (+15 additions, -56 deletions)
View changed files
📝
.babelrc(+1 -2)📝
.github/workflows/test.yaml(+2 -2)📝
README.md(+2 -4)➖
dist/index.js(+0 -30)📝
package.json(+3 -10)📝
setup.js(+1 -1)📝
src/setup.js(+4 -5)📝
test/controller.test.js(+2 -2)📄 Description
Hi!
This was mainly motivated to add support for Stimulus 3... but I think the library already supports it just fine, as this library never actually imports Stimulus itself (other than in a test file).
So, this PR includes a number of other "chores" that we should handle:
dist/directory is not needed, because this is used purely as a node package. Babel IS still there, because it's used by jest to transform the test controller file.src/setup.jsfile was missing (there was adist/setup.jsfile but the original source file was missing - but easily reproduceable).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.