Skip to content
This repository was archived by the owner on Mar 9, 2023. It is now read-only.

Commit 1dcdad5

Browse files
riccardo-forinawtrocki
authored andcommitted
feat: build the library with both es5 and es6 as a target
1 parent 27b02f3 commit 1dcdad5

Some content is hidden

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

52 files changed

+89
-64
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,6 @@ dist
105105

106106
# Custom
107107
reproductions
108-
.idea/
108+
.idea/
109+
110+
/dist

__tests__/AutoField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
RadioField,
1010
SelectField,
1111
TextField,
12-
} from 'uniforms-patternfly';
12+
} from '../src';
1313

1414
import createContext from './_createContext';
1515
import mount from './_mount';

__tests__/AutoFields.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { AutoFields } from 'uniforms-patternfly';
2+
import { AutoFields } from '../src';
33

44
import createContext from './_createContext';
55
import mount from './_mount';

__tests__/AutoForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { AutoForm } from 'uniforms-patternfly';
2+
import { AutoForm } from '../src';
33

44
import createSchema from './_createSchema';
55
import mount from './_mount';

__tests__/BaseForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { BaseForm } from 'uniforms-patternfly';
2+
import { BaseForm } from '../src';
33

44
import createSchema from './_createSchema';
55
import mount from './_mount';

__tests__/BoolField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { BoolField } from 'uniforms-patternfly';
2+
import { BoolField } from '../src';
33

44
import createContext from './_createContext';
55
import mount from './_mount';

__tests__/DateField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import { act } from 'react-dom/test-utils';
3-
import { DateField } from 'uniforms-patternfly';
3+
import { DateField } from '../src';
44
import createContext from './_createContext';
55
import mount from './_mount';
66

__tests__/ErrorField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { ErrorField } from 'uniforms-patternfly';
2+
import { ErrorField } from '../src';
33

44
import createContext from './_createContext';
55
import mount from './_mount';

__tests__/ErrorsField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { ErrorsField } from 'uniforms-patternfly';
2+
import { ErrorsField } from '../src';
33

44
import createContext from './_createContext';
55
import mount from './_mount';

__tests__/HiddenField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { HiddenField } from 'uniforms-patternfly';
2+
import { HiddenField } from '../src';
33

44
import createContext from './_createContext';
55
import mount from './_mount';

0 commit comments

Comments
 (0)