Commit Graph

17568 Commits

Author SHA1 Message Date
Ben Newman
d4d648c8f7 Bump package versions for 1.4.2-beta.5 release. release/METEOR@1.4.2-beta.5 2016-09-22 15:03:07 -04:00
Ben Newman
aa6b8ff10a Cleanup packages/stylus/.npm after upgrade.
This may help with the CircleCI timeout problems we've been having.
2016-09-22 15:03:07 -04:00
Ben Newman
9810562403 Test that one package can have both node_modules and Npm.depends. 2016-09-22 14:34:32 -04:00
Ben Newman
da5f6956aa Merge branch 'devel' into release-1.4.2 2016-09-22 14:32:07 -04:00
Ben Newman
03c5346873 Stop building meteorInstall bundle for server node_modules.
This saves a potentially large amount of work by the ImportScanner and the
Resolver during makeServerTarget, because it means we no longer have to
scan and resolve modules to build a server bundle as a backup for native
Node evaluation.

I've attempted this optimization before, but it wasn't really safe until
I fixed some obscure bugs that caused module.useNode() to fail during
`meteor test-packages` (see recent local-test:-related commits).
2016-09-22 14:27:32 -04:00
Ben Newman
726074689e Don't prepend node_modules/meteor/<package>/ for npm/... directories. 2016-09-22 14:27:31 -04:00
Ben Newman
bbac272530 Prefer node_modules directories from non-test packages. 2016-09-22 14:27:31 -04:00
Ben Newman
7401bad8e3 Tolerate multiple node_modules directories per package.
Revert "Write node_modules metadata as single strings."
This reverts commit f74975d0df.

Packages published with multiple node_modules directories won't be
loadable by versions of Meteor before 1.3, because older versions of
Meteor don't understand object-valued isopack "node_modules" fields, but
the vast majority of Meteor developers are now using either 1.3 or 1.4.
2016-09-22 13:06:03 -04:00
Tom Coleman
942221d07f Merge pull request #7799 from abernix/fix-issue-7445-2
Add support for `--no-release-check` to `meteor test` command
2016-09-22 15:54:02 +10:00
Tom Coleman
5f81996cdb Don't show a spinner while getting ready 2016-09-22 11:50:44 +10:00
Tom Coleman
f5bc7ae0ce Shrinkwraps and .versions files for npm-mongo and stylus 2016-09-22 11:24:48 +10:00
Tom Coleman
b8d3fb03ca This is better 2016-09-22 11:24:13 +10:00
Tom Coleman
25c03ce9ab Add a timeout to the get ready step 2016-09-22 11:19:39 +10:00
Ben Newman
3313180a6f Always use dev_bundle/.npm as the cache for meteor npm ... commands.
I believe a strange interaction with the global cache (~/.npm on Unix
systems) may have been the root cause of the problem fixed by this commit:
https://github.com/meteor/meteor/pull/7668/commits/ad61a935146c34e7
2016-09-21 18:53:33 -04:00
Jesse Rosenberger
7097f78926 Add support for --no-release-check to meteor test command
This functionality for the `test` command was overlooked when meteor/meteor#7445 was implemented.

