Add npm-shrinkwrap.json to generated files (#3048)

This file is generated by the `npm shrinkwrap` command. It's large,
generated, and has a noisey diff. One similar file, php composer lock
files, is already ignored.

Closes https://github.com/github/linguist/issues/3045
This commit is contained in:
Charlie Briggs
2016-06-13 20:10:13 +01:00
committed by Arfon Smith
parent baf56666d4
commit c471990aa3
2 changed files with 17 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ class TestGenerated < Minitest::Test
generated_loading_data(File.join(samples_path, name))
end
def test_check_generated
def test_check_generated
# Xcode project files
generated_sample_without_loading_data("Binary/MainMenu.nib")
generated_sample_without_loading_data("Dummy/foo.xcworkspacedata")
@@ -51,6 +51,9 @@ class TestGenerated < Minitest::Test
# Node modules
generated_sample_without_loading_data("Dummy/node_modules/foo.js")
# npm shrinkwrap file
generated_sample_without_loading_data("Dummy/npm-shrinkwrap.json")
# Godep saved dependencies
generated_sample_without_loading_data("Godeps/Godeps.json")
generated_sample_without_loading_data("Godeps/_workspace/src/github.com/kr/s3/sign.go")