Commit Graph

15272 Commits

Author SHA1 Message Date
David Greenspan
8754e3626f Bump versions for RC release/METEOR@1.2-rc.12 2015-09-03 11:32:51 -07:00
David Greenspan
978f710677 Add more comments to shell script 2015-09-03 11:13:00 -07:00
Martijn Walraven
9952552b34 Fix bug in upgrader when there is no cordova-plugins file 2015-09-03 16:22:09 +02:00
Sashko Stubailo
fec97c0bf3 Improve output of meteor mongo 2015-09-02 15:19:16 -07:00
David Glasser
71cf002daa Fix client refresh
Since 87b11bd we were treating client-only refreshes of the initial
server build as if they were initial builds, and not resetting the
project context.  This meant among other things that local packages
weren't being rebuilt, which led to #5074 (but also would have led to a
whole bunch of other problems).

Fixes #5074.
2015-09-02 15:16:28 -07:00
Sashko Stubailo
f0ae6b8a39 Bump package versions for new RC release/METEOR@1.2-rc.11 2015-09-02 13:34:22 -07:00
Sashko Stubailo
9921171be7 Bump release number 2015-09-02 13:27:32 -07:00
Sashko Stubailo
1333a405d8 Add comment reminder to update wiki page 2015-09-02 13:24:52 -07:00
Sashko Stubailo
0bb7c7c0b2 New addAssets package.js API; same file can be source and asset
1. Add `addAssets` API to `package.js`
2. Rename `getSourcesFunc` to `getFiles` in internal code
3. Changed `PackageAPI#sources` to `PackageAPI#files` with a new structure that
   has separate objects for assets and sources
4. Added some tests for different error conditions
5. The same file can now be a source and an asset
2015-09-02 13:14:02 -07:00
Sashko Stubailo
0a5bae9196 Add missing space 2015-09-02 11:40:36 -07:00
Sashko Stubailo
a79c91c29d Improve meteor create output 2015-09-02 11:36:58 -07:00
Sashko Stubailo
b381a675bf Fix create test 2015-09-02 11:21:22 -07:00
Sashko Stubailo
94ed0dac1a Fix bundle test 2015-09-02 11:21:14 -07:00
Martijn Walraven
44ec162d54 Remove Cordova project directory when it contains outdated platforms
Although we remove the Cordova project directory when upgrading to
Meteor 1.2, this only happens once per project, and the
.meteor/local/cordova-build directory is usually ignored, and thus
preserved per machine. This means we can’t avoid checking for outdated
platforms on every run to make sure we remove the directory when needed.
2015-09-02 16:30:33 +02:00
Martijn Walraven
b79f4944eb Fix references in tools/cordova/README.md 2015-09-02 16:30:33 +02:00
Martijn Walraven
3281e5389b Rename pluginsFromStarManifest to pluginVersionsFromStarManifest 2015-09-02 16:30:33 +02:00
Martijn Walraven
47bcdfcf42 Capture error messages in startRunTargets and print them ourselves
We no longer call startRunTargets from within an existing capture in
run-app.js, because we’ve moved the call to after the server startup.
2015-09-02 16:30:33 +02:00
Martijn Walraven
7038a49338 Don't create runFuture until after building for Cordova so we can still restart 2015-09-02 16:30:32 +02:00
Martijn Walraven
09c875ff04 Start Cordova run targets after starting the server app 2015-09-02 16:30:32 +02:00
Martijn Walraven
6249ae39c7 Remove now unnecessary prepareForPlatform when opening Xcode 2015-09-02 16:30:32 +02:00
Martijn Walraven
b62e08c5a9 Remove unused assignment 2015-09-02 16:30:32 +02:00
Martijn Walraven
7510f8f2c1 Don't continue to prepare platforms when prepareFromAppBundle generates error messages 2015-09-02 16:30:32 +02:00
Martijn Walraven
97b517025c Convert tarball URLs in cordova-plugins in upgrader
Although we convert tarball URLs when building, and we still need to do
this for plugins added through packages, seeing the old URLs in `meteor
list` may confuse people. So we now attempt to convert them as part of
upgrading, together with the plugin ID changes. This also gives us the
opportunity to warn people right away if they’ve been using non-GitHub
tarball URLs.
2015-09-02 16:30:32 +02:00
Martijn Walraven
3a1eaca782 Use Console.info to print notice header to make sure we're hiding the progress display 2015-09-02 16:30:32 +02:00
Sashko Stubailo
291c8fe344 Move BabelCompiler class into babel-compiler package
It used to be in the ecmascript package.
I want to use it in the jsx package, so it needs to be exported from somewhere.
2015-09-01 19:11:25 -07:00
Sashko Stubailo
9b9bfc562d Wording 2015-09-01 17:01:39 -07:00
Sashko Stubailo
e5d0badc38 Update docs data 2015-09-01 14:08:09 -07:00
Vincent Jaubert
10d1ce1593 Put missing brackets around hexstring optional parameter name in Mongo JSDoc 2015-09-01 14:07:36 -07:00
Dean Brettle
bab1459c50 Doc export from debugOnly and prodOnly packages
Address lack of documentation mentioned in issue #3639.
2015-09-01 13:59:20 -07:00
David Greenspan
dfc81a2a1a Add missing consts 2015-08-31 23:32:00 -07:00
David Glasser
0c0169707c Undocumented $METEOR_FORCE_PORTABLE option
If set, it assumes that all local packages are portable and can be
deployed to any platform.