Closes meteor/meteor#7026
2016-09-21 15:59:47 +03:00
Brian Lukoff
a3419f8ccf Update node-mongodb driver to 2.2.10 (#7780)
This release of the node-mongodb driver finally fixed performance issues we were having on our Compose MongoDB 3.2 deployment.
2016-09-20 18:31:55 -04:00
Tom Coleman
78b9a20da1 Merge pull request #7739 from meteor/stylus-version-bump
Updating stylus dependency
2016-09-20 09:05:39 +10:00
Ben Newman
d881a29de4 Bump package versions for 1.4.2-beta.4 release. release/METEOR@1.4.2-beta.4 2016-09-16 09:15:24 -04:00
Ben Newman
62b85ee36e Merge branch 'devel' into release-1.4.2 2016-09-16 09:10:33 -04:00
Ben Newman
6823ea0bca Bump boilerplate-generator package version and add version constraints.
This will allow publishing `boilerplate-generator` independently from
Meteor, so that Meteor 1.4 developers can update immediately by running
`meteor update boilerplate-generator`.
2016-09-16 09:07:25 -04:00
gsaynac
f475e379ab Add ws: and wss: sources to default CSP for Cordova (#7774)
CircleCI tests are still timing out, but I believe this change is safe to merge.
2016-09-16 09:01:44 -04:00
Ben Newman
1b25050aa8 Delay disposing of file watchers, in case acquireWatcher called again.
Typically all outstanding watchers will be closed when the development
server restarts, but we can save a lot of effort if they survive the
restart, for the small cost of keeping them open for an extra 30sec.
2016-09-15 19:44:00 -04:00
Ben Newman
d5f239e455 Use global file watching oracle to compute file hashes cheaply.
For the galaxy-server application, this reduces the time spent in
watch.isUpToDate from six seconds to a little over second. Of course we
should also try to call it less often, but making it cheaper helps!
2016-09-15 19:42:55 -04:00
Ben Newman
219b18168d Establish a global source of truth for file watching events.
This should not only reduce the total resource usage of the file watching
system, but pave the way for a faster implementation of watch.isUpToDate.
2016-09-15 19:34:57 -04:00
Ben Newman
d618cc61a3 Optimize meteorNpm.getProdPackageNames by not calling runNpmCommand.
For the galaxy-server application, this reduces the time taken to
determine production node_modules from 1400ms to 120ms.

As another optimization, we could record the hashes of all the
package.json files encountered in this scan, and return the same set of
production package names if those hashes have not changed, though the
benefits may not be worth the additional complexity.
2016-09-15 16:20:47 -04:00
Ben Newman
1850105f90 Refactor production node_modules filtering. 2016-09-15 16:15:04 -04:00
Ben Newman
c0e3397cc4 Merge branch 'devel' into release-1.4.2 2016-09-15 10:02:34 -04:00
Michael Mason
ffa7de2559 Pass object with error to onLoginFailure hooks (#7699)
* Pass object with error to onLoginFailure hooks

* Use es6 property shorthand
2016-09-15 10:00:28 -04:00
Ben Newman
583bd366e4 Bump package versions for 1.4.2-beta.3 release.
Note that no binaries were successfully published for beta.2, so please
don't try updating to that version!
release/METEOR@1.4.2-beta.3
2016-09-13 15:25:23 -04:00
Ben Newman
a90ff721ba Update submodules *after* checking out appropriate revision. 2016-09-13 15:24:07 -04:00
Ben Newman
3557d31347 Give POSIX paths without drive letters to glob on Windows. 2016-09-13 15:23:11 -04:00
Ben Newman
772d6a914a Bump package versions for 1.4.2-beta.2 release.
Note that no binaries were successfully published for beta.1, so please
don't try updating to that version!
release/METEOR@1.4.2-beta.2
2016-09-13 14:00:49 -04:00
Ben Newman
a6b42cc418 Make includeNonCore true by default in getAllNonTestPackageNames. 2016-09-13 13:58:43 -04:00
Ben Newman
c7edab4e62 Initialize and update submodules when publishing meteor-tool. 2016-09-13 13:58:12 -04:00
Ben Newman
c1f01cc860 Bump package versions for 1.4.2-beta.1 release. release/METEOR@1.4.2-beta.1 2016-09-13 13:33:39 -04:00
Ben Newman
4abaa5eb20 Exclude non-core packages from localCatalog.getAllNonTestPackageNames.
This should prevent `meteor admin publish-release` from unnecessarily
checking the consistency of non-core packages.
2016-09-13 13:09:05 -04:00
Ben Newman
1d6fb36547 Include packages/non-core/*/packages/ in self-test search. 2016-09-09 17:30:54 -04:00
Ben Newman
ef02320316 Initialize and update submodules in scripts/ci.sh. 2016-09-09 17:16:24 -04:00
Ben Newman
391c3b4c26 Bump promise package version to 0.8.7. 2016-09-09 16:57:30 -04:00
Ben Newman
ad61a93514 Fix bizarre faulty shrinkwrapping of asap package. 2016-09-09 16:41:44 -04:00
Ben Newman
e999db717f Bump promise package version to 0.8.6. 2016-09-09 14:34:37 -04:00
Ben Newman
26d082b62e Update meteor-promise npm package to v0.7.4.
Fixes a bug where .then callbacks could be wrapped multiple times:
https://github.com/meteor/promise/pull/11
2016-09-09 13:59:52 -04:00
Ben Newman
17f79c66ce Search packages/non-core/*/packages for local packages.
Currently this finds only Blaze-related packages, but it does so without
hard-coding "blaze" in tools code.
2016-09-09 13:28:16 -04:00
Ben Newman
3fce5e6f93 Accept glob patterns for local package search directories. 2016-09-09 13:28:16 -04:00
Ben Newman
0e4217a259 Bump $BUNDLE_VERSION to 4.2.11 before rebuilding dev bundle. 2016-09-09 13:28:15 -04:00
Ben Newman
497270eabe Add glob package to dev_bundle/lib/node_modules. 2016-09-09 13:28:15 -04:00
Ben Newman
c6a54546c2 Avoid hard-coding packages/non-core/blaze in tools code.
Now that the blaze submodule is mounted inside the packages/non-core/
directory, it appears that we no longer have to mention it explicitly in
the localPackageSearchDirs array.
2016-09-09 12:12:43 -04:00
Ben Newman
a550c5317e Bump $BUNDLE_VERSION to 4.2.10 before rebuilding dev bundle. 2016-09-09 11:29:39 -04:00
Ben Newman
32d02beead Update the fibers npm package to v1.0.14. 2016-09-09 11:28:49 -04:00
Ben Newman
0d1834368b Update the node-pre-gyp npm package to v0.6.30. 2016-09-09 11:28:48 -04:00