Commit Graph

18005 Commits

Author SHA1 Message Date
Ben Newman
d2cdaa1883 Bump package versions for 1.4.2.4-rc.1 release. release/METEOR@1.4.2.4-rc.1 2017-02-01 14:51:52 -05:00
Ben Newman
1f60258821 Merge pull request #8142 from abernix/feature/fix-7849-stale-cordova-build
Cordova project preparation must occur before copying to the build
2017-02-01 12:40:06 -05:00
Ben Newman
611b23dcf7 Bump package versions for 1.4.2.4-rc.0 release. release/METEOR@1.4.2.4-rc.0 2017-02-01 12:24:19 -05:00
Ben Newman
bf9338b367 Support ./meteor publish-release --skip-tree-hashing ... flag. 2017-02-01 12:24:06 -05:00
Ben Newman
abc672ec4a Remove packages/ui (superseded by packages/non-core/blaze/packages/ui).
https://github.com/meteor/meteor/pull/8212#issuecomment-270330469
2017-02-01 11:00:35 -05:00
Ben Newman
0971e89abe Merge pull request #8204 from mitar/new-blaze-history
Updated packages/non-core/blaze submodule to new Blaze history.
2017-02-01 11:00:02 -05:00
Ben Newman
c683a79595 Unify file.emptyStub and file.imported === "implicit" as file.implicit.
Note that there was a typo in ResourceSlot#addStylesheet, so
file.emptyStub was never === true before.
2017-02-01 10:35:31 -05:00
Ben Newman
6c643a4763 Preserve true "main" and "browser" fields of package.json modules.
Previously, when building a JavaScript bundle for the client, if a
package.json file had a string-valued "browser" field, we would replace
the value of the "main" field of the bundled package.json module with the
value of the "browser" field. This trick was important because it allowed
an npm package to have a different entry point on the client than it had
on the server.

However, that approach became inconsistent if the package.json file was
also explicitly imported as a module, because the package.json stub used
for module resolution prevented the real contents of package.json from
getting bundled, and disagreed with the original package.json module about
the value of the "main" field.

To resolve that inconsistency, it seems better to avoid modifying the
"main" field of package.json modules, and instead rely on the runtime
module system to make sense of the "browser" field, regardless of whether
the package.json module is a stub used only for module resolution or
contains the full contents of the original package.json file.

The ability to understand "browser" fields of package.json modules was
introduced in install@0.8.3:
377d1a3b51

This is potentially a backwards-incompatible change for developers using
this version of `ImportScanner` and `Resolver` who have not yet upgraded
their `modules-runtime` package to at least version 0.7.8. The solution is
to upgrade `modules-runtime`, though it would be nice to enforce that
better somehow.
2017-02-01 10:34:52 -05:00
Ben Newman
dbf0d50a26 Bump $BUNDLE_VERSION to 4.7.7 before rebuilding dev bundle. 2017-02-01 10:22:02 -05:00
Ben Newman
4ed387161f Mention 7-zip upgrade in History.md. 2017-02-01 10:22:01 -05:00
Jesse Rosenberger
38dd26ab64 Bumping version of 7-zip for Windows
In an effort to try to resolve #7688 extraction slowness.
2017-02-01 10:22:01 -05:00
Ben Newman
0065039917 Remove wildcard from 7-zip path in Windows dev bundle script. 2017-02-01 10:22:01 -05:00
Ben Newman
be0c8c3ee0 Upgrade the npm npm package to version 4.1.2. 2017-02-01 10:11:19 -05:00
Ben Newman
c1a25f4af1 Ugrade Node to version 4.7.3. 2017-02-01 10:05:18 -05:00
Ben Newman
19b3a65b56 Mention #8136 in History.md for Meteor 1.4.2.4. 2017-02-01 10:02:03 -05:00
Ben Newman
2613582311 Always copy node_modules/.bin into bundle/programs/server/npm.
Fixes #8136.
2017-02-01 09:58:10 -05:00
Ben Newman
90cb62598e Merge pull request #8205 from elie222/patch-1
Fastclick will break selects on Chrome mobile
2017-01-03 18:54:41 -05:00
Eliezer
229b7e7c78 Update README.md 2016-12-30 04:04:05 -10:00
Eliezer
f0a2c8cfe4 Fastclick will break selects on Chrome mobile
See here:
https://github.com/ftlabs/fastclick/issues/497
And here:
https://productforums.google.com/forum/#!topic/chrome/Q4Rt6d0C4Qo

