
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
tsc-committed
Advanced tools
A CLI tool to report tsc errors on committed files between base branch and feature branch in a git repo
TSC Committed is a CLI tool that helps identify the committed files between a base branch and a feature branch that fail the TypeScript compilation on committed files in a Git repository.
The tool is designed to be used in a continuous integration/continuous deployment (CI/CD) environment or as a Git hook to ensure that only TypeScript files that compiled successfully are committed to the codebase.
To install TSC Committed, run the following command:
npm install -g tsc-committed
or using npx:
npx tsc-committed
TSC Committed can be used as a command-line tool by passing in the project directory, root directory, file extensions and the base branch and feature branch to compare. The tool will output the list of files TypeScript compilation errors found on the committed files.
tsc-committed --projectDir path/to/project --rootDir src --extensions ts,tsx --baseBranch main
The following options are available:
To use TSC Committed as a Git hook, add the following to your .git/hooks/pre-commit
file:
#!/bin/sh
tsc-committed --baseBranch main || exit 1
Make sure the pre-commit file is executable:
bash Copy code
chmod +x .git/hooks/pre-commit
If you would like to contribute to TSC Committed, please follow the steps below:
vinothpandian/tsc-committed
repository.TSC Committed is licensed under the MIT License. See the LICENSE file for more information.
[1.1.1] - 2023-03-11
FAQs
A CLI tool to report tsc errors on committed files between base branch and feature branch in a git repo
The npm package tsc-committed receives a total of 0 weekly downloads. As such, tsc-committed popularity was classified as not popular.
We found that tsc-committed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.