Commit Graph

56 Commits

Author SHA1 Message Date
Slava Kim
bdd3ef6686 bump versions for PLUGINS-PREVIEW@2 2015-07-27 09:45:22 -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.
2015-07-22 23:19:11 -07:00
David Glasser
f7ee0ba385 new caching-compiler package
Implements caching for single-file compilers (those that don't implement
'import' directives) as a superclass, CachingCompiler.

Used in coffeescript and templating.
2015-07-20 15:29:37 -07:00
David Glasser
1bd6c5839e Port coffeescript compiler to ES2015
Next step is factoring out the cache logic into its own package, which
might be done as an ES2015 superclass (though maybe not).
2015-07-17 01:23:52 -07:00
David Glasser
a35fcf4705 Improve coffeescript on-disk cache
Minimize unnecessary reads and writes
2015-07-17 00:45:48 -07:00
David Glasser
0629678414 Use registerCompiler via isobuild:compiler-plugin
Previously, registerCompiler was enabled by the *real* package
`compiler-plugin`, which arranged to only be available in versions of
the tool that support registerCompiler via... well, mostly via wishful
thinking.

Now this is implemented via a fake package called
isobuild:compiler-plugin. "isobuild" is a real Atmosphere organization
that will never publish any packages. The tool pretends that packages
isobuild:compiler-plugin@1.0.0, isobuild:linter-plugin@1.0.0, and
isobuild:minifier-plugin@1.0.0 exist, and carefully arranges for them to
be avoided in the actual process of building and app; they just are
referenced in Version Solver.

When we add future features like this, users of this version of Meteor
who try to depend on packages that need the feature will get a nice
error message pointing to
https://github.com/meteor/meteor/wiki/Isobuild-Feature-Packages

