Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Update master branch #101

Draft
wants to merge 27 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3bfa93d
[Security] Bump forwarded from 0.1.0 to 0.1.2
dependabot-preview[bot] Jun 26, 2019
a555801
[Security] Bump fstream from 1.0.11 to 1.0.12
dependabot-preview[bot] Jul 26, 2019
62b92d9
[Security] Bump handlebars from 4.0.10 to 4.7.6
dependabot-preview[bot] Apr 6, 2020
311d2a7
Bump lodash from 4.17.4 to 4.17.21
dependabot[bot] May 9, 2021
a9599c0
Merge pull request #85 from HealthByRo/dependabot/npm_and_yarn/lodash…
pablo-ro Feb 21, 2024
d26376c
Merge pull request #26 from HealthByRo/dependabot/npm_and_yarn/fstrea…
pablo-ro Feb 21, 2024
16aafea
Merge pull request #4 from HealthByRo/dependabot/npm_and_yarn/forward…
pablo-ro Feb 21, 2024
9608c4b
Bump fsevents from 1.1.1 to 1.2.13
dependabot[bot] Feb 21, 2024
34470ed
Merge pull request #97 from HealthByRo/dependabot/npm_and_yarn/fseven…
pablo-ro Feb 21, 2024
f7d5272
Merge pull request #61 from HealthByRo/dependabot/npm_and_yarn/handle…
pablo-ro Feb 21, 2024
e606cd0
chore: remove storybook
pablo-ro Feb 21, 2024
acec1ef
chore: yarn.lock
pablo-ro Feb 21, 2024
7bd2e4e
Merge pull request #99 from HealthByRo/pablo-ro/remove-storybook
pablo-ro Feb 21, 2024
a755b8d
Bump handlebars from 4.7.6 to 4.7.8
dependabot[bot] Feb 22, 2024
c3412b9
Merge pull request #100 from HealthByRo/dependabot/npm_and_yarn/handl…
pablo-ro Feb 22, 2024
f66ae4d
feat: remove es2016 preset
pablo-ro Feb 22, 2024
7d80c87
Merge pull request #102 from HealthByRo/pablo-ro/babel-tweaks
pablo-ro Feb 22, 2024
6efb945
feat: remove immutable from dependencies
pablo-ro Feb 22, 2024
03641a4
Merge pull request #103 from HealthByRo/pablo-ro/remove-immutable
pablo-ro Feb 22, 2024
a113054
chore: remove jest and eznyme
pablo-ro Feb 22, 2024
684d49a
Merge pull request #104 from HealthByRo/pablo-ro/jest-update
pablo-ro Feb 22, 2024
6ea7e24
chore: comment out stories
pablo-ro Feb 22, 2024
862996b
chore: comment out tests
pablo-ro Feb 22, 2024
b185c50
Merge pull request #105 from HealthByRo/pablo-ro/comment-tests-and-st…
pablo-ro Feb 22, 2024
faf8035
chore: update eslint
pablo-ro Feb 22, 2024
6a5b3f3
chore: linter
pablo-ro Feb 22, 2024
1246125
Merge pull request #106 from HealthByRo/pablo-ro/upgrade-eslint
pablo-ro Feb 22, 2024
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
3 changes: 1 addition & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"presets": [
"es2015",
"es2016",
"stage-0",
"react"
],
]
}
16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
"build": "babel -d lib/ src/ --ignore \"**/*.test.js\",\"**/*.stories.js\"",
"test": "jest --coverage",
"test:watch": "jest --watchAll",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"lint": "npm run lint:js",
"lint:eslint": "eslint --ignore-path .gitignore src/**",
"lint:js": "npm run lint:eslint -- src/ ",
Expand All @@ -25,32 +23,30 @@
},
"pre-commit": "lint:staged",
"dependencies": {
"immutable": "^3.8.2",
"lodash": "^4.17.4"
"lodash": "^4.17.21"
},
"devDependencies": {
"@kadira/storybook": "^2.21.0",
"babel-cli": "^6.24.1",
"babel-eslint": "^7.2.2",
"babel-jest": "^20.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"enzyme": "^2.8.2",
"eslint": "^3.19.0",
"eslint": "^4.0.0",
"eslint-config-airbnb": "^15.0.2",
"eslint-config-airbnb-base": "^11.1.3",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.1.0",
"flow-bin": "^0.45.0",
"jest": "^20.0.0",
"lint-staged": "^3.4.0",
"react": "^15.5.4",
"react-addons-test-utils": "^15.5.1",
"react-dom": "^15.5.4",
"react-test-renderer": "^15.5.4"
},
"homepage": "https://github.com/HealthByRo/react-form-fields/"
"homepage": "https://github.com/HealthByRo/react-form-fields/",
"engines": {
"node": ">=14"
}
}
2 changes: 2 additions & 0 deletions src/EmailField/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { storiesOf } from '@kadira/storybook';
Expand Down Expand Up @@ -122,3 +123,4 @@ storiesOf('Fields: EmailField', module)
<EmailField {...props} />
);
});
*/
2 changes: 2 additions & 0 deletions src/EmailInput/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -70,3 +71,4 @@ describe('<EmailInput />', () => {
});
});
});
*/
2 changes: 2 additions & 0 deletions src/Errors/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { storiesOf } from '@kadira/storybook';
Expand Down Expand Up @@ -29,3 +30,4 @@ storiesOf('Helpers: Errors', module)
<Errors {...props} />
);
});
*/
2 changes: 2 additions & 0 deletions src/Errors/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -46,3 +47,4 @@ describe('<Errors />', () => {
});
});
});
*/
3 changes: 2 additions & 1 deletion src/MonthSelectBox/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ export const MONTHS_SHORT = [
'Oct',
'Nov',
'Dec',
];
];

