milkee 0.0.14 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/main.js +4 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -81,7 +81,7 @@
81
81
  };
82
82
 
83
83
  compile = async function() {
84
- var command, commandParts, compilerProcess, config, enabledOptions, enabledOptonsList, error, i, item, itemPath, items, len, milkee, milkeeOptions, options, otherOptionStrings, summary, targetDir, toContinue;
84
+ var command, commandParts, compilerProcess, config, enabledOptions, enabledOptionsList, error, i, item, itemPath, items, len, milkee, milkeeOptions, options, otherOptionStrings, summary, targetDir, toContinue;
85
85
  checkCoffee();
86
86
  if (!fs.existsSync(CONFIG_PATH)) {
87
87
  consola.error(`\`${CONFIG_FILE}\` not found in this directory: ${CWD}`);
@@ -104,14 +104,15 @@
104
104
  enabledOptions = Object.keys(options).filter(function(key) {
105
105
  return options[key];
106
106
  });
107
- if (enabledOptons.length > 0) {
108
- enabledOptonsList = enabledOptions.join(',');
107
+ if (enabledOptions.length > 0) {
108
+ enabledOptionsList = enabledOptions.join(',');
109
109
  summary.push(`Options: ${enabledOptionsList}`);
110
110
  }
111
111
  consola.box({
112
112
  title: "Milkee Compilation Summary",
113
113
  message: summary.join('\n')
114
114
  });
115
+ otherOptionStrings = [];
115
116
  if (options.bare) {
116
117
  otherOptionStrings.push("--bare");
117
118
  }
@@ -162,7 +163,6 @@
162
163
  commandParts.push(`\"${config.output}\"`);
163
164
  }
164
165
  delete options.join;
165
- otherOptionStrings = [];
166
166
  if (milkeeOptions.refresh) {
167
167
  targetDir = path.join(CWD, config.output);
168
168
  if (!fs.existsSync(targetDir)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "milkee",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "A simple CoffeeScript build tool with coffee.config.js",
5
5
  "main": "dist/main.js",
6
6
  "bin": {