Skip to content

Commit 048426f

Browse files
committed
Remove unused future-flag utilities / types.
1 parent b166664 commit 048426f

File tree

3 files changed

+1
-65
lines changed

3 files changed

+1
-65
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ jobs:
685685
yarn test
686686
687687
job_remix_integration_tests:
688-
name: Remix (Node ${{ matrix.node }}) Tests
688+
name: Remix v${{ matrix.remix }} (Node ${{ matrix.node }}) Tests
689689
needs: [job_get_metadata, job_build]
690690
if: needs.job_get_metadata.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
691691
runs-on: ubuntu-20.04

packages/remix/src/utils/futureFlags.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.

packages/remix/src/utils/types.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,6 @@ import type * as Express from 'express';
1414
import type { Agent } from 'https';
1515
import type { ComponentType } from 'react';
1616

17-
type Dev = {
18-
command?: string;
19-
scheme?: string;
20-
host?: string;
21-
port?: number;
22-
restart?: boolean;
23-
tlsKey?: string;
24-
tlsCert?: string;
25-
};
26-
27-
export interface FutureConfig {
28-
unstable_dev: boolean | Dev;
29-
/** @deprecated Use the `postcss` config option instead */
30-
unstable_postcss: boolean;
31-
/** @deprecated Use the `tailwind` config option instead */
32-
unstable_tailwind: boolean;
33-
v2_errorBoundary: boolean;
34-
v2_headers: boolean;
35-
v2_meta: boolean;
36-
v2_normalizeFormMethod: boolean;
37-
v2_routeConvention: boolean;
38-
}
39-
40-
export interface RemixConfig {
41-
[key: string]: any;
42-
future: FutureConfig;
43-
}
44-
4517
export type RemixRequestState = {
4618
method: string;
4719
redirect: RequestRedirect;
@@ -161,7 +133,6 @@ export interface ServerBuild {
161133
assets: AssetsManifest;
162134
publicPath?: string;
163135
assetsBuildDirectory?: string;
164-
future?: FutureConfig;
165136
}
166137

167138
export interface HandleDocumentRequestFunction {

0 commit comments

Comments
 (0)