Skip to content

Commit

Permalink
update to Meteor 1.3.3.1 (and fix templating-components referencing w…
Browse files Browse the repository at this point in the history
…rong version of caching-html-compiler)
  • Loading branch information
Nathan Reid committed Jun 21, 2016
1 parent 6ab47d0 commit 285b5b8
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 32 deletions.
11 changes: 6 additions & 5 deletions blaze-modules/package.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
Package.describe({
name: 'nathantreid:blaze-modules',
version: '0.0.3',
version: '0.0.4',
// last MDG version: '1.0.2-rc.12',
summary: 'Blaze Templates and Components - Compile HTML templates into reactive UI with Meteor Blaze',
documentation: 'README.md',
git:'https://github.com/nathantreid/blaze-modules'
});

Package.onUse(function(api) {
api.versionsFrom('1.3.3.1');

api.imply([
// A library for reactive user interfaces
'[email protected].5-rc.12',
'[email protected].8',

// The following packages are basically empty shells that just exist to
// satisfy code checking for the existence of a package. Rest assured that
// they are not adding any bloat to your bundle.
'[email protected]', // XXX COMPAT WITH PACKAGES BUILT FOR 0.9.0.
'[email protected]', // XXX COMPAT WITH PACKAGES BUILT FOR 0.9.0
'[email protected]', // XXX COMPAT WITH PACKAGES BUILT FOR 0.9.0

// Compile .html files into Blaze reactive views
'nathantreid:[email protected].3'
'nathantreid:[email protected].4'
]);
});
3 changes: 2 additions & 1 deletion caching-html-compiler/caching-html-compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ CachingHtmlCompiler = class CachingHtmlCompiler extends CachingCompiler {
const basename = path.basename(filePath, ext);

// XXX generate a source map

console.log('babel:', path.join(pathPart, "template." + basename + ".js"))
console.log(Babel.compile(allJavaScript).code);
inputFile.addJavaScript({
path: path.join(pathPart, "template." + basename + ".js"),
data: Babel.compile(allJavaScript).code
Expand Down
15 changes: 8 additions & 7 deletions caching-html-compiler/package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
name: 'nathantreid:caching-html-compiler',
version: '0.0.3',
// last MDG version: '1.0.4-rc.12',
version: '0.0.4',
// last MDG version: '1.0.6',
// Brief, one-line summary of the package.
summary: 'Pluggable class for compiling HTML into templates',
// By default, Meteor will default to using README.md for documentation.
Expand All @@ -11,12 +11,13 @@ Package.describe({
});

Package.onUse(function(api) {
api.versionsFrom('1.3.3.1');
api.use([
'[email protected].6-rc.12',
'[email protected].2-rc.12',
'nathantreid:[email protected].2',
'[email protected].1-rc.12',
'babel-compiler@6.5.2-rc.7',
'[email protected].9',
'[email protected].5',
'nathantreid:[email protected].3',
'[email protected].5',
'babel-compiler@6.8.2',

]);

Expand Down
19 changes: 10 additions & 9 deletions templating-components/package.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package.describe({
summary: "Allows templates to be defined in .html files",
name: 'nathantreid:templating-components',
version: '0.0.3',
// last MDG version: '1.1.7-rc.12'
version: '0.0.4',
// last MDG version: 'templating@1.1.11'
git:'https://github.com/nathantreid/blaze-modules'
});

Expand All @@ -20,9 +20,9 @@ Package.registerBuildPlugin({
// XXX maybe uglify should be applied by this plugin instead of via magic
// weak dependency.
use: [
'nathantreid:[email protected].2',
'[email protected].1-rc.12',
'nathantreid:[email protected].2'
'nathantreid:[email protected].4',
'[email protected].5',
'nathantreid:[email protected].3'
],
sources: [
'plugin/compile-templates.js'
Expand All @@ -31,19 +31,20 @@ Package.registerBuildPlugin({

// This onUse describes the *runtime* implications of using this package.
Package.onUse(function (api) {
// XXX would like to do the following only when the first html file
api.versionsFrom('1.3.3.1');
// XXX would like to do the following only when the first html file
// is encountered
api.use('nathantreid:[email protected].1');
api.use('nathantreid:[email protected].2');
api.addFiles('templating.js', 'client');
api.export('Template', 'client');

api.use('[email protected].6-rc.12'); // only the subset in packages/blaze/microscore.js
api.use('[email protected].9'); // only the subset in packages/blaze/microscore.js

api.use('isobuild:[email protected]');

// html_scanner.js emits client code that calls Meteor.startup and
// Blaze, so anybody using templating (eg apps) need to implicitly use
// 'meteor' and 'blaze'.
api.use(['[email protected].5-rc.12', '[email protected].9-rc.12']);
api.use(['[email protected].8', '[email protected]']);
api.imply(['meteor', 'blaze', 'spacebars'], 'client');
});
15 changes: 8 additions & 7 deletions templating-tools/package.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
Package.describe({
name: 'nathantreid:templating-tools',
version: '0.0.2',
// last MDG version: '1.0.2-rc.12',
version: '0.0.3',
// last MDG version: '1.0.4',
summary: 'Tools to scan HTML and compile tags when building a templating package',
git:'https://github.com/nathantreid/blaze-modules',
documentation: 'README.md'
});

Package.onUse(function(api) {
api.versionsFrom('1.3.3.1');
api.use([
'[email protected].6-rc.12',
'[email protected].1-rc.12',
'[email protected].9-rc.12',
'[email protected].9',
'[email protected].5',
'[email protected]',

// minifier-js is a weak dependency of spacebars-compiler; adding it here
// ensures that the output is minified. (Having it as a weak dependency means
// that we don't ship uglify etc with built apps just because
// boilerplate-generator uses spacebars-compiler.)
// XXX maybe uglify should be applied by this plugin instead of via magic
// weak dependency.
'[email protected].9-rc.12'
'[email protected]'
]);

api.addFiles([
Expand All @@ -37,7 +38,7 @@ Package.onTest(function(api) {
api.use([
'tinytest',
'nathantreid:templating-tools',
'[email protected].1-rc.12'
'[email protected].5'
]);

api.addFiles('html-scanner-tests.js', 'server');
Expand Down
6 changes: 3 additions & 3 deletions templating-wrapper/package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'nathantreid:templating-wrapper',
version: '0.0.1',
version: '0.0.2',
// Brief, one-line summary of the package.
summary: 'Wrapper package to bring in Template stuff without build plugin conflicts',
// URL to the Git repository containing the source code for this package.
Expand All @@ -11,6 +11,6 @@ Package.describe({
});

Package.onUse(function(api) {
api.versionsFrom('1.2.1');
api.use('[email protected].7-rc.12');
api.versionsFrom('1.3.3.1');
api.use('[email protected].11');
});

0 comments on commit 285b5b8

Please sign in to comment.