Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jazida-opensource/dotenv-azure in…
Browse files Browse the repository at this point in the history
…to beta
  • Loading branch information
danielfsousa committed Oct 29, 2019
2 parents debfdc7 + 6b9ef07 commit 0ab1777
Show file tree
Hide file tree
Showing 8 changed files with 272 additions and 218 deletions.
14 changes: 12 additions & 2 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,23 @@
"code",
"doc",
"infra",
"maintenance"
"maintenance",
"test"
]
},
{
"login": "MaheshSasidharan",
"name": "Mahesh Sasidharan",
"avatar_url": "https://avatars2.githubusercontent.com/u/9265496?v=4",
"profile": "http://maheshsasidharan.github.io",
"contributions": [
"doc"
]
}
],
"contributorsPerLine": 7,
"projectName": "dotenv-azure",
"projectOwner": "danielfsousa",
"projectOwner": "jazida-opensource",
"repoType": "github",
"repoHost": "https://github.com"
}
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: build

on:
pull_request:
branches:
- 'alpha'
- 'beta'
- 'master'
push:
branches:
- '*'
Expand All @@ -9,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10, 12]
node-version: [8, 10, 12]
steps:
- uses: actions/checkout@v1
- name: Use Node.js
Expand Down
7 changes: 0 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,13 @@ All notable changes to this project will be documented in this file. See

### Bug Fixes

* bug fixes ([31a2669](https://github.com/jazida-opensource/dotenv-azure/commit/31a2669))
* don't throw on preload ([2abb93b](https://github.com/jazida-opensource/dotenv-azure/commit/2abb93b))
* include config files to support preload ([5785633](https://github.com/jazida-opensource/dotenv-azure/commit/5785633))
* include config files to support preload ([f1d92aa](https://github.com/jazida-opensource/dotenv-azure/commit/f1d92aa))
* semantic-release version ([5d355b2](https://github.com/jazida-opensource/dotenv-azure/commit/5d355b2))
* tests, coverage and changelog ([74c0679](https://github.com/jazida-opensource/dotenv-azure/commit/74c0679))
* update semantic-release dependencies ([7e1c970](https://github.com/jazida-opensource/dotenv-azure/commit/7e1c970))
* version ([9e54cfd](https://github.com/jazida-opensource/dotenv-azure/commit/9e54cfd))


### Features

* add preload ([223c210](https://github.com/jazida-opensource/dotenv-azure/commit/223c210))
* add preload ([5ba742e](https://github.com/jazida-opensource/dotenv-azure/commit/5ba742e))

# [1.0.0-alpha.5](https://github.com/jazida-opensource/dotenv-azure/compare/[email protected]@alpha) (2019-09-19)

Expand Down
33 changes: 18 additions & 15 deletions code-of-conduct.md → CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
nationality, personal appearance, race, religion, or sexual identity and
orientation.
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Expand All @@ -23,7 +23,7 @@ include:
Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
Expand All @@ -45,17 +45,17 @@ threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at alexjovermorales@gmail.com. All
reported by contacting the project team at sousa.dfs@gmail.com. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand All @@ -68,7 +68,10 @@ members of the project's leadership.
## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at [http://contributor-covenant.org/version/1/4][version]
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ These steps will guide you through contributing to this project:
npm install

- Create an issue to discuss about the changes you want to do before starting to code.
- Send a [GitHub Pull Request](https://github.com/alexjoverm/dotenv-azure/compare?expand=1) with a clear list of what you've done (read more [about pull requests](https://help.github.com/articles/about-pull-requests/)). Make sure all of your commits are atomic (one feature per commit).
- Send a [GitHub Pull Request](https://github.com/jazida-opensource/dotenv-azure/compare?expand=1) with a clear list of what you've done (read more [about pull requests](https://help.github.com/articles/about-pull-requests/)). Make sure all of your commits are atomic (one feature per commit).
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ DATABASE_URL=kv:https://your.vault.azure.net/secrets/DatabaseUrl/7091540ce97143d
After calling `.config()` method, the value of your key vault scret will be set to process.env:

```javascript
const DotenvAzure = require('dotenv-azure')
const { DotenvAzure } = require('dotenv-azure')

async function main () {
await new DotenvAzure().config()
Expand All @@ -85,7 +85,7 @@ main()

You should call `dotenv-azure` before the initialization of your app. Since the method `.config()` returns a promise, you have to call it inside an async function:
```javascript
const DotenvAzure = require('dotenv-azure')
const { DotenvAzure } = require('dotenv-azure')

async function main () {
const dotenvAzure = new DotenvAzure()
Expand Down Expand Up @@ -138,7 +138,7 @@ When populating `process.env` `dotenv-azure` will follow these steps:
You can pass a `safe` option to validate your variables from a `.env.example` file like [dotenv-safe](https://github.com/rolodato/dotenv-safe):

```javascript
const DotenvAzure = require('dotenv-azure')
const { DotenvAzure } = require('dotenv-azure')
const dotenvAzure = new DotenvAzure()

async function main () {
Expand Down Expand Up @@ -172,10 +172,11 @@ This project follows the [all-contributors](https://github.com/kentcdodds/all-co
<!-- prettier-ignore -->
<table>
<tr>
<td align="center"><a href="https://github.com/danielfsousa"><img src="https://avatars0.githubusercontent.com/u/11372312?v=4" width="100px;" alt="Daniel Sousa"/><br /><sub><b>Daniel Sousa</b></sub></a><br /><a href="https://github.com/jazida-opensource/dotenv-azure/commits?author=danielfsousa" title="Code">💻</a> <a href="https://github.com/jazida-opensource/dotenv-azure/commits?author=danielfsousa" title="Documentation">📖</a> <a href="#infra-jazida-opensource" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-jazida-opensource" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/danielfsousa"><img src="https://avatars0.githubusercontent.com/u/11372312?v=4" width="100px;" alt="Daniel Sousa"/><br /><sub><b>Daniel Sousa</b></sub></a><br /><a href="https://github.com/jazida-opensource/dotenv-azure/commits?author=danielfsousa" title="Code">💻</a> <a href="https://github.com/jazida-opensource/dotenv-azure/commits?author=danielfsousa" title="Documentation">📖</a> <a href="#infra-danielfsousa" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="#maintenance-danielfsousa" title="Maintenance">🚧</a> <a href="https://github.com/jazida-opensource/dotenv-azure/commits?author=danielfsousa" title="Tests">⚠️</a></td>
<td align="center"><a href="http://maheshsasidharan.github.io"><img src="https://avatars2.githubusercontent.com/u/9265496?v=4" width="100px;" alt="Mahesh Sasidharan"/><br /><sub><b>Mahesh Sasidharan</b></sub></a><br /><a href="https://github.com/jazida-opensource/dotenv-azure/commits?author=MaheshSasidharan" title="Documentation">📖</a></td>
</tr>
</table>
<!-- prettier-ignore -->

<!-- ALL-CONTRIBUTORS-LIST:END -->


4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@
"@commitlint/config-conventional": "^8.1.0",
"@semantic-release/changelog": "^3.0.4",
"@semantic-release/git": "^7.1.0-beta.3",
"@types/dotenv": "^6.1.1",
"@types/dotenv": "^8.2.0",
"@types/jest": "^24.0.18",
"@types/node": "^10",
"@types/node": "^12",
"@typescript-eslint/eslint-plugin": "^2.3.0",
"@typescript-eslint/parser": "^2.3.0",
"codecov": "^3.5.0",
Expand Down
Loading

0 comments on commit 0ab1777

Please sign in to comment.