Commit Graph

14823 Commits

Author SHA1 Message Date
Slava Kim
7e8de86bba In Stylus resolve relative paths with path.join 2015-07-24 11:34:08 -07:00
LEE JAE HO
97060c1941 fix incorrect @import in accounts-ui
Fixed this error when added this package.

   While processing files with less (for target web.browser):
   packages/accounts-ui/login_buttons.less:1: Unknown import:
   {accounts-ui-unstyled}/login_buttons.less

Fixes #4810.
2015-07-24 11:25:51 -07:00
Martijn Walraven
9f2c65f171 Bump dev bundle version to 0.5.8 2015-07-23 20:48:06 -07:00
Martijn Walraven
e924dc470c Replace npm in dev bundle with version from our own fork 2015-07-23 20:48:06 -07:00
David Glasser
122093bc58 On-disk cache for linker.fullLink 2015-07-23 20:33:02 -07:00
David Glasser
97f3781f5a js-analyze should not analyze in strict mode
because this finds errors in things that we already compiled
successfully (eg, using 'package' as a variable name, which iron:core
does).
2015-07-23 20:27:10 -07:00
David Glasser
1e3ad0dddd Display js-analyze errors correctly 2015-07-23 20:26:48 -07:00
Slava Kim
95ae655c4e Expose wrapped fs functions for plugins
Unlike the wrapped files.* functions, files.fsFixPath is closer to fs.*
in API or async/sync and callbacks.
2015-07-23 18:10:27 -07:00
Martijn Walraven
62c99185a4 Add explicit version for npm 3 so builds are reproducible 2015-07-23 16:46:06 -07:00
Martijn Walraven
797eac143d Bump dev bundle version to 0.5.7 2015-07-23 16:40:59 -07:00
Slava Kim
c51212ed82 Builder should always write a temp file first
To avoid a situation when a file is half-written
2015-07-23 16:35:35 -07:00
Martijn Walraven
45ec8adbcc Merge branch 'npm3-dev-bundle' into devel 2015-07-23 16:12:57 -07:00
Martijn Walraven
e07143b2ca Save some space by removing esprima tests (as we were doing before) 2015-07-23 16:08:36 -07:00
Ben Newman
f279c0db7e Install es5-shim by default for new apps.
The es5-shim package can be removed by expert users who do not wish to
support older browsers, or who wish to support older browsers using a
different shim library.

