Slava Kim
79a53736bb
Move old stylus tests to new extensions
2015-06-24 15:40:24 -07:00
Slava Kim
b73c94c82b
Implement relative imports in stylus
2015-06-24 15:23:35 -07:00
Slava Kim
d786da29c9
WIP stylus package
2015-06-23 18:35:40 -07:00
Slava Kim
fe723c59a1
Implement getArch() and getSourceHash() for Minifiers
2015-06-23 11:45:29 -07:00
Slava Kim
42eb1cce28
Add comments for insecure/autopublish in skeleton
2015-06-22 20:28:04 -07:00
Slava Kim
b0b4af212c
Add standard-minifiers package to skeleton
2015-06-22 20:27:45 -07:00
Slava Kim
77fd7d7daf
Add an upgrader that adds standard-minifiers package to the app
2015-06-22 20:24:41 -07:00
Slava Kim
bbe884b5c1
test-packages command has --no-lint option
2015-06-22 19:56:43 -07:00
Slava Kim
b6973a794c
meteor lint command outputs warnings for local packages
2015-06-22 19:49:57 -07:00
Slava Kim
0072c5b538
implement getArch for LintingFile type
...
Fixes the overcaching of files for different arches in jshint
2015-06-22 19:49:31 -07:00
Slava Kim
366afe5c9a
Fix no-relinting for unchanged files in jshint
2015-06-22 19:23:07 -07:00
Slava Kim
f651ae1707
Don't reprint linting messages for packages or files in packages that didn't
...
change
2015-06-22 15:25:46 -07:00
Slava Kim
e24f2cae73
Store structured lintingMessages
2015-06-22 14:22:35 -07:00
Slava Kim
fe9d69a9f7
wip linting packages
2015-06-16 19:51:52 -07:00
Slava Kim
eb3275f666
Remove unused imports from isopack.js
2015-06-16 15:15:34 -07:00
Slava Kim
42978885c8
Add a null-case handling
2015-06-16 14:56:42 -07:00
Slava Kim
3c7ccbf169
Port Spacebars' templating package to batch plugins
2015-06-16 14:55:22 -07:00
Slava Kim
b59b73d34f
Add addHtml method to compiler inputFile proto
2015-06-16 14:55:03 -07:00
Slava Kim
3c7a86fc3c
Tests for minifiers errors
2015-06-16 11:57:29 -07:00
Slava Kim
886c656a31
Move minifiers uniqness check from package-level to app-level
2015-06-16 11:57:12 -07:00
Slava Kim
036b0d8fa3
Add checks for minifier plugins to add at most 1 js or css minifier
2015-06-16 10:57:33 -07:00
Slava Kim
4f48737f57
linter-plugin/minfier-plugin packages
2015-06-16 10:20:08 -07:00
David Glasser
c7f7dcb4fb
comment tweaks
2015-06-15 17:12:19 -07:00
Slava Kim
7c729b90a4
Minify CSS and split it into several stylesheets when the rules count exceeds the IE limit
...
Fixes #1876
2015-06-15 14:09:29 -07:00
Slava Kim
4badf8ed31
Put the concatenation part of minification to minifier plugins
2015-06-15 11:36:52 -07:00
David Glasser
cd173f9438
caching comment
2015-06-12 16:50:51 -07:00
Slava Kim
8c16491697
Remove stray .npm folder
2015-06-11 15:33:42 -07:00
Slava Kim
534980e3f4
Implement standard-minifiers and the Minifier build plugin API
2015-06-11 15:32:08 -07:00
David Glasser
02b3263961
implement (bad) cache for less too
...
but the magic of plugin-provided caching is that making the cache better
doesn't involve touching tools!
2015-06-09 12:40:35 -07:00
David Glasser
44c815a955
coffee uses on-disk cache
...
Also combine the two coffee registerCompiler calls into one
it's a bad on-disk cache that should be improved to not write out all
the unchanged files every time too. but the tests do show that it skips
the unnecessary recompile
less doesn't use an on-disk cache yet
2015-06-09 12:33:46 -07:00
David Glasser
de2ff17066
give plugin cache dir to build plugins
2015-06-09 11:47:42 -07:00
David Glasser
2993b298bf
give pluginCacheDir to Isopacks
...
They don't yet give them to plugins though
2015-06-09 11:36:15 -07:00
David Glasser
befd21c244
comment about multiple registerCompiler in coffee
2015-06-09 10:38:49 -07:00
David Glasser
934d302952
guard against extra instantiatePlugin calls
2015-06-09 10:31:38 -07:00
Slava Kim
595e804d4d
Glasser's comments to compiler
2015-06-09 00:24:17 -07:00
David Glasser
d7be19b356
comments about other registerSourceHandler calls
2015-06-09 00:04:08 -07:00
David Glasser
cef1a77691
test caching for local plugins
2015-06-09 00:02:34 -07:00
David Glasser
774b9754ec
Test less caching, and improve client refresh
...
Specifically, ensure that we don't even include client-specific files in
the server WatchSet by making sure we pass a precise set of extensions
to initFromAppDir. We still also rule out wrong-arch files at a later
stage too (because sourceExtensions only affects initFromAppDir).
Without the change to compiler.js, the final test (adding
yet-another-root.main.less) restarts the server rather than printing
"Client modified -- refreshing".
2015-06-08 22:41:55 -07:00
David Glasser
be42d7295f
self-test: show pattern for match-timeout
2015-06-08 21:02:55 -07:00
David Glasser
456d19a65e
coffeescript self-test w/ local package file
2015-06-08 21:02:48 -07:00
Slava Kim
d63c877b2a
Update runLinters to the internal SourceProcessor api
2015-06-08 15:15:27 -07:00
David Glasser
7a348b198b
instantiate SourceProcessors once per package
...
not once per plugin, with multiple instantiations of processors in the
first plugin!
2015-06-08 12:07:42 -07:00
David Glasser
01404de8fe
start of a self-test showing coffee/less caching
...
doesn't do less yet
2015-06-04 22:49:42 -07:00
David Glasser
a0775e14a8
precise caching for less
...
needs tests!
2015-06-04 21:24:30 -07:00
David Glasser
bca7f0c23f
cache coffeescript compilation in memory
2015-06-04 11:17:19 -07:00
David Glasser
722706beef
Simplify SourceProcessor
...
Combine BuildPluginDefinition/CompilerPlugin into SourceProcessor. We
don't actually need to ever regenerate the userPlugin objects unless
we're re-loading the Isopack that contains the plugin.
This should allow for in-memory caching in your compiler plugin.
2015-06-04 01:19:14 -07:00
David Glasser
6110c2aea3
Clean up some references to build plugins
...
Differentiate BuildPluginDefinition and CompilerPlugin better
2015-06-04 01:19:14 -07:00
David Glasser
5d9de6f4cd
Fix use of exports API by coffeescript
2015-06-04 01:19:14 -07:00
David Glasser
9fbb4e01a3
todos: Rename main less file to *.main.less
2015-06-04 01:19:14 -07:00
David Glasser
2968249f3c
clarify comment about archMatching
2015-06-04 01:19:13 -07:00