Skip to content

Commit 9e2d150

Browse files
authored
Merge pull request #214 from data-driven-forms/rebase-from-master
Rebase from master
2 parents 4f95de8 + c74042a commit 9e2d150

File tree

54 files changed

+1087
-15257
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1087
-15257
lines changed

.circleci/config.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
version: 2.1
2+
orbs:
3+
codecov: codecov/[email protected]
4+
jobs:
5+
build:
6+
working_directory: ~/react-forms
7+
docker:
8+
- image: circleci/node:10
9+
steps:
10+
- checkout
11+
- run:
12+
name: update-npm
13+
command: 'sudo npm install -g npm@latest'
14+
- run:
15+
name: install-deps
16+
command: yarn
17+
- run:
18+
name: build-packages
19+
command: yarn build
20+
- run:
21+
name: test
22+
command: yarn test:ci
23+
- codecov/upload:
24+
file: coverage/*.json
25+
- persist_to_workspace:
26+
root: ~/react-forms
27+
paths:
28+
- "*"
29+
release:
30+
working_directory: ~/react-forms
31+
docker:
32+
- image: circleci/node
33+
steps:
34+
- attach_workspace:
35+
at: ~/react-forms
36+
- run:
37+
name: Release new version
38+
command: |
39+
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/react-forms/.npmrc
40+
yarn release
41+
deploy:
42+
working_directory: ~/react-forms
43+
docker:
44+
- image: circleci/node
45+
steps:
46+
- attach_workspace:
47+
at: ~/react-forms
48+
- run:
49+
name: Install Firebase Tools
50+
command: |
51+
npm install --prefix=./firebase-deploy firebase-tools
52+
- run:
53+
name: Deploy docs to firebase
54+
command: |
55+
./firebase-deploy/node_modules/.bin/firebase deploy --token=$FIREBASE_TOKEN
56+
57+
58+
workflows:
59+
version: 2
60+
build_and_deploy:
61+
jobs:
62+
- build
63+
- release:
64+
requires:
65+
- build
66+
filters:
67+
branches:
68+
only: master
69+
- deploy:
70+
requires:
71+
- build
72+
filters:
73+
branches:
74+
only: master

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pids
1010
*.pid
1111
*.seed
1212
*.pid.lock
13+
package-lock.json
1314

1415
# Directory for instrumented libs generated by jscoverage/JSCover
1516
lib-cov
@@ -71,4 +72,4 @@ packages/react-renderer-demo/public/vendor.css
7172
.firebase
7273

7374
# Rollup build info
74-
**/size-snapshot.json
75+
packages/**/size-snapshot.json

.travis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
[![codecov](https://codecov.io/gh/data-driven-forms/react-forms/branch/master/graph/badge.svg)](https://codecov.io/gh/data-driven-forms/react-forms)
2+
[![CircleCI](https://circleci.com/gh/data-driven-forms/react-forms/tree/master.svg?style=svg)](https://circleci.com/gh/data-driven-forms/react-forms/tree/master)
3+
14
[![Data Driven Form logo](images/logo.png)](https://data-driven-forms.org/)
25

36
Data Driven Forms is a React library used for rendering and managing forms with a lot of provided features based on [React Final Form](https://github.com/final-form/react-final-form).
47

8+
59
:question: Why to use Data Driven Forms? :question:
610
- All forms shared the same functionality!
711
- Components are controlled in one place!
@@ -235,4 +239,4 @@ We welcome any community contribution. Don't be afraid to report bug or to creat
235239

236240
### LICENSE
237241

238-
Apache License 2.0
242+
Apache License 2.0

0 commit comments

Comments
 (0)