From 265bc28d74d94100a98d386c02491dcb5f433ef7 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Mon, 7 Dec 2020 22:07:18 -0500 Subject: [PATCH] Rename /server to /writer This is mainly because "React Server Server" is weird so we need another dimension. --- fixtures/flight-browser/index.html | 2 +- .../npm/server.browser.js | 7 ------- .../react-server-dom-webpack/npm/server.js | 3 --- .../npm/server.node.js | 7 ------- .../npm/writer.browser.server.js | 7 +++++++ .../react-server-dom-webpack/npm/writer.js | 3 +++ .../npm/writer.node.server.js | 7 +++++++ .../react-server-dom-webpack/package.json | 14 +++++++------- .../src/__tests__/ReactFlightDOM-test.js | 2 +- .../__tests__/ReactFlightDOMBrowser-test.js | 2 +- ...er.browser.js => writer.browser.server.js} | 0 .../{server.js => writer.js} | 2 +- .../{server.node.js => writer.node.server.js} | 0 scripts/rollup/bundles.js | 4 ++-- scripts/shared/inlinedHostConfigs.js | 19 ++++++++----------- 15 files changed, 38 insertions(+), 41 deletions(-) delete mode 100644 packages/react-server-dom-webpack/npm/server.browser.js delete mode 100644 packages/react-server-dom-webpack/npm/server.js delete mode 100644 packages/react-server-dom-webpack/npm/server.node.js create mode 100644 packages/react-server-dom-webpack/npm/writer.browser.server.js create mode 100644 packages/react-server-dom-webpack/npm/writer.js create mode 100644 packages/react-server-dom-webpack/npm/writer.node.server.js rename packages/react-server-dom-webpack/{server.browser.js => writer.browser.server.js} (100%) rename packages/react-server-dom-webpack/{server.js => writer.js} (84%) rename packages/react-server-dom-webpack/{server.node.js => writer.node.server.js} (100%) diff --git a/fixtures/flight-browser/index.html b/fixtures/flight-browser/index.html index 123eb80070782..c48e3e4c9e63f 100644 --- a/fixtures/flight-browser/index.html +++ b/fixtures/flight-browser/index.html @@ -19,7 +19,7 @@

Flight Example

- +