Commit Graph

22356 Commits

Author SHA1 Message Date
Jesse Rosenberger
09a859b8f2 Merge pull request #8946 from meteor/abernix/skirunman/update-mongo-3.2.15
Update to MongoDB  v3.2.15
2017-08-02 21:52:52 +03:00
Ben Newman
88824ca04d Guard against nonexistent Package.ddp.DDP._CurrentMethodInvocation.
As suggested by @cwholman in this comment:
https://github.com/meteor/meteor/issues/8947#issuecomment-318393234

Fixes #8947.
2017-08-02 14:45:51 -04:00
Ben Newman
7f062192e1 Eliminate underscore usage from the meteor package. 2017-08-02 14:45:51 -04:00
Ben Newman
f52b1726a5 Scan packages/non-core packages as local packages.
Fixes #8961 and #8962.
2017-08-02 13:40:38 -04:00
Ben Newman
ce0b499224 Move old packages from packages/non-core to packages/deprecated. 2017-08-02 13:36:24 -04:00
Jesse Rosenberger
4665f2aab3 Include the Node.js and npm version in the star.json manifest. (#8956)
* Include the Node.js and npm version in the `star.json` manifest.

This makes it possible to know exactly which version of Node.js and npm
were used by the `meteor` command from which the bundle was built from.

* History.md for #8956.
2017-08-02 08:50:01 -07:00
Ben Newman
ad917dcf0a Merge pull request #8954 from meteor/abernix/auth-deploy-cleanup
`meteor deploy` cleanup and partial modernization
2017-08-02 08:46:44 -07:00
James Burgess
c3dd664d14 Adjust minimongo behavior to match server when functions are part of selectors (#8952) 2017-08-02 08:43:42 -07:00
Ben Newman
94c0cd00cd Merge pull request #8951 from meteor/abernix/clear-password-on-retry
Clear credentials before retry on initial `meteor deploy` password failure.
2017-08-02 08:42:33 -07:00
Jesse Rosenberger
a12aa11974 Remove cordova-lib from dev-bundle-tool-package.js.
As it's no longer necessary and will be installed automatically if it's not
present!
2017-08-02 17:19:43 +03:00
Jesse Rosenberger
26f5ce1833 Introduce Cordova ensureDevBundleDependencies.
This Cordova `ensureDevBundleDependencies` function will utilize a another
method called `ensureDependencies` which checks to see if a module can be
resolved by the tool.  If it cannot be resolved, it will install it using the
`installNpmModule` facilities of `meteor-npm.js` in the same way as other npm
packages within packages, except with the destination as the `dev_bundle`.

This commit also adds a couple of previously not explicitly installed npm
modules which Meteor requires directly: `cordova-registry-mapper` and
`cordova-common`.  Both of these were previously relying on npm package hoisting
which previously occurred during the installation of `cordova-lib` in the dev
bundle which happened under the supervision of a `package.json` file (which is
later purged).

When `cordova-lib` is installed directly, without a package.json, the
aforementioned packages are not hoisted to the top level, but instead reside
inside `cordova-lib`.  This is less than ideal since we're relying on the API
of an indirect dependency of `cordova-lib`.
2017-08-02 17:19:42 +03:00
Jesse Rosenberger
d6d5282509 Introduce new moduleDoesResolve method to detect presence of a module. 2017-08-02 17:19:41 +03:00
Jesse Rosenberger
5b051d0eb5 Move remove-platform into separate method as prep for auto dep install. 2017-08-02 17:19:40 +03:00
Jesse Rosenberger
401cb493cb Move add-platform into separate method as prep for auto dep install. 2017-08-02 17:19:40 +03:00
Jesse Rosenberger
134bc0d2c3 Change Cordova imports to nested to avoid being eagerly evaluated.
This will enable the possibility of deferring the installation of the Cordova
modules (e.g. `cordova-lib`, `cordova-common`) until a time deemed appropriate.
2017-08-02 17:19:39 +03:00
Jesse Rosenberger
8c3cd06b58 Remove unused newToOldPliuginIds from Cordova import.
This symbol is entirely unused.
2017-08-02 17:19:37 +03:00
Jesse Rosenberger
29867c1b5a Define runTarget before use. 2017-08-02 14:31:37 +03:00
Jesse Rosenberger
af2e9e8978 Define platform before use. 2017-08-02 14:31:36 +03:00
Jesse Rosenberger
50929d3f94 Define pluginVersionsToInstall before use. 2017-08-02 14:31:35 +03:00
Jesse Rosenberger
777a3eb9f7 Bump $BUNDLE_VERSION to 4.8.29 before rebuilding dev bundle. 2017-08-01 22:52:22 +03:00
Jesse Rosenberger
d822836711 Merge branch 'devel' into release-1.5.2 2017-08-01 22:48:48 +03:00
Jesse Rosenberger
82ae87184f Revert "Bump $BUNDLE_VERSION to 9999.8970.0 before rebuilding dev bundle."
This reverts commit ebe163806e.
2017-08-01 22:28:08 +03:00
Jesse Rosenberger
019e89074e Merge pull request #8970 from meteor/abernix/update-longjohn
Update `longjohn` to latest version to maybe fix SIGSEGV CI errors.
2017-08-01 22:19:06 +03:00
Stephen Darnell
dca2ced014 Avoid new uses of 'package' as it is apparently a reserved keyword. (#8973) 2017-08-01 08:41:32 -07:00
Jesse Rosenberger
4925b40e42 Properly declare platform variable.
Without this, `platform` was causing weird behavior in `meteor run <target>`.
2017-08-01 15:02:13 +03:00
Jesse Rosenberger
043e2922f6 Fix misspelling of options variable.
Which occurred in 640842ad4e by means of tyop.
2017-08-01 15:01:15 +03:00
Jesse Rosenberger
ebe163806e Bump $BUNDLE_VERSION to 9999.8970.0 before rebuilding dev bundle.
To test meteor/meteor#8970.
2017-08-01 00:07:31 +03:00
Jesse Rosenberger
19e33cba49 Update longjohn to latest version to maybe fix SIGSEGV CI errors. 2017-07-31 23:44:27 +03:00
Jesse Rosenberger
3cdcca6f6a Replace underscore _.clone with Object.assign. 2017-07-31 11:50:36 +03:00
Ben Newman
d4a1322d3a Bump package versions for 1.5.2-beta.7 release. release/METEOR@1.5.2-beta.7 2017-07-28 19:05:11 -04:00
Ben Newman
868ba7ceff Merge branch 'devel' into release-1.5.2 2017-07-28 18:50:20 -04:00
Ben Newman
6d8f10ff3a Bump package versions for 1.6-beta.15 release. release/METEOR@1.6-beta.15 2017-07-28 18:48:10 -04:00
Stephen Darnell
96db56b0ba Add 'meteor list --tree' to show a tree of package dependencies. (#8936)
There's also a --weak command line option which when specified
also shows weak dependencies.
2017-07-28 17:36:07 -04:00
Ben Newman
bfa230d705 Bump $BUNDLE_VERSION to 8.2.5 before rebuilding dev bundle. 2017-07-28 16:45:35 -04:00
Ben Newman
275813bb3b Upgrade meteor-babel to version 0.23.5.
Fixes #8955.
2017-07-28 16:45:08 -04:00
Ben Newman
3fa9b6efbe Upgrade the semver package to version 5.4.1. 2017-07-28 16:44:59 -04:00
Ben Newman
4f90c54d1a Merge branch 'release-1.5.2' into release-1.6 2017-07-28 16:44:24 -04:00
Ben Newman
a42362a0aa Mention the semver upgrade in History.md. 2017-07-28 16:41:59 -04:00
Jesse Rosenberger
bd22b331da Merge pull request #8949 from sebakerckhof/fix/ejsondos
Cut of regex flags in ejson parser to avoid abuse
2017-07-27 19:40:00 +03:00
Jesse Rosenberger
300511450b Change import of underscore to only bring in clone. 2017-07-27 19:32:26 +03:00
Jesse Rosenberger
31735e087d Replace underscore _.each with Array.prototype.forEach. 2017-07-27 19:31:03 +03:00
Jesse Rosenberger
ae9eaf69ac Change require statements to import statements. 2017-07-27 19:31:00 +03:00
Jesse Rosenberger
f896950bfc Replace underscore _.extend with Object.assign. 2017-07-27 19:20:28 +03:00
Jesse Rosenberger
639436b9ef Replace underscore _.has with Object.property.hasOwnProperty. 2017-07-27 19:20:15 +03:00
Jesse Rosenberger
d35f9b52ff Reworking functions and exports in tools/meteor-services/deploy.js. 2017-07-27 18:51:28 +03:00
Hugh Willson
aedd111cbd Increase "modules - test app" self-test wait time to fix Circle (#8948)
* Increase "modules - test app" self-test wait time to fix Circle failures.

* Increase "modules - test app" self-test wait time further.
2017-07-27 16:48:53 +03:00
Jesse Rosenberger
613ce27f69 Remove meteor claim which is no longer a supported command.
This was residue from Meteor Free Hosting, which is no longer available,
and `meteor claim` has not worked in quite some time.
2017-07-27 16:16:07 +03:00
Jesse Rosenberger
a7c229d5e5 For meteor deploy there is no longer a protection of password.
Only `account` is still a valid `protection` which is recognized by
the Galaxy server.
2017-07-27 16:14:30 +03:00
Jesse Rosenberger
ba675fe9e5 Add /.vscode/ to .gitignore.
In the same spirit as all the other editor exceptions, like `*.sublime*`
and .idea, this will allow developers to keep their own .vscode in their
`meteor` directory without having to work around it constantly.
2017-07-27 13:18:17 +03:00
seke
7232b39fa4 Cut of flags to avoid abuse of CPU-intensive regexes 2017-07-27 10:25:42 +02:00