accelerator-tool-cli
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -20,3 +20,3 @@ import chalk from 'chalk'; | ||
{ | ||
const codeTemplatePath = path.join(templatesDir, `${type}${codeExtension}`); | ||
const codeTemplatePath = path.join(templatesDir, `${type}.${codeExtension}`); | ||
@@ -35,3 +35,3 @@ log(`Reading code template from "${chalk.bold(codeTemplatePath)}".`); | ||
const newCodePath = path.join(newAssetDir, `${name}${codeExtension}`); | ||
const newCodePath = path.join(newAssetDir, `${name}.${codeExtension}`); | ||
@@ -38,0 +38,0 @@ log(`Writing code template to "${chalk.bold(newCodePath)}".`); |
@@ -22,3 +22,3 @@ import chalk from 'chalk'; | ||
templatesDir, | ||
`${type}.test${codeExtension}`, | ||
`${type}.test.${codeExtension}`, | ||
); | ||
@@ -38,3 +38,3 @@ | ||
const newTestPath = path.join(newAssetDir, `${name}.test${codeExtension}`); | ||
const newTestPath = path.join(newAssetDir, `${name}.test.${codeExtension}`); | ||
@@ -41,0 +41,0 @@ log(`Writing test template to "${chalk.bold(newTestPath)}".`); |
@@ -43,3 +43,3 @@ import chalk from 'chalk'; | ||
const codeExtension = forceJavaScript ? '.jsx' : '.tsx'; | ||
const codeExtension = forceJavaScript ? 'jsx' : 'tsx'; | ||
@@ -46,0 +46,0 @@ const promises = [ |
{ | ||
"name": "accelerator-tool-cli", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "All the code for the Accelerator devtool.", | ||
@@ -5,0 +5,0 @@ "author": "furkle", |
64167