Skip to content

Commit

Permalink
Remove unused future-flag utilities / types.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Jun 26, 2023
1 parent b166664 commit 048426f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 65 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ jobs:
yarn test
job_remix_integration_tests:
name: Remix (Node ${{ matrix.node }}) Tests
name: Remix v${{ matrix.remix }} (Node ${{ matrix.node }}) Tests
needs: [job_get_metadata, job_build]
if: needs.job_get_metadata.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
runs-on: ubuntu-20.04
Expand Down
35 changes: 0 additions & 35 deletions packages/remix/src/utils/futureFlags.ts

This file was deleted.

29 changes: 0 additions & 29 deletions packages/remix/src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,34 +14,6 @@ import type * as Express from 'express';
import type { Agent } from 'https';
import type { ComponentType } from 'react';

type Dev = {
command?: string;
scheme?: string;
host?: string;
port?: number;
restart?: boolean;
tlsKey?: string;
tlsCert?: string;
};

export interface FutureConfig {
unstable_dev: boolean | Dev;
/** @deprecated Use the `postcss` config option instead */
unstable_postcss: boolean;
/** @deprecated Use the `tailwind` config option instead */
unstable_tailwind: boolean;
v2_errorBoundary: boolean;
v2_headers: boolean;
v2_meta: boolean;
v2_normalizeFormMethod: boolean;
v2_routeConvention: boolean;
}

export interface RemixConfig {
[key: string]: any;
future: FutureConfig;
}

export type RemixRequestState = {
method: string;
redirect: RequestRedirect;
Expand Down Expand Up @@ -161,7 +133,6 @@ export interface ServerBuild {
assets: AssetsManifest;
publicPath?: string;
assetsBuildDirectory?: string;
future?: FutureConfig;
}

export interface HandleDocumentRequestFunction {
Expand Down

0 comments on commit 048426f

Please sign in to comment.