-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Avoid bundling jquery twice #10498
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
Avoid bundling jquery twice #10498
Conversation
packages/non-core/jquery/package.js
Outdated
@@ -1,7 +1,7 @@ | |||
Package.describe({ | |||
summary: "Manipulate the DOM using CSS selectors", | |||
// This package currently uses jQuery 1.12.1 (due to #9605). |
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 comment is out of date now. 🙂
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.
@benjamn is this PR waiting on something specific?
As @benjamn said in #10522 (comment)
|
Ok, so the following packages depend on jquery:
Non-core
Deprecated
So should be pretty straightforward. |
Another step towards meteor#10498 The direct jquery dependency was not necessary as far as I can tell. There was a second indirect dependency through the deprecated bootstrap package from which we only need the css. So I replaced that one with bootstrap 4 css from npm
This version of Blaze includes meteor/blaze#299 by @sebakerckhof, which is an important prerequisite for #10498.
This version of Blaze includes meteor/blaze#299 by @sebakerckhof, which is an important prerequisite for meteor#10498.
…#10773) * remove jquery and deprecated bootstrap dependency in test-in-browser Another step towards #10498 The direct jquery dependency was not necessary as far as I can tell. There was a second indirect dependency through the deprecated bootstrap package from which we only need the css. So I replaced that one with bootstrap 4 css from npm * Improve styling for test-in-browser
c1ff377
to
ec767dd
Compare
Although the Meteor jquery package is no long a core package (and thus is not tied to the Meteor release), it seems like a good idea to nudge folks towards installing jquery from npm, instead of relying on the very old version (1.12.1) residing in meteor/packages/non-core/jquery/jquery.js. Closes #10289.
3cc3b9c
to
73d82d7
Compare
Although the Meteor jquery package is no long a core package (and thus is not tied to the Meteor release), it seems like a good idea to nudge folks towards installing jquery from npm, instead of relying on the very old version (1.12.1) residing in meteor/packages/non-core/jquery/jquery.js. Closes #10289.
Although the Meteor jquery package is no long a core package (and thus is not tied to the Meteor release), it seems like a good idea to nudge folks towards installing jquery from npm, instead of relying on the very old version (1.12.1) residing in meteor/packages/non-core/jquery/jquery.js. Closes #10289.
Closes #10289
Previously: #6864, #6626
cc @arggh