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

@definitelytyped/dtslint-runner

Package Overview
Dependencies
Maintainers
7
Versions
648
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@definitelytyped/dtslint-runner

Run dtslint on DefinitelyTyped packages

  • 0.0.206
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.7K
decreased by-26.6%
Maintainers
7
Weekly downloads
 
Created
Source

@definitelytyped/dtslint-runner

A unification of dtslint-runner and the CI part of types-publisher.

To run locally, try:

# from DefinitelyTyped-tools root:
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path ~/DefinitelyTyped
# from DefinitelyTyped root:
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path .
# run all (from DefinitelyTyped root):
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path . --selection all

# after running once, it's faster to add --noInstall
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path . --selection all --noInstall
# you might only want to run a fraction of packages for testing
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path . --selection all --noInstall --shardCount 8 --shardId 1
# or test only with the $ExpectType rule, which type checks
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path . --selection all --noInstall --expectOnly
# or test only with the $ExpectType rule, which type checks
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path . --selection all --noInstall --expectOnly
# and you might just want to test on the latest Typescript
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path . --selection all --noInstall --expectOnly --onlyTestTsNext
# or a local build of Typescript
$ node node_modules/@definitelytyped/dtslint-runner/dist/index.js --path . --selection all --noInstall --expectOnly --localTypeScriptPath ../ts/built/local

FAQs

Package last updated on 12 Dec 2023

Did you know?

Socket

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.

Install

Related posts

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