Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version ts #1

Open
wants to merge 380 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
380 commits
Select commit Hold shift + click to select a range
5974acf
Added home page.
radekmie Apr 27, 2019
176e7c8
Organized dependencies and hoisting.
radekmie Apr 27, 2019
d87ac9b
Added hard copies of images.
radekmie Apr 27, 2019
d636cd7
Enabled tests on Node 12.
radekmie Apr 27, 2019
833900a
Added a workaround for baseUrl.
radekmie Apr 27, 2019
69481a1
Reorganized few doc pages.
radekmie Apr 28, 2019
6e76a9e
Fixed styling in docs.
radekmie Apr 28, 2019
e471e92
Configured commit hooks.
radekmie Apr 28, 2019
7483d5b
Optimized dependencies and build.
radekmie May 1, 2019
e19833d
Fixed navigation links.
radekmie May 1, 2019
d78787a
Updated Docusaurus.
radekmie May 1, 2019
e57c5a0
Fixed links in README.md.
radekmie May 1, 2019
d8c3b66
v2.0.0-alpha.0
radekmie May 1, 2019
2acfb4b
Updated versions.
radekmie May 1, 2019
c9e17ce
Bumped up license year.
radekmie May 1, 2019
cfde27d
Added missing ValidatedForm tests.
radekmie May 2, 2019
dc6ea7c
Increased test coverage.
radekmie May 2, 2019
8fb7a14
Fixed doubled inline error in SelectField.
radekmie May 2, 2019
aa26384
Fixed nesting arrays in GraphQLBridge (fixes #536).
gerwinbrunner May 15, 2019
6337a08
Updated Docusaurus.
endiliey May 16, 2019
f715d1e
Added tests for nested arrays in GraphQL.
radekmie May 16, 2019
4402ba3
Updated CHANGELOG.md.
radekmie May 16, 2019
70f30ae
v2.0.0-alpha.1
radekmie May 16, 2019
d3a390f
Updated CHANGELOG.md.
radekmie May 16, 2019
43c0d0b
Updated tar from 2.2.1 to 2.2.2.
dependabot[bot] May 25, 2019
0d11646
Updated fstream from 1.0.11 to 1.0.12.
dependabot[bot] May 30, 2019
280f449
Enabled custom domain for docs.
radekmie May 31, 2019
e797000
v2.0.0
radekmie Jun 10, 2019
8b1a1a2
Updated CHANGELOG.md.
radekmie Jun 10, 2019
154cab9
Updated Material UI dependencies.
Floriferous Jun 18, 2019
ed5f34e
v2.1.0
radekmie Jun 18, 2019
11fd179
Updated CHANGELOG.md.
radekmie Jun 18, 2019
5a84535
Updated dependencies.
radekmie Jun 18, 2019
52abd6d
Updated Docusaurus.
radekmie Jun 18, 2019
7850502
Updated ESLint rules.
radekmie Jun 18, 2019
94e7d57
Updated Travis CI configuration.
radekmie Jul 8, 2019
807bcaf
Added support for labelClassName in bootstrap themes.
chirvo Jul 9, 2019
881bdb0
Updated lodash from 4.17.11 to 4.17.13.
dependabot[bot] Jul 11, 2019
f93818e
Updated lodash.template from 4.4.0 to 4.5.0.
dependabot[bot] Jul 11, 2019
5df4074
Updated lodash.merge from 4.6.1 to 4.6.2.
dependabot[bot] Jul 11, 2019
a8254ed
Added documentation introduction and example of using Autoform.
skyb4ss Jul 7, 2019
4ba2729
Extracted docs chapters and sections.
skyb4ss Jul 12, 2019
05026d3
Fixed handling of required in JSONSchemBridge (fixes #554).
radekmie Jul 12, 2019
102c489
Fixed SelectField with checkboxes in uniforms-antd (fixes #549).
radekmie Jul 12, 2019
b8b570a
v2.2.0
radekmie Jul 12, 2019
201545a
Renamed introduction-example to tutorials-basic-uniforms-usage.
skyb4ss Jul 12, 2019
4e03fd3
Added rendered unstyled form component to the tutorial.
skyb4ss Jul 12, 2019
89ac1f1
Checked if MDX with Tabs works.
skyb4ss Jul 12, 2019
1d55fd7
Added Tabs component.
kestarumper Jul 12, 2019
36afee1
Refactored tabs.
kestarumper Jul 12, 2019
a84c091
Used FormContainer in the basic uniforms usage tutorial.
skyb4ss Jul 12, 2019
c2683b4
Added 'Customizing your form' tutorial.
skyb4ss Jul 12, 2019
84b5039
Styled submitted data pre tag.
skyb4ss Jul 12, 2019
127dd54
Added 'Customizing error messages' tutorial.
skyb4ss Jul 12, 2019
4e21eee
Started 3rd part of the tutorial.
skyb4ss Jul 12, 2019
139ef79
Added section about customizing displayed errors.
skyb4ss Jul 13, 2019
ab9fc8f
Developed 'Using predefined fields' tutorial.
skyb4ss Jul 13, 2019
bc72aba
Finished 'Using predefined fields' tutorial.
skyb4ss Jul 15, 2019
a74e6d0
Fixed SelectField with checkboxes in uniforms-antd (fixes #549).
radekmie Jul 12, 2019
ac8470f
v2.2.0
radekmie Jul 12, 2019
1bc8919
Extracted docs chapters and sections.
skyb4ss Jul 12, 2019
5d37ed3
Added 'Creating a custom field' tutorial.
skyb4ss Jul 15, 2019
e7f1f7b
Added contrasting color to the active tab.
skyb4ss Jul 15, 2019
05d9854
Added displaying form in different styles in Basic uniforms usage sec…
skyb4ss Jul 15, 2019
224864f
Changed beheviour of toggler component.
kestarumper Jul 16, 2019
87a18be
Fixed AntD rendering in iframe with proper ConfigProvider
kestarumper Jul 16, 2019
8af90f8
Modified ImageField.
skyb4ss Jul 16, 2019
9ba7b6c
Unified & simplified uniforms' components imports.
skyb4ss Jul 16, 2019
cb1ee19
Added tabs to installation section.
kestarumper Jul 12, 2019
96deae3
Installation commands merged to single listing.
kestarumper Jul 15, 2019
ea5a3ec
Renamed section.
skyb4ss Jul 12, 2019
f5a0a65
Added --save to npm install and single install all packages.
kestarumper Jul 15, 2019
37029fa
Changed components import folder structure.
kestarumper Jul 15, 2019
b4d38a0
Added feather icons, added Toggler component.
kestarumper Jul 15, 2019
e3bc39a
Changed tabs color and pointer styles.
kestarumper Jul 15, 2019
cd5050d
Fixed handling of required in JSONSchemBridge (fixes #554).
radekmie Jul 12, 2019
abbf123
Applied antd rendering issue fix.
skyb4ss Jul 16, 2019
fdd2a93
Fixed wrong imports.
skyb4ss Jul 16, 2019
0766a44
Styled rendered forms.
skyb4ss Jul 16, 2019
744733b
Added bottom margin to the form wrapper and unified theme package use…
skyb4ss Jul 16, 2019
05b4eda
Extracted documentation from the comments inside the Fields API section.
skyb4ss Jul 17, 2019
e5a2efc
Improved Tabs responsiveness.
kestarumper Jul 16, 2019
500db04
Refactored Tabs and Toggler.
kestarumper Jul 16, 2019
84b858c
Refactored ToggleTabs.
kestarumper Jul 17, 2019
b67c6e0
Extracted documentation from the comments inside the Helpers API sect…
skyb4ss Jul 17, 2019
47b5d65
Added grouping to TabsSelect.
kestarumper Jul 17, 2019
59d6abd
Modified 'changedKeys' tests link.
skyb4ss Jul 17, 2019
7a5fbff
Modified content related to the bridges.
skyb4ss Jul 17, 2019
1a1d3b8
Updated Docusaurus.
radekmie Jul 17, 2019
e7aa1c0
Enabled Google analytics in docs.
radekmie Jul 17, 2019
ca113a8
Added grouping to TogglerTabs.
kestarumper Jul 17, 2019
06aa50f
Removed unused image.
skyb4ss Jul 17, 2019
10db243
Extracted documentation from the comments inside the Forms API section.
skyb4ss Jul 17, 2019
78c519a
Updated ModifierForm example.
skyb4ss Jul 17, 2019
adce974
Refactored grouping Tabs.
kestarumper Jul 17, 2019
f28a75a
Started FAQ.
skyb4ss Jul 17, 2019
70d49d4
Added extra and help props in uniforms-antd.
ArchiCroc Jul 18, 2019
5eaab84
Updated link to the legacy context.
skyb4ss Jul 18, 2019
ed38a11
Made form methods more descriptive.
skyb4ss Jul 18, 2019
1958853
Updated FAQ.
skyb4ss Jul 18, 2019
5b58a7c
Updated Docusaurus.
radekmie Jul 17, 2019
5685f25
Enabled Google analytics in docs.
radekmie Jul 17, 2019
a92b7b6
Added extra and help props in uniforms-antd.
ArchiCroc Jul 18, 2019
124bb3b
Added documentation introduction and example of using Autoform.
skyb4ss Jul 7, 2019
c0496d3
Extracted documentation from the comments inside the Fields API section.
skyb4ss Jul 17, 2019
17463f7
Updated 'Forms concept'.
skyb4ss Jul 18, 2019
a4f78b9
Added Examples/CustomFields/CompositeField example with rendered output.
kestarumper Jul 18, 2019
0ff4368
Added render output for Examples/CustomField/CycleField.
kestarumper Jul 18, 2019
30bbb9d
Added rendered output of DisplayIf field.
kestarumper Jul 18, 2019
95f5da2
Added rendered output for Range field example.
kestarumper Jul 18, 2019
19a1c5a
Added rendered output for Rating field example.
kestarumper Jul 18, 2019
e047e9f
Updated Fields section.
skyb4ss Jul 18, 2019
2804b49
Updated Forms section.
skyb4ss Jul 18, 2019
783dd52
Removed unused markdowns.
skyb4ss Jul 18, 2019
f285782
Modified introduction.
skyb4ss Jul 18, 2019
4a96b3c
Moved 'Context data' to the API section.
skyb4ss Jul 18, 2019
1f03aa9
Added rendered output for Submit field example.
kestarumper Jul 18, 2019
8c5e669
Added rendered output for Image field example.
kestarumper Jul 18, 2019
0cb84ab
Added alert as output after pressing submit button in custom field ex…
kestarumper Jul 19, 2019
a4e8f9c
Changed Code component to use built in CodeBlock from Docusaurus.
kestarumper Jul 19, 2019
2a0560b
Added alert with model after form submit in custom fields examples.
kestarumper Jul 19, 2019
bb1d865
Improved styles of examples.
kestarumper Jul 19, 2019
ebd9920
Modified ImageField's code snippet used in tutorial.
skyb4ss Jul 19, 2019
4e23c75
Added custom stylesheet.
skyb4ss Jul 19, 2019
31f6ffd
Updated 'Context data' section.
skyb4ss Jul 19, 2019
f387bcf
Added CommonForms, SignUp example.
kestarumper Jul 19, 2019
2c8ee85
Minor docs fixes.
skyb4ss Jul 19, 2019
54bcbe3
Added pointer cursor to SwapField.
kestarumper Jul 19, 2019
22e177d
Selected semanthic theme as default in playground.
kestarumper Jul 19, 2019
205f088
Set white background of iframe.
kestarumper Jul 19, 2019
9f47e3e
Moved FAQ higher in sidebards.
skyb4ss Jul 19, 2019
7c779a3
Changed 'Forms concept' to 'Why are uniforms'.
skyb4ss Jul 19, 2019
8e4a65e
Renamed FAQ.
skyb4ss Jul 19, 2019
8c94473
Changed initial route.
skyb4ss Jul 19, 2019
deb2b48
Humanized custom bridge example.
skyb4ss Jul 19, 2019
94bbe65
Set Tabs margin to align with other content.
kestarumper Jul 19, 2019
4e093ef
Decreased Tabs bottom margin.
kestarumper Jul 19, 2019
450a3e2
Modified uniforms imports inside tutorial code snippets.
skyb4ss Jul 20, 2019
eed67bb
Fixed wrong import inside tutorial snippet.
skyb4ss Jul 20, 2019
d234248
Fixed few typos.
radekmie Jul 22, 2019
eb9ea63
Updated Travis CI configuration.
radekmie Jul 22, 2019
912700b
Rebuild package-lock.json.
kestarumper Jul 22, 2019
be17f75
Fixed dependencies problems.
kestarumper Jul 22, 2019
78f069b
Enabled Algolia search.
radekmie Jul 22, 2019
3955bff
Updated README files in packages.
radekmie Jul 22, 2019
815de00
Unified JSONSchemaBridge construction.
radekmie Jul 23, 2019
adbb73d
Refactored styles. Refactored Code component to function call.
kestarumper Jul 22, 2019
486e67a
Refactored file locations.
kestarumper Jul 22, 2019
0fde99a
Fixed iframe css border. Set CycleField text color. Applied prettier …
kestarumper Jul 23, 2019
898f61c
Updated obsolete README links.
kestarumper Jul 23, 2019
3bcabeb
Moved playground styles to module css file. Set playground toolbar ba…
kestarumper Jul 23, 2019
1b536ff
Fixed docs relative links to relative to /docs/ root.
kestarumper Jul 23, 2019
2aaa206
Flattened components structure.
kestarumper Jul 23, 2019
7710fa4
Added background to markdown images.
kestarumper Jul 23, 2019
2e420ad
Removed --save from npm install in installation docs.
kestarumper Jul 23, 2019
cdab738
Extracted Grid component in landing page.
kestarumper Jul 24, 2019
873eb33
Break long line in tutorial code listing.
kestarumper Jul 24, 2019
1edde1c
Refactored exports of Tabs.
kestarumper Jul 24, 2019
424991d
Removed unnecesary folder structure.
kestarumper Jul 24, 2019
8d3ce19
Refactor css classes to kebab-case.
kestarumper Jul 24, 2019
2d8eae5
Refactor component css files to modules.
kestarumper Jul 24, 2019
edd816d
Merge remote-tracking branch 'origin' into new-docs
kestarumper Jul 24, 2019
b37cb72
Updated Travis CI configuration.
radekmie Jul 24, 2019
d9db0fe
Fixed docs playground style.
radekmie Jul 24, 2019
0b69bb5
Changed deprecated icon in uniforms-antd.
ArchiCroc Jul 28, 2019
c63302c
Updated landing page.
kestarumper Jul 29, 2019
f0f23e2
Made NumField adaptive to React version (fixes #558).
radekmie Jul 31, 2019
068bb7a
Fixed some docs.
kestarumper Jul 31, 2019
9efa0d3
Added default export of bridges (fixes #562).
bartan0 Aug 1, 2019
9120b4c
Updated CHANGELOG.md.
radekmie Aug 1, 2019
dfb223c
v2.3.0
radekmie Aug 1, 2019
8e49908
Fixed code indentation in docs.
kestarumper Aug 2, 2019
5c6d9b8
Fixed placeholder in SelectField (fixes #568).
radekmie Aug 10, 2019
136ad63
Fixed playground refreshing.
radekmie Aug 10, 2019
321603e
Fixed handling of default in JSONSchemaBridge (fixes #569).
radekmie Aug 10, 2019
31ad556
Unified placeholder and required logic between themes (fixes #570).
radekmie Aug 10, 2019
6a062da
Removed all Flow code and configs.
radekmie Aug 10, 2019
e9eb5c6
Configured TypeScript.
radekmie Aug 10, 2019
3bed90e
Reorganized repo configuration files.
radekmie Aug 11, 2019
5ccc9e0
Converted some files to TypeScript.
radekmie Aug 11, 2019
ec38306
Added call to action in docs.
kestarumper Aug 12, 2019
4cd1ca5
Added stylelint.
kestarumper Aug 13, 2019
e445a2d
Enabled publishing TypeScript files.
radekmie Aug 14, 2019
e2e895a
Updated CHANGELOG.md.
radekmie Aug 14, 2019
8e51455
Added lerna.json to .prettierignore.
radekmie Aug 14, 2019
819f8f7
v2.3.1
radekmie Aug 14, 2019
afc0cff
Added default labels for GraphQL bridge (closes #577).
kestarumper Aug 26, 2019
4c19cb9
Updated eslint-utils from 1.4.0 to 1.4.2.
dependabot[bot] Aug 26, 2019
43771cc
Updated CHANGELOG.md.
radekmie Aug 28, 2019
da6c6e6
Unified logic of getProps between bridges.
radekmie Aug 28, 2019
1bfdd0a
v2.4.0
radekmie Aug 28, 2019
bb52ebf
Updated CHANGELOG.md.
radekmie Aug 28, 2019
f349ea2
Added new landing page.
kestarumper Sep 4, 2019
e21e48e
Improved landing page.
kestarumper Sep 14, 2019
8c85b5c
Fixed top padding in docs.
kestarumper Sep 18, 2019
d86d2b0
Fixed dataPath parsing (fixes #593).
radekmie Sep 18, 2019
c798139
Added hotjar.
kestarumper Sep 19, 2019
87da4e9
Added eslint-plugin-import.
radekmie Sep 19, 2019
fb116fa
Refactored website code.
radekmie Sep 23, 2019
c909c8e
Fixed typo.
skyb4ss Sep 23, 2019
f10d6f0
Updated roadmap URL.
radekmie Sep 25, 2019
d98af81
Fixed JSON schema type conflict.
radekmie Oct 2, 2019
81c8d1d
Updated CHANGELOG.md.
radekmie Oct 2, 2019
8da4f0c
v2.4.1
radekmie Oct 2, 2019
e05405b
Updated landing page.
kestarumper Oct 8, 2019
3ef942d
Converted all packages to TypeScript (closes #576).
kestarumper Oct 9, 2019
9faf283
v2.5.0
radekmie Oct 16, 2019
8c751f3
Updated CHANGELOG.md.
radekmie Oct 16, 2019
f5cb168
Added ES6 targets (closes #433).
kestarumper Oct 27, 2019
206c393
Migrated to GitHub actions.
kestarumper Oct 27, 2019
ee4b8b1
Fixed CI badge.
radekmie Oct 27, 2019
0666596
Removed Travis CI config.
radekmie Oct 27, 2019
b6a3662
Fixed docs deploy.
radekmie Oct 27, 2019
e7d9d06
Fixed docs deploy.
radekmie Oct 27, 2019
9af068a
Added globalThis polyfill (fixes #619).
kestarumper Oct 30, 2019
7c3947e
Updated Docusaurus.
radekmie Nov 4, 2019
a766db6
Switched to named imports (fixes #624).
radekmie Nov 4, 2019
187bc2d
Added missing wrapField export in uniforms-material.
radekmie Nov 4, 2019
34ba842
Fixed preservation of mixin types (fixes #617).
radekmie Nov 6, 2019
c29dabb
Fixed branch test coverage reporting.
radekmie Nov 6, 2019
d61cac3
Unified tsconfig files.
radekmie Nov 6, 2019
20e05fe
Switched to named imports.
radekmie Nov 6, 2019
284b93d
Fixed Material-UI NumField defaultProps handling (fixes #631).
kestarumper Nov 6, 2019
be9e6a0
v2.6.0
radekmie Nov 6, 2019
7469db5
Updated CHANGELOG.md.
radekmie Nov 6, 2019
d1ad958
Changed GitHub actions link.
radekmie Nov 6, 2019
98e350a
Updated ESLint and related packages.
radekmie Nov 10, 2019
7904e7f
Fixed RatingField example in docs.
yurtsiv Nov 13, 2019
77df447
Removed globalThis (fixes #641).
kestarumper Nov 13, 2019
c324e4a
Updated CHANGELOG.md.
radekmie Nov 13, 2019
d3f7f85
v2.6.1
radekmie Nov 13, 2019
b98a70a
Added section about creating custom theme.
kestarumper Nov 20, 2019
008ba5b
Upgraded tslib version (fixes #648).
kestarumper Nov 20, 2019
9f0a56d
Updated CHANGELOG.md.
radekmie Nov 21, 2019
012f1dc
v2.6.2
radekmie Nov 21, 2019
1edc7a4
Fixed documentation of joinName.
Nov 29, 2019
76a2e6b
Fixed minor spelling error in docs.
Dec 4, 2019
f40ec81
Added defaultValue to useThisAddressForPayment details field in form …
Dec 4, 2019
27dcaa2
Fixed array initialization (fixes #656).
radekmie Dec 4, 2019
bbee420
Generalized props types (fixes #661).
radekmie Dec 11, 2019
f8c9292
Updated CHANGELOG.md.
radekmie Dec 11, 2019
81c554f
v2.6.3
radekmie Dec 11, 2019
6a30de6
Escaped id attributes (fixes #671).
kestarumper Dec 18, 2019
cdc3a39
Updated CHANGELOG.md.
radekmie Dec 18, 2019
6940aed
v2.6.4
radekmie Dec 18, 2019
8c4d612
Updated CHANGELOG.md.
radekmie Dec 18, 2019
45c7ccc
v2.6.5
radekmie Dec 18, 2019
ffc7171
Updated handlebars from 4.1.2 to 4.5.3.
dependabot[bot] Jan 8, 2020
ef56c79
Merge branch 'master' of github.com:vazco/uniforms
Jan 16, 2020
f5741fc
rewrite antd components to work with babel-plugin-import
Jan 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
13 changes: 0 additions & 13 deletions .babelrc

This file was deleted.

16 changes: 16 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"plugins": [["@babel/plugin-proposal-class-properties", { "loose": true }]],
"presets": [
[
"@babel/preset-env",
{
"corejs": 3,
"shippedProposals": true,
"targets": { "node": "current" },
"useBuiltIns": "usage"
}
],
["@babel/preset-react"],
["@babel/preset-typescript"]
]
}
7 changes: 1 addition & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.js]
indent_size = 4

[*.json]
indent_size = 2
18 changes: 13 additions & 5 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
demo/.meteor
demo/imports/components/vendor
demo/node_modules
/coverage
/lerna-debug.log

packages/*/*.js
packages/*/node_modules
/node_modules
/npm-debug.log
/npm-debug.log*
/packages/*/*.d.ts
/packages/*/*.js
/packages/*/es6
/packages/*/node_modules
/website/.cache-loader
/website/.docusaurus
/website/build
/website/node_modules
69 changes: 65 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,68 @@
{
"env": {
"jest": true
"extends": ["plugin:import/errors", "vazco"],
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"extends": ["plugin:import/typescript", "vazco/typescript"],
"rules": {
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/unbound-method": "off",
"import/default": "off",
"prefer-rest-params": "off",
"react/no-children-prop": "off",
"react/prop-types": "off"
},
"settings": {
"import/resolver": {
"typescript": {}
}
}
},
{
"files": ["**/__mocks__/**/*", "**/__tests__/*"],
"env": {
"jest": true
}
},
{
"files": ["website/**/*"],
"settings": {
"import/resolver": {
"alias": {
"map": [
["@docusaurus", "@docusaurus/core/lib/client/exports"],
["@theme", "@docusaurus/theme-classic/src/theme"]
]
}
}
}
}
],
"root": true,
"rules": {
"import/default": "off",
"import/order": [
"error",
{
"groups": [
["builtin", "external", "internal"],
["index", "parent", "sibling"],
["unknown"]
],
"newlines-between": "always"
}
],
"react/prop-types": "off"
},
"extends": "vazco",
"root": true
"settings": {
"react": {
"version": "detect"
}
}
}
10 changes: 0 additions & 10 deletions .flowconfig

This file was deleted.

42 changes: 18 additions & 24 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,30 @@ Third-party patches are essential for keeping every project great. We simply can

## Getting started

* Make sure you have a [GitHub account](https://github.com/signup/free)
* Submit a ticket for your issue, assuming one does not already exist.
* Clearly describe the issue including steps to reproduce if it is a bug.
* Make sure you fill in the earliest version that you know has the issue.
- Make sure you have a [GitHub account](https://github.com/signup/free)
- Submit a ticket for your issue, assuming one does not already exist.
- Clearly describe the issue including steps to reproduce if it is a bug.
- Make sure you fill in the earliest version that you know has the issue.

## Making changes

* Create a fork from where you want to base your work.
* Make commits of logical units.
* Make sure your commit messages are in the proper format:
* Bugfix:
* `Asynchronous validation (closes #17).`
* `Skip onSubmit until rendered (closes #15).`
* Other changes:
* `Refactoring core package.`
* `Updated README.`
* Make sure you have added the necessary tests for your changes.
* Make sure your code passes *all* tests:
* `npm test`
- Create a fork from where you want to base your work.
- Make commits of logical units.
- Make sure your commit messages are in the proper format:
- Bugfix:
- `Asynchronous validation (closes #17).`
- `Skip onSubmit until rendered (closes #15).`
- Other changes:
- `Refactoring core package.`
- `Updated README.`
- Make sure you have added the necessary tests for your changes.
- Make sure your code passes _all_ tests:
- `npm test`

## Styling

* If you submit a PR with any code, passing ESLint should be enough _(everything else will be reported in your PR review)_.
* If you submit a PR with any documentation, code blocks should pass ESLint and code comments should be wrapped at 80 characters.

<br>

# Running locally

See [demo](https://github.com/vazco/uniforms/blob/master/demo).
- If you submit a PR with any code, passing ESLint should be enough _(everything else will be reported in your PR review)_.
- If you submit a PR with any documentation, code blocks should pass ESLint and code comments should be wrapped at 80 characters.

<br>

Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI
on: [pull_request, push]
env:
CI: true
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [8.x, 10.x, 12.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run coverage -- --no-cache --runInBand
- name: Report coverage
run: bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build docs
run: npm --prefix website run build
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.node-version == '12.x'
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v2.6.0-rc0
with:
forceOrphan: true
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./website/build
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.node-version == '12.x'
22 changes: 12 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
/demo/.meteor/local
/demo/node_modules

/coverage
/node_modules
/lerna-debug.log

npm-debug.log
npm-debug.log*
lerna-debug.log

packages/*/*.js
packages/*/node_modules
/node_modules
/npm-debug.log
/npm-debug.log*
/packages/*/*.d.ts
/packages/*/*.js
/packages/*/es6
/packages/*/node_modules
/website/.cache-loader
/website/.docusaurus
/website/build
/website/node_modules
5 changes: 5 additions & 0 deletions .huskyrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "lint-staged"
}
}
6 changes: 6 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
'**/*.css': ['stylelint'],
'**/*.{js,ts,tsx}': ['eslint'],
'**/*.{json,md,mdx,yml}': ['prettier --check'],
'**/*.{ts,tsx}': () => 'npm run lint:types'
};
14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/coverage
/lerna-debug.log
/lerna.json
/node_modules
/npm-debug.log
/npm-debug.log*
/packages/*/*.d.ts
/packages/*/*.js
/packages/*/es6
/packages/*/node_modules
/website/.cache-loader
/website/.docusaurus
/website/build
/website/node_modules
6 changes: 6 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"bracketSpacing": true,
"printWidth": 80,
"singleQuote": true,
"tabWidth": 2
}
5 changes: 5 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"stylelint-prettier/recommended"
]
}
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

Loading