I just spent hours trying to figure out why selects haven't been working on my site, and finally found out it was fastclick.
2016-12-30 02:39:56 -10:00
Ben Newman
dc0aceaa1b Merge pull request #8044 from meteor/release-1.4.2.2
Release 1.4.2.2 (and 1.4.2.3)
2016-11-17 16:18:36 -05:00
Ben Newman
8d76fb01ff Bump package versions for the official 1.4.2.3 release. release/METEOR@1.4.2.3 2016-11-17 13:45:10 -05:00
Ben Newman
063d2513a3 History.md entry for 1.4.2.3. 2016-11-17 13:43:14 -05:00
Ben Newman
1b855047ae Limit InputFile#findControlFile to package source root directory.
This is an improvement that I noticed while investigating the
feasibility of fixing #8068.
2016-11-17 13:17:49 -05:00
Ben Newman
fc9c56a73e Improve InputFile#resolve. 2016-11-17 13:12:27 -05:00
Ben Newman
4cf06c37a6 Avoid global/method name ambiguity in InputFile#require. 2016-11-17 13:12:27 -05:00
Ben Newman
7b9ae5a6dd Bump package versions for 1.4.2.3-rc.0 release. release/METEOR@1.4.2.3-rc.0 2016-11-16 17:20:04 -05:00
David Burles
dc1bdc3a56 remove inline eslint rules 2016-11-16 11:22:45 -05:00
David Burles
851b6c5ae2 remove validation test 2016-11-16 11:22:45 -05:00
David Burles
311efd58cb remove url validation 2016-11-16 11:22:45 -05:00
David Burles
06fb2fbfb9 more concise export 2016-11-16 11:22:45 -05:00
David Burles
52b815cf33 code style changes for skel-full 2016-11-16 11:22:45 -05:00
Ben Newman
fda40742fe Bump package versions for the official 1.4.2.2 release. release/METEOR@1.4.2.2 2016-11-15 19:59:10 -05:00
Ben Newman
824e68872f Bump package versions for 1.4.2.2-rc.1 release. release/METEOR@1.4.2.2-rc.1 2016-11-15 09:40:47 -05:00
Ben Newman
2f47f8049c Bump $BUNDLE_VERSION to 4.7.1 before rebuilding dev bundle.
This build includes another attempt to include python.exe reliably in
the Windows dev bundle, thanks to https://github.com/winpython/winpython.
2016-11-15 09:20:23 -05:00
Ben Newman
24b0ea9fdd Bump compiler/linker/bundler salts to trigger fresh builds. 2016-11-14 21:18:03 -05:00
Ben Newman
5fc1cfa2e7 Bump package versions for 1.4.2.2-rc.0 release. release/METEOR@1.4.2.2-rc.0 2016-11-14 20:00:34 -05:00
Ben Newman
e4c7b0890c Watch all imported files in linked npm packages on server. 2016-11-14 14:25:22 -05:00
Ben Newman
e3387599a2 Test lazy main modules and stray imports in modules test app. 2016-11-14 13:35:50 -05:00
Ben Newman
9f25353745 Bump package versions for 1.4.2.2-beta.2 release. release/METEOR@1.4.2.2-beta.2 2016-11-14 13:07:50 -05:00
Ben Newman
41713dacf7 Include meteor npm install in new app instructions.
Thanks to @ptica for this suggestion:
https://github.com/meteor/meteor/issues/8042#issuecomment-260277876
2016-11-14 12:51:00 -05:00
Ben Newman
2437f72cd7 Strip unnecessary imports for packages with no modules.
Note that even an empty package needs to define Package[name] = {}, so
that other packages can tell at runtime whether it's installed.

Fixes #7927.
2016-11-14 12:51:00 -05:00
Ben Newman
911f25bbf4 Allow lazy api.mainModule modules.
If you call api.mainModule(path, where, { lazy: true }), that main
module will not be evaluated until other code imports it at runtime, and
won't even be bundled if no other code imports it.

Closes #6132.
2016-11-14 12:51:00 -05:00
Ben Newman
8d1133743d Fix options.transformFilename behavior in files.cp_r.
The options.transformFilename function is only supposed to transform
target file names, not the names of source files to be copied.

This behavior was broken by c5809a4a1c
between Meteor 1.4.0.1 and 1.4.1. Thank goodness for `git bisect`!

The biggest symptom of this mistake was that `meteor create --package`
no longer created files based on the ~fs-name~.js and ~fs-name~-tests.js
template files.

This probably merits a 1.4.1.4 release in addition to 1.4.2.2.
2016-11-14 11:50:50 -05:00
Ben Newman
0eb714fe21 Bump $BUNDLE_VERSION to 4.7.0 before rebuilding dev bundle. 2016-11-14 11:50:21 -05:00
Ben Newman
4f4ab1b68f Ugrade Node to version 4.6.2. 2016-11-14 11:50:19 -05:00
Tom Coleman
7b8ef48db6 Changelog for 7968 2016-11-14 11:49:51 -05:00
Tom Coleman
47255dfaa2 Changelog entry for #7858 2016-11-14 11:49:50 -05:00
Tom Coleman
8d06a16994 Add changelog entry for #7807 2016-11-14 11:49:48 -05:00
Hugh Willson
e0b3b390a0 Updated test description to include the issue # being resolved (#5676). 2016-11-14 11:49:24 -05:00
Hugh Willson
307b246b6a Minor formatting adjustment to force CI rebuild. 2016-11-14 11:49:24 -05:00