2 changes: 2 additions & 0 deletions src/MonthSelectBox/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import {
Expand Down Expand Up @@ -43,3 +44,4 @@ storiesOf('MonthSelectBox', module)
<option value="">pick a month!</option>
</MonthSelectBox>
));
*/
2 changes: 2 additions & 0 deletions src/MonthSelectBox/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -74,3 +75,4 @@ function expectToHasOptions(renderedMonthSelectBox, options) {
expect(renderedMonthSelectBox.contains(<option value={key}>{value}</option>)).toBeTruthy();
});
}
*/
2 changes: 2 additions & 0 deletions src/MonthSelectField/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import {
Expand Down Expand Up @@ -63,3 +64,4 @@ storiesOf('Fields: MonthSelectField', module)
<MonthSelectField {...props} />
);
});
*/
2 changes: 2 additions & 0 deletions src/PasswordField/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { storiesOf } from '@kadira/storybook';
Expand Down Expand Up @@ -122,3 +123,4 @@ storiesOf('Fields: PasswordField', module)
<PasswordField {...props} />
);
});
*/
2 changes: 2 additions & 0 deletions src/PasswordInput/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -70,3 +71,4 @@ describe('<PasswordInput />', () => {
});
});
});
*/
2 changes: 2 additions & 0 deletions src/TextField/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { storiesOf } from '@kadira/storybook';
Expand Down Expand Up @@ -122,3 +123,4 @@ storiesOf('Fields: TextField', module)
<TextField {...props} />
);
});
*/
2 changes: 2 additions & 0 deletions src/TextInput/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -70,3 +71,4 @@ describe('<TextInput />', () => {
});
});
});
*/
2 changes: 2 additions & 0 deletions src/YearSelectBox/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import {
Expand Down Expand Up @@ -53,3 +54,4 @@ storiesOf('YearSelectBox', module)
<option value="">select year</option>
</YearSelectBox>
));
*/
2 changes: 2 additions & 0 deletions src/YearSelectBox/index.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -126,3 +127,4 @@ function expectToHasOptionsInRange(renderedYearSelectBox, min, max, step = 1) {
expect(renderedYearSelectBox.contains(<option value={year}>{year}</option>)).toBeTruthy();
}
}
*/
2 changes: 2 additions & 0 deletions src/YearSelectField/index.stories.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import {
Expand Down Expand Up @@ -63,3 +64,4 @@ storiesOf('Fields: YearSelectField', module)
<YearSelectField {...props} />
);
});
*/
2 changes: 2 additions & 0 deletions src/createFormField.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import renderer from 'react-test-renderer';
Expand Down Expand Up @@ -120,3 +121,4 @@ describe('createFormField(TestField)', () => {
});
});
});
*/
3 changes: 2 additions & 1 deletion src/elements/ErrorElement.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* @flow */

/*
import React from 'react';
import { shallow } from 'enzyme';
import ErrorElement from './ErrorElement';
Expand Down Expand Up @@ -41,3 +41,4 @@ describe('<ErrorElement />', () => {
});
});
});
*/
2 changes: 2 additions & 0 deletions src/elements/LabelElement.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import renderer from 'react-test-renderer';
Expand Down Expand Up @@ -62,3 +63,4 @@ describe('<LabelElement />', () => {
});
});
});
*/
2 changes: 2 additions & 0 deletions src/wrappers/ErrorsListWrapper.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -47,3 +48,4 @@ describe('<ErrorsListWrapper />', () => {
});
});
});
*/
2 changes: 2 additions & 0 deletions src/wrappers/FieldWrapper.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* @flow */
/*

import React from 'react';
import { shallow } from 'enzyme';
Expand Down Expand Up @@ -47,3 +48,4 @@ describe('<FieldWrapper />', () => {
});
});
});
*/
Loading