To enable that use case, we do not register a strong dependency on the
es5-shim package in the core meteor package, but we do ensure that
es5-shim loads first when it is installed.
2015-07-23 18:42:57 -04:00
Martijn Walraven
fa38facc83 Specify explicit dependency on npm to avoid installing earlier version
The cordova dependency pulled in npm 1.3.4, which apparently has a bug
reading npm-shrinkwrap.json with tarball dependencies.
2015-07-23 15:25:46 -07:00
Martijn Walraven
6038c8dc00 Use npm 3 for building dev bundle on Unix 2015-07-23 15:25:46 -07:00
Martijn Walraven
4d6a5fe795 Use console.log instead of Console.debug when cleaning up
For some reason, Console was undefined here…
2015-07-23 15:25:46 -07:00
Martijn Walraven
01afd89a59 Install initial version of npm from dist and only use npm for building dev bundle 2015-07-23 15:25:46 -07:00
Martijn Walraven
cb9111a978 Don't put temp directory for generating dev bundle under scripts, but one level up 2015-07-23 15:25:46 -07:00
Martijn Walraven
b6cb554364 Install npm 3 to avoid having to flatten packages manually 2015-07-23 15:25:45 -07:00
Martijn Walraven
1d862f1437 Fix check for PLATFORM env variable 2015-07-23 15:25:45 -07:00
Martijn Walraven
10fe112959 To be removed path no longer exists 2015-07-23 15:25:45 -07:00
Martijn Walraven
d01d7d5f8d Replace PowerShell operations by cmd to avoid long directory name errors 2015-07-23 15:25:45 -07:00
Ben Newman
2b4331b188 Bump dev bundle version to 0.5.6. 2015-07-23 16:45:14 -04:00
Ben Newman
bf353fc66e Upgrade escope and use the new API in js-analyze.js. 2015-07-23 16:45:14 -04:00
Ben Newman
78d8afc861 Remove esprima from dev bundle. 2015-07-23 16:45:14 -04:00
Ben Newman
da928ba737 Use require("meteor-babel").parse in files.js instead of Esprima.
This removes the last dependency on Esprima from tool code!
2015-07-23 16:45:14 -04:00
Ben Newman
8b9a1f590b Use require("meteor-babel").parse for js-analyze instead of Esprima.
The Babel parser is faster, it has to be installed (unlike Esprima, which
can be removed after a few more changes like this), and better matches the
parsing we do for ECMAScript transpilation.
2015-07-23 16:45:14 -04:00
Slava Kim
173bfb7c03 Expose and use wrapped fs/path moduldes in Plugins 2015-07-23 13:10:26 -07:00
Anubhav Jain
cfe29661fc Added more reserved names in compile time check 2015-07-23 12:12:35 -07:00
Anubhav Jain
b6a2dfedc1 Fix for preventing templates from having reserved names like 'body' and 'instance' 2015-07-23 12:12:35 -07:00
Slava Kim
d5586d0126 Disable in-place builder on Windows 2015-07-23 12:07:18 -07:00
Slava Kim
8975ae6a34 Write file after removing the old directory on file rewrite 2015-07-23 11:57:53 -07:00
Ben Newman
c2d8a1b6c4 Upgrade meteor-babel and enable jscript plugin for client-side code.
The jscript plugin works around various limitations of older Internet
Explorer versions, in particular those described here:
http://kiro.me/blog/nfe_dilemma.html
2015-07-23 14:39:18 -04:00
Peter Choo
8121695c96 Make Spacebars links consistently link to master branch 2015-07-23 10:21:04 -07:00
David Glasser
43b4b30205 Release PLUGINS-PREVIEW@1
This included removing some internal version constraints. It would be
nice if package A could say "use B@2.0.0" (when both have changed), but
when they're both in the release, we need to make a release that has a
B@2.0.0-rc in it, which doesn't match that constraint. Fortunately,
constraints aren't necessary within a release anyway.
release/PLUGINS-PREVIEW@1
2015-07-22 23:19:11 -07:00
David Glasser
4ab5858ab3 Run jsdoc.sh 2015-07-22 22:30:42 -07:00
David Glasser
3da4e611c9 Get JSDoc working again
- Upgrade to a newer (unreleased) version which supports
     function k({} = {}) {}
  and doesn't also crash

- Filter out boring warnings

- Don't use ES7 syntax that JSDoc doesn't support in one file that
  has JSDoc in it
2015-07-22 22:29:08 -07:00
David Glasser
abce1797da fix bad jsdoc 2015-07-22 22:06:38 -07:00
David Glasser
cdd71b8312 fewer negatives in canWriteLegacyBuilds 2015-07-22 21:48:07 -07:00
David Glasser
d4a8c491c1 some more comments on compiler-plugin.js 2015-07-22 21:40:52 -07:00
David Glasser
1c93d09834 add standard-minifiers to examples
clean up some other example package usage
2015-07-22 21:28:49 -07:00
Martijn Walraven
12366fc4dc Remove now unnecessary runLog calls in meteor-npm.js 2015-07-22 21:07:15 -07:00
David Glasser
cab2f6a237 Fix crash on publish with no linters 2015-07-22 20:56:24 -07:00
David Glasser
7b0c4f1950 Stop old tools from taking isopack-2-only versions
I thought we could rely on isobuild:compiler-plugin for this, but it's
not good enough: a package could have dependencies that are satisfiable
without choosing a dependency version with a compiler plugin, yet choose
that dependency version at publish time and become ineligble for legacy
builds.
2015-07-22 20:54:07 -07:00
Martijn Walraven
02cfef50d6 Fix runNpmCommand on Windows 2015-07-22 19:12:37 -07:00
Martijn Walraven
1110a69f43 Improve error reporting in meteor-npm.js 2015-07-22 19:10:45 -07:00
Avital Oliver
0d20041683 Add clarifying comment to ddp rate limit test 2015-07-22 10:49:23 -07:00
Anubhav Jain
59c0bcf1d2 Added very simple API description to Tinytest README 2015-07-22 10:14:21 -07:00
Anubhav Jain
d8bedef10d Merge branch 'anubhav-rate-limit' into devel
Adds rate limiting to Meteor in the form of a default rule in accounts_rate_limit for user creation, login attempts and password resets. It also adds a DDPRateLimiter that allows users to add rules to methods and subscriptions.
2015-07-22 09:54:00 -07:00