Socket
Socket
Sign inDemoInstall

gts

Package Overview
Dependencies
Maintainers
7
Versions
49
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 0.5.3 to 0.5.4

3

build/src/cli.js

@@ -44,2 +44,3 @@ #!/usr/bin/env node

var clean_1 = require("./clean");
var packageJson = require('../../package.json');
var logger = console;

@@ -106,3 +107,3 @@ var cli = meow("\n\tUsage\n\t $ gts <verb> [<file>...] [options]\n\n Verb can be:\n init Adds default npm scripts to your package.json.\n check Checks code for formatting and lint issues.\n fix Fixes formatting and linting issues (if possible).\n clean Removes all files generated by the build.\n\n Options\n --help Prints this help message.\n -y, --yes Assume a yes answer for every prompt.\n -n, --no Assume a no answer for every prompt.\n --dry-run Don't make any acutal changes.\n\n\tExamples\n $ gts init -y\n $ gts check\n $ gts fix\n $ gts fix src/file1.ts src/file2.ts\n $ gts clean\n");

}
updateNotifier({ pkg: cli.pkg }).notify();
updateNotifier({ pkg: packageJson }).notify();
if (cli.input.length < 1) {

@@ -109,0 +110,0 @@ usage();

@@ -56,3 +56,2 @@ "use strict";

var inquirer = require("inquirer");
var path = require("path");
var util_1 = require("./util");

@@ -203,3 +202,3 @@ var pkg = require('../../package.json');

return __awaiter(this, void 0, void 0, function () {
var existing, err_1, baseConfig, tsconfig, writeTsConfig;
var existing, err_1, tsconfig, writeTsConfig;
return __generator(this, function (_a) {

@@ -223,6 +222,4 @@ switch (_a.label) {

case 3:
baseConfig = './' +
path.relative(options.targetRootDir, path.resolve(options.gtsRootDir, 'tsconfig-google.json'));
tsconfig = formatJson({
extends: baseConfig,
extends: './node_modules/gts/tsconfig-google.json',
compilerOptions: { rootDir: '.', outDir: 'build' },

@@ -229,0 +226,0 @@ include: ['src/*.ts', 'src/**/*.ts', 'test/*.ts', 'test/**/*.ts'],

{
"name": "gts",
"version": "0.5.3",
"version": "0.5.4",
"description": "Google TypeScript Style",

@@ -23,3 +23,3 @@ "repository": "google/ts-style",

"build": "npm run compile",
"clean": "rm -rf ./build/",
"clean": "rimraf ./build/",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json",

@@ -33,3 +33,4 @@ "compile": "tsc -p .",

"test": "npm run compile && nyc ava build/test/test*.js",
"posttest": "npm run lint && npm run format-check"
"posttest": "npm run lint && npm run format-check && npm run license-check",
"license-check": "jsgl --local ."
},

@@ -44,3 +45,3 @@ "engines": {

"chalk": "^2.3.0",
"clang-format": "1.2.1",
"clang-format": "1.2.2",
"inquirer": "^3.2.1",

@@ -58,11 +59,12 @@ "meow": "^4.0.0",

"@types/make-dir": "^1.0.1",
"@types/meow": "^3.6.2",
"@types/meow": "^4.0.0",
"@types/ncp": "^2.0.0",
"@types/node": "^8.0.47",
"@types/node": "^9.3.0",
"@types/pify": "3.0.0",
"@types/rimraf": "2.0.2",
"@types/tmp": "0.0.33",
"@types/update-notifier": "^1.0.1",
"ava": "^0.24.0",
"@types/update-notifier": "^2.0.0",
"ava": "^0.25.0",
"codecov": "^3.0.0",
"js-green-licenses": "^0.4.0",
"make-dir": "^1.0.0",

@@ -69,0 +71,0 @@ "ncp": "^2.0.0",

Sorry, the diff of this file is not supported yet

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