Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove remix #410

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 0 additions & 58 deletions .github/workflows/test-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,61 +119,3 @@ jobs:
CYPRESS_DATA_PROVIDER: ${{ matrix.data_provider }}
CYPRESS_UI_FRAMEWORK: ${{ matrix.ui_framework }}
CYPRESS_AUTH_PROVIDER: ${{ steps.build_step.outputs.auth_provider }}
remix:
runs-on: ubuntu-latest
name: remix
concurrency:
group: ${{ github.ref }}-e2e-local-remix-${{ matrix.data_provider }}-${{ matrix.ui_framework }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
data_provider:
[
custom-json-rest,
strapi-v4,
nestjsx-crud,
airtable,
supabase,
appwrite,
hasura,
]
ui_framework: [tailwindcss, antd, mui, no]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: npm install
- name: Build Examples
id: build_step
run: node ./.github/workflows/build-template.js
env:
FRAMEWORK: remix
DATA_PROVIDER: ${{ matrix.data_provider }}
UI_FRAMEWORK: ${{ matrix.ui_framework }}
- name: Install Deps
run: |
cd ${{ steps.build_step.outputs.project_path }}
npm install
npm run build
HOST=0.0.0.0 npm run start &
- name: Run Cypress on local
uses: cypress-io/github-action@v6
with:
install: false
record: true
start: "npm ls"
wait-on: "http://0.0.0.0:3000"
group: e2e-local-remix-${{ matrix.data_provider }}-${{ matrix.ui_framework }}-${{ steps.build_step.outputs.auth_provider }}
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_USER_AGENT: ${{ secrets.CI_USER_AGENT }}
CYPRESS_FRAMEWORK: remix
CYPRESS_DATA_PROVIDER: ${{ matrix.data_provider }}
CYPRESS_UI_FRAMEWORK: ${{ matrix.ui_framework }}
CYPRESS_AUTH_PROVIDER: ${{ steps.build_step.outputs.auth_provider }}
58 changes: 0 additions & 58 deletions .github/workflows/test-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,61 +121,3 @@ jobs:
CYPRESS_DATA_PROVIDER: ${{ matrix.data_provider }}
CYPRESS_UI_FRAMEWORK: ${{ matrix.ui_framework }}
CYPRESS_AUTH_PROVIDER: ${{ steps.download_step.outputs.auth_provider }}
refine-remix:
runs-on: ubuntu-latest
name: Remix
concurrency:
group: ${{ github.ref }}-e2e-remote-remix-${{ matrix.data_provider }}-${{ matrix.ui_framework }}
cancel-in-progress: true
strategy:
fail-fast: false
matrix:
data_provider:
[
custom-json-rest,
strapi-v4,
nestjsx-crud,
airtable,
supabase,
appwrite,
hasura,
]
ui_framework: [tailwindcss, antd, mui, no]
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install
run: npm install
- name: Download Example
id: download_step
run: node ./.github/workflows/build-remote.js
env:
FRAMEWORK: remix
CI_USER_AGENT: ${{ secrets.CI_USER_AGENT }}
DATA_PROVIDER: ${{ matrix.data_provider }}
UI_FRAMEWORK: ${{ matrix.ui_framework }}
- name: Install & Build Deps
run: |
cd ${{ steps.download_step.outputs.project_path }}
npm install
npm run build
HOST=0.0.0.0 npm run start &
- name: Run Cypress on local
uses: cypress-io/github-action@v6
with:
install: false
record: true
start: "npm ls"
wait-on: "http://localhost:3000"
group: e2e-remote-remix-${{ matrix.data_provider }}-${{ matrix.ui_framework }}-${{ steps.download_step.outputs.auth_provider }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
CYPRESS_USER_AGENT: ${{ secrets.CI_USER_AGENT }}
CYPRESS_FRAMEWORK: remix
CYPRESS_DATA_PROVIDER: ${{ matrix.data_provider }}
CYPRESS_UI_FRAMEWORK: ${{ matrix.ui_framework }}
CYPRESS_AUTH_PROVIDER: ${{ steps.download_step.outputs.auth_provider }}
16 changes: 2 additions & 14 deletions cypress/e2e/build-test.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ const shouldSkip = () => {
return true;
}

if (
Cypress.env("FRAMEWORK") === "remix" &&
Cypress.env("UI_FRAMEWORK") === "antd"
) {
cy.log("Remix with Antd has known issues, skipping.");

return true;
}

return false;
};

Expand Down Expand Up @@ -120,11 +111,8 @@ describe("build test", () => {
cy.contains("Blog Posts", { matchCase: false }).should("exist");

// document title check
// ignore remix and nextjs
if (
Cypress.env("FRAMEWORK") !== "remix" &&
Cypress.env("FRAMEWORK") !== "nextjs"
) {
// ignore nextjs
if (Cypress.env("FRAMEWORK") !== "nextjs") {
cy.title().should("eq", "Blog posts | Refine");
}

Expand Down
24 changes: 0 additions & 24 deletions presets.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,6 @@ module.exports = {
"headless-example": "no",
},
},
{
name: "refine-headless-remix",
type: "refine-remix",
answers: {
"ui-framework": "no",
"data-provider": "data-provider-custom-json-rest",
"auth-provider": "none",
"antd-example": "no",
"mui-example": "no",
"headless-example": "no",
},
},
{
name: "refine-antd-nextjs",
type: "refine-nextjs",
Expand Down Expand Up @@ -124,17 +112,5 @@ module.exports = {
"headless-example": "no",
},
},
{
name: "remix-tailwindcss",
type: "refine-remix",
answers: {
"ui-framework": "tailwindcss",
"data-provider": "data-provider-custom-json-rest",
"auth-provider": "none",
"antd-example": "no",
"mui-example": "no",
"headless-example": "no",
},
},
],
};
9 changes: 0 additions & 9 deletions refine-remix/plugins/_base/app/components/app-icon/index.tsx

This file was deleted.

22 changes: 0 additions & 22 deletions refine-remix/plugins/_base/app/components/breadcrumb/index.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions refine-remix/plugins/_base/app/components/layout/index.tsx

This file was deleted.

35 changes: 0 additions & 35 deletions refine-remix/plugins/_base/app/components/menu/index.tsx

This file was deleted.

88 changes: 0 additions & 88 deletions refine-remix/plugins/_base/app/global.css

This file was deleted.

Loading
Loading