Commit Graph

16485 Commits

Author SHA1 Message Date
Ben Newman
6f8a9cd711 Load jquery as a peer dependency if installed by app.
Fixes #6626.
2016-04-07 13:05:51 -04:00
Ben Newman
b535ce9eb8 Eliminate jquery dependency from check package.
Part of #6626.
Fixes #6563.
2016-04-07 13:05:51 -04:00
Ben Newman
37659529ca Eliminate check package dependency from babel-compiler. 2016-04-07 13:05:51 -04:00
Ben Newman
65c8e65e77 Exit early from npm-rebuild.js when npm-rebuilds.json does not exist. 2016-04-07 13:05:50 -04:00
Ben Newman
c18c1f5278 Replace setup.sh with npm-rebuild.js, and run it on npm install.
Implements https://github.com/meteor/meteor/issues/6537#issuecomment-205954797

The setup.sh script was only sometimes written previously, so no existing
deployment logic should rely on it existing.

On the other hand, all apps built by `meteor build` require running
`npm install` in the programs/server/ directory, so the install hook I
added to programs/server/package.json will ensure npm-rebuild.js is
invoked reliably.

Using a pure Node script means this code will work just as well on Windows
as on Linux or Darwin, though Linux is by far the most common deployment
platform for Meteor apps.

TODO Remember to rebuild the dev bundle before the next release!
2016-04-07 13:05:50 -04:00
Ben Newman
2dd511ff11 Remove logic for writing package.json files for binary npm packages.
We're going to be using programs/server/setup.sh to run `npm rebuild` in
these packages, which is a much cleaner solution for #6537.
2016-04-07 13:05:50 -04:00
Ben Newman
91244f36c3 Run npm rebuild in programs/server/setup.sh.
Part of #6537.
2016-04-07 13:05:49 -04:00
Ben Newman
b4fe0d5c85 Allow importing .css files from node_modules directories.
Fixes #6037.
2016-04-07 13:05:49 -04:00
Ben Newman
94d03ee6bb Update the modules test app to Meteor 1.3.1. 2016-04-07 13:05:49 -04:00
Zoltan Olah
aedee2df30 Update README.md 2016-04-07 09:28:40 -07:00
Zoltan Olah
61cd0be862 Adds guide to readme 2016-04-07 09:28:12 -07:00
Marcelo Schmidt
a290346af6 Remove _.once and add cache to getPool
Subsequent calls to getPool will return the cached value, until process.env.MAIL_URL changes and getPool is called again.
2016-04-07 16:31:24 +02:00
skirunman
f9a6e314bc Fix bad link 2016-04-07 00:11:38 -07:00
Sashko Stubailo
1f5ca3c151 Merge branch 'hwillson-devel' into devel
PR #6721
2016-04-06 09:57:38 -07:00
Sashko Stubailo
b1b9eb1338 Add to table of contents 2016-04-06 09:57:11 -07:00
Sashko Stubailo
73e43738d0 Update docs data and jsdoc 2016-04-06 09:54:15 -07:00
hwillson
6cbb0bb30e Added in missing Meteor.isProduction. 2016-04-06 12:48:56 -04:00
Ben Newman
3ba4b04b04 Include link to 1.3.1 announcement in upgrade banner text. 2016-04-06 11:33:37 -04:00
hwillson
8b7668f19c Added in missing Meteor.isDevelopment. 2016-04-06 11:33:24 -04:00
Skaag Argonius
c737f5d1b3 Fixed issue #6666 + Removed progress bar animation when no tty is present 2016-04-05 17:09:01 -07:00
Ben Newman
412736a812 Merge branch 'master' into devel 2016-04-04 14:51:37 -04:00
Ben Newman
80ae68989b Merge branch 'release-1.3.1' 2016-04-04 14:51:03 -04:00
Sashko Stubailo
bfc88706c4 Fix spacing 2016-04-03 23:53:13 -07:00
Michel Floyd
c788afa30d Converted example to use ES6 conventions (Method shorthand and arrow functions)
* Converted example to use ES6 conventions (fat-arrow functions)

* Removed arrow functions from onRendered/onDestroyed at Sashko's request

* Fixed spacing
2016-04-03 23:51:32 -07:00
Joseph Orbegoso Pea
441fc9871f Update Blaze.remove docs.
* Update Blaze.remove docs.

