-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ⬆️ upgrade flow-bin * 🏷️update flow type definitions * 🚨 fix flow errors * 🚨 format with prettier * 🏷️ add changeset * 🔥 cleanup type definitions * ♻️ check for body body can be null by the flow definition * ⬆️ upgrade flow to 0.110.1 * ⬆️ upgrade @emotion packages Signed-off-by: w01fgang <sumin@unix-center.ru> * 👌 replace suppress conmment * 🚨 fix type import * 🚨 add missing semicolon * 🏷️ add fixturez type definition * ♻️ don't change values * 🐛 forwardRef and memo no defaultProps facebook/flow#7467 * ✅ wait until the ui updates
- Loading branch information
Showing
71 changed files
with
595 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
'@keystone-alpha/app-admin-ui': patch | ||
'@arch-ui/button': patch | ||
'@arch-ui/confirm': patch | ||
'@arch-ui/controls': patch | ||
'@arch-ui/day-picker': patch | ||
'@arch-ui/dialog': patch | ||
'@arch-ui/drawer': patch | ||
'@arch-ui/layout': patch | ||
'@arch-ui/modal-utils': patch | ||
'@arch-ui/navbar': patch | ||
'@arch-ui/pagination': patch | ||
'@arch-ui/typography': patch | ||
'@keystone-alpha/build-field-types': patch | ||
'@keystone-alpha/fields': patch | ||
--- | ||
|
||
Upgrade flow & fix flow errors and (probably) bugs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
'@keystonejs/demo-project-blog': patch | ||
'@keystonejs/demo-project-meetup': patch | ||
'@keystonejs/app-admin-ui': patch | ||
'@arch-ui/docs': patch | ||
'@arch-ui/alert': patch | ||
'@arch-ui/badge': patch | ||
'@arch-ui/button': patch | ||
'@arch-ui/card': patch | ||
'@arch-ui/confirm': patch | ||
'@arch-ui/controls': patch | ||
'@arch-ui/day-picker': patch | ||
'@arch-ui/dialog': patch | ||
'@arch-ui/drawer': patch | ||
'@arch-ui/dropdown': patch | ||
'@arch-ui/fields': patch | ||
'@arch-ui/filters': patch | ||
'@arch-ui/input': patch | ||
'@arch-ui/layout': patch | ||
'@arch-ui/loading': patch | ||
'@arch-ui/lozenge': patch | ||
'@arch-ui/modal-utils': patch | ||
'@arch-ui/navbar': patch | ||
'@arch-ui/options': patch | ||
'@arch-ui/pagination': patch | ||
'@arch-ui/pill': patch | ||
'@arch-ui/popout': patch | ||
'@arch-ui/tooltip': patch | ||
'@arch-ui/typography': patch | ||
'@keystonejs/build-field-types': patch | ||
'@keystonejs/field-content': patch | ||
'@keystonejs/fields-markdown': patch | ||
'@keystonejs/fields-wysiwyg-tinymce': patch | ||
'@keystonejs/fields': patch | ||
'@keystonejs/oembed-adapters': patch | ||
'@keystonejs/website': patch | ||
--- | ||
|
||
Upgrade @emotion/core & @emotion/styled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
// flow-typed signature: c0a247c13aec79d77053b130b7a57ff6 | ||
// flow-typed version: fixturez_v1.1.0/flow_v0.110.0 | ||
|
||
/** | ||
* Once filled out, we encourage you to share your work with the | ||
* community by sending a pull request to: | ||
* https://github.com/flowtype/flow-typed | ||
*/ | ||
|
||
declare module 'fixturez' { | ||
declare type Opts = { | ||
glob?: string | Array<string>, | ||
root?: string, | ||
cleanup?: boolean, | ||
}; | ||
|
||
declare type fixturez = ( | ||
cwd: string, | ||
opts?: Opts | ||
) => { | ||
find: (name: string) => string, | ||
temp: () => string, | ||
copy: (name: string) => string, | ||
cleanup: () => void, | ||
}; | ||
|
||
declare module.exports: fixturez; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
// flow-typed signature: 375bd9e884de49de21ffed99c7e577dc | ||
// flow-typed version: <<STUB>>/p-limit_v1/flow_v0.85.0 | ||
// flow-typed version: p-limit_v1/flow_v0.85.0 | ||
|
||
/** | ||
* This is an autogenerated libdef stub for: | ||
* | ||
* 'p-limit' | ||
* | ||
* Fill this stub out by replacing all the `any` types. | ||
* | ||
* Once filled out, we encourage you to share your work with the | ||
* community by sending a pull request to: | ||
* https://github.com/flowtype/flow-typed | ||
*/ | ||
|
||
declare module 'p-limit' { | ||
declare module.exports: ( | ||
concurrency: number | ||
) => <V, Args>(func: (...args: Args) => Promise<V>, ...args: Args) => Promise<V>; | ||
declare interface Limit { | ||
<Arguments: mixed[], ReturnType>( | ||
fn: (...arguments: Arguments) => PromiseLike<ReturnType> | ReturnType, | ||
...arguments: Arguments | ||
): Promise<ReturnType>; | ||
/* The number of promises that are currently running. */ | ||
+activeCount: number; | ||
|
||
/* The number of promises that are waiting to run (i.e. their internal `fn` was not called yet). */ | ||
+pendingCount: number; | ||
} | ||
|
||
/* Run multiple promise-returning & async functions with limited concurrency. */ | ||
declare export default function pLimit(concurrency: number): Limit; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// flow-typed signature: a0c9e8efa1ca6e9858a69f5b504db9d0 | ||
// flow-typed version: <<STUB>>/react-window_v1.7.0/flow_v0.110.0 | ||
|
||
/** | ||
* This is an autogenerated libdef stub for: | ||
* | ||
* 'react-window' | ||
* | ||
* Fill this stub out by replacing all the `any` types. | ||
* | ||
* Once filled out, we encourage you to share your work with the | ||
* community by sending a pull request to: | ||
* https://github.com/flowtype/flow-typed | ||
*/ | ||
|
||
declare module 'react-window' { | ||
declare module.exports: any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// flow-typed signature: 15a2b719a9b43541e3723f51ab6dffdf | ||
// flow-typed version: sarcastic_v1.5.0/flow_v0.110.0 | ||
|
||
declare module 'sarcastic' { | ||
declare type Name = string | ((...keyPath: Array<string | number>) => string); | ||
declare type Assertion<T> = (val: mixed, name: Name) => T; | ||
declare type AssertionMap = { [key: string]: Assertion<any> }; | ||
declare type ExtractAssertionType = <T>(Assertion<T>) => T; | ||
declare type AssertionResultMap<T> = $ObjMap<T, ExtractAssertionType>; | ||
|
||
declare class AssertionError extends Error { | ||
kind: string; | ||
target: string; | ||
value: mixed; | ||
} | ||
|
||
declare module.exports: { | ||
is: <T>(val: mixed, assertion: Assertion<T>, name?: Name) => T, | ||
boolean: Assertion<boolean>, | ||
number: Assertion<number>, | ||
string: Assertion<string>, | ||
array: Assertion<$ReadOnlyArray<mixed>>, | ||
func: Assertion<Function>, | ||
object: Assertion<{ [key: string]: mixed }>, | ||
arrayOf: <T>(assertion: Assertion<T>) => Assertion<Array<T>>, | ||
arrayish: <T>(assertion: Assertion<T>) => Assertion<Array<T>>, | ||
objectOf: <T>(assertion: Assertion<T>) => Assertion<{ [key: string]: T }>, | ||
shape: <T: AssertionMap>(assertions: T) => Assertion<AssertionResultMap<T>>, | ||
maybe: <T>(assertion: Assertion<T>) => Assertion<T | null>, | ||
default: <T>(assertion: Assertion<T>, defaultValue: T) => Assertion<T>, | ||
either: <A, B>(assertionA: Assertion<A>, assertionB: Assertion<B>) => Assertion<A | B>, | ||
AssertionError: AssertionError, | ||
<T>(val: mixed, assertion: Assertion<T>, name?: Name): T, | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.