Skip to content

Commit

Permalink
tsup integration (refinedev#1608)
Browse files Browse the repository at this point in the history
* bye bye tsdx (refinedev#1601)

* bye bye tsdx

* update refine-antd package imports

* fix tsup issues

* fix refine-antd tests

* add ts-jest and jest all packages

* add tsup config for core

* remove lodashOptimizeImports plugin

* fix lodash issue

* fix lodash import

* fix lodash-es import

* fix es build issues

* fix module entry for refine-antd package

* fix esbuild issues about antd, dayjs and rc-picker

* update start scripts

* update push action

* fix ably realtime provider

* fix peerDependencies issue

* fix esbuild issues

* update start and build scripts

* update codemod package-lock

* update refine-invoice-genarator dependencies

* update targets to browser

* expor CanParams interface

* remove babel and size limit configs

* v3.4.3

* remove husky scripts hasura and nhost packages

* update codemod package-lock

* update bootstrap script

* fix lodash and lodash-es tree shaking

* v3.4.4

* fix types/node versions
  • Loading branch information
Ömer Faruk APLAK authored Mar 3, 2022
1 parent 6a77681 commit 9ffd852
Show file tree
Hide file tree
Showing 173 changed files with 9,514 additions and 8,815 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/alpha-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,19 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- run: |

- name: npm install
run: |
npm ci
npm run bootstrap
- name: build & lint
run: |
npm run build
npm run lint
npm test
- name: test
run: npm run test
- name: publish alpha channel
run: |
npm run lerna publish from-package -- --yes --dist-tag alpha
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/develop-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [16.x]

steps:
- name: Workflow run cleanup action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/master-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [12.x]
node-version: [16.x]

steps:
- name: Workflow run cleanup action
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,16 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build
- name: npm install
run: |
npm install
npm run bootstrap
- name: build & lint
run: |
npm run build
npm run lint
- name: test
run: |
npm run test:coverage
- name: npm test & publish code coverage
uses: paambaati/[email protected]
Expand Down
12 changes: 6 additions & 6 deletions examples/ably/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "refine-ably-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-ably": "^3.4.2",
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-ably": "^3.4.4",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
12 changes: 6 additions & 6 deletions examples/accessControl/casbin/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "access-control-casbin-react",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@types/node": "^14.14.13",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
"casbin.js": "^1.0.1",
Expand Down
12 changes: 6 additions & 6 deletions examples/accessControl/cerbos/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "access-control-cerbos-react",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@types/node": "^14.14.13",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
"cerbos": "0.4.0",
Expand Down
10 changes: 5 additions & 5 deletions examples/authProvider/auth0/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "refine-auth0-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@auth0/auth0-react": "^1.5.0",
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
10 changes: 5 additions & 5 deletions examples/authProvider/googleLogin/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "refine-google-login-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
10 changes: 5 additions & 5 deletions examples/authProvider/otpLogin/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "refine-otp-login-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
10 changes: 5 additions & 5 deletions examples/authentication/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "refine-authentication-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
10 changes: 5 additions & 5 deletions examples/authorization/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "refine-authorization-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
10 changes: 5 additions & 5 deletions examples/base/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "refine-base-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router-v6": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router-v6": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
12 changes: 6 additions & 6 deletions examples/baseHeadless/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "refine-base-headless-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-hook-form": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-react-table": "^3.4.2",
"@pankod/refine-simple-rest": "^3.4.2",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-hook-form": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-react-table": "^3.4.4",
"@pankod/refine-simple-rest": "^3.4.4",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.4",
Expand Down
10 changes: 5 additions & 5 deletions examples/blog/ecommerce/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "refine-ecommerce-example",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"scripts": {
"dev": "NODE_OPTIONS=--max_old_space_size=4096 next dev",
Expand All @@ -13,10 +13,10 @@
"@chakra-ui/react": "^1.8.3",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-nextjs-router": "^3.4.2",
"@pankod/refine-strapi": "^3.4.2",
"@pankod/refine-strapi-v4": "^3.4.2",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-nextjs-router": "^3.4.4",
"@pankod/refine-strapi": "^3.4.4",
"@pankod/refine-strapi-v4": "^3.4.4",
"axios": "^0.21.4",
"framer-motion": "^5.6.0",
"next": "^12.0.3",
Expand Down
10 changes: 5 additions & 5 deletions examples/blog/hackathonize/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "hackathonize",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine": "2.0.12",
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-supabase": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-supabase": "^3.4.4",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
Expand Down
28 changes: 14 additions & 14 deletions examples/blog/invoiceGenerator/package.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"name": "refine-invoice-genarator",
"version": "0.1.0",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.1.0",
"@pankod/refine-core": "^3.1.0",
"@pankod/refine-react-router": "^3.1.0",
"@pankod/refine-strapi": "^3.1.0",
"@pankod/refine-strapi-v4": "^3.1.7",
"@progress/kendo-react-pdf": "^5.0.1",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-strapi": "^3.4.4",
"@pankod/refine-strapi-v4": "^3.4.4",
"@progress/kendo-drawing": "1.16.3",
"@progress/kendo-licensing": "1.2.2",
"@progress/kendo-react-pdf": "^5.0.1",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
"@types/jest": "^26.0.23",
"@types/node": "^12.20.10",
"@types/jest": "^26.0.24",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.3",
"axios": "^0.21.1",
"@types/react-dom": "^17.0.4",
"axios": "^0.21.4",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-pdf": "^5.7.1",
"react-scripts": "^5.0.0",
"typescript": "^4.2.4",
"typescript": "^4.4.3",
"web-vitals": "^1.1.1"
},
"scripts": {
"dev": "react-scripts start",
"build": "react-scripts build",
"dev": "DISABLE_ESLINT_PLUGIN=true react-scripts start",
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/blog/issueTracker/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "refine-supabase-issue-tracker",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@ant-design/charts": "^1.2.14",
"@pankod/refine": "2.0.11",
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-supabase": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-supabase": "^3.4.4",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog/jobPosting/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "admin",
"version": "3.3.3",
"version": "3.4.4",
"private": true,
"dependencies": {
"@craco/craco": "^6.1.2",
Expand Down
10 changes: 5 additions & 5 deletions examples/blog/mailSubscription/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "refine-email-subscriptions",
"version": "3.4.2",
"version": "3.4.4",
"private": true,
"dependencies": {
"@pankod/refine-antd": "^3.4.2",
"@pankod/refine-core": "^3.4.2",
"@pankod/refine-react-router": "^3.4.2",
"@pankod/refine-strapi": "^3.4.2",
"@pankod/refine-antd": "^3.4.4",
"@pankod/refine-core": "^3.4.4",
"@pankod/refine-react-router": "^3.4.4",
"@pankod/refine-strapi": "^3.4.4",
"@testing-library/jest-dom": "^5.12.0",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
Expand Down
Loading

0 comments on commit 9ffd852

Please sign in to comment.