Skip to content

Commit

Permalink
Migrated code from private repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrien HARNAY committed Feb 9, 2018
0 parents commit 3701395
Show file tree
Hide file tree
Showing 141 changed files with 12,927 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"projectName": "@brigad/redux-rest-easy",
"projectOwner": "Brigad",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"contributors": [
{
"login": "Zephir77167",
"name": "Adrien HARNAY",
"avatar_url": "https://avatars1.githubusercontent.com/u/15089053?v=4",
"profile": "https://adrien.harnay.me",
"contributions": [
"blog",
"code",
"doc",
"ideas",
"infra",
"review",
"test"
]
},
{
"login": "Titozzz",
"name": "Thibault Malbranche",
"avatar_url": "https://avatars1.githubusercontent.com/u/6181446?v=4",
"profile": "https://github.com/Titozzz",
"contributions": [
"bug",
"code",
"ideas",
"review"
]
},
{
"login": "eole1712",
"name": "Grisha Ghukasyan",
"avatar_url": "https://avatars3.githubusercontent.com/u/11462388?v=4",
"profile": "https://github.com/eole1712",
"contributions": [
"ideas"
]
},
{
"login": "aymericbeaumet",
"name": "Aymeric Beaumet",
"avatar_url": "https://avatars1.githubusercontent.com/u/569243?v=4",
"profile": "https://aymericbeaumet.com",
"contributions": [
"ideas"
]
}
]
}
56 changes: 56 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"presets": [
[
"env",
{
"targets": {
"browsers": [
"ie >= 11"
]
},
"exclude": [
"transform-async-to-generator",
"transform-regenerator"
],
"modules": false,
"loose": true,
"useBuiltIns": "usage"
}
],
"react",
"stage-0"
],
"env": {
"commonjs": {
"presets": [
[
"env",
{
"loose": true
}
],
"react",
"stage-0"
]
},
"rollup": {
"plugins": [
"external-helpers"
]
},
"test": {
"presets": [
[
"env",
{
"targets": {
"node": "8.9.3"
}
}
],
"react",
"stage-0"
]
}
}
}
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules
lib
dist
es
14 changes: 14 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module.exports = {
extends: ['airbnb', 'prettier'],
parser: 'babel-eslint',
plugins: ['react'],
rules: {
'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }],
'operator-linebreak': ['error', 'before'],
'react/jsx-filename-extension': ['error', { extensions: ['.js'] }],
},
env: {
browser: true,
jest: true,
},
};
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Dependency directories
node_modules/

# Coverage directories used by tools like istanbul
coverage/
junit/

# Build directories
dist/
lib/
es/

# MacOS
.DS_Store
5 changes: 5 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
semi: true,
singleQuote: true,
trailingComma: 'all',
};
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Change Log

This project adheres to [Semantic Versioning](http://semver.org/).
Every release, along with the migration instructions, is documented on the Github [Releases](https://github.com/reactjs/redux/releases) page.
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## 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 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.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, 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.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other 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]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
78 changes: 78 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Contributing

We are open to, and grateful for, any contributions made by the community. By contributing to redux-rest-easy, you agree to abide by the [code of conduct](./CODE_OF_CONDUCT.md).

## Reporting Issues and Asking Questions

Before opening an issue, please search the [issue tracker](https://github.com/Brigad/redux-rest-easy/issues) to make sure your issue hasn't already been reported.

## Development

Visit the [Issue tracker](https://github.com/Brigad/redux-rest-easy/issues) to find a list of open issues that need attention.

Fork, then clone the repo:

```bash
git clone https://github.com/your-username/Brigad/redux-rest-easy.git
```

### Building

Running the `build` task will create both a CommonJS module-per-module build and a UMD build.

```bash
yarn build
```

To create just a CommonJS module-per-module build:

```bash
yarn build:commonjs
```

To create just a UMD build:

```bash
yarn build:umd
yarn build:umd:min
```

### Testing and Linting

To run the tests:

```bash
yarn test
```

To continuously watch and run tests, run the following:

```bash
yarn test:watch
```

To perform linting with `eslint`, run the following:

```bash
yarn lint
```

### New Features

Please open an issue with a proposal for a new feature or refactoring before starting on the work. We don't want you to waste your efforts on a pull request resolving an issue which has already been worked on.

You can also have a look at the [list of TODO](./TODO.md).

## Submitting Changes

* Open a new issue in the [Issue tracker](https://github.com/Brigad/redux-rest-easy/issues).
* Fork the repo.
* Create a new feature branch based off the `master` branch.
* Make sure all tests pass and there are no linting errors.
* Submit a pull request, referencing any issues it addresses.

Please try to keep your pull request focused in scope and avoid including unrelated commits.

After you have submitted your pull request, we'll try to get back to you as soon as possible. We may suggest some changes or improvements.

Thank you for contributing!
20 changes: 20 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2017 Brigad

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 3701395

Please sign in to comment.