Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nodePackages: tslint: init at 5.16.0 #61487

Closed
wants to merge 1 commit into from
Closed

Conversation

jbboehr
Copy link
Contributor

@jbboehr jbboehr commented May 14, 2019

Motivation for this change

Closes #61124

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

tslint doesn't declare a dependency on typescript but requires it in it's module path. The safest way to fix this is probably patching it's package.json or some currently non-existent option in node2nix, however I've simply symlinked it into it's module directory here. I believe this is safe based on my understanding of node2nix. If someone knows of a better way to solve this issue, let me know.

I also did some git magic to not update all the node packages in this PR, not sure if that's preferred or not.

@CMCDragonkai
Copy link
Member

Should this be also available in older node packages too? Like v8.

@jbboehr
Copy link
Contributor Author

jbboehr commented May 28, 2019

@CMCDragonkai I was under the impression that it only needs to go into one, preferably the latest one, since it's a binary.

@jbboehr
Copy link
Contributor Author

jbboehr commented May 28, 2019

typescript is also only in node-packages-v10

@CMCDragonkai
Copy link
Member

Hmm ok.

@jbboehr jbboehr closed this Aug 13, 2019
@CMCDragonkai
Copy link
Member

@jbboehr Why did you close this?

@Valodim
Copy link
Contributor

Valodim commented Jan 13, 2020

any reason this wasn't merged? tslint is an important package for ts development

\\ edit

only now noticed that tslint is deprecated in favor of eslint. nvm :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request to package tslint into nodePackages
3 participants