Skip to content

Commit 1afdc6c

Browse files
committed
Rename *bootstrap4 to *bootstrap
I won't have the man power to maintain Bootstrap 4 & 5
1 parent 1163a84 commit 1afdc6c

28 files changed

+21
-23
lines changed

.vscode/launch.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"env": { "NODE_ENV": "development" }
1515
},
1616
{
17-
"name": "Jest react-form-with-constraints-bootstrap4",
17+
"name": "Jest react-form-with-constraints-bootstrap",
1818
"type": "node",
1919
"request": "launch",
20-
"program": "${workspaceFolder}/packages/react-form-with-constraints-bootstrap4/node_modules/.bin/jest",
20+
"program": "${workspaceFolder}/packages/react-form-with-constraints-bootstrap/node_modules/.bin/jest",
2121
"args": ["--runInBand", "--no-cache"],
22-
"cwd": "${workspaceFolder}/packages/react-form-with-constraints-bootstrap4",
22+
"cwd": "${workspaceFolder}/packages/react-form-with-constraints-bootstrap",
2323
"runtimeArgs": ["--nolazy"],
2424
"env": { "NODE_ENV": "development" }
2525
},

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Resources:
5050
- No dependency beside React (no Redux, MobX...)
5151
- Re-render only what's necessary
5252
- Easily extendable
53-
- [Bootstrap 4](examples/Bootstrap4) styling with npm package `react-form-with-constraints-bootstrap4`
53+
- [Bootstrap](examples/Bootstrap) styling with npm package `react-form-with-constraints-bootstrap`
5454
- [Material-UI](examples/MaterialUI) integration with npm package `react-form-with-constraints-material-ui`
5555
- Support for [React Native](examples/ReactNative) with npm package `react-form-with-constraints-native`
5656
- ...
@@ -82,7 +82,7 @@ Resources:
8282

8383
![example-password](doc/example-password.png)
8484

85-
- [Bootstrap 4 example (React hooks)](https://codesandbox.io/s/github/tkrotoff/react-form-with-constraints/tree/master/examples/Bootstrap4)
85+
- [Bootstrap example (React hooks)](https://codesandbox.io/s/github/tkrotoff/react-form-with-constraints/tree/master/examples/Bootstrap)
8686
- [Material-UI example (React hooks)](https://codesandbox.io/s/github/tkrotoff/react-form-with-constraints/tree/master/examples/MaterialUI)
8787
- [WizardForm example (React hooks)](https://codesandbox.io/s/github/tkrotoff/react-form-with-constraints/tree/master/examples/WizardForm)
8888
- [SignUp example (React classes)](https://codesandbox.io/s/github/tkrotoff/react-form-with-constraints/tree/master/examples/SignUp)
@@ -302,7 +302,7 @@ The field name should match `FieldFeedbacks.for`:
302302

303303
Example: `<Input name="username" />` can generate `<input name="username" class="has-errors has-warnings">`
304304

305-
FYI `react-form-with-constraints-bootstrap4` and `react-form-with-constraints-material-ui` already style the fields to match their respective frameworks.
305+
FYI `react-form-with-constraints-bootstrap` and `react-form-with-constraints-material-ui` already style the fields to match their respective frameworks.
306306

307307
## Browser support
308308

File renamed without changes.

examples/Bootstrap4/App.jsx renamed to examples/Bootstrap/App.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
FieldFeedbacks,
1414
FormWithConstraints,
1515
Input
16-
} from 'react-form-with-constraints-bootstrap4';
16+
} from 'react-form-with-constraints-bootstrap';
1717
import { DisplayFields } from 'react-form-with-constraints-tools';
1818

1919
import './index.html';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@import '~bootstrap/scss/bootstrap';
2-
@import '~react-form-with-constraints-bootstrap4/scss/bootstrap';
2+
@import '~react-form-with-constraints-bootstrap/scss/bootstrap';
33

44
@import './bootstrap-spinner';
File renamed without changes.
File renamed without changes.

examples/Bootstrap4/index.html renamed to examples/Bootstrap/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66

7-
<title>react-form-with-constraints Bootstrap 4 example</title>
7+
<title>react-form-with-constraints Bootstrap example</title>
88
</head>
99

1010
<body>
File renamed without changes.

0 commit comments

Comments
 (0)