Skip to content

Commit f11e0c3

Browse files
author
joegasewicz
committed
Release v0.2.0
1 parent 8180c4b commit f11e0c3

File tree

6 files changed

+18
-58
lines changed

6 files changed

+18
-58
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Changelog
22

33
### Changed
4+
5+
**Release 0.2.0** - 2022-09-26
6+
- Update to react 18 [Issue #170](https://github.com/joegasewicz/react-bare-forms/issues/#170)
7+
- Update to Bootstrap 5 [Issue #118](https://github.com/joegasewicz/react-bare-forms/issues/#118)
8+
- Security issues [Issue #99](https://github.com/joegasewicz/react-bare-forms/issues/#99)
9+
410
**Release 0.1.19** - 2021-10-09
511
- TS2741: Property 'translate' is missing in type '{ ref: RefObject<HTMLFormElement>; 🐛 [Issue #143](https://github.com/joegasewicz/react-bare-forms/issues/#143)
612

lib/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 4 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-bare-forms",
3-
"version": "0.2.0-rc",
3+
"version": "0.2.0",
44
"description": "A bare minimal React form library for quick & simple forms.",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -47,9 +47,6 @@
4747
"@cfaester/enzyme-adapter-react-18": "^0.5.1",
4848
"@types/enzyme": "^3.10.12",
4949
"@types/jest": "^29.0.3",
50-
"@types/react": "^18.0.21",
51-
"@types/react-day-picker": "^5.3.0",
52-
"@types/react-dom": "^18.0.6",
5350
"@types/react-test-renderer": "^18.0.0",
5451
"@typescript-eslint/eslint-plugin": "^5.38.0",
5552
"@typescript-eslint/parser": "^5.38.0",
@@ -72,7 +69,6 @@
7269
"webpack-dev-server": "^4.11.1"
7370
},
7471
"peerDependencies": {
75-
"date-fns": "^2.29.3",
7672
"react-day-picker": "^8.2.1"
7773
},
7874
"files": [

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"node_modules/@types/",
1616
"index.d.ts",
1717
],
18-
"esModuleInterop": true
18+
"allowSyntheticDefaultImports": true
1919
},
2020
"include": [
2121
"./src/**/*",

webpack.config.js

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = function(env, argv) {
88
// mode,
99
mode: "development",
1010
// entry: argv["entry"],
11-
entry: "./src/index.ts",
11+
entry: "./src/index.ts",
1212
devtool: env.mode ? "inline-source-map" : "eval",
1313
module: {
1414
rules: [
@@ -26,15 +26,12 @@ module.exports = function(env, argv) {
2626
resolve: {
2727
extensions: [".tsx", ".ts", ".js", ".css"],
2828
},
29-
// externals: ["react", "react-dom"],
29+
externals: ["react", "react-dom"],
3030
output: {
31-
// filename: argv["outputFilename"],
3231
filename: "index.js",
33-
// path: path.resolve(__dirname, argv["outputPath"]),
34-
path: path.resolve(__dirname, "dist"),
35-
// library: "react-bare-lib",
36-
libraryTarget: "umd",
37-
clean: true,
32+
path: path.resolve(__dirname, "dist"),
33+
library: "react-bare-forms",
34+
libraryTarget: "umd"
3835
},
3936
plugins: [
4037
// new webpack.IgnorePlugin({

0 commit comments

Comments
 (0)