Commit Graph

16449 Commits

Author SHA1 Message Date
Ben Newman
bff3f0c9ea Bump package versions for 1.3.1-rc.0 release. release/METEOR@1.3.1-rc.0 2016-04-01 20:01:45 -04:00
Ben Newman
0e62234fe0 Bump compiler.BUILT_BY to 'meteor/20'. 2016-04-01 19:53:49 -04:00
Ben Newman
c8d12aed4e Bump meteor-babel version to 0.8.4. 2016-04-01 18:48:44 -04:00
Ben Newman
5bde892812 Tolerate \r\n line endings when splitting lines in linker.
Fixes #6660.
2016-04-01 14:16:40 -04:00
Ben Newman
8248d86fb2 Consolidate exit code logic for meteor npm and meteor node.
Follow-up to #6675.
2016-04-01 12:08:55 -04:00
Ben Newman
1695670ff7 Merge pull request #6675 from abernix/fix-dev-bundle-bin-command-exit-status
"meteor npm/node" should return exit code from command
2016-04-01 11:55:36 -04:00
Jesse Rosenberger
97cb2c14a8 "meteor npm/node" should return exit code from command
Fixes #6673

The Meteor "dev bundle bin commands" which proxy through to the
meteor version of npm/node was not returning the exit code from the
command which it executed.  This creates problems for things like
`meteor npm run script-name` when the exit code is important.  This
comes into play when you run npm scripts which run tests, lint code, etc.

This fix causes the meteor-tool to process.exit with the spawned process
exit code.

Windows Disclaimer: I used the same flush-buffers-on-exit-in-windows
that the tool/cli/main.js uses because I would assume the same problem
exists, however, I don't have the Windows environment to test or confirm
that this code works at all.

Also, couldn't find any tests that directly tested this dev bundle
bin-command passing scenario (though hard to search through them all),
so I created a barebones test app and tests.
2016-04-01 17:09:03 +03:00
Ben Newman
be986fd709 Report compilation errors for lazy files at import time. 2016-03-31 20:09:53 -04:00
Ben Newman
a847988be7 Omit lazy resources from unibuild JSON files when not using modules.
Fixes #6618.
Fixes #6484.
2016-03-31 20:09:53 -04:00
Ben Newman
e9d5ec34da Implement IsopackCache#{uses,implies}. 2016-03-31 19:17:02 -04:00
Ben Newman
e8f9972a5b Convert IsopackCache to an ES2015 class.
No behavioral changes.
2016-03-31 16:17:50 -04:00
Ben Newman
85047f9d3f Improve wording of missing modules warnings. 2016-03-31 16:17:50 -04:00
Ben Newman
77f2fdf426 Silence missing module warnings generated by Meteor packages.
A better way to verify package dependencies is coming: #6322.
2016-03-31 16:17:49 -04:00
Ben Newman
a86c61eb9b Don't warn about unresolved modules in Browserify/Webpack bundle files.
Fixes https://github.com/practicalmeteor/meteor-mocha/issues/19
Related: https://github.com/meteor/todos/issues/90
See also: 62c41b2ef5
2016-03-31 16:17:49 -04:00
Ben Newman
f6fb8b6114 Try harder to determine file.sourcePath in ImportScanner. 2016-03-31 16:17:49 -04:00
Martijn Walraven
88d43a0f16 Only prepare instead of build the Cordova project for iOS
Building the iOS app for release should be done from Xcode anyway, to
correctly code sign and submit to TestFlight or the App Store.

Because building would override `build-extras.xcconfig`, this would
remove a temporary workaround for #6492, which is now correctly applied
on both `meteor run` and `meteor build`.
2016-03-30 13:37:01 +02:00
Sashko Stubailo
9239a9498f Merge pull request #6573 from tarunbatra/documentation-patch
Fix spelling mistake in underscore package
2016-03-29 10:38:41 -07:00
Sashko Stubailo
bb5bb4d07d Merge pull request #6607 from emgee3/patch-2
Escape HTML tags in History.md
2016-03-29 10:38:18 -07:00
Ben Newman
b22edc5041 Merge pull request #6611 from laosb/patch-4
Correct the info of update when on latest recommended release.
2016-03-29 12:16:18 -04:00
Wexpo Lyu
d63daaa6a9 A space added. 2016-03-29 13:37:11 +08:00
Wexpo Lyu
8d99779f78 Update the info when on latest recommended. 2016-03-29 13:33:58 +08:00
emgee3
1ee9a058ec Escape html tags in History.md 2016-03-28 17:58:46 -07:00
Ben Newman
2ccb7467c9 Merge branch 'master' into devel 2016-03-28 18:35:58 -04:00
Ben Newman
1f60155454 Merge branch 'release-1.3' 2016-03-28 18:34:17 -04:00
Ben Newman
38c725f27c Update docs package versions. 2016-03-28 18:29:48 -04:00
Martijn Walraven
c2ce133665 Bump launch-screen package version
Forgot to bump launch-screen package version for
#335836931875f367da5c12d9e08132f4a773e35e
2016-03-28 06:19:23 +02:00
Ben Newman
23c1deb2f2 Bump package versions for official 1.3 release. release/METEOR@1.3 2016-03-27 22:15:16 -04:00
Ben Newman
f198d18668 Update banner for 1.3 release. 2016-03-27 20:20:52 -04:00
Martijn Walraven
3358369318 Fix bug in launch-screen that disabled holding it beyond a 6s timeout
The default behavior meant that the launch screen would always be
released twice on a single hold: once when the template is rendered,
and once after a 6s timeout. So additional holds would not have any
effect beyond that timeout.
2016-03-27 13:52:29 +02:00
Ben Newman
79829702a0 Bump package versions for 1.3-rc.13 release release/METEOR@1.3-rc.13 2016-03-26 12:46:46 -04:00
Ben Newman
b61b38d473 Write .meteor-portable files asynchronously.
Fixes #6591.
2016-03-25 17:05:44 -04:00
Ben Newman
151e8fa295 Silence some noisy missing module warnings.
Follow-up to #6562.
2016-03-24 20:35:37 -04:00
Ben Newman
5f6f585276 Test fallback to index.js when package.json has no "main" field.
Related to #6589.
2016-03-24 20:07:14 -04:00
Ben Newman
a1a30891be Don't be fooled by absolute-looking relative paths.
Fixes https://github.com/meteor/meteor/issues/6586#issuecomment-201066077
2016-03-24 19:45:53 -04:00
Ben Newman
c14cd9aed5 Bump package versions for 1.3-rc.12 release release/METEOR@1.3-rc.12 2016-03-24 16:08:56 -04:00
Ben Newman
5a63d66b50 Revert "Check logging level at beginning of _warnAboutMissingModules."
This reverts commit 58a7082aa3, which
effectively disabled warnings about missing modules.

Fixes #6562.
2016-03-24 15:23:36 -04:00
Ben Newman
5ea76e34bc Bump package versions for 1.3-rc.11 release release/METEOR@1.3-rc.11 2016-03-24 14:19:23 -04:00
Ben Newman
d3e7aa9141 Revert enabling partial paths for files.pathRelative.
This reverts a change I made in 75f9214959.
I thought allowing partial paths would make files.pathRelative more
robust, but it had the unintended consequence of causing #6586.
2016-03-24 13:35:31 -04:00
Zoltan Olah
61e2d28863 Link to master modules readme 2016-03-24 10:11:40 -07:00
Ben Newman
005b97a122 Bump package versions for 1.3-rc.10 release 2016-03-24 11:55:22 -04:00
Martijn Walraven
5a1dd20dc6 Replace links to installation Wiki pages with links to the mobile guide 2016-03-24 15:11:23 +01:00
Tom Coleman
2e26768709 Merge branch 'release-1.3-new-docs' into release-1.3 2016-03-24 19:08:11 +11:00
Ben Newman
dc0345b0ff Bundle partial package.json files unconditionally.
Fixes #6582.
2016-03-24 01:02:11 -04:00
Ben Newman
75f9214959 Use OS-specific absolute paths with require.resolve. 2016-03-24 00:48:40 -04:00
Ben Newman
58a7082aa3 Check logging level at beginning of _warnAboutMissingModules. 2016-03-23 20:26:26 -04:00
Ben Newman
07db1eb340 Avoid spurious missing module warnings about server-lib/node_modules. 2016-03-23 20:26:26 -04:00
Ben Newman
8490ea05d7 Avoid spurious missing module warning in promise package. 2016-03-23 20:26:26 -04:00
Ben Newman
11f136228e Revert dynamic meteor-node-stubs import.
Importing meteor-node-stubs in a statically analyzable way is important to
ensure all the aliases for built-in Node modules get set up properly. This
does *not* mean that all meteor-node-stubs/defs/* modules will be imported
unconditionally.

Part of #6562.
2016-03-23 19:57:10 -04:00
Ben Newman
11cbd89e1b Print helpful warnings about unresolved modules. 2016-03-23 18:55:24 -04:00
Ben Newman
df273f3cb4 Report successes as well as failures from ImportScanner#addNodeModules. 2016-03-23 18:55:24 -04:00