If you are using this, you need to consistently use it every time you
run Meteor, not just when deploying.  The first time you use it in a
project that has been used without it, you should run `meteor rebuild`.
2015-08-31 22:45:53 -07:00
David Greenspan
6878c6aca5 bump version release/METEOR@1.2-rc.10 2015-08-31 17:51:34 -07:00
David Greenspan
99e80ce998 Claim RC 10 2015-08-31 17:30:37 -07:00
David Greenspan
397a8ca3db Remove meteor-tool/.versions
It seems to be causing problems publishing meteor-tool from other arches
like Windows.  Try removing it.
2015-08-31 17:28:16 -07:00
David Glasser
af567ff8a3 404 instead of boilerplate on production JS links
Make sure the 404 is not cached. Helps with CDNs (see eg 6ff0faa).
2015-08-31 15:40:36 -07:00
David Greenspan
4226c4f9e1 claim RC 9 release/METEOR@1.2-rc.9 2015-08-31 12:00:15 -07:00
David Greenspan
f0460a39dc Don't suggest updates to core pkg indirect deps
Exclude core packages (whose versions are pinned) from being printed
when we say:
"Newer versions of the following indirect dependencies are available".
2015-08-31 11:47:08 -07:00
David Greenspan
280041cf08 bump version number release/METEOR@1.2-rc.8 2015-08-31 10:58:23 -07:00
David Greenspan
bae5007782 bump tool version 2015-08-31 10:51:30 -07:00
David Greenspan
b522f7b8f6 Claim RC 8 2015-08-31 10:50:47 -07:00
Martijn Walraven
f57c671a70 Only list individual platform requirements when in verbose mode
Listing them all by default may confuse people, and make them overlook
the installation instructions URL.
2015-08-31 15:45:21 +02:00
David Greenspan
29f24238a0 Fix typo and add informational message 2015-08-31 06:19:30 -07:00
David Greenspan
6130648c99 Don't use old tool to run meteor update in an RC 2015-08-31 06:19:30 -07:00
Simon Fridlund
790865cc0e Better duplicate error checks for insertUserDoc
Update tests for accounts-base

Watch for specific exceptions being thrown.
2015-08-28 11:17:56 -07:00
Sashko Stubailo
16fcf6275a Add test for bare file compiled with ecmascript 2015-08-28 11:12:49 -07:00
Sashko Stubailo
a96e0e1009 Correctly format doc comment about options 2015-08-28 10:52:49 -07:00
Sashko Stubailo
217bad7f10 Reinstate logic where bare option was taken from fileOptions 2015-08-28 10:32:59 -07:00
Martijn Walraven
b0c1464e7c Only attempt to copy built apk when it exists
This is a temporary workaround for an issue that occurs when building
an app that uses Crosswalk.

We usually attempt to copy android-release-unsigned.apk to the root
build dir after a successful release build, but because Crosswalk
depends on native code, the resulting apk is architecture-specific
(android-armv7-release-unsigned.apk and
android-x86-release-unsigned.apk).

For now, I’m just adding a check so we don’t throw ENOENT. Built apks
can be found as usual in android/project/build/outputs/apk, they’re
just not copied to the root build dir.
2015-08-28 08:09:11 +02:00
David Greenspan
3d6cb90d51 bump versions for RC 7 release/METEOR@1.2-rc.7 2015-08-27 15:54:37 -07:00
David Greenspan
b0fec21188 Finish writing History.md material 2015-08-27 15:37:52 -07:00