Commit Graph

16858 Commits

Author SHA1 Message Date
Ben Newman
207e567897 Bump package versions for 1.3.3-rc.0 release. release/METEOR@1.3.3-rc.0 2016-06-03 11:28:01 -04:00
Ben Newman
73ed3ff27a Combine CoffeeScript and BabelCompiler source maps.
Follow-up to #6691.
2016-06-03 09:44:34 -04:00
Ben Newman
7057434d19 Upgrade reify to v0.1.13 to fix #7111.
Relevant commit: 20e9aafa74

This also involved upgrading meteor-babel to v0.10.7, since it uses reify.
2016-06-03 09:02:58 -04:00
Ben Newman
2e61397f59 Update ddp-server npm-shrinkwrap.json. 2016-06-03 09:02:58 -04:00
Geoffrey Booth
74acae0e61 Bump coffeescript package version 2016-06-02 17:38:00 -04:00
Geoffrey Booth
f786d3aba8 Use babel-compiler instead of ecmascript as our second-pass transpiler if the source contains backticks 2016-06-02 17:37:59 -04:00
Geoffrey Booth
b2ebab3acb Upgrade source-map 2016-06-02 17:37:59 -04:00
Geoffrey Booth
bc946f7125 Obsessive-compulsive standardization of quotation marks 2016-06-02 17:37:59 -04:00
Geoffrey Booth
4f176b3490 Move all the CoffeeScript testing-related files into packages/coffeescript/tests so as not to confuse the impressionable ecmascript package 2016-06-02 17:37:58 -04:00
Geoffrey Booth
4191d01877 If CoffeeScript source contains backticks, pass the coffee output through the ecmascript package (closes #6000) 2016-06-02 17:37:58 -04:00
Geoffrey Booth
3aa8675542 Bump coffee-script npm package version (closes #4807) 2016-06-02 17:37:58 -04:00
Geoffrey Booth
aec1f641a6 Documentation of how to use 1.3 modules in CoffeeScript 2016-06-02 17:28:35 -04:00
Ben Newman
40b5a9bdeb Cache Resolver.prototype.resolve results by id and directory. 2016-06-02 17:08:31 -04:00
Ben Newman
9856d1d418 Declare files.rename a "quickie" rather than reimplementing it.
This reverts commit b5c104b09e, which was
breaking tools/tests/compiler-plugins.js tests.
2016-06-02 17:08:03 -04:00
Ben Newman
b5c104b09e Reimplement files.rename in terms of fs.renameSync.
There's no reason renaming should yield, and it's much faster if we do it
synchronously, anyway (30 seconds saved during modules test app startup).
2016-06-02 12:03:04 -04:00
Ben Newman
73685f6cf8 Reimplement files.rm_recursive with fs.renameSync.
This saves 25+ *seconds* when building the modules test app, and will
likely have huge benefits for any other sizeable app, too.

Since the temporary directory is created with files.mkdtemp, and those
directories are cleaned up at shutdown, this reimplementation effectively
defers the work of rm_recursive until shutdown, which is much better than
doing it during startup.
2016-06-02 11:25:58 -04:00
Ben Newman
00641091d7 Enable profiling for Resolver methods. 2016-06-02 11:25:58 -04:00
Ben Newman
23b8b1d5c4 Bump package versions for 1.3.3-beta.2 release. release/METEOR@1.3.3-beta.2 2016-06-01 15:18:14 -04:00
Ben Newman
db8d4f4dab Merge branch 'devel' into release-1.3.3 2016-06-01 14:24:24 -04:00
Ben Newman
5ee97c019f Merge pull request #7147 from abernix/meteor-issue-6653
Change package creation skeleton to import properly.
2016-06-01 14:14:38 -04:00
Ben Newman
dc9941bfa6 Return {path,id,stat} from Resolver.prototype.resolve.
The id property is an absolute module identifer, suitable for passing to a
native Node require function.
2016-06-01 13:39:57 -04:00
Ben Newman
949e418c12 Privatize resolve* helper methods of Resolver class. 2016-06-01 13:37:17 -04:00
Jesse Rosenberger
e24150cab1 Change package creation skeleton to import properly
The package skeleton test example was omitting the first part of the package name and thus failing to find it within the test package.

Fixes meteor/meteor#6653
2016-06-01 20:12:24 +03:00
Ben Newman
fd808913c1 Merge pull request #7132 from JesperWe/patch-1
Correct Spacebars readme link.
2016-06-01 12:58:36 -04:00
Ben Newman
bfc59dd3e3 Test that relative module identifiers work for .babelrc plugins. 2016-06-01 01:39:24 -04:00
Ben Newman
8a82a7af90 Use Resolver class to implement inputFile.resolve(id). 2016-06-01 01:39:23 -04:00
Ben Newman
ec679755ce Extract standalone Resolver class from ImportScanner. 2016-06-01 01:39:23 -04:00
Ben Newman
eb18d43024 Test that unprefixed .babelrc package names work too. 2016-06-01 01:39:23 -04:00
Ben Newman
826143bb8b Use inputFile.readAndWatchFileWithHash for relative plugins.
Follow-up to #7131.
2016-06-01 01:39:23 -04:00
Ben Newman
64bbd70c1a Implement InputFile.prototype.readAndWatchFileWithHash.
Note that a module identifier is an acceptable input path, and will be
automatically converted to an OS-specific absolute path if necessary.
2016-06-01 01:39:22 -04:00
David Glasser
f2ab2ff8a3 History update for DEPLOY_HOSTAME improvements 2016-05-31 12:15:25 -07:00
Ben Newman
09c86548ba Merge pull request #7131 from gadicc/babelrc-cache-deps
Use babel preset/plugin versions/hash for cache invalidation.
2016-05-31 14:46:37 -04:00
Ben Newman
b1df82ac0a Merge branch 'devel' into release-1.3.3 2016-05-31 14:09:46 -04:00
Ben Newman
108d79ef7e Upgrade meteor-babel to v0.10.5 in babel-compiler and dev bundle. 2016-05-31 14:06:30 -04:00
Gadi Cohen
ffc44493a5 packageNameFromTopLevelModuleId: id.replace() -> id.split() 2016-05-31 09:52:59 +02:00
Ben Newman
38a119f14d Merge pull request #6931 from gadicc/package-mainModule-import
Proper import chain for Meteor packages.
2016-05-29 15:25:48 -04:00
Gadi Cohen
dfee72792f Proper import chain for Meteor packages (closes #6907)
Don't include the ", false" for install() on traditional packages

add tests
2016-05-28 20:30:34 +02:00
Jesper We
8f65c49bed Correct link into docs 2016-05-28 13:10:57 +02:00
Gadi Cohen
74d3de3db4 Use babel preset/plugin versions/hash for cache invalidation 2016-05-28 10:13:58 +02:00
Tom Coleman
1f61491f45 Merge pull request #7128 from abernix/feature/tests-for-6916
Improve Tests for the `email` package
2016-05-27 10:48:26 -07:00
Jesse Rosenberger
07698571b6 Improve Tests for the email package
* Added `smokeEmailTest` function which sets up test stream
* Splits the previously combined tests into multiple tests
* Created test that catches error in PR #6916, caught in #7123
* Confirmed regression without 6e071838af
2016-05-27 13:59:04 +03:00
Ben Newman
bae5983d59 Merge branch 'devel' into release-1.3.3 2016-05-27 00:02:48 -04:00
Ben Newman
653ce6b9e9 Improve npmRequire function used by compiler plugins.
The most substantive change here is the additional call to
colonConverter.convert, which fixes #7096.

In the future, I would like to unify this implementation with similar
logic in tools/static-assets/server/npm-require.js.
2016-05-26 23:23:28 -04:00
Ben Newman
a62d89519d Merge pull request #7125 from meteor/7087-fix-flaky-tests
Fix flaky tests
2016-05-26 14:59:00 -04:00
Tom Coleman
ab85045f58 Don't allow logs to yield to avoid missing logs when the app quits 2016-05-25 18:23:28 -07:00
Zoltan Olah
6573364513 Merge pull request #7108 from meteor/laosb-fix-1469
Warn users when they meteor reset with MONGO_URL.
2016-05-25 18:03:31 -07:00
Tom Coleman
3b0ae7a903 Rebalanced tests 2016-05-25 17:03:05 -07:00
Tom Coleman
cd0b47e567 Only isopacket.load the logging package once
This was causing yielding problems leading to log ordering issues
2016-05-25 14:15:55 -07:00
Tom Coleman
36e14e788b Bump babel-eslint version in the linter
To work around https://github.com/babel/babel-eslint/issues/243
2016-05-25 14:12:38 -07:00
Tom Coleman
9bc1055f1d Use modules require to avoid yielding
The previous use of `Npm.require()` yielded at this point of logging,
which could lead to logging out of order (!) and failing self-tests
in particular.
2016-05-25 12:30:20 -07:00