Skip to content

Commit

Permalink
chore: update types-node to 18 (refinedev#4246)
Browse files Browse the repository at this point in the history
* chore: update types-node to 18

* chore: update github worklofw to node18

* chore: update docker container to node18

* chore: remove empty space from folder name

* chore: remove empty space from folder name

* chore: remove empty space from folder name

* chore: update base-antd types node version

* chore: update base-antd types node version

* chore: remove empty space from folder name

* chore: remove empty space from folder name

* chore: remove empty space from folder name

* feat(docs): update required node version to 18
  • Loading branch information
alicanerdurmaz authored May 2, 2023
1 parent 9c4f73e commit 07e0ba9
Show file tree
Hide file tree
Showing 170 changed files with 343 additions and 342 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/examples-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Create Example Chunks

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 1)

Expand All @@ -85,7 +85,7 @@ jobs:
run: npm run bootstrap -- --scope={${{ needs.chunks.outputs.CHUNK_1 }}} --ignore blog-sveltekit-crud --ignore blog-react-aria

- name: Build
run: npm run build -- --no-bail --scope={${{ needs.chunks.outputs.CHUNK_1 }}} --ignore blog-sveltekit-crud --ignore blog-react-aria
run: npm run build -- --no-bail --scope={${{ needs.chunks.outputs.CHUNK_1 }}} --ignore blog-sveltekit-crud --ignore blog-react-aria

build-chunk-2:
runs-on: ubuntu-latest
Expand All @@ -95,7 +95,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 2)

Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 3)

Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 4)

Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 5)

Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 6)

Expand Down Expand Up @@ -270,7 +270,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 7)

Expand Down Expand Up @@ -305,7 +305,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Build All Examples (Chunk 8)

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/master-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

outputs:
published: ${{ steps.changesets.outputs.published }}
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version: "18.x"
- name: Add key to allow access to repository
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/next-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
permissions: write-all
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- name: Workflow run cleanup action
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- name: Workflow run cleanup action
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'ci skip')"
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- name: Workflow run cleanup action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Deploy Documentation Preview

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request-previews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Fine Foods Antd

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

name: Fine Foods Material UI

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]
name: Bootstrap and Test
steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/store-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
cancel-in-progress: true
strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- name: Workflow run cleanup action
Expand Down
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
}
]
}

4 changes: 2 additions & 2 deletions documentation/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:18-alpine

WORKDIR /opt/app

Expand All @@ -24,7 +24,7 @@ ENV LIVE_PREVIEW_URL=https://next.live-previews.refine.dev/preview

RUN npm run build

FROM node:16-alpine
FROM node:18-alpine

COPY --from=0 /opt/app/documentation/build /opt/app
WORKDIR /opt/app/
Expand Down
2 changes: 1 addition & 1 deletion documentation/docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ and then you are done!

## Running in development mode

`node` version 16 is required.
`node` version 18 is required.

This project has multiple packages and uses [Lerna][lerna] to manage packages under `packages/`.

Expand Down
116 changes: 58 additions & 58 deletions examples/access-control-casbin/package.json
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
{
"name": "access-control-casbin",
"version": "3.25.0",
"private": true,
"engines": {
"node": "~16.14.0",
"npm": "~7.17.0"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"eject": "react-scripts eject",
"refine": "refine"
},
"dependencies": {
"@refinedev/antd": "^5.13.2",
"@refinedev/core": "^4.14.0",
"@refinedev/cli": "^2.5.3",
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^12.20.11",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"casbin": "^5.15.2",
"crypto-browserify": "^3.12.0",
"path-browserify": "^1.0.1",
"react": "^18.0.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.0.0",
"react-scripts": "^5.0.0",
"typescript": "^4.7.4",
"@uiw/react-md-editor": "^3.19.5",
"antd": "^5.0.5"
},
"devDependencies": {
"assert": "^2.0.0",
"buffer": "^6.0.3",
"eslint-plugin-disable": "^2.0.3",
"https-browserify": "^1.0.0",
"os": "^0.1.2",
"os-browserify": "^0.3.0",
"path": "^0.12.7",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"webpack": "^5.70.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
"name": "access-control-casbin",
"version": "3.25.0",
"private": true,
"engines": {
"node": "~16.14.0",
"npm": "~7.17.0"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"eject": "react-scripts eject",
"refine": "refine"
},
"dependencies": {
"@refinedev/antd": "^5.13.2",
"@refinedev/core": "^4.14.0",
"@refinedev/cli": "^2.5.3",
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"casbin": "^5.15.2",
"crypto-browserify": "^3.12.0",
"path-browserify": "^1.0.1",
"react": "^18.0.0",
"react-app-rewired": "^2.2.1",
"react-dom": "^18.0.0",
"react-scripts": "^5.0.0",
"typescript": "^4.7.4",
"@uiw/react-md-editor": "^3.19.5",
"antd": "^5.0.5"
},
"devDependencies": {
"assert": "^2.0.0",
"buffer": "^6.0.3",
"eslint-plugin-disable": "^2.0.3",
"https-browserify": "^1.0.0",
"os": "^0.1.2",
"os-browserify": "^0.3.0",
"path": "^0.12.7",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"stream-http": "^3.2.0",
"webpack": "^5.70.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}
2 changes: 1 addition & 1 deletion examples/access-control-cerbos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@refinedev/cli": "^2.5.3",
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^12.20.11",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/antd-audit-log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/sdk": "^1.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^12.20.11",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@refinedev/cli": "^2.5.3",
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^12.20.11",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-auth0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@refinedev/cli": "^2.5.3",
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^12.20.11",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"axios": "^0.26.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-google-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@refinedev/cli": "^2.5.3",
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^12.20.11",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"axios": "^0.26.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-keycloak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@refinedev/cli": "^2.5.3",
"@refinedev/react-router-v6": "^4.1.0",
"@refinedev/simple-rest": "^4.5.0",
"@types/node": "^12.20.11",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"axios": "^0.26.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/auth-material-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@mui/lab": "^5.0.0-alpha.85",
"@mui/material": "^5.8.6",
"@mui/x-data-grid": "^5.12.1",
"@types/node": "^12.20.11",
"@types/node": "^18.16.2",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.0.0",
Expand Down
Loading

0 comments on commit 07e0ba9

Please sign in to comment.