Skip to content

Commit

Permalink
Move ReactFlightClientConfigBundlerParcel to the client folder
Browse files Browse the repository at this point in the history
Aligns with the others.
  • Loading branch information
sebmarkbage committed Dec 12, 2024
1 parent ef731f5 commit 78d8fd6
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const rendererPackageName = 'react-server-dom-parcel';

export * from 'react-client/src/ReactFlightClientStreamConfigWeb';
export * from 'react-client/src/ReactClientConsoleConfigBrowser';
export * from 'react-server-dom-parcel/src/shared/ReactFlightClientConfigBundlerParcel';
export * from 'react-server-dom-parcel/src/client/ReactFlightClientConfigBundlerParcel';
export * from 'react-dom-bindings/src/shared/ReactFlightClientConfigDOM';
export const usedWithSSR = false;
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const rendererPackageName = 'react-server-dom-parcel';

export * from 'react-client/src/ReactFlightClientStreamConfigWeb';
export * from 'react-client/src/ReactClientConsoleConfigServer';
export * from 'react-server-dom-parcel/src/shared/ReactFlightClientConfigBundlerParcel';
export * from 'react-server-dom-parcel/src/client/ReactFlightClientConfigBundlerParcel';
export * from 'react-dom-bindings/src/shared/ReactFlightClientConfigDOM';
export const usedWithSSR = true;
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ export const rendererPackageName = 'react-server-dom-parcel';

export * from 'react-client/src/ReactFlightClientStreamConfigNode';
export * from 'react-client/src/ReactClientConsoleConfigServer';
export * from 'react-server-dom-parcel/src/shared/ReactFlightClientConfigBundlerParcel';
export * from 'react-server-dom-parcel/src/client/ReactFlightClientConfigBundlerParcel';
export * from 'react-dom-bindings/src/shared/ReactFlightClientConfigDOM';
export const usedWithSSR = true;
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import type {Thenable} from 'shared/ReactTypes.js';
import type {Response as FlightResponse} from 'react-client/src/ReactFlightClient';
import type {ReactServerValue} from 'react-client/src/ReactFlightReplyClient';
import type {ServerReferenceId} from '../shared/ReactFlightClientConfigBundlerParcel';
import type {ServerReferenceId} from '../client/ReactFlightClientConfigBundlerParcel';

import {
createResponse,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
resolveServerReference,
type ServerManifest,
type ServerReferenceId,
} from '../shared/ReactFlightClientConfigBundlerParcel';
} from '../client/ReactFlightClientConfigBundlerParcel';

import {
createRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
resolveServerReference,
type ServerManifest,
type ServerReferenceId,
} from '../shared/ReactFlightClientConfigBundlerParcel';
} from '../client/ReactFlightClientConfigBundlerParcel';

import {
createRequest,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type {ReactFormState, Thenable} from 'shared/ReactTypes';
import type {
ServerManifest,
ServerReferenceId,
} from '../shared/ReactFlightClientConfigBundlerParcel';
} from '../client/ReactFlightClientConfigBundlerParcel';

import {Readable} from 'stream';
import {
Expand Down Expand Up @@ -49,7 +49,7 @@ import {
preloadModule,
requireModule,
resolveServerReference,
} from '../shared/ReactFlightClientConfigBundlerParcel';
} from '../client/ReactFlightClientConfigBundlerParcel';

export {
createClientReference,
Expand Down
6 changes: 3 additions & 3 deletions scripts/shared/inlinedHostConfigs.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ module.exports = [
'react-server-dom-parcel/static',
'react-server-dom-parcel/static.node',
'react-server-dom-parcel/src/client/ReactFlightDOMClientNode.js', // react-server-dom-parcel/client.node
'react-server-dom-parcel/src/shared/ReactFlightClientConfigBundlerParcel.js',
'react-server-dom-parcel/src/client/ReactFlightClientConfigBundlerParcel.js',
'react-server-dom-parcel/src/server/react-flight-dom-server.node',
'react-server-dom-parcel/src/server/ReactFlightDOMServerNode.js', // react-server-dom-parcel/src/server/react-flight-dom-server.node
'react-server-dom-parcel/node-register',
Expand Down Expand Up @@ -335,7 +335,7 @@ module.exports = [
'react-server-dom-parcel/server.browser',
'react-server-dom-parcel/static.browser',
'react-server-dom-parcel/src/client/ReactFlightDOMClientBrowser.js', // react-server-dom-parcel/client.browser
'react-server-dom-parcel/src/shared/ReactFlightClientConfigBundlerParcel.js',
'react-server-dom-parcel/src/client/ReactFlightClientConfigBundlerParcel.js',
'react-server-dom-parcel/src/server/react-flight-dom-server.browser',
'react-server-dom-parcel/src/server/ReactFlightDOMServerBrowser.js', // react-server-dom-parcel/src/server/react-flight-dom-server.browser
'react-devtools',
Expand Down Expand Up @@ -455,7 +455,7 @@ module.exports = [
'react-server-dom-parcel/server.edge',
'react-server-dom-parcel/static.edge',
'react-server-dom-parcel/src/client/ReactFlightDOMClientEdge.js', // react-server-dom-parcel/client.edge
'react-server-dom-parcel/src/shared/ReactFlightClientConfigBundlerParcel.js',
'react-server-dom-parcel/src/client/ReactFlightClientConfigBundlerParcel.js',
'react-server-dom-parcel/src/server/react-flight-dom-server.edge',
'react-server-dom-parcel/src/server/ReactFlightDOMServerEdge.js', // react-server-dom-parcel/src/server/react-flight-dom-server.edge
'react-devtools',
Expand Down

0 comments on commit 78d8fd6

Please sign in to comment.