Skip to content

Commit

Permalink
feat: refactoring, fixed ts, update rockpack
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSergey committed Oct 24, 2024
1 parent 6dac67f commit 8f9342c
Show file tree
Hide file tree
Showing 60 changed files with 221 additions and 21,200 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

## [2.3.0]

- Refactoring
- Fixed a few typescript issues
- Updated styleguide and build system
- Dropped old examples

## [2.0.0]

- React 18 support
- The new approach to handle asynchronous actions
- A few fixes
2 changes: 1 addition & 1 deletion examples/1-simple-without-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
},
"devDependencies": {
"@types/lodash": "^4.14.149",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
8 changes: 4 additions & 4 deletions examples/10-redux-sagas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"koa-static": "5.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-redux": "7.1.1",
"redux": "4.0.4",
"react-redux": "8.1.3",
"redux": "4.2.1",
"redux-logger": "3.0.6",
"redux-saga": "1.1.1",
"redux-saga": "1.3.0",
"serialize-javascript": "3.0.0"
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
6 changes: 3 additions & 3 deletions examples/11-redux-thunk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
"koa-static": "5.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-redux": "7.1.1",
"redux": "4.0.4",
"react-redux": "8.1.3",
"redux": "4.2.1",
"redux-logger": "3.0.6",
"redux-thunk": "2.3.0",
"serialize-javascript": "3.0.0"
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
5 changes: 2 additions & 3 deletions examples/12-apollo-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "cross-env NODE_ENV=production node build"
},
"dependencies": {
"@apollo/react-hooks": "3.1.5",
"@apollo/client": "^3.11.8",
"@issr/core": "2.0.0",
"apollo-cache-inmemory": "1.6.5",
"apollo-client": "2.6.8",
Expand All @@ -17,12 +17,11 @@
"koa-static": "5.0.0",
"node-fetch": "2.6.0",
"react": "17.0.2",
"react-apollo": "3.1.5",
"react-dom": "17.0.2",
"serialize-javascript": "3.0.0"
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/13-dom-manipulations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
9 changes: 4 additions & 5 deletions examples/14-nested-data-redux-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "cross-env NODE_ENV=production node build"
},
"dependencies": {
"@apollo/react-hooks": "3.1.5",
"@apollo/client": "^3.11.8",
"@issr/core": "2.0.0",
"@reduxjs/toolkit": "1.1.0",
"apollo-cache-inmemory": "1.6.5",
Expand All @@ -19,16 +19,15 @@
"koa-static": "5.0.0",
"node-fetch": "2.6.0",
"react": "17.0.2",
"react-apollo": "3.1.5",
"react-dom": "17.0.2",
"react-redux": "7.1.1",
"redux": "4.0.4",
"react-redux": "8.1.3",
"redux": "4.2.1",
"redux-logger": "3.0.6",
"redux-saga": "1.1.1",
"serialize-javascript": "3.0.0"
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/15-nested-async-effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/16-mobx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/19-react-18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/2-simple-express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/2.1-simple-express-only-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/3-simple-koa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
2 changes: 1 addition & 1 deletion examples/4-koa-react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@issr/example-5",
"name": "@issr/example-5.1",
"version": "1.0.0",
"scripts": {
"start": "cross-env NODE_ENV=development node build",
Expand All @@ -13,13 +13,13 @@
"koa-static": "5.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-meta-tags": "0.7.4",
"react-helmet-async": "2.0.5",
"react-router": "5.1.2",
"react-router-dom": "5.1.2",
"serialize-javascript": "3.0.0"
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
49 changes: 0 additions & 49 deletions examples/5-meta-tags/src/App.jsx

This file was deleted.

16 changes: 0 additions & 16 deletions examples/5-meta-tags/src/client.jsx

This file was deleted.

58 changes: 0 additions & 58 deletions examples/5-meta-tags/src/server.jsx

This file was deleted.

16 changes: 0 additions & 16 deletions examples/5.1-meta-tags-helmet/build.js

This file was deleted.

25 changes: 0 additions & 25 deletions examples/5.1-meta-tags-helmet/package.json

This file was deleted.

5 changes: 0 additions & 5 deletions examples/5.1-meta-tags-helmet/rockpack.babel.js

This file was deleted.

Binary file not shown.
3 changes: 1 addition & 2 deletions examples/6-css-modules-other-styles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
"koa-static": "5.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-meta-tags": "0.7.4",
"react-router": "5.1.2",
"react-router-dom": "5.1.2",
"serialize-javascript": "3.0.0"
},
"devDependencies": {
"@issr/babel-plugin": "2.0.0",
"@rockpack/compiler": "3.0.0-next.2"
"@rockpack/compiler": "4.5.2"
}
}
Loading

0 comments on commit 8f9342c

Please sign in to comment.