2.1.4 • Published 8 months ago

@dotcom-tool-kit/secret-squirrel v2.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

@dotcom-tool-kit/secret-squirrel

Tool Kit plugin to run Secret Squirrel

This plugin will be installed as a dependency of the frontend-app, backend-heroku-app, and component plugins so you do not need to install it separately if you are using either of those plugins.

Installation & Usage

With Tool Kit already set up, install this plugin as a dev dependency:

npm install --save-dev @dotcom-tool-kit/secret-squirrel

And add it to your repo's .toolkitrc.yml:

plugins:
  - '@dotcom-tool-kit/secret-squirrel'

You will need a plugin that provides a hook to run the SecretSquirrel task. By default, the task runs on the git:precommit hook. One plugin that provides that hook is husky-npm; installing that alongside this plugin will enforce Secret Squirrel running on before every commit.

You can also configure Secret Squirrel to run on any other hook; for example, if you want to run it with npm run test, you could install the npm plugin and manually configure Secret Squirrel to run on npm's test:local hook:

plugins:
  - '@dotcom-tool-kit/secret-squirrel'
  - '@dotcom-tool-kit/npm'

hooks:
  'test:local': SecretSquirrel

Tasks

TaskDescriptionDefault hook
SecretSquirrelrun Secret Squirrel to check for secrets in your repogit:precommit
2.1.4

8 months ago

2.1.3

10 months ago

2.1.2

11 months ago

2.1.1

12 months ago

1.0.15

1 year ago

1.0.14

1 year ago

2.1.0

1 year ago

1.0.13

1 year ago

2.0.0

1 year ago

1.0.12

1 year ago

1.0.9

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.8

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.2

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago