Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
# production
/build
/dist
/docs

# misc
.DS_Store
Expand Down
18 changes: 18 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,11 @@ Add the package to your React app using yarn or npm:
yarn add form-and-function
```

react and react-dom are peer dependencies listed as version >= 15.x.x as this is what I have tested. There are no
direct dependencies.
react and react-dom are peer dependencies listed as version >= 15.x.x as this is what I have tested. There are no direct dependencies. The current release version of form-and-function is 0.2.2

## Usage

form-and-function relies upon render props, if you are unfamiliar with this concept then there is a great overview **here**.
form-and-function relies upon render props, if you are unfamiliar with this concept then there is a great overview [here](https://reactjs.org/docs/render-props.html)

There is no configuration, and no App level providers (no context was used in the making of this library!). Simply import the Form component and get to work.

Expand Down
4 changes: 2 additions & 2 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"main.css": "static/css/main.fa179942.css",
"main.css.map": "static/css/main.fa179942.css.map",
"main.js": "static/js/main.9f58b0a0.js",
"main.js.map": "static/js/main.9f58b0a0.js.map",
"main.js": "static/js/main.c92d3740.js",
"main.js.map": "static/js/main.c92d3740.js.map",
"static/media/flags.png": "static/media/flags.9c74e172.png",
"static/media/icons.eot": "static/media/icons.674f50d2.eot",
"static/media/icons.svg": "static/media/icons.912ec66d.svg",
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/form-and-function/manifest.json"><link rel="shortcut icon" href="/form-and-function/favicon.ico"><title>React App</title><link href="/form-and-function/static/css/main.fa179942.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/form-and-function/static/js/main.9f58b0a0.js"></script></body></html>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="/form-and-function/manifest.json"><link rel="shortcut icon" href="/form-and-function/favicon.ico"><title>React App</title><link href="/form-and-function/static/css/main.fa179942.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="/form-and-function/static/js/main.c92d3740.js"></script></body></html>
2 changes: 1 addition & 1 deletion docs/service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions docs/static/js/main.9f58b0a0.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/static/js/main.9f58b0a0.js.map

This file was deleted.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "form-and-function",
"version": "0.1.0",
"version": "0.2.2",
"main": "dist/form-and-function.cjs.js",
"module": "dist/form-and-function.esm.js",
"browser": "dist/form-and-function.umd.js",
"types": "dist/modules/index.d.ts",
"homepage": "https://alsiola.github.io/form-and-function/",
"dependencies": {},
"peerDependencies": {
"react": "^15",
"react-dom": "^15"
"react": ">=15",
"react-dom": ">=15"
},
"devDependencies": {
"@types/deep-equal": "^1.0.1",
Expand Down