0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-17 23:45:29 -05:00

feat: prevent secrets from leaking to source control

This commit is contained in:
Liran Tal 2019-07-05 22:38:33 +03:00
parent 4f87750c18
commit 9ef6808d4e
No known key found for this signature in database
GPG key ID: 073F633B3575FF1E
2 changed files with 13 additions and 1 deletions

View file

@ -70,6 +70,7 @@
"@verdaccio/types": "5.2.2", "@verdaccio/types": "5.2.2",
"codecov": "3.5.0", "codecov": "3.5.0",
"cross-env": "5.2.0", "cross-env": "5.2.0",
"detect-secrets": "1.0.1",
"eslint": "5.16.0", "eslint": "5.16.0",
"get-stdin": "7.0.0", "get-stdin": "7.0.0",
"husky": "2.7.0", "husky": "2.7.0",
@ -131,12 +132,15 @@
} }
}, },
"lint-staged": { "lint-staged": {
"relative": true,
"linters": { "linters": {
"*.yaml": [ "*.yaml": [
"detect-secrets-launcher",
"prettier --parser yaml --no-config --single-quote --write", "prettier --parser yaml --no-config --single-quote --write",
"git add" "git add"
], ],
"*": [ "*": [
"detect-secrets-launcher",
"eslint .", "eslint .",
"prettier --write", "prettier --write",
"git add" "git add"

View file

@ -3089,6 +3089,14 @@ detect-newline@^2.1.0:
resolved "https://registry.verdaccio.org/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2" resolved "https://registry.verdaccio.org/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2"
integrity sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I= integrity sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=
detect-secrets@1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/detect-secrets/-/detect-secrets-1.0.1.tgz#c359bb655a0977d0342a648e11e5504051860f5c"
integrity sha512-aVrNH3Cj708lX99yVQBgnQflQiNjxjMZcbEHGHQqdxw2wHpBJFM8lcRG1c5XpRPgNmQSrYW3NffgW8Qd2VfBxg==
dependencies:
debug "^4.1.0"
which "^1.3.1"
diff-sequences@^24.3.0: diff-sequences@^24.3.0:
version "24.3.0" version "24.3.0"
resolved "https://registry.verdaccio.org/diff-sequences/-/diff-sequences-24.3.0.tgz#0f20e8a1df1abddaf4d9c226680952e64118b975" resolved "https://registry.verdaccio.org/diff-sequences/-/diff-sequences-24.3.0.tgz#0f20e8a1df1abddaf4d9c226680952e64118b975"
@ -8285,7 +8293,7 @@ which-module@^2.0.0:
resolved "https://registry.verdaccio.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" resolved "https://registry.verdaccio.org/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
which@^1.2.10, which@^1.2.9, which@^1.3.0: which@^1.2.10, which@^1.2.9, which@^1.3.0, which@^1.3.1:
version "1.3.1" version "1.3.1"
resolved "https://registry.verdaccio.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" resolved "https://registry.verdaccio.org/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==