fix: use ts declaration source maps for better ide dx (#199)
fixes #189
This commit is contained in:
parent
38fe229a19
commit
5945d4c661
|
@ -5,8 +5,7 @@
|
|||
"**/.hg": true,
|
||||
"**/CVS": true,
|
||||
"**/.DS_Store": true,
|
||||
"**/node_modules": true,
|
||||
"**/dist/**": true
|
||||
"**/node_modules": true
|
||||
},
|
||||
"typescript.tsdk": "node_modules/typescript/lib"
|
||||
}
|
||||
|
|
|
@ -201,9 +201,9 @@
|
|||
"@types/graphql" "*"
|
||||
|
||||
"@types/graphql@*":
|
||||
version "14.0.5"
|
||||
resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-14.0.5.tgz#e696292fd2d77dc168b5b791710f83463aa39abd"
|
||||
integrity sha512-bwGYLE0SRy5ZraC91dqI2bxbspfm10kyJ2Yjuvk4OjdGznh7fkoWW+xXZHfFydJaqu9syZi099cpiZw3GlPDiA==
|
||||
version "14.2.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/graphql/-/graphql-14.2.3.tgz#cfc6420a67eb20420786f90112357921974593b9"
|
||||
integrity sha512-UoCovaxbJIxagCvVfalfK7YaNhmxj3BQFRQ2RHQKLiu+9wNXhJnlbspsLHt/YQM99IaLUUFJNzCwzc6W0ypMeQ==
|
||||
|
||||
"@types/lodash@^4.14.120":
|
||||
version "4.14.120"
|
||||
|
|
|
@ -51,9 +51,7 @@ type Entry {
|
|||
|
||||
"""A list of options for the sort order of the feed"""
|
||||
enum FeedType {
|
||||
"""
|
||||
Sort by a combination of freshness and score, using Reddit's algorithm
|
||||
"""
|
||||
"""Sort by a combination of freshness and score, using Reddit's algorithm"""
|
||||
HOT
|
||||
|
||||
"""Newest entries first"""
|
||||
|
|
|
@ -17,8 +17,8 @@ export interface NexusGenInputs {
|
|||
}
|
||||
|
||||
export interface NexusGenEnums {
|
||||
NodeFlags: 4194304 | 16384 | 3 | 2 | 64 | 12679168 | 8192 | 2048 | 32 | 512 | 262144 | 1024 | 256 | 128 | 8388608 | 65536 | 2097152 | 16777216 | 1 | 16 | 4 | 0 | 1572864 | 524288 | 1048576 | 1408 | 384 | 8 | 32768 | 131072 | 20480 | 4194816 | 4096
|
||||
SyntaxKind: 118 | 54 | 69 | 49 | 120 | 185 | 187 | 169 | 197 | 212 | 119 | 63 | 41 | 62 | 40 | 121 | 58 | 201 | 122 | 55 | 70 | 50 | 146 | 9 | 204 | 186 | 218 | 123 | 73 | 229 | 285 | 191 | 160 | 71 | 51 | 246 | 271 | 74 | 274 | 75 | 240 | 209 | 76 | 19 | 23 | 21 | 57 | 314 | 27 | 149 | 205 | 175 | 7 | 77 | 157 | 124 | 166 | 161 | 78 | 228 | 317 | 79 | 236 | 125 | 152 | 272 | 80 | 198 | 81 | 82 | 223 | 25 | 24 | 190 | 83 | 220 | 316 | 1 | 243 | 84 | 278 | 35 | 33 | 37 | 59 | 36 | 34 | 52 | 254 | 255 | 85 | 257 | 221 | 211 | 86 | 259 | 87 | 88 | 59 | 28 | 60 | 118 | 109 | 288 | 299 | 73 | 8 | 148 | 18 | 73 | 14 | 0 | 2 | 163 | 226 | 89 | 227 | 225 | 144 | 239 | 196 | 90 | 165 | 158 | 126 | 145 | 32 | 67 | 68 | 48 | 47 | 30 | 273 | 72 | 91 | 222 | 109 | 250 | 249 | 248 | 92 | 253 | 183 | 180 | 162 | 127 | 176 | 93 | 287 | 94 | 241 | 110 | 174 | 128 | 289 | 300 | 302 | 301 | 296 | 303 | 294 | 292 | 291 | 293 | 304 | 310 | 305 | 298 | 299 | 308 | 306 | 309 | 288 | 297 | 307 | 290 | 295 | 267 | 268 | 263 | 266 | 260 | 270 | 264 | 262 | 265 | 261 | 269 | 11 | 12 | 129 | 233 | 71 | 71 | 71 | 147 | 117 | 310 | 310 | 147 | 14 | 71 | 108 | 17 | 147 | 7 | 183 | 31 | 66 | 46 | 29 | 28 | 111 | 182 | 181 | 315 | 214 | 156 | 155 | 61 | 45 | 39 | 258 | 245 | 244 | 130 | 3 | 256 | 252 | 247 | 251 | 131 | 132 | 192 | 95 | 4 | 213 | 14 | 312 | 96 | 135 | 8 | 184 | 136 | 188 | 147 | 210 | 18 | 22 | 20 | 171 | 112 | 151 | 195 | 177 | 313 | 65 | 43 | 60 | 44 | 38 | 203 | 202 | 113 | 189 | 275 | 154 | 153 | 114 | 115 | 148 | 56 | 133 | 13 | 134 | 172 | 97 | 230 | 217 | 26 | 159 | 137 | 6 | 276 | 2 | 64 | 42 | 284 | 277 | 208 | 116 | 138 | 10 | 98 | 99 | 232 | 139 | 311 | 215 | 193 | 206 | 15 | 16 | 216 | 17 | 100 | 178 | 101 | 234 | 53 | 102 | 103 | 235 | 170 | 242 | 194 | 140 | 168 | 199 | 104 | 179 | 150 | 163 | 167 | 164 | 141 | 173 | 142 | 0 | 143 | 282 | 280 | 279 | 286 | 283 | 281 | 237 | 238 | 219 | 105 | 200 | 106 | 107 | 224 | 5 | 108 | 231 | 207 | 117
|
||||
NodeFlags: ts.NodeFlags
|
||||
SyntaxKind: ts.SyntaxKind
|
||||
}
|
||||
|
||||
export interface NexusGenRootTypes {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "nexus",
|
||||
"version": "0.12.0-beta.6",
|
||||
"main": "dist",
|
||||
"types": "dist",
|
||||
"types": "dist/index.d.ts",
|
||||
"license": "MIT",
|
||||
"description": "Scalable, strongly typed GraphQL schema development",
|
||||
"homepage": "https://nexus.js.org",
|
||||
|
@ -10,7 +10,7 @@
|
|||
"dev": "yarn link-examples && tsc -w",
|
||||
"test": "jest",
|
||||
"test:ci": "jest -i",
|
||||
"build": "tsc && prettier --write 'dist/**/*.ts'",
|
||||
"build": "tsc",
|
||||
"lint": "tslint -p tsconfig.json",
|
||||
"clean": "rm -rf dist",
|
||||
"format": "prettier --write 'src/**/*.ts'",
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
"declaration": true,
|
||||
"importHelpers": true,
|
||||
"resolveJsonModule": true,
|
||||
"sourceMap": true
|
||||
"sourceMap": true,
|
||||
"declarationMap": true
|
||||
},
|
||||
"exclude": [
|
||||
"./examples",
|
||||
|
|
Loading…
Reference in New Issue