disable auto publish
Summary: electro-builder automatically publishes when it detects builds on TravisCI. This disables this behaviour, as we want to manually publish releases. Reviewed By: jknoxville Differential Revision: D8783066 fbshipit-source-id: d8723c87b879b3ef7ee02585997a13cb55095e65
This commit is contained in:
committed by
Facebook Github Bot
parent
c048e03d03
commit
9f95698492
@@ -22,4 +22,4 @@ module.name_mapper='sonar' -> '<PROJECT_ROOT>/src/index.js'
|
||||
suppress_type=$FlowFixMe
|
||||
|
||||
[version]
|
||||
0.70.0
|
||||
0.76.0
|
||||
|
||||
22
flow-typed/npm/express_v4.x.x.js
vendored
22
flow-typed/npm/express_v4.x.x.js
vendored
@@ -1,5 +1,5 @@
|
||||
// flow-typed signature: f0e399a136d6e8dc8b1fbdc078e2850c
|
||||
// flow-typed version: ed397013d1/express_v4.x.x/flow_>=v0.32.x
|
||||
// flow-typed signature: 45384ed25d019e0595020cc30e78b80f
|
||||
// flow-typed version: d11eab7bb5/express_v4.x.x/flow_>=v0.32.x
|
||||
|
||||
import type { Server } from 'http';
|
||||
import type { Socket } from 'net';
|
||||
@@ -21,7 +21,7 @@ declare type express$RequestParams = {
|
||||
|
||||
declare class express$Request extends http$IncomingMessage mixins express$RequestResponseBase {
|
||||
baseUrl: string;
|
||||
body: any;
|
||||
body: mixed;
|
||||
cookies: {[cookie: string]: string};
|
||||
connection: Socket;
|
||||
fresh: boolean;
|
||||
@@ -161,20 +161,18 @@ declare class express$Router extends express$Route {
|
||||
id: string
|
||||
) => mixed
|
||||
): void;
|
||||
|
||||
// Can't use regular callable signature syntax due to https://github.com/facebook/flow/issues/3084
|
||||
$call: (req: http$IncomingMessage, res: http$ServerResponse, next?: ?express$NextFunction) => void;
|
||||
(req: http$IncomingMessage, res: http$ServerResponse, next?: ?express$NextFunction): void;
|
||||
}
|
||||
|
||||
declare class express$Application extends express$Router mixins events$EventEmitter {
|
||||
constructor(): void;
|
||||
locals: {[name: string]: mixed};
|
||||
mountpath: string;
|
||||
listen(port: number, hostname?: string, backlog?: number, callback?: (err?: ?Error) => mixed): Server;
|
||||
listen(port: number, hostname?: string, callback?: (err?: ?Error) => mixed): Server;
|
||||
listen(port: number, callback?: (err?: ?Error) => mixed): Server;
|
||||
listen(path: string, callback?: (err?: ?Error) => mixed): Server;
|
||||
listen(handle: Object, callback?: (err?: ?Error) => mixed): Server;
|
||||
listen(port: number, hostname?: string, backlog?: number, callback?: (err?: ?Error) => mixed): ?Server;
|
||||
listen(port: number, hostname?: string, callback?: (err?: ?Error) => mixed): ?Server;
|
||||
listen(port: number, callback?: (err?: ?Error) => mixed): ?Server;
|
||||
listen(path: string, callback?: (err?: ?Error) => mixed): ?Server;
|
||||
listen(handle: Object, callback?: (err?: ?Error) => mixed): ?Server;
|
||||
disable(name: string): void;
|
||||
disabled(name: string): boolean;
|
||||
enable(name: string): express$Application;
|
||||
@@ -187,6 +185,8 @@ declare class express$Application extends express$Router mixins events$EventEmit
|
||||
set(name: string, value: mixed): mixed;
|
||||
render(name: string, optionsOrFunction: {[name: string]: mixed}, callback: express$RenderCallback): void;
|
||||
handle(req: http$IncomingMessage, res: http$ServerResponse, next?: ?express$NextFunction): void;
|
||||
// callable signature is not inherited
|
||||
(req: http$IncomingMessage, res: http$ServerResponse, next?: ?express$NextFunction): void;
|
||||
}
|
||||
|
||||
declare module 'express' {
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"eslint-plugin-prettier": "^2.4.0",
|
||||
"eslint-plugin-react": "^7.5.1",
|
||||
"eslint-plugin-relay": "^0.0.20",
|
||||
"flow-bin": "^0.69.0",
|
||||
"flow-bin": "^0.76.0",
|
||||
"glob": "^7.1.2",
|
||||
"prettier": "1.13.6"
|
||||
},
|
||||
|
||||
@@ -106,6 +106,7 @@ function buildDist(buildFolder) {
|
||||
return builder
|
||||
.build({
|
||||
appDir: buildFolder,
|
||||
publish: 'never',
|
||||
config: {
|
||||
appId: `com.facebook.sonar`,
|
||||
directories: {
|
||||
|
||||
@@ -121,7 +121,6 @@ class PluginContainer extends Component<Props, State> {
|
||||
}
|
||||
|
||||
return (
|
||||
// $FlowFixMe: Flow doesn't know of React.Fragment yet
|
||||
<React.Fragment>
|
||||
<Container key="plugin">
|
||||
<ErrorBoundary
|
||||
|
||||
@@ -195,7 +195,6 @@ class MainSidebar extends Component<MainSidebarProps> {
|
||||
/>
|
||||
))}
|
||||
{clients.map((client: Client) => (
|
||||
// $FlowFixMe: Flow doesn't know of React.Fragment yet
|
||||
<React.Fragment key={client.id}>
|
||||
<SidebarHeader>{client.query.app}</SidebarHeader>
|
||||
{plugins
|
||||
|
||||
@@ -1958,9 +1958,9 @@ flat-cache@^1.2.1:
|
||||
graceful-fs "^4.1.2"
|
||||
write "^0.2.1"
|
||||
|
||||
flow-bin@^0.69.0:
|
||||
version "0.69.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.69.0.tgz#053159a684a6051fcbf0b71a2eb19a9679082da6"
|
||||
flow-bin@^0.76.0:
|
||||
version "0.76.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.76.0.tgz#eb00036991c3abc106743fcbc7ee321f02aa4faa"
|
||||
|
||||
for-in@^1.0.1, for-in@^1.0.2:
|
||||
version "1.0.2"
|
||||
|
||||
Reference in New Issue
Block a user