refactor: Internal type cleanup (#980)
* refactor: Internal type cleanup * chore: Remove prettier-plugin-jsdoc as its output is non-determinstic
This commit is contained in:
parent
e65b5a7952
commit
7e744aa0d3
|
@ -46,7 +46,6 @@
|
|||
"release:pr": "dripip pr",
|
||||
"release:preview": "dripip preview",
|
||||
"release:stable": "dripip stable",
|
||||
"pretest": "yarn patch-package",
|
||||
"test": "yarn test:types && jest --testTimeout 10000",
|
||||
"test:ci": "yarn test:types && jest --maxWorkers 2 --coverage --testTimeout 10000",
|
||||
"test:debug": "node --inspect-brk $(yarn bin)/jest -i --watch",
|
||||
|
@ -92,9 +91,7 @@
|
|||
"jest": "^26.6.3",
|
||||
"jest-watch-typeahead": "^0.6.1",
|
||||
"lint-staged": "^7.3.0",
|
||||
"patch-package": "6.2.2",
|
||||
"prettier": "^2.3.1",
|
||||
"prettier-plugin-jsdoc": "^0.3.23",
|
||||
"sort-package-json": "^1.22.1",
|
||||
"ts-jest": "^26.4.4",
|
||||
"ts-morph": "^8.2.0",
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import type { GraphQLScalarTypeConfig } from 'graphql'
|
||||
import type { AllNexusInputTypeDefs } from '../core'
|
||||
import type { AllInputTypes, GetGen2 } from '../typegenTypeHelpers'
|
||||
import type { AllNexusArgsDefs, AllNexusInputTypeDefs } from './wrapping'
|
||||
import { NexusTypes, withNexusSymbol } from './_types'
|
||||
import type { AllNexusArgsDefs } from './wrapping'
|
||||
import { Maybe, NexusTypes, withNexusSymbol } from './_types'
|
||||
|
||||
export type ArgsRecord = Record<string, AllNexusArgsDefs>
|
||||
|
||||
|
@ -39,7 +40,7 @@ export type CommonArgConfig = {
|
|||
* // ): [Int]
|
||||
* // }
|
||||
*/
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
|
||||
/**
|
||||
* Data that will be added to the arg-level [extensions field on the graphql-js type def
|
||||
|
|
|
@ -11,18 +11,18 @@ import type {
|
|||
import type { ArgsRecord } from './args'
|
||||
import type { NexusMetaType } from './nexusMeta'
|
||||
import type { AllNexusInputTypeDefs, AllNexusOutputTypeDefs, NexusWrapKind } from './wrapping'
|
||||
import type { BaseScalars } from './_types'
|
||||
import type { BaseScalars, Maybe } from './_types'
|
||||
|
||||
export interface CommonFieldConfig {
|
||||
//todo
|
||||
/** The description to annotate the GraphQL SDL */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
//todo
|
||||
/**
|
||||
* Info about a field deprecation. Formatted as a string and provided with the deprecated directive on
|
||||
* field/enum types and as a comment on input fields.
|
||||
*/
|
||||
deprecation?: string // | DeprecationInfo;
|
||||
deprecation?: Maybe<string> // | DeprecationInfo;
|
||||
}
|
||||
|
||||
export type CommonOutputFieldConfig<TypeName extends string, FieldName extends string> = CommonFieldConfig & {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { assertValidName, GraphQLEnumTypeConfig, GraphQLEnumValueConfig } from 'graphql'
|
||||
import { arg, NexusArgDef, NexusAsArgConfig } from './args'
|
||||
import { NexusTypes, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
import { Maybe, NexusTypes, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
|
||||
type TypeScriptEnumLike = {
|
||||
[key: number]: string
|
||||
|
@ -12,12 +12,12 @@ export interface EnumMemberInfo {
|
|||
/** The internal representation of the enum */
|
||||
value?: string | number | object | boolean
|
||||
/** The description to annotate the GraphQL SDL */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/**
|
||||
* Info about a field deprecation. Formatted as a string and provided with the deprecated directive on
|
||||
* field/enum types and as a comment on input fields.
|
||||
*/
|
||||
deprecation?: string // | DeprecationInfo;
|
||||
deprecation?: Maybe<string> // | DeprecationInfo;
|
||||
/**
|
||||
* Custom extensions, as supported in graphql-js
|
||||
*
|
||||
|
@ -29,7 +29,7 @@ export interface EnumMemberInfo {
|
|||
export interface NexusEnumTypeConfig<TypeName extends string> {
|
||||
name: TypeName
|
||||
/** The description to annotate the GraphQL SDL */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/** Source type information for this type */
|
||||
sourceType?: SourceTypingDef
|
||||
/** All members of the enum, either as an array of strings/definition objects, as an object, or as a TypeScript enum */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { assertValidName, GraphQLInputObjectTypeConfig } from 'graphql'
|
||||
import { arg, NexusArgDef, NexusAsArgConfig } from './args'
|
||||
import type { InputDefinitionBlock } from './definitionBlocks'
|
||||
import { NexusTypes, NonNullConfig, withNexusSymbol } from './_types'
|
||||
import { Maybe, NexusTypes, NonNullConfig, withNexusSymbol } from './_types'
|
||||
|
||||
export type NexusInputObjectTypeConfig<TypeName extends string> = {
|
||||
/** Name of the input object type */
|
||||
|
@ -9,7 +9,7 @@ export type NexusInputObjectTypeConfig<TypeName extends string> = {
|
|||
/** Definition block for the input type */
|
||||
definition(t: InputDefinitionBlock<TypeName>): void
|
||||
/** The description to annotate the GraphQL SDL */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/**
|
||||
* Configures the nullability for the type, check the documentation's "Getting Started" section to learn
|
||||
* more about GraphQL Nexus's assumptions and configuration on nullability.
|
||||
|
|
|
@ -2,14 +2,14 @@ import { assertValidName, GraphQLInterfaceTypeConfig } from 'graphql'
|
|||
import type { FieldResolver, GetGen, InterfaceFieldsFor, ModificationType } from '../typegenTypeHelpers'
|
||||
import type { ArgsRecord } from './args'
|
||||
import { OutputDefinitionBlock, OutputDefinitionBuilder } from './definitionBlocks'
|
||||
import { AbstractTypes, NexusTypes, NonNullConfig, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
import { AbstractTypes, Maybe, NexusTypes, NonNullConfig, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
|
||||
export type Implemented = GetGen<'interfaceNames'> | NexusInterfaceTypeDef<any>
|
||||
|
||||
export interface FieldModification<TypeName extends string, FieldName extends string> {
|
||||
type?: ModificationType<TypeName, FieldName>
|
||||
/** The description to annotate the GraphQL SDL */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/** The resolve method we should be resolving the field with */
|
||||
resolve?: FieldResolver<TypeName, FieldName>
|
||||
/** You are allowed to add non-required args when modifying a field */
|
||||
|
@ -44,7 +44,7 @@ export type NexusInterfaceTypeConfig<TypeName extends string> = {
|
|||
*/
|
||||
nonNullDefaults?: NonNullConfig
|
||||
/** The description to annotate the GraphQL SDL */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/** Source type information for this type */
|
||||
sourceType?: SourceTypingDef
|
||||
/**
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
import { isType } from 'graphql'
|
||||
import { isNexusMeta } from './nexusMeta'
|
||||
import { AllNamedTypeDefs, isNexusStruct, NexusListableTypes } from './wrapping'
|
||||
import { isNexusStruct, NexusListableTypes } from './wrapping'
|
||||
import { NexusTypes, withNexusSymbol } from './_types'
|
||||
/** List() */
|
||||
export type NexusListDefConfig<TypeName extends AllNamedTypeDefs> = {
|
||||
type: TypeName
|
||||
}
|
||||
|
||||
export class NexusListDef<TypeName extends NexusListableTypes> {
|
||||
// @ts-ignore
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { FieldOutConfig, OutputDefinitionBlock } from '../core'
|
||||
import type { FieldOutConfig, OutputDefinitionBlock } from './definitionBlocks'
|
||||
import { extendType, NexusExtendTypeDef } from './extendType'
|
||||
|
||||
export type MutationFieldConfig<FieldName extends string> =
|
||||
|
|
|
@ -2,7 +2,7 @@ import { assertValidName, GraphQLObjectType } from 'graphql'
|
|||
import type { InterfaceFieldsFor } from '../typegenTypeHelpers'
|
||||
import { OutputDefinitionBlock, OutputDefinitionBuilder } from './definitionBlocks'
|
||||
import type { FieldModification, FieldModificationDef, Implemented } from './interfaceType'
|
||||
import { AbstractTypes, NexusTypes, NonNullConfig, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
import { AbstractTypes, Maybe, NexusTypes, NonNullConfig, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
|
||||
export interface ObjectDefinitionBuilder extends OutputDefinitionBuilder {
|
||||
addInterfaces(toAdd: Implemented[]): void
|
||||
|
@ -102,7 +102,7 @@ export type NexusObjectTypeConfig<TypeName extends string> = {
|
|||
* // # ...
|
||||
* // }
|
||||
*/
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/**
|
||||
* [Source Types Guide](https://nxs.li/guides/backing-types)
|
||||
*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import type { FieldOutConfig, OutputDefinitionBlock } from '../core'
|
||||
import type { FieldOutConfig, OutputDefinitionBlock } from './definitionBlocks'
|
||||
import { extendType, NexusExtendTypeDef } from './extendType'
|
||||
|
||||
export type QueryFieldConfig<FieldName extends string> =
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { assertValidName, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql'
|
||||
import { decorateType } from './decorateType'
|
||||
import { NexusTypes, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
import { Maybe, NexusTypes, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
|
||||
export interface ScalarBase
|
||||
extends Pick<
|
||||
|
@ -10,7 +10,7 @@ export interface ScalarBase
|
|||
|
||||
export interface ScalarConfig {
|
||||
/** Any deprecation info for this scalar type */
|
||||
deprecation?: string // | DeprecationInfo;
|
||||
deprecation?: Maybe<string> // | DeprecationInfo;
|
||||
/** Adds this type as a method on the Object/Interface definition blocks */
|
||||
asNexusMethod?: string
|
||||
/** Source type information for this type */
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { assertValidName, GraphQLUnionTypeConfig } from 'graphql'
|
||||
import type { GetGen } from '../typegenTypeHelpers'
|
||||
import type { NexusObjectTypeDef } from './objectType'
|
||||
import { AbstractTypes, NexusTypes, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
import { AbstractTypes, Maybe, NexusTypes, SourceTypingDef, withNexusSymbol } from './_types'
|
||||
|
||||
export interface UnionDefinitionBuilder {
|
||||
typeName: string
|
||||
|
@ -27,12 +27,12 @@ export type NexusUnionTypeConfig<TypeName extends string> = {
|
|||
/** Builds the definition for the union */
|
||||
definition(t: UnionDefinitionBlock): void
|
||||
/** The description to annotate the GraphQL SDL */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/**
|
||||
* Info about a field deprecation. Formatted as a string and provided with the deprecated directive on
|
||||
* field/enum types and as a comment on input fields.
|
||||
*/
|
||||
deprecation?: string // | DeprecationInfo;
|
||||
deprecation?: Maybe<string> // | DeprecationInfo;
|
||||
/** Source type information for this type */
|
||||
sourceType?: SourceTypingDef
|
||||
/**
|
||||
|
|
|
@ -28,20 +28,35 @@ import { isNexusMetaType, NexusMetaType, resolveNexusMetaType } from './nexusMet
|
|||
import type { NexusUnionTypeDef } from './unionType'
|
||||
import { NexusTypes, NexusWrappedSymbol } from './_types'
|
||||
|
||||
/**
|
||||
* input(named): Nexus only
|
||||
*/
|
||||
export type AllNexusNamedInputTypeDefs<T extends string = any> =
|
||||
| NexusInputObjectTypeDef<T>
|
||||
| NexusEnumTypeDef<T>
|
||||
| NexusScalarTypeDef<T>
|
||||
|
||||
/**
|
||||
* input(named): Nexus + GraphQLInput
|
||||
*/
|
||||
export type AllNamedInputTypeDefs<T extends string = any> =
|
||||
| AllNexusNamedInputTypeDefs<T>
|
||||
| Exclude<GraphQLInputType, GraphQLList<any> | GraphQLNonNull<any>>
|
||||
|
||||
/**
|
||||
* input(all): Nexus + GraphQL
|
||||
*/
|
||||
export type AllNexusInputTypeDefs<T extends string = any> =
|
||||
| AllNexusNamedInputTypeDefs<T>
|
||||
| AllNamedInputTypeDefs<T>
|
||||
| NexusListDef<any>
|
||||
| NexusNonNullDef<any>
|
||||
| NexusNullDef<any>
|
||||
| GraphQLList<any>
|
||||
| GraphQLNonNull<any>
|
||||
|
||||
/**
|
||||
* output(named): Nexus only
|
||||
*/
|
||||
export type AllNexusNamedOutputTypeDefs =
|
||||
| NexusObjectTypeDef<any>
|
||||
| NexusInterfaceTypeDef<any>
|
||||
|
@ -49,17 +64,35 @@ export type AllNexusNamedOutputTypeDefs =
|
|||
| NexusEnumTypeDef<any>
|
||||
| NexusScalarTypeDef<any>
|
||||
|
||||
/**
|
||||
* output(all): Nexus only
|
||||
*/
|
||||
export type AllNexusOutputTypeDefs =
|
||||
| AllNexusNamedOutputTypeDefs
|
||||
| NexusListDef<any>
|
||||
| NexusNonNullDef<any>
|
||||
| NexusNullDef<any>
|
||||
|
||||
/**
|
||||
* input + output(named): Nexus only
|
||||
*/
|
||||
export type AllNexusNamedTypeDefs = AllNexusNamedInputTypeDefs | AllNexusNamedOutputTypeDefs
|
||||
|
||||
/**
|
||||
* input + output(all): Nexus only
|
||||
*/
|
||||
export type AllNexusTypeDefs = AllNexusOutputTypeDefs | AllNexusInputTypeDefs
|
||||
|
||||
/**
|
||||
* input + output(all): Nexus only + Name
|
||||
*/
|
||||
export type AllNamedTypeDefs = AllNexusNamedTypeDefs | GraphQLNamedType
|
||||
|
||||
/**
|
||||
* All inputs to list(...)
|
||||
*/
|
||||
export type NexusListableTypes =
|
||||
| GetGen<'allNamedTypes', string>
|
||||
| AllNamedTypeDefs
|
||||
| NexusArgDef<any>
|
||||
| NexusListDef<NexusListableTypes>
|
||||
|
@ -68,24 +101,30 @@ export type NexusListableTypes =
|
|||
| GraphQLType
|
||||
| NexusMetaType
|
||||
|
||||
/**
|
||||
* All inputs to nonNull(...)
|
||||
*/
|
||||
export type NexusNonNullableTypes =
|
||||
| GetGen<'allNamedTypes', string>
|
||||
| AllNamedTypeDefs
|
||||
| NexusListDef<NexusListableTypes>
|
||||
| NexusArgDef<any>
|
||||
| NexusMetaType
|
||||
|
||||
/**
|
||||
* All inputs to nullable(...)
|
||||
*/
|
||||
export type NexusNullableTypes =
|
||||
| GetGen<'allNamedTypes', string>
|
||||
| AllNamedTypeDefs
|
||||
| NexusListDef<NexusListableTypes>
|
||||
| NexusArgDef<any>
|
||||
| NexusMetaType
|
||||
|
||||
export type AllNamedTypeDefs = GetGen<'allNamedTypes', string> | AllNexusNamedTypeDefs
|
||||
|
||||
export type AllNexusNamedArgsDefs<T extends AllInputTypes = AllInputTypes> =
|
||||
| T
|
||||
| NexusArgDef<T>
|
||||
| AllNexusNamedInputTypeDefs<T>
|
||||
| AllNamedInputTypeDefs<T>
|
||||
| GraphQLInputType
|
||||
|
||||
export type AllNexusArgsDefs =
|
||||
|
|
|
@ -51,7 +51,7 @@ export interface PluginConfig {
|
|||
/** A name for the plugin, useful for errors, etc. */
|
||||
name: string
|
||||
/** A description for the plugin */
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
/** Any type definitions we want to add to output field definitions */
|
||||
fieldDefTypes?: StringLike | StringLike[]
|
||||
/** Any type definitions we want to add to input field definitions */
|
||||
|
|
|
@ -31,9 +31,10 @@ import {
|
|||
AllNexusTypeDefs,
|
||||
isNexusWrappingType,
|
||||
isNexusArgDef,
|
||||
AllNexusNamedInputTypeDefs,
|
||||
AllNamedInputTypeDefs,
|
||||
} from './definitions/wrapping'
|
||||
import {
|
||||
Maybe,
|
||||
MissingType,
|
||||
NexusFeatures,
|
||||
NexusGraphQLSchema,
|
||||
|
@ -266,7 +267,7 @@ export interface PrintedGenTypingConfig {
|
|||
name: string
|
||||
optional: boolean
|
||||
type: string
|
||||
description?: string
|
||||
description?: Maybe<string>
|
||||
imports?: PrintedGenTypingImport[]
|
||||
}
|
||||
|
||||
|
@ -517,7 +518,7 @@ export function resolveImportPath(rootType: TypingImport, typeName: string, outp
|
|||
}
|
||||
|
||||
/** Given the right hand side of an arg definition, returns the underlying "named type" for us to add to the builder */
|
||||
export function getArgNamedType(argDef: AllNexusArgsDefs | string): AllNexusNamedInputTypeDefs | string {
|
||||
export function getArgNamedType(argDef: AllNexusArgsDefs | string): AllNamedInputTypeDefs | string {
|
||||
let finalValue = argDef
|
||||
if (typeof finalValue === 'string') {
|
||||
return finalValue
|
||||
|
|
176
yarn.lock
176
yarn.lock
|
@ -1015,13 +1015,6 @@
|
|||
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636"
|
||||
integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A==
|
||||
|
||||
"@types/mdast@^3.0.0":
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/mdast/-/mdast-3.0.3.tgz#2d7d671b1cd1ea3deb306ea75036c2a0407d2deb"
|
||||
integrity sha512-SXPBMnFVQg1s00dlMCc/jCdvPqdE4mXaMMCeRlxLDmTAEoegHT53xKtkDnzDTOcmMHUfcjyf36/YYZ6SxRdnsw==
|
||||
dependencies:
|
||||
"@types/unist" "*"
|
||||
|
||||
"@types/minimatch@^3.0.3":
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
|
||||
|
@ -1074,11 +1067,6 @@
|
|||
resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.0.tgz#7036640b4e21cc2f259ae826ce843d277dad8cff"
|
||||
integrity sha512-RJJrrySY7A8havqpGObOB4W92QXKJo63/jFLLgpvOtsGUqbQZ9Sbgl35KMm1DjC6j7AvmmU2bIno+3IyEaemaw==
|
||||
|
||||
"@types/unist@*", "@types/unist@^2.0.2":
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.3.tgz#9c088679876f374eb5983f150d4787aa6fb32d7e"
|
||||
integrity sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ==
|
||||
|
||||
"@types/yargs-parser@*":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-13.1.0.tgz#c563aa192f39350a1d18da36c5a8da382bbd8228"
|
||||
|
@ -1123,11 +1111,6 @@
|
|||
semver "^6.3.0"
|
||||
tsutils "^3.17.1"
|
||||
|
||||
"@yarnpkg/lockfile@^1.1.0":
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31"
|
||||
integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==
|
||||
|
||||
abab@^2.0.3:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a"
|
||||
|
@ -1574,11 +1557,6 @@ binary-extensions@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"
|
||||
integrity sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==
|
||||
|
||||
binary-search-bounds@^2.0.5:
|
||||
version "2.0.5"
|
||||
resolved "https://registry.yarnpkg.com/binary-search-bounds/-/binary-search-bounds-2.0.5.tgz#125e5bd399882f71e6660d4bf1186384e989fba7"
|
||||
integrity sha512-H0ea4Fd3lS1+sTEB2TgcLoK21lLhwEJzlQv3IN47pJS976Gx4zoWe0ak3q+uYh60ppQxg9F16Ri4tS1sfD4+jA==
|
||||
|
||||
bindings@^1.5.0:
|
||||
version "1.5.0"
|
||||
resolved "https://registry.yarnpkg.com/bindings/-/bindings-1.5.0.tgz#10353c9e945334bc0511a6d90b38fbc7c9c504df"
|
||||
|
@ -1802,21 +1780,6 @@ char-regex@^1.0.2:
|
|||
resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf"
|
||||
integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==
|
||||
|
||||
character-entities-legacy@^1.0.0:
|
||||
version "1.1.4"
|
||||
resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.4.tgz#94bc1845dce70a5bb9d2ecc748725661293d8fc1"
|
||||
integrity sha512-3Xnr+7ZFS1uxeiUDvV02wQ+QDbc55o97tIV5zHScSPJpcLm/r0DFPcoY3tYRp+VZukxuMeKgXYmsXQHO05zQeA==
|
||||
|
||||
character-entities@^1.0.0:
|
||||
version "1.2.4"
|
||||
resolved "https://registry.yarnpkg.com/character-entities/-/character-entities-1.2.4.tgz#e12c3939b7eaf4e5b15e7ad4c5e28e1d48c5b16b"
|
||||
integrity sha512-iBMyeEHxfVnIakwOuDXpVkc54HijNgCyQB2w0VfGQThle6NXn50zU6V/u+LDhxHcDUPojn6Kpga3PTAD8W1bQw==
|
||||
|
||||
character-reference-invalid@^1.0.0:
|
||||
version "1.1.4"
|
||||
resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560"
|
||||
integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg==
|
||||
|
||||
chardet@^0.7.0:
|
||||
version "0.7.0"
|
||||
resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
|
||||
|
@ -2037,11 +2000,6 @@ commander@^2.12.1, commander@^2.14.1, commander@^2.9.0:
|
|||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
|
||||
integrity sha512-7j2y+40w61zy6YC2iRNpUe/NwhNyoXrYpHMrSunaMG64nRnaf96zO/KMQR4OyN/UnE5KLyEBnKHd4aG3rskjpQ==
|
||||
|
||||
comment-parser@^1.1.4:
|
||||
version "1.1.5"
|
||||
resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-1.1.5.tgz#453627ef8f67dbcec44e79a9bd5baa37f0bce9b2"
|
||||
integrity sha512-RePCE4leIhBlmrqiYTvaqEeGYg7qpSl4etaIabKtdOQVi+mSTIBBklGUwIr79GXYnl3LpMwmDw4KeR2stNc6FA==
|
||||
|
||||
common-tags@^1.8.0:
|
||||
version "1.8.0"
|
||||
resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
|
||||
|
@ -2223,13 +2181,6 @@ debug@^3.1.0:
|
|||
dependencies:
|
||||
ms "^2.1.1"
|
||||
|
||||
debug@^4.0.0:
|
||||
version "4.3.1"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.1.tgz#f0d229c505e0c6d8c49ac553d1b13dc183f6b2ee"
|
||||
integrity sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==
|
||||
dependencies:
|
||||
ms "2.1.2"
|
||||
|
||||
debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
|
||||
version "4.1.1"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
|
||||
|
@ -3027,14 +2978,6 @@ find-up@^4.0.0, find-up@^4.1.0:
|
|||
locate-path "^5.0.0"
|
||||
path-exists "^4.0.0"
|
||||
|
||||
find-yarn-workspace-root@^1.2.1:
|
||||
version "1.2.1"
|
||||
resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-1.2.1.tgz#40eb8e6e7c2502ddfaa2577c176f221422f860db"
|
||||
integrity sha512-dVtfb0WuQG+8Ag2uWkbG79hOUzEsRrhBzgfn86g2sJPkzmcpGdghbNTfUKGTxymFrY/tLIodDzLoW9nOJ4FY8Q==
|
||||
dependencies:
|
||||
fs-extra "^4.0.3"
|
||||
micromatch "^3.1.4"
|
||||
|
||||
findup-sync@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-2.0.0.tgz#9326b1488c22d1a6088650a86901b2d9a90a2cbc"
|
||||
|
@ -3126,16 +3069,7 @@ fragment-cache@^0.2.1:
|
|||
dependencies:
|
||||
map-cache "^0.2.2"
|
||||
|
||||
fs-extra@^4.0.3:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94"
|
||||
integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==
|
||||
dependencies:
|
||||
graceful-fs "^4.1.2"
|
||||
jsonfile "^4.0.0"
|
||||
universalify "^0.1.0"
|
||||
|
||||
fs-extra@^7.0.0, fs-extra@^7.0.1:
|
||||
fs-extra@^7.0.0:
|
||||
version "7.0.1"
|
||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
|
||||
integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==
|
||||
|
@ -3776,19 +3710,6 @@ is-accessor-descriptor@^1.0.0:
|
|||
dependencies:
|
||||
kind-of "^6.0.0"
|
||||
|
||||
is-alphabetical@^1.0.0:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d"
|
||||
integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg==
|
||||
|
||||
is-alphanumerical@^1.0.0:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/is-alphanumerical/-/is-alphanumerical-1.0.4.tgz#7eb9a2431f855f6b1ef1a78e326df515696c4dbf"
|
||||
integrity sha512-UzoZUr+XfVz3t3v4KyGEniVL9BDRoQtY7tOyrRybkVNjDFWyo1yhXNGrrBTQxp3ib9BLAWs7k2YKBQsFRkZG9A==
|
||||
dependencies:
|
||||
is-alphabetical "^1.0.0"
|
||||
is-decimal "^1.0.0"
|
||||
|
||||
is-arrayish@^0.2.1:
|
||||
version "0.2.1"
|
||||
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
|
||||
|
@ -3844,11 +3765,6 @@ is-date-object@^1.0.1:
|
|||
resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.2.tgz#bda736f2cd8fd06d32844e7743bfa7494c3bfd7e"
|
||||
integrity sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==
|
||||
|
||||
is-decimal@^1.0.0:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5"
|
||||
integrity sha512-RGdriMmQQvZ2aqaQq3awNA6dCGtKpiDFcOzrTWrDAT2MiWrKQVPmxLGHl7Y2nNu6led0kEyoX0enY0qXYsv9zw==
|
||||
|
||||
is-descriptor@^0.1.0:
|
||||
version "0.1.6"
|
||||
resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca"
|
||||
|
@ -3930,11 +3846,6 @@ is-glob@^4.0.0, is-glob@^4.0.1:
|
|||
dependencies:
|
||||
is-extglob "^2.1.1"
|
||||
|
||||
is-hexadecimal@^1.0.0:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7"
|
||||
integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw==
|
||||
|
||||
is-installed-globally@^0.3.1:
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.3.2.tgz#fd3efa79ee670d1187233182d5b0a1dd00313141"
|
||||
|
@ -4768,13 +4679,6 @@ kind-of@^6.0.3:
|
|||
resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd"
|
||||
integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==
|
||||
|
||||
klaw-sync@^6.0.0:
|
||||
version "6.0.0"
|
||||
resolved "https://registry.yarnpkg.com/klaw-sync/-/klaw-sync-6.0.0.tgz#1fd2cfd56ebb6250181114f0a581167099c2b28c"
|
||||
integrity sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==
|
||||
dependencies:
|
||||
graceful-fs "^4.1.11"
|
||||
|
||||
kleur@^3.0.3:
|
||||
version "3.0.3"
|
||||
resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
|
||||
|
@ -4853,11 +4757,6 @@ lines-and-columns@^1.1.6:
|
|||
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00"
|
||||
integrity sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=
|
||||
|
||||
linguist-languages@^7.13.0:
|
||||
version "7.15.0"
|
||||
resolved "https://registry.yarnpkg.com/linguist-languages/-/linguist-languages-7.15.0.tgz#a93bed6b93015d8133622cb05da6296890862bfa"
|
||||
integrity sha512-qkSSNDjDDycZ2Wcw+GziNBB3nNo3ddYUInM/PL8Amgwbd9RQ/BKGj2/1d6mdxKgBFnUqZuaDbkIwkE4KUwwmtQ==
|
||||
|
||||
lint-staged@^7.3.0:
|
||||
version "7.3.0"
|
||||
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-7.3.0.tgz#90ff33e5ca61ed3dbac35b6f6502dbefdc0db58d"
|
||||
|
@ -5114,22 +5013,6 @@ matchdep@^2.0.0:
|
|||
resolve "^1.4.0"
|
||||
stack-trace "0.0.10"
|
||||
|
||||
mdast-util-from-markdown@^0.8.5:
|
||||
version "0.8.5"
|
||||
resolved "https://registry.yarnpkg.com/mdast-util-from-markdown/-/mdast-util-from-markdown-0.8.5.tgz#d1ef2ca42bc377ecb0463a987910dae89bd9a28c"
|
||||
integrity sha512-2hkTXtYYnr+NubD/g6KGBS/0mFmBcifAsI0yIWRiRo0PjVs6SSOSOdtzbp6kSGnShDN6G5aWZpKQ2lWRy27mWQ==
|
||||
dependencies:
|
||||
"@types/mdast" "^3.0.0"
|
||||
mdast-util-to-string "^2.0.0"
|
||||
micromark "~2.11.0"
|
||||
parse-entities "^2.0.0"
|
||||
unist-util-stringify-position "^2.0.0"
|
||||
|
||||
mdast-util-to-string@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-2.0.0.tgz#b8cfe6a713e1091cb5b728fc48885a4767f8b97b"
|
||||
integrity sha512-AW4DRS3QbBayY/jJmD8437V1Gombjf8RSOUCMFBuo5iHi58AGEgVCKQ+ezHkZZDpAQS75hcBMpLqjpJTjtUL7w==
|
||||
|
||||
meow@^7.0.1:
|
||||
version "7.0.1"
|
||||
resolved "https://registry.yarnpkg.com/meow/-/meow-7.0.1.tgz#1ed4a0a50b3844b451369c48362eb0515f04c1dc"
|
||||
|
@ -5159,14 +5042,6 @@ merge2@^1.3.0:
|
|||
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
|
||||
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
|
||||
|
||||
micromark@~2.11.0:
|
||||
version "2.11.4"
|
||||
resolved "https://registry.yarnpkg.com/micromark/-/micromark-2.11.4.tgz#d13436138eea826383e822449c9a5c50ee44665a"
|
||||
integrity sha512-+WoovN/ppKolQOFIAajxi7Lu9kInbPxFuTBVEavFcL8eAfVstoc5MocPmqBeAdBOJV00uaVjegzH4+MA0DN/uA==
|
||||
dependencies:
|
||||
debug "^4.0.0"
|
||||
parse-entities "^2.0.0"
|
||||
|
||||
micromatch@^3.0.4, micromatch@^3.1.10, micromatch@^3.1.4, micromatch@^3.1.8:
|
||||
version "3.1.10"
|
||||
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
|
||||
|
@ -5294,7 +5169,7 @@ ms@2.0.0:
|
|||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
|
||||
integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
|
||||
|
||||
ms@2.1.2, ms@^2.1.1:
|
||||
ms@^2.1.1:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
|
||||
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
|
||||
|
@ -5689,18 +5564,6 @@ parent-module@^1.0.0:
|
|||
dependencies:
|
||||
callsites "^3.0.0"
|
||||
|
||||
parse-entities@^2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/parse-entities/-/parse-entities-2.0.0.tgz#53c6eb5b9314a1f4ec99fa0fdf7ce01ecda0cbe8"
|
||||
integrity sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==
|
||||
dependencies:
|
||||
character-entities "^1.0.0"
|
||||
character-entities-legacy "^1.0.0"
|
||||
character-reference-invalid "^1.0.0"
|
||||
is-alphanumerical "^1.0.0"
|
||||
is-decimal "^1.0.0"
|
||||
is-hexadecimal "^1.0.0"
|
||||
|
||||
parse-filepath@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891"
|
||||
|
@ -5768,24 +5631,6 @@ pascalcase@^0.1.1:
|
|||
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
|
||||
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=
|
||||
|
||||
patch-package@6.2.2:
|
||||
version "6.2.2"
|
||||
resolved "https://registry.yarnpkg.com/patch-package/-/patch-package-6.2.2.tgz#71d170d650c65c26556f0d0fbbb48d92b6cc5f39"
|
||||
integrity sha512-YqScVYkVcClUY0v8fF0kWOjDYopzIM8e3bj/RU1DPeEF14+dCGm6UeOYm4jvCyxqIEQ5/eJzmbWfDWnUleFNMg==
|
||||
dependencies:
|
||||
"@yarnpkg/lockfile" "^1.1.0"
|
||||
chalk "^2.4.2"
|
||||
cross-spawn "^6.0.5"
|
||||
find-yarn-workspace-root "^1.2.1"
|
||||
fs-extra "^7.0.1"
|
||||
is-ci "^2.0.0"
|
||||
klaw-sync "^6.0.0"
|
||||
minimist "^1.2.0"
|
||||
rimraf "^2.6.3"
|
||||
semver "^5.6.0"
|
||||
slash "^2.0.0"
|
||||
tmp "^0.0.33"
|
||||
|
||||
path-dirname@^1.0.0:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
|
||||
|
@ -5946,16 +5791,6 @@ prepend-http@^2.0.0:
|
|||
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897"
|
||||
integrity sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=
|
||||
|
||||
prettier-plugin-jsdoc@^0.3.23:
|
||||
version "0.3.23"
|
||||
resolved "https://registry.yarnpkg.com/prettier-plugin-jsdoc/-/prettier-plugin-jsdoc-0.3.23.tgz#6b2ef20d3d301110d8f23b734e31a2871ea9e0c2"
|
||||
integrity sha512-dHLzMG1oYARnYEbOC4RiJelcsV5tG6IaTzYr2dBey8cj6zzJZpTzhlm+Fc6c4SnSz3LRZCJVtGv42CulLlKKVw==
|
||||
dependencies:
|
||||
binary-search-bounds "^2.0.5"
|
||||
comment-parser "^1.1.4"
|
||||
linguist-languages "^7.13.0"
|
||||
mdast-util-from-markdown "^0.8.5"
|
||||
|
||||
prettier@^1.16.0:
|
||||
version "1.19.1"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
|
||||
|
@ -7441,13 +7276,6 @@ unique-string@^2.0.0:
|
|||
dependencies:
|
||||
crypto-random-string "^2.0.0"
|
||||
|
||||
unist-util-stringify-position@^2.0.0:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/unist-util-stringify-position/-/unist-util-stringify-position-2.0.3.tgz#cce3bfa1cdf85ba7375d1d5b17bdc4cada9bd9da"
|
||||
integrity sha512-3faScn5I+hy9VleOq/qNbAd6pAx7iH5jYBMS9I1HgQVijz/4mv5Bvw5iw1sC/90CODiKo81G/ps8AJrISn687g==
|
||||
dependencies:
|
||||
"@types/unist" "^2.0.2"
|
||||
|
||||
universal-user-agent@^5.0.0:
|
||||
version "5.0.0"
|
||||
resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-5.0.0.tgz#a3182aa758069bf0e79952570ca757de3579c1d9"
|
||||
|
|
Loading…
Reference in New Issue