mirror of
https://github.com/expo/expo-cli.git
synced 2026-11-14 18:06:30 -10:00
* Upgraded deps * Update withDevServer.ts * Running with Webpack 5 * New logging * Fixed asset creation * Fixed sockets * Update TerminalUI.ts * Added bundling support * Update TerminalUI.ts * fixed startup logic * Updated dev tools web start * Update startAsync.ts * Update yarn.lock * [wip] working again * remove unused * wip -- native fast refresh * remove unused * wip * fixed fast refresh dev server across web/ios * support arbitrary ports * fixed image loading on web * fixup refresh * wip multi-config -- not working with fast refresh * wip kinda working * wip -- native fast refresh working * wip -- working all platforms * Added asset Metro middleware interop * Disable react-error-overlay * add web stuff back * improve symbolication * added proper patches * patch package * Update webpackHotDevClient.ts * Update __webpack_require__.l.ts * wip -- no merge * wip -- no merge * wip * wip -- no commit * wip -- updated interface * wip -- update runtime * fix versions * Fix types fixed all runtime/ TS errors fix ts errors change redirects drop deprecations Drop native output Update embed.ts Delete embed.ts revert extras remove asset middleware updated ops split out HMR plugin Update webpack.config.ts * Remove patches * Delete webpack-dev-middleware_dist_utils_setupOutputFileSystem.js * Drop extra native features * revert code * Update defaults.ts * added types * fix yarn Update PackagerLogsStream.ts Update yarn.lock * Update getFileAsync.ts * Update webpack.config.ts * Update Webpack.ts * Fix splitChunks * Remove react-dev-utils to add Node LTS (v12) support back Update ModuleNotFoundPlugin.ts Update formatWebpackMessages.ts * fix types * Update createAllLoaders-test.js * Update paths-test.js.snap * fix tests * Update webpack.config-test.js.snap * Fix merge * Fix find-up * Update package.json Update ManifestHandler.ts Update .eslintrc.js Update parseStartOptions.ts fix types Update yarn.lock Delete more unused code and fix types fix types drop unimodules helper (no longer used in Next.js adapter) update tests drop more native support wip -- drop native update deps Update basic-test.js updated tests Update startAsync.ts drop / revert Update package.json * update tests * fix tests * fix tests --------- Co-authored-by: Evan Bacon <[email protected]>
32 lines
809 B
JavaScript
32 lines
809 B
JavaScript
import * as Constants from 'app/common/constants';
|
|
import React from 'react';
|
|
import { css } from 'react-emotion';
|
|
|
|
const STYLES_BANNER = css`
|
|
padding: 16px;
|
|
width: 100%;
|
|
background-color: ${Constants.colors.red};
|
|
`;
|
|
const STYLES_INDICATOR = css`
|
|
font-family: ${Constants.fontFamilies.mono};
|
|
color: ${Constants.colors.white};
|
|
font-size: 12px;
|
|
padding-top: 2px;
|
|
`;
|
|
|
|
export default function DeprecatedBanner() {
|
|
return (
|
|
<div className={STYLES_BANNER}>
|
|
<span className={STYLES_INDICATOR}>
|
|
The Expo CLI Web UI is deprecated, please use the Terminal UI instead.{' '}
|
|
<a
|
|
style={{ color: 'white' }}
|
|
href="https://blog.expo.dev/sunsetting-the-web-ui-for-expo-cli-ab12936d2206">
|
|
Learn more
|
|
</a>
|
|
.
|
|
</span>
|
|
</div>
|
|
);
|
|
}
|