Adds Expo Simulators sessions to Orbit as remote devices, and reworks the popover around accounts, projects and device actions. - CLI: boot-device and install-and-launch accept an eas: device ID. New commands list-remote-simulators, list-remote-simulator-options, stop-remote-simulator and stop-device. - Popover: an account row, a row of project tiles that can launch the latest app, a default device for each platform, buttons on device rows, and a Remote devices section with running and ended sessions and a default controller. - Windows: New simulator session starts a session. The Settings pane Menu sets the sections, the order of devices and the hidden devices. - Quit and log out ask first when sessions still run. - Includes the fixes from the Windows and Linux tests (#391).
20 lines
688 B
TypeScript
20 lines
688 B
TypeScript
import type { CodegenConfig } from '@graphql-codegen/cli';
|
|
import { Config } from 'common-types';
|
|
|
|
const config: CodegenConfig = {
|
|
overwrite: true,
|
|
schema: `${Config.api.origin}/graphql`,
|
|
documents: './src/graphql/**/*.gql',
|
|
generates: {
|
|
'./src/graphql/generated/graphql.ts': {
|
|
plugins: ['typescript', 'typescript-operations', 'typescript-graphql-request'],
|
|
// Only the enums and inputs the documents use. The full schema no longer compiles:
|
|
// `AppObserve.navigationRoutes` and `AppObserveNavigation.routes` generate the same
|
|
// `AppObserveNavigationRoutesArgs` name.
|
|
config: { onlyOperationTypes: true },
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config;
|