Commit Graph

20807 Commits

Author SHA1 Message Date
Ben Newman
7df7229732 Bump package versions for 1.6.2-beta.9 release. release/METEOR@1.6.2-beta.9 2018-02-21 20:27:10 -05:00
Ben Newman
4e22b2f90a Mention meteor create --minimal in History.md. 2018-02-21 20:27:08 -05:00
Ben Newman
0520200f90 Fix tools/tests/help.js self-test.
https://circleci.com/gh/meteor/meteor/16787
2018-02-21 20:22:12 -05:00
Ben Newman
590ca4d48b Support meteor create --minimal for creating very small apps.
Like `meteor create --bare`, except with even fewer Meteor core packages,
so that the client-side footprint of the app is as tiny as possible.
2018-02-21 19:39:24 -05:00
Ben Newman
556d4bdb42 Bump package versions for 1.6.2-beta.8 release. release/METEOR@1.6.2-beta.8 2018-02-21 18:39:08 -05:00
Ben Newman
a6191d4bad Merge branch 'devel' into release-1.6.2 2018-02-21 18:34:17 -05:00
Ben Newman
312763ea3e Bump meteor core package version to 1.8.3. 2018-02-21 18:31:41 -05:00
Mitar
c0ab6c8c9c Support for cursor iterator also on the server side. 2018-02-21 14:03:53 -05:00
Steven te Brinke
a11b85b53b Minifier js report used minifier (#9626)
* Remove outdated fallback.

* Report used minifier.

This allows packages such as standard-minifier-js to generate statistics per minifier, which is useful to analyze how often the fallback is needed.

* Use official name babel-minify instead of babeli.

* Bump minifier-js patch version to 2.3.3.

To account for the changes in meteor/meteor#9626.
2018-02-21 19:07:28 +02:00
Hugh Willson
a58dc51f80 Keep bundled /public and /private node_modules symlink content. (#9666)
Many npm based packages provide supporting assets that need
to be made available, when used on the web. For example, to
use the `font-awesome` package properly, the
`node_modules/font-awesome/fonts` files need to be made accessible
to incoming web requests.

With Meteor, an easy way to handle this would be to create a
symlink to `node_modules/font-awesome/fonts` from within an
application's `/public` directory. This would then allow all
of `font-awesome`'s font files to be accessed directly by
incoming clients. Unfortunately, while this approach does work
in development when using the Meteor Tool, it does not work when
production bundles are created.

Meteor's isobuild process uses a helper class called
`SymlinkLoopChecker`, to make sure the build process doesn't get
caught up in an infinite loop trying to follow circular symlinks.
Currently, a shared `SymlinkLoopChecker` instance is used to watch
for symlink loops during both the `_findSoures` and `_findAssets`
parts of the isobuild process. `_findSources` is called first, and
covers source files that an application uses from the `node_modules`
directory. The `SymlinkLoopChecker` tracks all of the `node_modules`
directories covered, so they can be watched for in the future (to
prevent duplicate inclusions). Next, `_findAssets` is called using
the same `SymlinkLoopChecker`. This means that if there are any
`node_modules` symlinks used in the `public` or `private`
directories, they will be marked as being duplicates (and stripped),
since they were already covered in the `_findSources` run.

This commit changes things a bit so that both `_findSources` and
`_findAssets` use their own `SymlinkLoopChecker` instance. This
opens up an applications symlink capabilities a bit, while still
preserving some circular symlink safeguards. By doing this, a
production application bundle can now maintain the contents of
`node_modules` based symlinks, used in `public` and `private`.

So in the case of `font-awesome` for example

```
public/fonts --> ../node_modules/font-awesome/fonts
```

becomes the following in the production application bundle

```
bundle/programs/web.browser/app/fonts/[all fonts files]
```

Fixes #7013.
2018-02-21 11:50:01 -05:00
Ron Currier
282b450008 Support <meteor-bundled-css /> pseudo-tag for controlling position of CSS bundle. (#9657)
Implements https://github.com/meteor/meteor-feature-requests/issues/24.
2018-02-21 11:45:34 -05:00
Timo Horstschäfer
52532e70e5 Fix setting bcryptRounds using Accounts.config() (#9659). 2018-02-21 11:33:09 -05:00
Pravdomil
be257d36b0 Report errors that is thrown in functions wrapped in bindEnvironment (#9654) 2018-02-21 11:31:39 -05:00
Frédéric G. MARAND
fd63390bf7 Refactor facts to uncouple from templating/blaze (feature 262) (#9629) 2018-02-21 11:17:22 -05:00
Ben Newman
7d4044178c Bump package versions for 1.6.2-beta.7 release. release/METEOR@1.6.2-beta.7 2018-02-13 15:11:12 -05:00
Ben Newman
eeb7baca8f Merge branch 'devel' into release-1.6.2 2018-02-13 15:08:58 -05:00
Ben Newman
5e9ff342a8 Bump $BUNDLE_VERSION to 8.9.24 before rebuilding dev bundle. 2018-02-13 14:17:26 -05:00
Ben Newman
7002142403 Add babel-runtime package back to dev_bundle/lib/node_modules.
I tried removing babel-runtime from the dev bundle in a recent commit
(since @babel/runtime is what Babel 7 uses), but some tests failed.

Unfortunately Meteor packages like stylus that (1) register compiler
plugins and (2) were last published before Meteor 1.6.1 still need the
older version of the babel-runtime npm package. It's an extra 2MB of dev
bundle size (82MB vs. 80MB), so it's not the end of the world, but I would
like to figure out how to remove it permanently at some point.

cc @abernix @hwillson in case you have any quick thoughts
2018-02-13 14:15:46 -05:00
Ben Newman
8b14ad2b32 Bump $BUNDLE_VERSION to 8.9.23 before rebuilding dev bundle. 2018-02-13 14:08:05 -05:00
Ben Newman
7c96a70692 Update meteor-babel to latest version, 7.0.0-beta.40-1. 2018-02-13 14:08:05 -05:00
Ben Newman
ff8a1ef32a Better error when running test-packages for nonexistent packages. 2018-02-13 13:43:08 -05:00
Ben Newman
9ee7a86e08 Merge branch 'devel' into release-1.6.2 2018-02-13 11:09:24 -05:00
Hugh Willson
8b9517344a Add Promise.prototype.finally support (#9663) 2018-02-13 11:03:13 -05:00
Ben Newman
1b32e1005a Merge pull request #9665 from GeoffreyBooth/coffeescript-2.2.1
Bump CoffeeScript to 2.2.1
2018-02-13 10:07:40 -05:00
Jesse Rosenberger
4439cbd399 Fix History.md to avoid markdown wrapping across lines.
This was breaking the rendering of the changelog on the docs
repository, as seen here: http://bit.ly/2EWsOU5
2018-02-13 12:40:44 +02:00
Geoffrey Booth
e768d0525a coffeescript package dependencies should match those in ecmascript; bump dependency versions 2018-02-12 22:42:17 -08:00
Geoffrey Booth
89b0e5919e Bump CoffeeScript version to 2.2.1 2018-02-12 22:36:30 -08:00
Ben Newman
f68affc09b Bump package versions for 1.6.2-beta.6 release. release/METEOR@1.6.2-beta.6 2018-02-10 11:05:57 -05:00
Ben Newman
926743536e Merge branch 'devel' into release-1.6.2 2018-02-10 11:01:41 -05:00
Christian Klaussner
63ed2e250c Update uglify-es to 3.3.10 (#9652) 2018-02-08 18:11:02 -05:00
Ben Newman
4b1c921768 Merge pull request #9650 from meteor/stop-running-test-packages-twice
Stop running test-packages twice in PhantomJS.
2018-02-08 12:42:57 -05:00
Ben Newman
c27b7418cf Stop running test-packages twice in PhantomJS.
During the Meteor 1.6.1 beta period, we introduced logic to render a
<script> tag to load the SockJS library in older browsers (#9353), and so
it seemed important to run test-packages both with and without the
<script> tag, using a special query parameter appended to the app URL.

The #9353 changes were ultimately reverted before Meteor 1.6.1 was
released (see 365804218f), and Meteor 1.6.2
will take a very different approach to bundling dependencies like SockJS
for legacy browsers (#9439). As part of this approach, PhantomJS is always
considered a legacy browser, and as such provides valuable feedback on the
behavior of web.browser.legacy bundles. However, since there's nothing to
configure with regard to SockJS anymore, there's no point in running the
test-packages suite twice in PhantomJS.

In order to run these tests in a modern browser environment, we should
probably revisit the idea of running tests in headless Chrome:
https://github.com/meteor/meteor-feature-requests/issues/254
2018-02-08 11:40:47 -05:00
Seba Kerckhof
640011a0bd Modernize rate limiter (#9604) 2018-02-08 10:43:06 -05:00
James Burgess
552764635e Modernize appcache package (#9600) 2018-02-08 10:35:13 -05:00
Christian Klaussner
b5a5935b09 Disable unsafe cssnano minification optimizations (#9635) 2018-02-08 10:32:28 -05:00
Robert Lowe
3332558ddb Introduce MONGO_BIND_IP override (#9606)
* Introduce MONGO_BIND_IP override

Introduces an environment variable (MONGO_BIND_IP) for overriding of meteor's mongod's `bind_ip` option to allow docker containers to bind on `0.0.0.0` to be able to expose mongod processs via docker's `-p 3001:3001` port bindings.

Related issue: https://serverfault.com/questions/758225/cannot-connect-to-mongodb-in-docker
Partially Related PR: https://github.com/meteor/meteor/pull/469

* Use METEOR_MONGO_BIND_IP over ambiguous MONGO_BIND_IP

Change request to use METEOR_MONGO_BIND_IP over ambiguous MONGO_BIND_IP
2018-02-08 10:30:28 -05:00
Ben Newman
6e6d176b7d Merge pull request #9466 from meteor/adam/synchronous-deploy
Make `meteor deploy` synchronous
2018-02-08 10:27:17 -05:00
James Burgess
8f30210b1a Modernize base64 package (#9608) 2018-02-08 10:24:02 -05:00
David Glasser
1dd7ad4544 Fix Galaxy discovery for version-status operation 2018-02-07 13:30:42 -08:00
Adam Zionts
d19f583e4f Make meteor deploy synchronous
- This changes meteor deploy to poll the /version-status/ REST endpoint
in Galaxy for the build and deploy status of the returned version
- Also fixes up a typo in a test
- Currently only configured to use a default polling configuration
- This change also adds a flag called --no-wait which allows users to
  specify that they want the deploy command to behave just as before
2018-02-07 13:30:21 -08:00
Jesse Rosenberger
52fb454803 Merge pull request #9644 from brucejo75/WSL_SQLITE_TRUNCATE
TRUNCATE journal mode for packaging DB on Windows like file systems
2018-02-07 08:32:19 +02:00
Ben Newman
9650679794 Bump ecmascript package version to 0.10.3.
This is necessary whenever we bump the babel-compiler package version,
which I just did.
2018-02-06 21:02:15 -05:00
Ben Newman
a5d9763186 Update meteor-babel to latest version. 2018-02-06 20:55:07 -05:00
Ben Newman
4294b5fd2f Bump $BUNDLE_VERSION to 8.9.22 before rebuilding dev bundle. 2018-02-06 20:13:26 -05:00
Ben Newman
2cd5b5c6d9 Update reify and optimism packages to latest versions. 2018-02-06 20:13:26 -05:00
Ben Newman
1d5da46afc Merge pull request #9627 from jamesmillerburgess/faster-circleci-workflow
Faster CircleCI workflow
2018-02-06 20:13:19 -05:00
Pravdomil
0a1e1f042a Correct jsdoc declarations for Meteor.apply (#9581)
* add docs for Meteor.apply options.returnStubValue
* remove old documentation (duplicated)
2018-02-06 19:27:59 +02:00
Jesse Rosenberger
53ceaca88b Merge pull request #9593 from meteor/abernix/test-docs-with-meteor
Attempt to generate "docs" during CircleCI tests.
2018-02-06 19:18:49 +02:00
Bruce Johnson
e34c72f665 TRUNCATE journal mode for packaging DB on Windows like file systems 2018-02-06 08:24:44 -08:00
Jesse Rosenberger
d6e1497350 Replace the Hexo test commands with new docs "npm test" script.
As implemented now on the meteor/docs repository.

Ref: https://github.com/meteor/docs/commit/af003a80bdf7f17f8ee0e95289add
2018-02-06 17:48:22 +02:00