-
-
Notifications
You must be signed in to change notification settings - Fork 953
feat: use jquery package #3540
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
feat: use jquery package #3540
Conversation
This comment has been minimized.
This comment has been minimized.
939f01c
to
fbbac8e
Compare
This comment has been minimized.
This comment has been minimized.
If this is going to be included in the next version I think we need to merge this ASAP. It can produce errors if some import is forgotten that can be difficult to detect until tested. |
hey, this will be my focus tomorrow. It's one of the pre-cursors for whole web work I'm doing so want to get it in ASAP as well. Everything seems to be working fine, just have few tabs where some of the jquery plugins we use don't register properly 🤷 |
fbbac8e
to
2807eb9
Compare
2807eb9
to
b3e51dd
Compare
"resolutions": { | ||
"jquery": "3.6.3" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is to prevent clash of different jquery versions when plugins are loaded in.
This comment has been minimized.
This comment has been minimized.
Testing now (fails on tab led strip):
|
b3e51dd
to
4847750
Compare
Kudos, SonarCloud Quality Gate passed!
|
Do you want to test this code? Here you have an automated build: |
AUTOMERGE: (FAIL)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's test it!
i guess that meant merge it and let the pilots find out 😆 |
This pilot found out that it breaks master😂 |
Just tested master and it works fine. |
Sorry, it had old packages, I run |
hi @chmelevskij , but how are this resolved, how do I change to use multiple-select-locale-all ? |
@haslinghuis have you tried updating import to |
I have a ongoing test, working on this output: |
maybe a distribution issue |
@chmelevskij , only first of below three works (?)
|
@chmelevskij @haslinghuis can you explain the resolve / point to documentaion of how elementes in jQueryPlugins.js are resolved, what are in use in the imported module, ie. package.json or ?? package.json in multiple-select contain:
|
Other devs will know more. -- and i'm open to corrections. Should " |
Try
|
@haslinghuis let's not go back to RE: how imports are resolved and package json https://nodejs.org/docs/latest-v20.x/api/packages.html#main-entry-point-export
|
@chmelevskij Have a look in #3756 |
Use jquery as npm module instead of global version where possible.