This repository has been archived by the owner on May 27, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from data-provider/release
First pre-release
- Loading branch information
Showing
107 changed files
with
28,566 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parser": "babel-eslint", | ||
"extends": ["plugin:react/recommended"], | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"plugins": ["prettier", "react", "react-hooks"], | ||
"rules": { | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"printWidth": 99, | ||
"parser": "flow" | ||
} | ||
], | ||
"no-undef": "error", | ||
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }] | ||
}, | ||
"settings": { | ||
"react": { | ||
"pragma": "React", | ||
"version": "^16.7.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/.coverage | ||
/coverage | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# idea | ||
.idea | ||
|
||
|
||
# idea | ||
/.idea | ||
|
||
# output files | ||
/dist | ||
|
||
# History files | ||
/.history/** | ||
|
||
# Vscode config | ||
jsconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
version: ~> 1.0 | ||
import: data-provider/ci-cd-shared-config:.travis.yml@master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [unreleased] | ||
### Added | ||
### Changed | ||
### Fixed | ||
### Removed | ||
|
||
## [1.0.0-alpha.1] - 2020-02-26 | ||
### Added | ||
- feat: First pre-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,34 @@ | ||
# react | ||
@data-provider React hooks and HOCs | ||
[![Build status][travisci-image]][travisci-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Quality Gate][quality-gate-image]][quality-gate-url] | ||
|
||
[![NPM dependencies][npm-dependencies-image]][npm-dependencies-url] [![Renovate](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com) [![Last commit][last-commit-image]][last-commit-url] [![Last release][release-image]][release-url] | ||
|
||
[![NPM downloads][npm-downloads-image]][npm-downloads-url] [![License][license-image]][license-url] | ||
|
||
# React bindings for @data-provider | ||
|
||
> Set of hooks and HOCs for binding @data-provider to React components | ||
## Contributing | ||
|
||
Contributors are welcome. | ||
Please read the [contributing guidelines](.github/CONTRIBUTING.md) and [code of conduct](.github/CODE_OF_CONDUCT.md). | ||
|
||
[data-provider-url]: https://github.com/data-provider/core | ||
[data-provider-instances-docs-url]: https://github.com/data-provider/core/blob/master/docs/instances/api.md | ||
|
||
[coveralls-image]: https://coveralls.io/repos/github/data-provider/react/badge.svg | ||
[coveralls-url]: https://coveralls.io/github/data-provider/react | ||
[travisci-image]: https://travis-ci.com/data-provider/react.svg?branch=master | ||
[travisci-url]: https://travis-ci.com/data-provider/react | ||
[last-commit-image]: https://img.shields.io/github/last-commit/data-provider/react.svg | ||
[last-commit-url]: https://github.com/data-provider/react/commits | ||
[license-image]: https://img.shields.io/npm/l/@data-provider/react.svg | ||
[license-url]: https://github.com/data-provider/react/blob/master/LICENSE | ||
[npm-downloads-image]: https://img.shields.io/npm/dm/@data-provider/react.svg | ||
[npm-downloads-url]: https://www.npmjs.com/package/@data-provider/react | ||
[npm-dependencies-image]: https://img.shields.io/david/data-provider/react.svg | ||
[npm-dependencies-url]: https://david-dm.org/data-provider/react | ||
[quality-gate-image]: https://sonarcloud.io/api/project_badges/measure?project=data-provider-react&metric=alert_status | ||
[quality-gate-url]: https://sonarcloud.io/dashboard?id=data-provider-react | ||
[release-image]: https://img.shields.io/github/release-date/data-provider/react.svg | ||
[release-url]: https://github.com/data-provider/react/releases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: ["@babel/preset-env", "@babel/preset-react"] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// For a detailed explanation regarding each configuration property, visit: | ||
// https://jestjs.io/docs/en/configuration.html | ||
|
||
module.exports = { | ||
// Automatically clear mock calls and instances between every test | ||
clearMocks: true, | ||
|
||
// Indicates whether the coverage information should be collected while executing the test | ||
collectCoverage: true, | ||
|
||
// An array of glob patterns indicating a set of files for which coverage information should be collected | ||
collectCoverageFrom: ["src/**"], | ||
|
||
// The directory where Jest should output its coverage files | ||
coverageDirectory: "coverage", | ||
|
||
// An object that configures minimum threshold enforcement for coverage results | ||
/* coverageThreshold: { | ||
global: { | ||
branches: 100, | ||
functions: 100, | ||
lines: 100, | ||
statements: 100 | ||
} | ||
}, */ | ||
|
||
// The test environment that will be used for testing | ||
testEnvironment: "node", | ||
|
||
// The glob patterns Jest uses to detect test files | ||
testMatch: ["**/test/**/?(*.)+(spec|test).js?(x)"], | ||
|
||
transform: { | ||
".js$": "babel-jest" | ||
}, | ||
|
||
setupFiles: ["<rootDir>/jest.init.js"] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import "babel-polyfill"; |
Oops, something went wrong.