Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gts

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gts - npm Package Compare versions

Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9

3

.eslintrc.json

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc