New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tscfc

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tscfc - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

dist/app.js

@@ -107,3 +107,3 @@ "use strict";

function globFiles(dir, includeJSFiles) {
const files = typescript_1.default.sys.readDirectory(dir, includeJSFiles ? [".ts", ".js"] : [".ts"]);
const files = typescript_1.default.sys.readDirectory(dir, includeJSFiles ? [".ts", ".js", ".tsx", ".jsx"] : [".ts", ".tsx"]);
return files;

@@ -110,0 +110,0 @@ }

{
"name": "tscfc",
"version": "1.3.0",
"version": "1.4.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

# Tsconf Files Checker
A small CLI utility that helps with incrementally converting your project to typescript
or for adding new rules (strictNullChecks, noImplicitAny, etc...) to existing typescript project
or to incrementally apply new rules (strictNullChecks, noImplicitAny, etc...) to existing typescript project
## Flow
- 1. First `tscfc` run will output files without errors
- 2. Command `tscfc --update` will automatically include those files to tsconf
- 3. After that, each `tscfc --update` checks files against tsconf files (from step 2.) and show user if anything is broken
- 3.1. If there are no broken files, then Ok. User's changes didn't affect any files in tsconf
- 3.2. If there are files without error, tscfc will add them to tsconf.
- 3.3. If there are broken files (files in tsconf now have errors), it will output errors and exit code 1 (fail tests)
- First `tscfc` run will output files without errors
- Command `tscfc --update` include files without errors files to tsconf
- After that, each `tscfc --update` checks files against tsconf files (from step 2.) and show user if anything is broken
- If there are files without error, tscfc will include them to tsconf
- If there are broken files (files that are already in tsconf have errors), it will output errors and exit code 1 (fail tests)

@@ -53,3 +52,3 @@ ## Installation

in package json add `pretest` script, which will automatically runs
in `package.json` add `pretest` script, which will automatically runs
before your test, to check if you broke something or not, even before test.

@@ -56,0 +55,0 @@

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