Users of current versions of Meteor who try to depend on packages that
require isobuild:compiler-plugin will get a slightly confusing message
about isobuild:compiler-plugin not existing.  Users of current versions
of Meteor who try to depend on packages only some of whose versions
require isobuild:compiler-plugin will get a version that doesn't require
it.
2015-07-14 10:30:42 -07:00
David Glasser
bca7f0c23f cache coffeescript compilation in memory 2015-06-04 11:17:19 -07:00
Slava Kim
b167d6446f Checkpoint: coffeescript ported to BBP 2015-06-04 01:19:13 -07:00
Ben Newman
5d15afe814 Upgrade coffeescript core package to v1.9.2.
Closes #4302.
2015-05-05 14:52:26 -07:00
David Glasser
4daaa76b12 METEOR@1.0.4 2015-03-17 13:06:07 -07:00
David Glasser
af0469da35 Bump other packages to -rc.0 2015-03-05 22:54:07 -08:00
Slava Kim
27f249bfed A lot of crazy package bumps 2015-01-21 14:03:55 -08:00
Sashko Stubailo
c37342d504 Bump a bunch of package versions 2015-01-20 22:34:24 -08:00
David Glasser
6b204ca73a Bump package versions for 1.0.2 2014-12-19 10:31:59 -08:00
David Glasser
73b809c122 Bump versions for 1.0.2. 2014-12-11 22:44:41 -08:00
David Glasser
6ea8443f30 Update calls to addFiles, onUse, and onTest 2014-12-09 20:18:31 -08:00
David Glasser
e7bfa5202e Update packages to use Package.registerBuildPlugin 2014-12-09 20:09:34 -08:00
David Glasser
de5f68cf70 bump all versions (due to source-map upgrade) 2014-11-25 09:06:26 -08:00
Sashko Stubailo
36da5aecb4 Make all version numbers not have rc 2014-10-13 14:09:37 -07:00
Sashko Stubailo
698fbedb10 Bump all of the version numbers to rc.0 2014-10-07 17:10:48 -07:00
Sashko Stubailo
0cf088b6cb Bump changed package versions 2014-10-03 16:13:08 -07:00
Sashko Stubailo
1e53f6b598 Bump all version numbers again after cherry-picking unipackage fix 2014-10-01 17:06:57 -07:00
Sashko Stubailo
0129c3f5ac Bump all of the version numbers again, to republish with the unipackage.json fix 2014-10-01 15:43:05 -07:00
Sashko Stubailo
eecc272e4a Bump every single package version number due to a change in compilation 2014-09-29 23:44:50 -07:00
Emily Stark
d19f2bf49b Bump more package versions for 0.9.2 2014-09-15 12:05:03 -07:00
Emily Stark
833c6f5b4f Bump package versions for 0.9.2 2014-09-15 11:36:57 -07:00
Slava Kim
3decef135a Bump package versions 2014-09-05 17:55:37 -07:00
Matthew Arbesfeld
124b0d869e Bump versions for CORDOVA-PREVIEW@4 2014-08-27 13:41:07 -07:00
David Glasser
bc6239dfc1 vbump for rc9
Hopefully we won't have to do "bump for all the npm modules" again after
this
2014-08-15 12:34:47 -07:00
David Glasser
a9db15a9e6 vbump for 0.9.0-rc8 2014-08-14 12:02:08 -07:00
ekatek
b9a714f028 ripping out internal, name and test from package.js files 2014-07-07 20:50:50 -07:00
ekatek
f4ea519165 test-packages now works on plugin tests 2014-04-10 22:48:19 -04:00
Geoff Schmidt
66b7253695 Take all packages to 1.0.0 (that aren't already there) 2014-03-07 12:00:20 -08:00
Emily Stark
9a7d857465 Merge remote-tracking branch 'origin/devel' into sso
Conflicts:
	History.md
	packages/coffeescript/package.js
2014-02-12 17:58:56 -08:00
Maxime Quandalle
57779c7cbe Upgrade CoffeeScript from 1.6.3 to 1.7.1
Assumptions about vars in `compile-coffeescript.js` remains valid.
2014-02-12 15:47:06 -08:00
David Glasser
1eaf4a5501 Upgrade source-map used by coffeescript too 2014-02-11 17:56:28 -08:00
David Glasser
6844cb2615 Add test for #1668 2013-12-19 17:00:38 -08:00
Maxime Quandalle
8df6553ce2 Add a literate handler in the coffeescript package
Add .coffee.md handling tests
2013-09-12 14:29:50 -07:00
David Glasser
4e18439ae6 Source maps for coffeescript. 2013-07-12 10:11:30 -07:00
David Glasser
e33694874d Test slices now never contain exports.
@export is now an error in test slices.

This is preparation for ensuring that any slice with exports has at least
"Package.foo = {}"; without this commit, both the use and test slice would (with
that change) try to overwrite Package.foo.

Remove the attempt to allow @export in 'use strict' CoffeeScript files:
ECMAScript 'use strict' is fundamentally incompatible with our implementation of
exports, and it was probably a bug that this used to work at all.
2013-06-26 12:26:12 -07:00
David Glasser
a4d9f295fe Upgrade CoffeeScript to 1.6.3.
The change I care about is that single-line ### comments get output as
single-line /**/ comments, which is what linker's @keyword parser is looking
for.
2013-06-19 23:14:58 -07:00
David Glasser
b68483e31b Implement package-level shared variables for CoffeeScript.
CoffeeScript doesn't allow you to assign to global variables using variable
assignment syntax (though you can assign properties to the global object), which
is the way to create package-level shared variables in Meteor. This commit
provides a CoffeeScript-specific to share variables between files in a package
without adding a redundant alternative for JavaScript files: simply assign
properties on the symbol `shared`.
2013-06-18 09:59:42 -07:00
Geoff Schmidt
8c72a28e35 Port coffeescript package to new plugin API 2013-05-13 11:52:43 -07:00
David Glasser
6b48e8bd8a stuff that doesn't have conflicts 2013-05-13 11:51:50 -07:00
Andrew Wilcox
c83fcbb5ca Bump CoffeeScript version to 1.6.2. 2013-04-25 14:20:29 -07:00
Andrew Wilcox
6873c91424 Allow CoffeeScript to set global vars when using "use strict".
Ha.  Turns out that `.call(this)` is needed after all when a
CoffeeScript file is using "use strict".
(http://es5.github.io/#x15.3.4.4)

Thanks to pipedreambomb on stackoverflow for the bug report and to
user1737909 for the documentation reference.
2013-04-15 10:52:01 -07:00
Avital Oliver
5a0a4f5ab0 npm dependencies at bundle time
- package.js now has a top-level 'Npm.depends' directive
- both bundle-time and server run-time code can get access
  to any dependent npm module with 'Npm.require'
2013-03-19 15:11:04 -07:00
Rasmus Erik Voel Jensen
898f552f29 CoffeeScript v1.5.0 in generate-dev-bundle.sh + style fix in coffeescript-package 2013-03-02 18:48:08 -08:00
Rasmus Erik Voel Jensen
fa4c81071d Literate CoffeeScript support. Added support for extension .litcoffee (and updated tests and documentation). 2013-03-02 18:48:08 -08:00
Tom Coleman
6a4f20ae55 Better error reporting for coffescript.
Use CS's inbuilt filename reporting, and use `bundle.error` rather than throwing.
Fixes #331
2012-09-16 12:10:09 +10:00