Skip to content

Commit

Permalink
Major version 2 (#13)
Browse files Browse the repository at this point in the history
* Major version 2

* update dependencies

Co-authored-by: Gal Havivi <gal.havivi@oath.com>
  • Loading branch information
galhavivi and Gal Havivi authored Oct 29, 2021
1 parent 4c4d6b4 commit e335ca9
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

Changes that have landed in master but are not yet released.

## v1.0.0 (October 24, 2021)
## v2.0.0 (October 24, 2021)

### js-kit

* Update jest version to ^27.3.1
### react-kit

* Change react version from 16 to 17.
* Change react major version from 16 to 17.

* Add dependency to new testing library - @testing-library/react

Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/documentation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/documentation",
"version": "1.0.0",
"version": "2.0.0",
"description": "Cofi documentation",
"license": "MIT",
"repository": {
Expand All @@ -22,7 +22,7 @@
"pre-push": "lint-staged"
},
"devDependencies": {
"@cofi/react-kit": "^1.0.0",
"@cofi/react-kit": "^2.0.0",
"filepath": "^1.1.0",
"front-matter": "^2.3.0",
"glob-promise": "^3.3.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/form",
"version": "1.0.0",
"version": "2.0.0",
"description": "JavaScript Form Class",
"license": "MIT",
"main": "src/index.js",
Expand Down Expand Up @@ -31,7 +31,7 @@
"dateformat": "^3.0.3"
},
"devDependencies": {
"@cofi/js-kit": "^1.0.0"
"@cofi/js-kit": "^2.0.0"
},
"keywords": [
"cofi",
Expand Down
2 changes: 1 addition & 1 deletion packages/js-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/js-kit",
"version": "1.0.0",
"version": "2.0.0",
"description": "Utils for developing JavaScript package. Should be installed in devDependencies",
"license": "MIT",
"repository": {
Expand Down
12 changes: 6 additions & 6 deletions packages/react-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/react-components",
"version": "1.0.0",
"version": "2.0.0",
"license": "MIT",
"description": "React common components with unified api to be used in a Cofi form (using material components as an underline layer)",
"repository": {
Expand Down Expand Up @@ -30,8 +30,8 @@
"build-package": "src/**/*.js"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"@date-io/date-fns": "^1.3.12",
Expand All @@ -46,9 +46,9 @@
"styled-components": "^4.4.1"
},
"devDependencies": {
"@cofi/form": "^1.0.0",
"@cofi/react-form": "^1.0.0",
"@cofi/react-kit": "^1.0.0",
"@cofi/form": "^2.0.0",
"@cofi/react-form": "^2.0.0",
"@cofi/react-kit": "^2.0.0",
"react-styleguidist": "^9.0.5"
},
"keywords": [
Expand Down
16 changes: 8 additions & 8 deletions packages/react-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/react-editor",
"version": "1.0.0",
"version": "2.0.0",
"description": "Create cofi form and layouts using a simple editor",
"license": "MIT",
"main": "src/website/app.js",
Expand Down Expand Up @@ -32,20 +32,20 @@
"build-package": "src/lib/**/*.js"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"@cofi/form": "^1.0.0",
"@cofi/react-components": "^1.0.0",
"@cofi/react-form": "^1.0.0",
"@cofi/react-layout": "^1.0.0",
"@cofi/form": "^2.0.0",
"@cofi/react-components": "^2.0.0",
"@cofi/react-form": "^2.0.0",
"@cofi/react-layout": "^2.0.0",
"ace-builds": "^1.4.12",
"jszip": "^3.2.2",
"react-ace": "^9.1.3"
},
"devDependencies": {
"@cofi/react-kit": "^1.0.0",
"@cofi/react-kit": "^2.0.0",
"react-router-dom": "^5.1.2"
},
"keywords": [
Expand Down
12 changes: 6 additions & 6 deletions packages/react-form/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/react-form",
"version": "1.0.0",
"version": "2.0.0",
"description": "React Form and Field Components, based on @cofi/form",
"license": "MIT",
"main": "src/website/app.js",
Expand Down Expand Up @@ -33,16 +33,16 @@
"build-package": "src/lib/**/*.js"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"@cofi/form": "^1.0.0",
"@cofi/form": "^2.0.0",
"styled-components": "^4.4.1"
},
"devDependencies": {
"@cofi/react-components": "^1.0.0",
"@cofi/react-kit": "^1.0.0",
"@cofi/react-components": "^2.0.0",
"@cofi/react-kit": "^2.0.0",
"jszip": "^3.2.2",
"prismjs": "^1.15.0",
"raw-loader": "4.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/react-kit",
"version": "1.0.0",
"version": "2.0.0",
"description": "React development environment utilities such as scripts and config files",
"license": "MIT",
"repository": {
Expand All @@ -19,7 +19,7 @@
"publish-package": "npm publish dist --access public || echo publish failed"
},
"dependencies": {
"@cofi/js-kit": "^1.0.0",
"@cofi/js-kit": "^2.0.0",
"babel-plugin-styled-components": "^1.10.0",
"@testing-library/react": "^12.1.2",
"enzyme": "^3.6.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/react-layout/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cofi/react-layout",
"version": "1.0.0",
"version": "2.0.0",
"description": "React Item, List and more Components, to create full entities pages such as create / edit/ details / list with the same UI/UX experience",
"license": "MIT",
"main": "src/website/app.js",
Expand Down Expand Up @@ -33,8 +33,8 @@
"build-package": "src/lib/**/*.js"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6"
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"react-breakpoints": "^3.0.3",
Expand Down

0 comments on commit e335ca9

Please sign in to comment.