Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9
@@ -19,3 +19,4 @@ { | ||
"prefer-arrow-callback": "error", | ||
"no-trailing-spaces": "error" | ||
"no-trailing-spaces": "error", | ||
"quotes": ["warn", "single", { "avoidEscape": true }] | ||
}, | ||
@@ -22,0 +23,0 @@ "overrides": [ |
@@ -19,3 +19,4 @@ { | ||
"prefer-arrow-callback": "error", | ||
"no-trailing-spaces": "error" | ||
"no-trailing-spaces": "error", | ||
"quotes": ["warn", "single", { "avoidEscape": true }] | ||
}, | ||
@@ -22,0 +23,0 @@ "overrides": [ |
@@ -29,3 +29,3 @@ "use strict"; | ||
options.logger.error(`${chalk.red('ERROR:')} ${chalk.gray('compilerOptions.outDir')} ` + | ||
`cannot use the value '.'. That would delete all of our sources.`); | ||
'cannot use the value ".". That would delete all of our sources.'); | ||
return false; | ||
@@ -41,3 +41,3 @@ } | ||
` requires ${chalk.gray('compilerOptions.outDir')} to be defined in ` + | ||
`tsconfig.json.`); | ||
'tsconfig.json.'); | ||
return false; | ||
@@ -44,0 +44,0 @@ } |
@@ -86,3 +86,3 @@ #!/usr/bin/env node | ||
if (flags.length === 0) { | ||
flags.push('**/*.ts', '**/*.js'); | ||
flags.push('**/*.ts', '**/*.js', '**/*.tsx', '**/*.jsx', '--no-error-on-unmatched-pattern'); | ||
} | ||
@@ -89,0 +89,0 @@ switch (verb) { |
@@ -62,6 +62,6 @@ "use strict"; | ||
const scripts = { | ||
check: `gts check`, | ||
check: 'gts check', | ||
clean: 'gts clean', | ||
compile: `tsc`, | ||
fix: `gts fix`, | ||
compile: 'tsc', | ||
fix: 'gts fix', | ||
prepare: `${pkgManager} run compile`, | ||
@@ -224,3 +224,3 @@ pretest: `${pkgManager} run compile`, | ||
} | ||
const generate = await query(`${chalk.bold('package.json')} does not exist.`, `Generate`, true, options); | ||
const generate = await query(`${chalk.bold('package.json')} does not exist.`, 'Generate', true, options); | ||
if (!generate) { | ||
@@ -227,0 +227,0 @@ options.logger.log('Please run from a directory with your package.json.'); |
@@ -22,3 +22,4 @@ console.log('Try npm run check/fix!'); | ||
console.dir(andThose); | ||
return; | ||
} | ||
// TODO: more examples |
{ | ||
"name": "gts", | ||
"version": "2.0.0-alpha.8", | ||
"version": "2.0.0-alpha.9", | ||
"description": "Google TypeScript Style", | ||
@@ -5,0 +5,0 @@ "repository": "google/gts", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61278
832