question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Exit Code should reflect if changes are required on a new paramter like --check

See original GitHub issue

As the title says. I would like to add this to a ci “linting” pipeline, therefore setting the rturn code to something other than 0 if there should be new typings added or removed would be nice.

I would suggest something like typesync --check which behaves like --dry but alters the return code. or you paramerize the dry parameter like typesync --dry=fail

Thank you!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
jeffijoecommented, Mar 21, 2022

Released in 0.9 👍

2reactions
Xyarencommented, May 22, 2021

This basically enforces the type definitions to be present at all times within the package.json.

Scenario: One developer forgets to “typesync” after adding a new dependency, pushes. The next developer pulls the changes, and then executes npm install & typesync. The expectation would be, that he does not have any outstanding files, that he has to commit.

Adding a step to the CI, could enforce a typesynced-package.json at all times

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add integer exit code for 'az deployment group what-if' command
The exit code should reflect the execution status of the what-if command itself. If users need the status of the deployment change preview,...
Read more >
About the enhanced conversions for web tag diagnostics report
Enhanced conversions is a feature that can improve the accuracy of your conversion measurement. It supplements the existing conversion tags by allowing ...
Read more >
Updates and breaking changes - Azure - Microsoft Learn
Learn about changes to the Microsoft identity platform that can impact your application.
Read more >
Modify the values of an Amazon RDS DB parameter group
To change an RDS DB instance configuration, you must change the parameter values of the DB parameter group for your RDS DB instance....
Read more >
NG0100: Expression has changed after it was checked - Angular
This error commonly occurs when you've added template expressions or have begun to implement lifecycle hooks like ngAfterViewInit or ngOnChanges . It is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found