refinedev / refine

A React Framework for building internal tools, admin panels, dashboards & B2B apps with unmatched flexibility.
https://refine.dev
MIT License
27.75k stars 2.15k forks source link

refactor(devtools): use same port for ws and http #5939

Closed aliemir closed 4 months ago

aliemir commented 4 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

Changes

This PR combines WebSocket and Http server ports into one (5001) to simplify the configuration and avoid port conflicts. Previously the WebSocket server was running on port 5002 and the Http server on port 5001. Now both servers are running on port 5001.

Additionally, this PR includes a fix in @refinedev/cli and prevents dev command from exiting if devtools server fails to start.

changeset-bot[bot] commented 4 months ago

đŸĻ‹ Changeset detected

Latest commit: 0baff0a20133731dd5b841988927fb4f89cffe65

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 4 months ago

Deploy Preview for refine-video-club ready!

Name Link
Latest commit 0baff0a20133731dd5b841988927fb4f89cffe65
Latest deploy log https://app.netlify.com/sites/refine-video-club/deploys/663e0174c9b8b600093ab8a0
Deploy Preview https://deploy-preview-5939--refine-video-club.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

nx-cloud[bot] commented 4 months ago

☁ī¸ Nx Cloud Report

CI is running/has finished running commands for commit 0baff0a20133731dd5b841988927fb4f89cffe65. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 74 targets - [`lerna run cypress:run --scope with-remix-material-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group with-remix-material-ui`](https://cloud.nx.app/runs/43kkHYANjr?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope with-remix-headless -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group with-remix-headless`](https://cloud.nx.app/runs/lH0bh8MfJy?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope with-remix-antd -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group with-remix-antd`](https://cloud.nx.app/runs/M0tWiIkcAl?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope with-nextjs-next-auth -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group with-nextjs-next-auth`](https://cloud.nx.app/runs/WYLFcO1lEg?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope with-nextjs -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group with-nextjs`](https://cloud.nx.app/runs/pJzV6aRQcJ?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-react-table-basic -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-react-table-basic`](https://cloud.nx.app/runs/TMHDH00vW7?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-mantine-use-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-mantine-use-form`](https://cloud.nx.app/runs/E5B8hQzYNx?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-react-table-advanced -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-react-table-advanced`](https://cloud.nx.app/runs/YIDr2BmBIF?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-material-ui-use-update-many -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-material-ui-use-update-many`](https://cloud.nx.app/runs/47K0C7Tocy?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-mantine -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-mantine`](https://cloud.nx.app/runs/no9jr01Sch?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-material-ui-use-delete-many -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-material-ui-use-delete-many`](https://cloud.nx.app/runs/Q41aHs4Ir4?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-material-ui-use-steps-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-material-ui-use-steps-form`](https://cloud.nx.app/runs/0ngVU2uK1F?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-material-ui-use-data-grid -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-material-ui-use-data-grid`](https://cloud.nx.app/runs/lgeZvgwcTa?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-mantine-use-drawer-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-mantine-use-drawer-form`](https://cloud.nx.app/runs/8m1xduQsH5?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-keycloak -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-keycloak`](https://cloud.nx.app/runs/fC4gL5ZOAV?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope data-provider-supabase -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group data-provider-supabase`](https://cloud.nx.app/runs/4jOShR6qWa?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-material-ui-table-filter -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-material-ui-table-filter`](https://cloud.nx.app/runs/MUG7cvCicT?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-material-ui-use-modal-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-material-ui-use-modal-form`](https://cloud.nx.app/runs/TvaG1n1a43?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-material-ui-data-grid-pro -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-material-ui-data-grid-pro`](https://cloud.nx.app/runs/P1RRFMRcLY?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-headless -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-headless`](https://cloud.nx.app/runs/Itcrtkc1C9?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-material-ui-use-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-material-ui-use-form`](https://cloud.nx.app/runs/cQRMhAv0ff?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-material-ui-cursor-pagination -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-material-ui-cursor-pagination`](https://cloud.nx.app/runs/OAqLytliug?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope data-provider-strapi-v4 -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group data-provider-strapi-v4`](https://cloud.nx.app/runs/cKnEXpWGdI?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-google-login -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-google-login`](https://cloud.nx.app/runs/BFLhH3rShp?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-material-ui-advanced -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-material-ui-advanced`](https://cloud.nx.app/runs/lHw2Pvrutg?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-chakra-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-chakra-ui`](https://cloud.nx.app/runs/OxIxLodTXX?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-material-ui-use-drawer-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-material-ui-use-drawer-form`](https://cloud.nx.app/runs/RoBtSeH1wH?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-mantine-mutation-mode -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-mantine-mutation-mode`](https://cloud.nx.app/runs/ZTDqRFHzvB?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-mantine-basic -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-mantine-basic`](https://cloud.nx.app/runs/rq1reHZ4ki?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-auth0 -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-auth0`](https://cloud.nx.app/runs/EDLJhKWxxF?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-material-ui-mutation-mode -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-material-ui-mutation-mode`](https://cloud.nx.app/runs/3cvnoPhA1T?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-mantine-advanced -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-mantine-advanced`](https://cloud.nx.app/runs/b6z4iDa1zn?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-chakra-ui-mutation-mode -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-chakra-ui-mutation-mode`](https://cloud.nx.app/runs/MSeyVO2d1R?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-antd -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-antd`](https://cloud.nx.app/runs/o6guPnXxo1?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope server-side-form-validation-material-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group server-side-form-validation-material-ui`](https://cloud.nx.app/runs/KLhA3rKwj8?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-handson -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-handson`](https://cloud.nx.app/runs/t42L7aYIkJ?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope base-material-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group base-material-ui`](https://cloud.nx.app/runs/pH85ziphLB?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-mantine-use-steps-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-mantine-use-steps-form`](https://cloud.nx.app/runs/6BWUxyluGE?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-core-use-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-core-use-form`](https://cloud.nx.app/runs/3I6fFoaSbx?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-chakra-ui-basic -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-chakra-ui-basic`](https://cloud.nx.app/runs/qhfh69dMMU?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope server-side-form-validation-mantine -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group server-side-form-validation-mantine`](https://cloud.nx.app/runs/bYPM4AqYAe?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-antd-use-steps-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-antd-use-steps-form`](https://cloud.nx.app/runs/UyOfiZ9W7k?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope base-mantine -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group base-mantine`](https://cloud.nx.app/runs/lgDvwngFbC?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-chakra-use-modal-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-chakra-use-modal-form`](https://cloud.nx.app/runs/WBXowuvM53?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope server-side-form-validation-chakra-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group server-side-form-validation-chakra-ui`](https://cloud.nx.app/runs/9pjxgr8czE?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-chakra-ui-advanced -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-chakra-ui-advanced`](https://cloud.nx.app/runs/3D213dOEXu?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope server-side-form-validation-antd -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group server-side-form-validation-antd`](https://cloud.nx.app/runs/QrUWWkZ9O3?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-antd-use-modal-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-antd-use-modal-form`](https://cloud.nx.app/runs/4k3dWEmo5F?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-mantine-use-modal-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-mantine-use-modal-form`](https://cloud.nx.app/runs/1bl8oLzQ5T?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-chakra-ui-use-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-chakra-ui-use-form`](https://cloud.nx.app/runs/6u6e93IiK5?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-antd-use-update-many -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-antd-use-update-many`](https://cloud.nx.app/runs/AP8oLvRn5G?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope inferencer-material-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group inferencer-material-ui`](https://cloud.nx.app/runs/i05QrOJHY6?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-antd-use-table -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-antd-use-table`](https://cloud.nx.app/runs/caLQVwveRp?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-antd-use-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-antd-use-form`](https://cloud.nx.app/runs/kSANHgTqeY?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope base-chakra-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group base-chakra-ui`](https://cloud.nx.app/runs/xKypqeP9wl?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-chakra-ui-use-drawer-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-chakra-ui-use-drawer-form`](https://cloud.nx.app/runs/ga00DCGGmY?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-antd-use-editable-table -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-antd-use-editable-table`](https://cloud.nx.app/runs/fcip3TLA3H?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope inferencer-graphql-hasura -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group inferencer-graphql-hasura`](https://cloud.nx.app/runs/uL0wATX3gB?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope base-antd -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group base-antd`](https://cloud.nx.app/runs/FVqPPnAYhs?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-antd-use-drawer-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-antd-use-drawer-form`](https://cloud.nx.app/runs/smt5uqaJGQ?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-antd-use-delete-many -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-antd-use-delete-many`](https://cloud.nx.app/runs/PgHJr0EggZ?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope inferencer-mantine -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group inferencer-mantine`](https://cloud.nx.app/runs/7dnrn3ri5e?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope auth-material-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group auth-material-ui`](https://cloud.nx.app/runs/TJeFXl6mar?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope inferencer-chakra-ui -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group inferencer-chakra-ui`](https://cloud.nx.app/runs/LM77LlF8q8?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-antd-table-filter -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-antd-table-filter`](https://cloud.nx.app/runs/Fg2KeS4OTl?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-antd-mutation-mode -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-antd-mutation-mode`](https://cloud.nx.app/runs/esDbUzSYA9?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope table-antd-advanced -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group table-antd-advanced`](https://cloud.nx.app/runs/V1cBQSDf4r?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-antd-custom-validation -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-antd-custom-validation`](https://cloud.nx.app/runs/Z4Fl6Y5taj?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope inferencer-antd -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group inferencer-antd`](https://cloud.nx.app/runs/Fwju5SGXxu?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope inferencer-headless -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group inferencer-headless`](https://cloud.nx.app/runs/X79OUXxVD5?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-save-and-continue -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-save-and-continue`](https://cloud.nx.app/runs/XUNAi1gdQL?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-react-hook-form-use-steps-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-react-hook-form-use-steps-form`](https://cloud.nx.app/runs/T4FuomXHru?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-react-hook-form-use-modal-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-react-hook-form-use-modal-form`](https://cloud.nx.app/runs/lsjHtrN8Tn?utm_source=pull-request&utm_medium=comment) - [`lerna run cypress:run --scope form-react-hook-form-use-form -- --record --key 6c99cf93-adbe-41aa-8d91-f50a76b8bbc8 --group form-react-hook-form-use-form`](https://cloud.nx.app/runs/8PDFFUNgaz?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

cypress[bot] commented 4 months ago

Passing run #11062 ↗ī¸Ž

0 378 33 0 Flakiness 0

Details:

Merge 0baff0a20133731dd5b841988927fb4f89cffe65 into 3046f9610f647bb049dbd388cd8c...
Project: refine Commit: 543e910601 ℹī¸
Status: Passed Duration: 25:05 💡
Started: May 10, 2024 11:22 AM Ended: May 10, 2024 11:47 AM

Review all test suite changes for PR #5939 ↗ī¸Ž