Skip to content

Commit

Permalink
chore(deps-dev): bump eslint from 7.32.0 to 8.17.0 (#184)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump eslint from 7.32.0 to 8.17.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.32.0 to 8.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v7.32.0...v8.17.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update deps

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Simone Busoli <simone.busoli@gmail.com>
  • Loading branch information
dependabot[bot] and simoneb authored Jun 20, 2022
1 parent cde11fb commit 3ceaf62
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Fastify Secrets Gcp

![CI](https://github.com/nearform/fastify-secrets-gcp/workflows/CI/badge.svg)
[![ci](https://github.com/nearform/fastify-secrets-gcp/actions/workflows/ci.yml/badge.svg)](https://github.com/nearform/fastify-secrets-gcp/actions/workflows/ci.yml)

Fastify secrets plugin for Google cloud platform secrets manager

Expand Down Expand Up @@ -41,25 +41,21 @@ In any case you will need to grant the "Secret Manager Secret Accessor" role.
### Add plugin to your fastify instance

```js

const FastifySecrets = require('fastify-secrets-gcp')

fastify.register(FastifySecrets, {
secrets: {
dbPassword: 'projects/PROJECT-ID/secrets/SECRET-ID/versions/latest'
}
})

```

### Access you secrets

```js

await fastify.ready()

console.log(fastify.secrets.dbPassword) // content of projects/PROJECT-ID/secrets/SECRET-ID/versions/latest

```

### Plugin options
Expand Down
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
"node": ">= 12.13.0"
},
"devDependencies": {
"eslint": "^7.11.0",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.0.0",
"eslint-config-standard": "^16.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.2.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.1.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-standard": "^5.0.0",
"fastify": "^4.0.3",
"husky": "^8.0.1",
Expand All @@ -53,8 +53,7 @@
},
"husky": {
"hooks": {
"pre-commit": "npm run lint:staged",
"pre-push": "npm run lint && npm run test"
"pre-commit": "npm run lint:staged"
}
},
"dependencies": {
Expand Down

0 comments on commit 3ceaf62

Please sign in to comment.