Commit Graph

16399 Commits

Author SHA1 Message Date
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
Martijn Walraven
7650bb0a01 Bump package versions for 1.3-rc.9 release 2016-03-23 18:55:23 -04:00
Zoltan Olah
77d6ada0c0 Link to modules README 2016-03-23 12:20:18 -07:00
Ben Newman
420d001b75 Make sure findAppDir uses correct OS paths.
Fixes #6568.
2016-03-23 13:47:49 -04:00
Ben Newman
2239ca87e7 Bump package versions for 1.3-rc.8 release. release/METEOR@1.3-rc.8 2016-03-22 18:17:43 -04:00
Ben Newman
15986e6aeb Additional packageName parsing logic for .npm/package/node_modules. 2016-03-22 18:13:25 -04:00
Ben Newman
b8a0340dc9 Fix findAppDir when running from a temp test directory. 2016-03-22 18:13:25 -04:00
Ben Newman
020f9163bb Revert "Always symlink/copy local node_modules into .meteor/local/build."
This reverts commit b56f4d58fd, which may
help with #6561, because we won't be copying node_modules directories into
the development bundle on Windows anymore.
2016-03-22 18:13:24 -04:00
Ben Newman
29903ce2db Bump package versions for 1.3-rc.7 release. release/METEOR@1.3-rc.7 2016-03-22 14:41:32 -04:00
Ben Newman
4c9ecc3c1f Revert watch.isUpToDate optimizations to fix #6556.
This reverts commit 7227f64ea8.
This reverts commit b4972af3a5.

Saving 400ms of rebuild time isn't worth sometimes having to restart the
app from scratch.
2016-03-22 14:17:20 -04:00
Ben Newman
bb5ec2cb3d Bump package versions for 1.3-rc.6 release. release/METEOR@1.3-rc.6 2016-03-22 11:55:13 -04:00
Martijn Walraven
0ff7d2b55c Pass-through options for App.accessRule
Closes #6554.
2016-03-22 16:47:12 +01:00
Ben Newman
74d6c223bc Merge pull request #6559 from M4v3R/release-1.3
Try harder to infer packageName in NodeModulesDirectory#readDirsFromJSON.

 Fixes #6555.
2016-03-22 10:20:57 -04:00
Maciej Trębacz
a133afb375 Get proper packageName in bundler.js. Fixes #6555 2016-03-22 14:41:36 +01:00
Ben Newman
13db0e89ef Nullify source maps if they have no mappings.
Fixes #6506.
2016-03-21 21:51:15 -04:00
Ben Newman
c12c4f455c Add salt to linker cache keys.
This extra hash input makes it easier for us to force relinking when the
linker implementation changes, and will probably make upgrading to Meteor
1.3 smoother for many existing apps.
2016-03-21 21:51:15 -04:00
Ben Newman
fbc4c19aae Update npm-shrinkwrap.json for ddp-server dependencies. 2016-03-21 21:51:14 -04:00
Ben Newman
ba63cbd959 Make ImportScanner case-insensitive.
Specifically, with this change, the ImportScanner will never include two
files whose paths differ only in case. If one of the files is processed by
compiler plugins, then that file's actual path will "win" in the sense
that its installed module identifier will preserve the original casing.

Fixes #6428.
2016-03-21 21:08:21 -04:00
Zoltan Olah
a1550decf1 Upgrades permessage-deflate dep to 0.1.5 for ddp
This version includes a fix for ZenDesk ticket 1470, Galaxy crashes.
2016-03-21 17:56:11 -07:00
Ben Newman
65f83bbce6 Allow plugins to import native Node modules.
Fixes #6549.
2016-03-21 19:54:06 -04:00
Ben Newman
5d7b14a82b Infer package name for plugin node_modules directories.
Part of #6549.
2016-03-21 19:54:06 -04:00
Ben Newman
67491a66dd Fix .npm/{package,plugin}/... parsing.
For package dependencies, the node_modules directory immediately follows
the /package/ part of the path, but for plugins the name of the plugin
comes before the node_modules directory.
2016-03-21 19:54:05 -04:00
Martijn Walraven
9084749fcb Update cordova-plugin-meteor-webapp dependency to 1.3.0
Closes #6536
2016-03-21 21:03:37 +01:00
Martijn Walraven
5cb72ff4de Fix expected failure message in ddp-client package test 2016-03-21 10:36:52 +01:00
Ben Newman
a0151c1706 Bump package versions for 1.3-rc.4 release. release/METEOR@1.3-rc.4 2016-03-20 13:44:10 -04:00
Ben Newman
be871bf2ed Upgrade modules-runtime install package to v0.6.1.
Fixes #6543.
2016-03-20 13:44:10 -04:00
Ben Newman
5d4bc59a20 Fix source maps-related self-tests.
We no longer go to the trouble of generating source maps for files not
processed by compiler plugins, since that was slow and not very useful
(see ad3f56a0bf).

However, that means the test app and package that we use to test source
maps and stack trace rewriting need to use the ecmascript package in order
to behave as they did before that commit.
2016-03-20 13:44:09 -04:00
Ben Newman
e901134004 Fix findAssignedGlobals self-test.
It turns out the test itself was wrong, and the new findAssignedGlobals
implementation does a better job than the old.
2016-03-20 11:41:45 -04:00
Ben Newman
3d4864bc98 Make sure __meteor_runtime_config__.meteorEnv always defined.
Thanks to @tmeasday for suggesting this solution:
https://github.com/meteor/meteor/issues/6539#issuecomment-198871755

Fixes #6539.
2016-03-20 11:29:14 -04:00
Martijn Walraven
486d6db947 Fix upgrading packages if there is a previousSolution
The constraint solver optimization in
d6e9921bbb disabled upgrading packages,
so don’t use the short cut when attempting to upgrade.
2016-03-20 12:30:31 +01:00
Martijn Walraven
38236ddaa5 Make another self-test pass 2016-03-20 12:30:31 +01:00
Tom Coleman
a5492c3727 Add Meteor.isPackageTest to mirror isAppTest and isTest.
For #6535
2016-03-20 19:28:16 +11:00