@makano/rew 1.2.2 → 1.2.12

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.
@@ -243,7 +243,6 @@ yargs(hideBin(process.argv))
243
243
  describe: 'Package of the app to uninstall',
244
244
  type: 'string',
245
245
  }).option('all', {
246
- alias: 'a',
247
246
  describe: 'Remove the configs as well',
248
247
  type: 'boolean',
249
248
  });
@@ -311,11 +310,6 @@ yargs(hideBin(process.argv))
311
310
  describe: 'Translate to js',
312
311
  type: 'boolean',
313
312
  })
314
- .option('single', {
315
- alias: 's',
316
- describe: 'Build single file(don\'t build imports)',
317
- type: 'boolean',
318
- })
319
313
  .option('remove', {
320
314
  alias: 'r',
321
315
  describe: 'Remove all coffee',
@@ -181,14 +181,6 @@ module.exports = {
181
181
  file: path.join(installPath, c.install.build.file)
182
182
  });
183
183
  }
184
- if(c.install.commands){
185
- for(let command of c.install.commands){
186
- execSync(command.replace(/\$installPath/g, installPath));
187
- }
188
- }
189
- if(c.install.file){
190
- run(path.join(installPath, c.install.file));
191
- }
192
184
  }
193
185
  rl.close();
194
186
  } else {
@@ -244,7 +236,7 @@ module.exports = {
244
236
 
245
237
  function processFile(filePath, importsArray) {
246
238
  const content = readFile(filePath);
247
- const imports = argv.single ? [] : extractImports(content);
239
+ const imports = extractImports(content);
248
240
 
249
241
  imports.forEach((importStatement) => {
250
242
  const importedFilePath = path.resolve(path.dirname(filePath), importStatement.url);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.2.2",
3
+ "version": "1.2.12",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "lib/rew/main.js",
6
6
  "directories": {