Commit Graph

16355 Commits

Author SHA1 Message Date
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
Ben Newman
d21b004d3a Merge pull request #6490 from M4v3R/release-1.3
Fix for stripping BOM in import scanner. Fixes #6489
2016-03-19 13:56:03 -04:00
Ben Newman
299db526f1 Revert "Bump $MIN_NODE_VERSION to v0.10.43."
This reverts commit 6985c47ea7.

Fixes #6533.
2016-03-19 13:13:22 -04:00
Ben Newman
392d050f2b Make meteor node and meteor npm work on Windows.
Fixes #6531.
2016-03-19 13:06:24 -04:00
Ben Newman
7d5b3c05a1 Normalize relative paths passed to api.addFiles.
Fixes #6527.
2016-03-18 19:11:28 -04:00
Martijn Walraven
0486b473e8 Make some more self tests pass 2016-03-18 20:40:57 +01:00
Martijn Walraven
8ea1e27656 Log client restart before restarting client to get self tests passing 2016-03-18 20:40:56 +01:00
Ben Newman
41ca4534a0 Bump package versions for 1.3-rc.3 release. release/METEOR@1.3-rc.3 2016-03-18 15:01:14 -04:00
Ben Newman
19d9f33219 Test that #6514 is fixed. 2016-03-18 15:00:54 -04:00
Ben Newman
46a2ba5abf Upgrade meteor-babel to 0.8.3. 2016-03-18 15:00:52 -04:00
Ben Newman
7e9cc4756e Ensure unibuild.nodeModulesPath defined for backwards compatibility.
Though I would like to transition to using unibuild.nodeModulesDirectories
everywhere, the cosmos:browserify package assumes more than I would like
about the pre-Meteor-1.3 properties of unibuild objects.

Fixes #6449.
2016-03-18 12:46:15 -04:00
Ben Newman
ff023e9c37 Make npmRequire check node_modules paths from control files, too.
Because symlinking is impossible on Windows, and copying node_modules
files is too slow, we can't just symlink/copy all node_modules files into
.meteor/local/build/programs/server/npm like we do for other platforms, so
we have to search for them where they are.

Part of #6500.
2016-03-17 20:59:48 -04:00
Ben Newman
9021ba8756 Allow .sourcePath of NodeModulesDirectory to be absolute. 2016-03-17 19:55:29 -04:00
Ben Newman
6985c47ea7 Bump $MIN_NODE_VERSION to v0.10.43. 2016-03-17 19:55:29 -04:00
Martijn Walraven
0714048b34 Revert "Improve Runner.start logic"
This reverts commit 1032f271e9.
2016-03-17 22:33:56 +01:00
Martijn Walraven
d54d681697 Make some more self tests pass 2016-03-17 21:20:12 +01:00
Martijn Walraven
45ad2ed21e Make Cordova self tests pass 2016-03-17 16:48:25 +01:00
Martijn Walraven
46c9823acd Don't attempt to build web.cordova when platforms have been removed 2016-03-17 16:48:25 +01:00
Martijn Walraven
ece7612a94 Avoid blocking when clearing logs on Android 2016-03-17 16:48:25 +01:00
Ben Newman
b56f4d58fd Always symlink/copy local node_modules into .meteor/local/build.
Part of #6500.
2016-03-17 02:23:49 -04:00
Ben Newman
c79da1be8a Convert module identifiers to OS paths in Npm.require.
Part of #6500.
2016-03-17 02:22:53 -04:00
Ben Newman
37c218ec09 Update version metadata for modules test app. 2016-03-17 01:23:53 -04:00
Tom Coleman
f3957670ce Added a gitignore to the skeleton 2016-03-17 15:10:34 +11:00
Zoltan Olah
f10b32c257 Fixes setBundledJsCssUrlRewriteHook comment in History.md 2016-03-16 18:10:15 -07:00
Zoltan Olah
d458d52df6 Update History.md 2016-03-16 17:56:12 -07:00
Sashko Stubailo
ac3061a0bc Merge pull request #6502 from ecwyne/patch-4
fix typo in History.md
2016-03-16 15:54:54 -07:00
Martijn Walraven
8f4e12f417 Update core Cordova plugin dependencies 2016-03-16 22:32:50 +01:00
Martijn Walraven
da745d0b73 Update cordova-plugin-meteor-webapp dependency to 1.2.0 2016-03-16 19:21:13 +01:00
Eric Wyne
efe1cce5b7 fix typo in History.md 2016-03-16 09:31:40 -07:00