mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Remove the spacebars-compiler -> spacebars and spacebars-compiler -> ui dependencies. With those dependencies, ui cannot depend on ui-dynamic-template, because ui-dynamic-template depends on templating, whose build plugin depends on spacebars-compiler, who depends on spacebars who depends on ui. spacebars-compiler doesn't actually need to depend on ui or spacebars; it only needs to depend on spacebars to add things to the `Spacebars` namespace, which this commit does by factoring out the Spacebars export into a separate `spacebars-common` package.
29 lines
625 B
JavaScript
29 lines
625 B
JavaScript
|
|
Package.describe({
|
|
summary: "Standards-compliant HTML tools",
|
|
internal: true
|
|
});
|
|
|
|
Package.on_use(function (api) {
|
|
api.use('htmljs');
|
|
api.imply('htmljs');
|
|
|
|
api.export('HTMLTools');
|
|
|
|
api.add_files(['utils.js',
|
|
'scanner.js',
|
|
'charref.js',
|
|
'tokenize.js',
|
|
'parse.js']);
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use('tinytest');
|
|
api.use('html-tools');
|
|
api.use('underscore');
|
|
api.use('spacebars-compiler'); // for `HTML.toJS`
|
|
api.add_files(['charref_tests.js',
|
|
'tokenize_tests.js',
|
|
'parse_tests.js']);
|
|
});
|