* Update view.js
2016-04-03 23:02:04 -07:00
Ben Newman
2acade83f9 Merge pull request #6688 from laosb/patch-7
Fixes #6686
2016-04-03 23:26:38 -04:00
Ben Newman
977dbd11c3 Add update banner text for 1.3 => 1.3.1. 2016-04-03 23:05:41 -04:00
Ben Newman
117863fcdd Bump package versions for the official 1.3.1 release. release/METEOR@1.3.1 2016-04-03 20:26:26 -04:00
Ben Newman
684ed7eb85 Update History.md with changes in the 1.3.1 release. 2016-04-03 20:13:25 -04:00
Ben Newman
d7f87b00bf Don't colonConverter.convert(name) again. 2016-04-03 13:26:45 -04:00
Wexpo Lyu
0810cb574b Fixes #6686 2016-04-03 13:42:18 +08:00
Ben Newman
ccbbb006f8 Bump package versions for 1.3.1-rc.3 release. release/METEOR@1.3.1-rc.3 2016-04-02 21:08:51 -04:00
Ben Newman
aeb2b6b0ed Avoid unnecessarily long node_modules paths for plugin isopacks.
Long paths pose real problems on Windows, and may have exacerbatd the
consequences of #6609.
2016-04-02 20:25:21 -04:00
Ben Newman
9c01610b1f Bump package versions for 1.3.1-rc.1 release. release/METEOR@1.3.1-rc.1 2016-04-01 21:39:32 -04:00
Ben Newman
5fc2e0c043 Use IsopackCache#uses to determine useMeteorInstall. 2016-04-01 21:39:31 -04:00
Ben Newman
6c1c12318c Refactor IsopackCache#{uses,implies} so modules use/imply themselves.
In particular, it is very important that the 'modules' package qualifies
as using itself, or else its require function will not be able to find
files unless they are mentioned in package.js.
2016-04-01 21:22:51 -04:00
Ben Newman
bff3f0c9ea Bump package versions for 1.3.1-rc.0 release. release/METEOR@1.3.1-rc.0 2016-04-01 20:01:45 -04:00
Ben Newman
0e62234fe0 Bump compiler.BUILT_BY to 'meteor/20'. 2016-04-01 19:53:49 -04:00
Ben Newman
c8d12aed4e Bump meteor-babel version to 0.8.4. 2016-04-01 18:48:44 -04:00
Ben Newman
5bde892812 Tolerate \r\n line endings when splitting lines in linker.
Fixes #6660.
2016-04-01 14:16:40 -04:00
Ben Newman
8248d86fb2 Consolidate exit code logic for meteor npm and meteor node.
Follow-up to #6675.
2016-04-01 12:08:55 -04:00
Ben Newman
1695670ff7 Merge pull request #6675 from abernix/fix-dev-bundle-bin-command-exit-status
"meteor npm/node" should return exit code from command
2016-04-01 11:55:36 -04:00
Jesse Rosenberger
97cb2c14a8 "meteor npm/node" should return exit code from command
Fixes #6673

The Meteor "dev bundle bin commands" which proxy through to the
meteor version of npm/node was not returning the exit code from the
command which it executed.  This creates problems for things like
`meteor npm run script-name` when the exit code is important.  This
comes into play when you run npm scripts which run tests, lint code, etc.

This fix causes the meteor-tool to process.exit with the spawned process
exit code.

Windows Disclaimer: I used the same flush-buffers-on-exit-in-windows
that the tool/cli/main.js uses because I would assume the same problem
exists, however, I don't have the Windows environment to test or confirm
that this code works at all.

Also, couldn't find any tests that directly tested this dev bundle
bin-command passing scenario (though hard to search through them all),
so I created a barebones test app and tests.
2016-04-01 17:09:03 +03:00
Ben Newman
be986fd709 Report compilation errors for lazy files at import time. 2016-03-31 20:09:53 -04:00
Ben Newman
a847988be7 Omit lazy resources from unibuild JSON files when not using modules.
Fixes #6618.
Fixes #6484.
2016-03-31 20:09:53 -04:00
Ben Newman
e9d5ec34da Implement IsopackCache#{uses,implies}. 2016-03-31 19:17:02 -04:00
Ben Newman
e8f9972a5b Convert IsopackCache to an ES2015 class.
No behavioral changes.
2016-03-31 16:17:50 -04:00
Ben Newman
85047f9d3f Improve wording of missing modules warnings. 2016-03-31 16:17:50 -04:00
Ben Newman
77f2fdf426 Silence missing module warnings generated by Meteor packages.
A better way to verify package dependencies is coming: #6322.
2016-03-31 16:17:49 -04:00
Ben Newman
a86c61eb9b Don't warn about unresolved modules in Browserify/Webpack bundle files.
Fixes https://github.com/practicalmeteor/meteor-mocha/issues/19
Related: https://github.com/meteor/todos/issues/90
See also: 62c41b2ef5
2016-03-31 16:17:49 -04:00