@looker/sdk-codegen-scripts 0.3.1-alpha.7 → 0.3.1-alpha.849

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/CHANGELOG.md +602 -0
  2. package/README.md +4 -2
  3. package/lib/convert.d.ts +1 -9
  4. package/lib/convert.js +30 -119
  5. package/lib/convert.js.map +1 -1
  6. package/lib/declarationMiner.d.ts +28 -0
  7. package/lib/declarationMiner.js +112 -0
  8. package/lib/declarationMiner.js.map +1 -0
  9. package/lib/esm/convert.js +33 -0
  10. package/lib/esm/convert.js.map +1 -0
  11. package/lib/esm/declarationMiner.js +112 -0
  12. package/lib/esm/declarationMiner.js.map +1 -0
  13. package/lib/esm/exampleMiner.js +286 -0
  14. package/lib/esm/exampleMiner.js.map +1 -0
  15. package/lib/esm/fetchSpec.js +258 -0
  16. package/lib/esm/fetchSpec.js.map +1 -0
  17. package/lib/esm/index.js +94 -0
  18. package/lib/esm/index.js.map +1 -0
  19. package/lib/esm/languages.js +29 -0
  20. package/lib/esm/languages.js.map +1 -0
  21. package/lib/esm/legacy.js +19 -0
  22. package/lib/esm/legacy.js.map +1 -0
  23. package/lib/esm/legacyGenerator.js +58 -0
  24. package/lib/esm/legacyGenerator.js.map +1 -0
  25. package/lib/esm/nodeUtils.js +119 -0
  26. package/lib/esm/nodeUtils.js.map +1 -0
  27. package/lib/esm/prettify.js +34 -0
  28. package/lib/esm/prettify.js.map +1 -0
  29. package/lib/esm/reformatter.js +233 -0
  30. package/lib/esm/reformatter.js.map +1 -0
  31. package/lib/esm/sdkConfig.js +44 -0
  32. package/lib/esm/sdkConfig.js.map +1 -0
  33. package/lib/esm/sdkGen.js +112 -0
  34. package/lib/esm/sdkGen.js.map +1 -0
  35. package/lib/esm/sdkGenerator.js +168 -0
  36. package/lib/esm/sdkGenerator.js.map +1 -0
  37. package/lib/esm/specConvert.js +59 -0
  38. package/lib/esm/specConvert.js.map +1 -0
  39. package/lib/esm/testUtils/index.js +28 -0
  40. package/lib/esm/testUtils/index.js.map +1 -0
  41. package/lib/esm/testUtils/mocks.js +16 -0
  42. package/lib/esm/testUtils/mocks.js.map +1 -0
  43. package/lib/esm/testUtils/testUtils.js +66 -0
  44. package/lib/esm/testUtils/testUtils.js.map +1 -0
  45. package/lib/esm/utils.js +183 -0
  46. package/lib/esm/utils.js.map +1 -0
  47. package/lib/esm/yamlToJson.js +19 -0
  48. package/lib/esm/yamlToJson.js.map +1 -0
  49. package/lib/exampleMiner.d.ts +53 -0
  50. package/lib/exampleMiner.js +286 -0
  51. package/lib/exampleMiner.js.map +1 -0
  52. package/lib/fetchSpec.d.ts +12 -15
  53. package/lib/fetchSpec.js +229 -189
  54. package/lib/fetchSpec.js.map +1 -1
  55. package/lib/index.d.ts +1 -4
  56. package/lib/index.js +92 -22
  57. package/lib/index.js.map +1 -1
  58. package/lib/languages.d.ts +2 -11
  59. package/lib/languages.js +25 -47
  60. package/lib/languages.js.map +1 -1
  61. package/lib/legacy.d.ts +0 -1
  62. package/lib/legacy.js +16 -54
  63. package/lib/legacy.js.map +1 -1
  64. package/lib/legacyGenerator.d.ts +2 -0
  65. package/lib/legacyGenerator.js +58 -0
  66. package/lib/legacyGenerator.js.map +1 -0
  67. package/lib/nodeUtils.d.ts +7 -3
  68. package/lib/nodeUtils.js +106 -85
  69. package/lib/nodeUtils.js.map +1 -1
  70. package/lib/prettify.d.ts +2 -0
  71. package/lib/prettify.js +34 -0
  72. package/lib/prettify.js.map +1 -0
  73. package/lib/reformatter.d.ts +5 -1
  74. package/lib/reformatter.js +220 -185
  75. package/lib/reformatter.js.map +1 -1
  76. package/lib/sdkConfig.d.ts +1 -1
  77. package/lib/sdkConfig.js +38 -29
  78. package/lib/sdkConfig.js.map +1 -1
  79. package/lib/sdkGen.d.ts +1 -2
  80. package/lib/sdkGen.js +104 -101
  81. package/lib/sdkGen.js.map +1 -1
  82. package/lib/sdkGenerator.d.ts +21 -8
  83. package/lib/sdkGenerator.js +150 -126
  84. package/lib/sdkGenerator.js.map +1 -1
  85. package/lib/specConvert.d.ts +0 -1
  86. package/lib/specConvert.js +53 -66
  87. package/lib/specConvert.js.map +1 -1
  88. package/lib/testUtils/index.js +28 -0
  89. package/lib/testUtils/index.js.map +1 -0
  90. package/lib/testUtils/mocks.js +16 -0
  91. package/lib/testUtils/mocks.js.map +1 -0
  92. package/lib/testUtils/testUtils.js +66 -0
  93. package/lib/testUtils/testUtils.js.map +1 -0
  94. package/lib/utils.d.ts +24 -0
  95. package/lib/utils.js +183 -0
  96. package/lib/utils.js.map +1 -0
  97. package/lib/yamlToJson.d.ts +0 -1
  98. package/lib/yamlToJson.js +14 -32
  99. package/lib/yamlToJson.js.map +1 -1
  100. package/package.json +24 -23
package/CHANGELOG.md ADDED
@@ -0,0 +1,602 @@
1
+ # Changelog
2
+
3
+ ### Dependencies
4
+
5
+ * The following workspace dependencies were updated
6
+ * dependencies
7
+ * @looker/sdk bumped from ^23.0.0 to ^23.2.0
8
+ * @looker/sdk-node bumped from ^23.0.0 to ^23.2.0
9
+
10
+ ### Dependencies
11
+
12
+ * The following workspace dependencies were updated
13
+ * dependencies
14
+ * @looker/sdk bumped from ^23.2.0 to ^23.4.0
15
+ * @looker/sdk-node bumped from ^23.2.0 to ^23.4.0
16
+
17
+ ### Dependencies
18
+
19
+ * The following workspace dependencies were updated
20
+ * dependencies
21
+ * @looker/sdk bumped from ^23.4.0 to ^23.6.0
22
+ * @looker/sdk-node bumped from ^23.4.0 to ^23.6.0
23
+
24
+ ### Dependencies
25
+
26
+ * The following workspace dependencies were updated
27
+ * dependencies
28
+ * @looker/sdk bumped from ^23.6.0 to ^23.8.0
29
+ * @looker/sdk-node bumped from ^23.6.0 to ^23.8.0
30
+
31
+ ### Dependencies
32
+
33
+ * The following workspace dependencies were updated
34
+ * dependencies
35
+ * @looker/sdk bumped from ^23.8.0 to ^23.8.1
36
+ * @looker/sdk-node bumped from ^23.8.0 to ^23.8.1
37
+
38
+ ### Dependencies
39
+
40
+ * The following workspace dependencies were updated
41
+ * dependencies
42
+ * @looker/sdk bumped from ^23.8.1 to ^23.10.0
43
+ * @looker/sdk-codegen bumped from ^21.8.0 to ^21.8.1
44
+ * @looker/sdk-node bumped from ^23.8.1 to ^23.10.0
45
+ * @looker/sdk-rtl bumped from ^21.6.0 to ^21.6.1
46
+
47
+ ### Dependencies
48
+
49
+ * The following workspace dependencies were updated
50
+ * dependencies
51
+ * @looker/sdk bumped from ^23.10.0 to ^23.12.0
52
+ * @looker/sdk-node bumped from ^23.10.0 to ^23.12.0
53
+
54
+ ## [21.5.0](https://github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.8...sdk-codegen-scripts-v21.5.0) (2023-02-22)
55
+
56
+
57
+ ### Features
58
+
59
+ * generate SDKs for Looker 23.0 ([#1237](https://github.com/looker-open-source/sdk-codegen/issues/1237)) ([2ade858](https://github.com/looker-open-source/sdk-codegen/commit/2ade85815c43383169263659f5dddd783c062c09))
60
+
61
+
62
+ ### Dependencies
63
+
64
+ * The following workspace dependencies were updated
65
+ * dependencies
66
+ * @looker/sdk bumped from ^22.20.1 to ^23.0.0
67
+ * @looker/sdk-codegen bumped from ^21.7.4 to ^21.8.0
68
+ * @looker/sdk-node bumped from ^22.20.1 to ^23.0.0
69
+ * @looker/sdk-rtl bumped from ^21.5.0 to ^21.6.0
70
+
71
+ ### [21.4.8](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.7...sdk-codegen-scripts-v21.4.8) (2022-12-09)
72
+
73
+
74
+ ### Bug Fixes
75
+
76
+ * Hack App Wholly Artifact Refactor ([#1210](https://www.github.com/looker-open-source/sdk-codegen/issues/1210)) ([d508fa8](https://www.github.com/looker-open-source/sdk-codegen/commit/d508fa878ca23f6ed298359d3ec1b25a3f333fac))
77
+
78
+
79
+ ### Dependencies
80
+
81
+ * The following workspace dependencies were updated
82
+ * dependencies
83
+ * @looker/sdk bumped from ^22.20.0 to ^22.20.1
84
+ * @looker/sdk-codegen bumped from ^21.7.3 to ^21.7.4
85
+ * @looker/sdk-node bumped from ^22.20.0 to ^22.20.1
86
+ * @looker/sdk-rtl bumped from ^21.4.0 to ^21.5.0
87
+
88
+ ### [21.4.7](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.6...sdk-codegen-scripts-v21.4.7) (2022-11-10)
89
+
90
+
91
+ ### Dependencies
92
+
93
+ * The following workspace dependencies were updated
94
+ * dependencies
95
+ * @looker/sdk bumped from ^22.18.0 to ^22.20.0
96
+ * @looker/sdk-codegen bumped from ^21.7.2 to ^21.7.3
97
+ * @looker/sdk-node bumped from ^22.18.0 to ^22.20.0
98
+
99
+ ### [21.4.6](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.5...sdk-codegen-scripts-v21.4.6) (2022-10-17)
100
+
101
+
102
+ ### Dependencies
103
+
104
+ * The following workspace dependencies were updated
105
+ * dependencies
106
+ * @looker/sdk bumped from ^22.16.0 to ^22.18.0
107
+ * @looker/sdk-codegen bumped from ^21.7.1 to ^21.7.2
108
+ * @looker/sdk-node bumped from ^22.16.0 to ^22.18.0
109
+
110
+ ### [21.4.5](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.4...sdk-codegen-scripts-v21.4.5) (2022-09-21)
111
+
112
+
113
+ ### Dependencies
114
+
115
+ * The following workspace dependencies were updated
116
+ * dependencies
117
+ * @looker/sdk bumped from ^22.14.0 to ^22.16.0
118
+ * @looker/sdk-node bumped from ^22.14.0 to ^22.16.0
119
+
120
+ ### [21.4.4](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.3...sdk-codegen-scripts-v21.4.4) (2022-09-21)
121
+
122
+
123
+ ### Dependencies
124
+
125
+ * The following workspace dependencies were updated
126
+ * dependencies
127
+ * @looker/sdk bumped from ^22.12.1 to ^22.14.0
128
+ * @looker/sdk-node bumped from ^22.12.1 to ^22.14.0
129
+
130
+ ### [21.4.3](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.2...sdk-codegen-scripts-v21.4.3) (2022-09-21)
131
+
132
+
133
+ ### Dependencies
134
+
135
+ * The following workspace dependencies were updated
136
+ * dependencies
137
+ * @looker/sdk bumped from ^22.10.1 to ^22.12.1
138
+ * @looker/sdk-codegen bumped from ^21.7.0 to ^21.7.1
139
+ * @looker/sdk-node bumped from ^22.10.1 to ^22.12.1
140
+ * @looker/sdk-rtl bumped from ^21.3.4 to ^21.4.0
141
+
142
+ ### [21.4.2](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.1...sdk-codegen-scripts-v21.4.2) (2022-07-29)
143
+
144
+
145
+ ### Dependencies
146
+
147
+ * The following workspace dependencies were updated
148
+ * dependencies
149
+ * @looker/sdk bumped from ^22.10.0 to ^22.10.1
150
+ * @looker/sdk-codegen bumped from ^21.6.0 to ^21.7.0
151
+ * @looker/sdk-node bumped from ^22.10.0 to ^22.10.1
152
+
153
+ ### [21.4.1](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.4.0...sdk-codegen-scripts-v21.4.1) (2022-07-14)
154
+
155
+
156
+ ### Dependencies
157
+
158
+ * The following workspace dependencies were updated
159
+ * dependencies
160
+ * @looker/sdk bumped from ^22.8.0 to ^22.10.0
161
+ * @looker/sdk-node bumped from ^22.8.0 to ^22.10.0
162
+
163
+ ## [21.4.0](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.3.4...sdk-codegen-scripts-v21.4.0) (2022-07-13)
164
+
165
+
166
+ ### Features
167
+
168
+ * generate 22.8 SDKs ([#1114](https://www.github.com/looker-open-source/sdk-codegen/issues/1114)) ([c771395](https://www.github.com/looker-open-source/sdk-codegen/commit/c771395e37940df581d10fb95b62382e20b1600c))
169
+
170
+
171
+ ### Dependencies
172
+
173
+ * The following workspace dependencies were updated
174
+ * dependencies
175
+ * @looker/sdk bumped from ^22.6.0 to ^22.8.0
176
+ * @looker/sdk-node bumped from ^22.6.0 to ^22.8.0
177
+
178
+ ### [21.3.4](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.3.3...sdk-codegen-scripts-v21.3.4) (2022-07-07)
179
+
180
+
181
+ ### Bug Fixes
182
+
183
+ * example miner github permalinks do not use `.git` in the repository name ([#1063](https://www.github.com/looker-open-source/sdk-codegen/issues/1063)) ([e150b33](https://www.github.com/looker-open-source/sdk-codegen/commit/e150b33ff974575d731f48f2f1488bdbeeb9118c))
184
+ * remove generated files from examples index ([#1076](https://www.github.com/looker-open-source/sdk-codegen/issues/1076)) ([d75bce8](https://www.github.com/looker-open-source/sdk-codegen/commit/d75bce8dc25d41fd6bc5e2e513782eaa6009fd10))
185
+
186
+
187
+ ### Dependencies
188
+
189
+ * The following workspace dependencies were updated
190
+ * dependencies
191
+ * @looker/sdk bumped from ^22.4.2 to ^22.6.0
192
+ * @looker/sdk-codegen bumped from ^21.5.2 to ^21.6.0
193
+ * @looker/sdk-node bumped from ^22.4.2 to ^22.6.0
194
+ * @looker/sdk-rtl bumped from ^21.3.3 to ^21.3.4
195
+
196
+ ### [21.3.3](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.3.2...sdk-codegen-scripts-v21.3.3) (2022-04-07)
197
+
198
+
199
+ ### Dependencies
200
+
201
+ * The following workspace dependencies were updated
202
+ * dependencies
203
+ * @looker/sdk bumped from ^22.4.1 to ^22.4.2
204
+ * @looker/sdk-codegen bumped from ^21.5.1 to ^21.5.2
205
+ * @looker/sdk-node bumped from ^22.4.1 to ^22.4.2
206
+ * @looker/sdk-rtl bumped from ^21.3.2 to ^21.3.3
207
+
208
+ ### [21.3.2](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.3.1...sdk-codegen-scripts-v21.3.2) (2022-04-07)
209
+
210
+
211
+ ### Dependencies
212
+
213
+ * The following workspace dependencies were updated
214
+ * dependencies
215
+ * @looker/sdk bumped from ^22.4.0 to ^22.4.1
216
+ * @looker/sdk-codegen bumped from ^21.5.0 to ^21.5.1
217
+ * @looker/sdk-node bumped from ^22.4.0 to ^22.4.1
218
+
219
+ ### [21.3.1](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.3.0...sdk-codegen-scripts-v21.3.1) (2022-03-24)
220
+
221
+
222
+ ### Bug Fixes
223
+
224
+ * declaration miner (internal utility) ([#1025](https://www.github.com/looker-open-source/sdk-codegen/issues/1025)) ([9b987b2](https://www.github.com/looker-open-source/sdk-codegen/commit/9b987b2c2f24e4a43d6ff25921c5f46804b7702a))
225
+
226
+
227
+ ### Dependencies
228
+
229
+ * The following workspace dependencies were updated
230
+ * dependencies
231
+ * @looker/sdk bumped from ^22.2.0 to ^22.4.0
232
+ * @looker/sdk-node bumped from ^22.2.0 to ^22.4.0
233
+
234
+ ## [21.3.0](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.2.3...sdk-codegen-scripts-v21.3.0) (2022-03-04)
235
+
236
+
237
+ ### Features
238
+
239
+ * generate code deprecation tags ([#1006](https://www.github.com/looker-open-source/sdk-codegen/issues/1006)) ([afd4b66](https://www.github.com/looker-open-source/sdk-codegen/commit/afd4b66ffbd11cdacd19fe1353c9e5bf381fe932))
240
+
241
+
242
+ ### Dependencies
243
+
244
+ * The following workspace dependencies were updated
245
+ * dependencies
246
+ * @looker/sdk-codegen bumped from ^21.4.0 to ^21.5.0
247
+
248
+ ### [21.2.3](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.2.2...sdk-codegen-scripts-v21.2.3) (2022-02-18)
249
+
250
+
251
+ ### Dependencies
252
+
253
+ * The following workspace dependencies were updated
254
+ * dependencies
255
+ * @looker/sdk bumped from ^22.0.0 to ^22.2.0
256
+ * @looker/sdk-node bumped from ^22.0.0 to ^22.2.0
257
+
258
+ ### [21.2.2](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.2.1...sdk-codegen-scripts-v21.2.2) (2022-02-14)
259
+
260
+
261
+ ### Dependencies
262
+
263
+ * The following workspace dependencies were updated
264
+ * dependencies
265
+ * @looker/sdk-codegen bumped from ^21.3.2 to ^21.4.0
266
+
267
+ ### [21.2.1](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.1.3...sdk-codegen-scripts-v21.2.1) (2022-01-27)
268
+
269
+
270
+ ### Features
271
+
272
+ * add http method to IRawResponse ([#925](https://www.github.com/looker-open-source/sdk-codegen/issues/925)) ([25cef47](https://www.github.com/looker-open-source/sdk-codegen/commit/25cef47fa61a5f15565560b48f5e0c45a0cd9b44))
273
+
274
+
275
+ ### Dependencies
276
+
277
+ * The following workspace dependencies were updated
278
+ * dependencies
279
+ * @looker/sdk bumped from ^21.20.0 to ^21.20.1
280
+ * @looker/sdk-node bumped from ^21.20.0 to ^21.20.1
281
+
282
+ ### [21.2.1](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.2.0...sdk-codegen-scripts-v21.2.1) (2021-12-20)
283
+
284
+
285
+ ### Dependencies
286
+
287
+ * The following workspace dependencies were updated
288
+ * dependencies
289
+ * @looker/sdk-codegen bumped from ^21.3.0 to ^21.3.1
290
+ * @looker/sdk-rtl bumped from ^21.3.0 to ^21.3.1
291
+
292
+ ## [21.2.0](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.1.4...sdk-codegen-scripts-v21.2.0) (2021-12-16)
293
+
294
+
295
+ ### Features
296
+
297
+ * add http method to IRawResponse ([#925](https://www.github.com/looker-open-source/sdk-codegen/issues/925)) ([25cef47](https://www.github.com/looker-open-source/sdk-codegen/commit/25cef47fa61a5f15565560b48f5e0c45a0cd9b44))
298
+
299
+
300
+ ### Dependencies
301
+
302
+ * The following workspace dependencies were updated
303
+ * dependencies
304
+ * @looker/sdk-codegen bumped from ^21.2.1 to ^21.3.0
305
+ * @looker/sdk-rtl bumped from ^21.2.0 to ^21.3.0
306
+
307
+ ### [21.1.4](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.1.3...sdk-codegen-scripts-v21.1.4) (2021-12-06)
308
+
309
+
310
+ ### Dependencies
311
+
312
+ * The following workspace dependencies were updated
313
+ * dependencies
314
+ * @looker/sdk-codegen bumped from ^21.2.0 to ^21.2.1
315
+
316
+ ### [21.1.3](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.1.2...sdk-codegen-scripts-v21.1.3) (2021-11-10)
317
+
318
+
319
+ ### Dependencies
320
+
321
+ * The following workspace dependencies were updated
322
+ * dependencies
323
+ * @looker/sdk bumped from ^21.18.1 to ^21.20.0
324
+ * @looker/sdk-codegen bumped from ^21.1.1 to ^21.2.0
325
+ * @looker/sdk-node bumped from ^21.18.1 to ^21.20.0
326
+ * @looker/sdk-rtl bumped from ^21.1.1 to ^21.2.0
327
+
328
+ ### [21.1.2](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.1.1...sdk-codegen-scripts-v21.1.2) (2021-10-27)
329
+
330
+
331
+ ### Dependencies
332
+
333
+ * The following workspace dependencies were updated
334
+ * dependencies
335
+ * @looker/sdk bumped from ^21.18.0 to ^21.18.1
336
+ * @looker/sdk-codegen bumped from ^21.1.0 to ^21.1.1
337
+ * @looker/sdk-node bumped from ^21.18.0 to ^21.18.1
338
+ * @looker/sdk-rtl bumped from ^21.1.0 to ^21.1.1
339
+
340
+ ### [21.1.1](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.1.0...sdk-codegen-scripts-v21.1.1) (2021-10-24)
341
+
342
+
343
+ ### Dependencies
344
+
345
+ * The following workspace dependencies were updated
346
+ * dependencies
347
+ * @looker/sdk bumped from ^21.16.0 to ^21.18.0
348
+ * @looker/sdk-node bumped from ^21.16.0 to ^21.18.0
349
+
350
+ ## [21.1.0](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.27...sdk-codegen-scripts-v21.1.0) (2021-10-19)
351
+
352
+
353
+ ### Features
354
+
355
+ * makeTheCall for Kotlin and type tagging ([#833](https://www.github.com/looker-open-source/sdk-codegen/issues/833)) ([2ca950e](https://www.github.com/looker-open-source/sdk-codegen/commit/2ca950e16c9c172d3e67de58261df16e424efaa3))
356
+ * Use agenda data for the Hackathon home page ([#842](https://www.github.com/looker-open-source/sdk-codegen/issues/842)) ([0da2523](https://www.github.com/looker-open-source/sdk-codegen/commit/0da25239c3f108cb684309818c33c91c2a7c3278))
357
+
358
+
359
+ ### Dependencies
360
+
361
+ * The following workspace dependencies were updated
362
+ * dependencies
363
+ * @looker/sdk bumped from ^21.14.0 to ^21.16.0
364
+ * @looker/sdk-codegen bumped from ^21.0.25 to ^21.1.0
365
+ * @looker/sdk-node bumped from ^21.14.0 to ^21.16.0
366
+ * @looker/sdk-rtl bumped from ^21.0.20 to ^21.1.0
367
+
368
+ ### [21.0.27](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.26...sdk-codegen-scripts-v21.0.27) (2021-09-01)
369
+
370
+
371
+ ### Bug Fixes
372
+
373
+ * spec refresh ([#801](https://www.github.com/looker-open-source/sdk-codegen/issues/801)) ([a10245a](https://www.github.com/looker-open-source/sdk-codegen/commit/a10245aa7ea180670d9d8219810aab88eb50854d))
374
+
375
+
376
+ ### Dependencies
377
+
378
+ * The following workspace dependencies were updated
379
+ * dependencies
380
+ * @looker/sdk bumped from ^21.12.0 to ^21.14.0
381
+ * @looker/sdk-codegen bumped from ^21.0.24 to ^21.0.25
382
+ * @looker/sdk-node bumped from ^21.12.0 to ^21.14.0
383
+ * @looker/sdk-rtl bumped from ^21.0.19 to ^21.0.20
384
+
385
+ ### [21.0.26](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.25...sdk-codegen-scripts-v21.0.26) (2021-08-11)
386
+
387
+
388
+ ### Dependencies
389
+
390
+ * The following workspace dependencies were updated
391
+ * dependencies
392
+ * @looker/sdk-codegen bumped from ^21.0.23 to ^21.0.24
393
+
394
+ ### [21.0.25](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.24...sdk-codegen-scripts-v21.0.25) (2021-08-06)
395
+
396
+
397
+ ### Dependencies
398
+
399
+ * The following workspace dependencies were updated
400
+ * dependencies
401
+ * @looker/sdk bumped from ^21.10.2 to ^21.12.0
402
+ * @looker/sdk-node bumped from ^21.10.2 to ^21.12.0
403
+
404
+ ### [21.0.24](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.23...sdk-codegen-scripts-v21.0.24) (2021-07-30)
405
+
406
+
407
+ ### Dependencies
408
+
409
+ * The following workspace dependencies were updated
410
+ * dependencies
411
+ * @looker/sdk bumped from ^21.10.1 to ^21.10.2
412
+ * @looker/sdk-codegen bumped from ^21.0.22 to ^21.0.23
413
+ * @looker/sdk-node bumped from ^21.10.1 to ^21.10.2
414
+ * @looker/sdk-rtl bumped from ^21.0.18 to ^21.0.19
415
+
416
+ ### [21.0.23](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.22...sdk-codegen-scripts-v21.0.23) (2021-07-09)
417
+
418
+
419
+ ### Dependencies
420
+
421
+ * The following workspace dependencies were updated
422
+ * dependencies
423
+ * @looker/sdk bumped from ^21.10.0 to ^21.10.1
424
+ * @looker/sdk-codegen bumped from ^21.0.21 to ^21.0.22
425
+ * @looker/sdk-node bumped from ^21.10.0 to ^21.10.1
426
+ * @looker/sdk-rtl bumped from ^21.0.17 to ^21.0.18
427
+
428
+ ### [21.0.22](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.21...sdk-codegen-scripts-v21.0.22) (2021-07-08)
429
+
430
+
431
+ ### Dependencies
432
+
433
+ * The following workspace dependencies were updated
434
+ * dependencies
435
+ * @looker/sdk bumped from ^21.8.3 to ^21.10.0
436
+ * @looker/sdk-codegen bumped from ^21.0.20 to ^21.0.21
437
+ * @looker/sdk-node bumped from ^21.8.2 to ^21.10.0
438
+ * @looker/sdk-rtl bumped from ^21.0.16 to ^21.0.17
439
+
440
+ ### [21.0.21](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.20...sdk-codegen-scripts-v21.0.21) (2021-07-02)
441
+
442
+
443
+ ### Dependencies
444
+
445
+ * The following workspace dependencies were updated
446
+ * dependencies
447
+ * @looker/sdk bumped from ^21.8.2 to ^21.8.3
448
+ * @looker/sdk-codegen bumped from ^21.0.19 to ^21.0.20
449
+ * @looker/sdk-node bumped from ^21.8.1 to ^21.8.2
450
+ * @looker/sdk-rtl bumped from ^21.0.15 to ^21.0.16
451
+
452
+ ### [21.0.20](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.19...sdk-codegen-scripts-v21.0.20) (2021-07-01)
453
+
454
+
455
+ ### Bug Fixes
456
+
457
+ * noStreams skips tally headers in generated source ([#727](https://www.github.com/looker-open-source/sdk-codegen/issues/727)) ([113c2c5](https://www.github.com/looker-open-source/sdk-codegen/commit/113c2c50c07c621cf94841af75557704fc3f5df7))
458
+
459
+
460
+ ### Dependencies
461
+
462
+ * The following workspace dependencies were updated
463
+ * dependencies
464
+ * @looker/sdk bumped from ^21.8.1 to ^21.8.2
465
+ * @looker/sdk-codegen bumped from ^21.0.18 to ^21.0.19
466
+ * @looker/sdk-node bumped from ^21.8.0 to ^21.8.1
467
+ * @looker/sdk-rtl bumped from ^21.0.14 to ^21.0.15
468
+
469
+ ### [21.0.19](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.18...sdk-codegen-scripts-v21.0.19) (2021-06-30)
470
+
471
+
472
+ ### Dependencies
473
+
474
+ * The following workspace dependencies were updated
475
+ * dependencies
476
+ * @looker/sdk bumped from ^21.8.0 to ^21.8.1
477
+ * @looker/sdk-codegen bumped from ^21.0.17 to ^21.0.18
478
+ * @looker/sdk-rtl bumped from ^21.0.13 to ^21.0.14
479
+
480
+ ### [21.0.18](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.17...sdk-codegen-scripts-v21.0.18) (2021-06-17)
481
+
482
+
483
+ ### Dependencies
484
+
485
+ * The following workspace dependencies were updated
486
+ * dependencies
487
+ * @looker/sdk bumped from ^21.6.1 to ^21.8.0
488
+ * @looker/sdk-node bumped from ^21.6.1 to ^21.8.0
489
+
490
+ ### [21.0.17](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.16...sdk-codegen-scripts-v21.0.17) (2021-06-16)
491
+
492
+
493
+ ### Features
494
+
495
+ * reduce size of apix bundle ([#676](https://www.github.com/looker-open-source/sdk-codegen/issues/676)) ([0d74f6a](https://www.github.com/looker-open-source/sdk-codegen/commit/0d74f6a7814b509416a9d2558c16439a4859b543))
496
+
497
+
498
+ ### Dependencies
499
+
500
+ * The following workspace dependencies were updated
501
+ * dependencies
502
+ * @looker/sdk bumped from ^21.6.0 to ^21.6.1
503
+ * @looker/sdk-codegen bumped from ^21.0.16 to ^21.0.17
504
+ * @looker/sdk-node bumped from ^21.6.0 to ^21.6.1
505
+
506
+ ### [21.0.16](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.15...sdk-codegen-scripts-v21.0.16) (2021-05-05)
507
+
508
+
509
+ ### Bug Fixes
510
+
511
+ * use "TypeScript" and "JavaScript" everywhere ([#644](https://www.github.com/looker-open-source/sdk-codegen/issues/644)) ([c15031c](https://www.github.com/looker-open-source/sdk-codegen/commit/c15031cee189556adbd9e18641e7c992e86e3611))
512
+
513
+
514
+ ### Dependencies
515
+
516
+ * The following workspace dependencies were updated
517
+ * dependencies
518
+ * @looker/sdk bumped from ^21.4.3 to ^21.6.0
519
+ * @looker/sdk-codegen bumped from ^21.0.15 to ^21.0.16
520
+ * @looker/sdk-node bumped from ^21.4.4 to ^21.6.0
521
+ * @looker/sdk-rtl bumped from ^21.0.12 to ^21.0.13
522
+
523
+ ### [21.0.15](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.14...sdk-codegen-scripts-v21.0.15) (2021-04-27)
524
+
525
+
526
+ ### Dependencies
527
+
528
+ * The following workspace dependencies were updated
529
+ * dependencies
530
+ * @looker/sdk bumped from ^21.4.2 to ^21.4.3
531
+ * @looker/sdk-codegen bumped from ^21.0.14 to ^21.0.15
532
+ * @looker/sdk-node bumped from ^21.4.3 to ^21.4.4
533
+
534
+ ### [21.0.14](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.13...sdk-codegen-scripts-v21.0.14) (2021-04-26)
535
+
536
+
537
+ ### Dependencies
538
+
539
+ * The following workspace dependencies were updated
540
+ * dependencies
541
+ * @looker/sdk bumped from ^21.4.1 to ^21.4.2
542
+ * @looker/sdk-codegen bumped from ^21.0.13 to ^21.0.14
543
+ * @looker/sdk-node bumped from ^21.4.2 to ^21.4.3
544
+
545
+ ### [21.0.13](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.12...sdk-codegen-scripts-v21.0.13) (2021-04-21)
546
+
547
+
548
+ ### Bug Fixes
549
+
550
+ * updated TypeScript, C#, Go language names in codeGenerators.ts ([#610](https://www.github.com/looker-open-source/sdk-codegen/issues/610)) ([13fb42b](https://www.github.com/looker-open-source/sdk-codegen/commit/13fb42b6bfa651a137e75b04fc6ee00620705ede))
551
+
552
+
553
+ ### Dependencies
554
+
555
+ * The following workspace dependencies were updated
556
+ * dependencies
557
+ * @looker/sdk-codegen bumped from ^21.0.12 to ^21.0.13
558
+ * @looker/sdk-node bumped from ^21.4.1 to ^21.4.2
559
+
560
+ ### [21.0.12](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.11...sdk-codegen-scripts-v21.0.12) (2021-04-15)
561
+
562
+
563
+ ### Features
564
+
565
+ * add source declaration links to API Explorer ([#578](https://www.github.com/looker-open-source/sdk-codegen/issues/578)) ([ce0e588](https://www.github.com/looker-open-source/sdk-codegen/commit/ce0e588787bdbc2e8ca4aadd44c31dc3ba1a0ef1))
566
+ * TypeScript SDK tree-shaking support ([#580](https://www.github.com/looker-open-source/sdk-codegen/issues/580)) ([8b7f2f0](https://www.github.com/looker-open-source/sdk-codegen/commit/8b7f2f00ab1a765a04bd460a1ca88e9b7bd66a98))
567
+
568
+
569
+ ### Dependencies
570
+
571
+ * The following workspace dependencies were updated
572
+ * dependencies
573
+ * @looker/sdk bumped from ^21.4.0 to ^21.4.1
574
+ * @looker/sdk-codegen bumped from ^21.0.11 to ^21.0.12
575
+ * @looker/sdk-node bumped from ^21.4.0 to ^21.4.1
576
+ * @looker/sdk-rtl bumped from ^21.0.11 to ^21.0.12
577
+
578
+ ### [21.0.11](https://www.github.com/looker-open-source/sdk-codegen/compare/sdk-codegen-scripts-v21.0.10...sdk-codegen-scripts-v21.0.11) (2021-04-02)
579
+
580
+
581
+ ### Features
582
+
583
+ * Added --versions option to the code generator ([#514](https://www.github.com/looker-open-source/sdk-codegen/issues/514)) ([ee6f3e8](https://www.github.com/looker-open-source/sdk-codegen/commit/ee6f3e8f55e300df1a75c9be89b47f067bc08dee))
584
+ * added -n | --nostreams to code generator options ([#549](https://www.github.com/looker-open-source/sdk-codegen/issues/549)) ([6ead15a](https://www.github.com/looker-open-source/sdk-codegen/commit/6ead15a26093cc108912c8082b7267fb3a0b76b3))
585
+
586
+
587
+ ### Bug Fixes
588
+
589
+ * legacy generator was broken ([#540](https://www.github.com/looker-open-source/sdk-codegen/issues/540)) ([212cfce](https://www.github.com/looker-open-source/sdk-codegen/commit/212cfce4745ea663322b2338d91315cefec451a9))
590
+ * TypeScript SDK generator import logic ([#547](https://www.github.com/looker-open-source/sdk-codegen/issues/547)) ([c5aa033](https://www.github.com/looker-open-source/sdk-codegen/commit/c5aa033c749a2db8a0f98d5b8f49dc287fad06a2))
591
+
592
+
593
+
594
+ ### Dependencies
595
+
596
+ * The following workspace dependencies were updated
597
+ * dependencies
598
+ * @looker/sdk bumped from ^21.0.10 to ^21.4.0
599
+ * @looker/sdk-codegen bumped from ^21.0.10 to ^21.0.11
600
+ * @looker/sdk-codegen-utils bumped from ^21.0.10 to ^21.0.11
601
+ * @looker/sdk-node bumped from ^21.0.10 to ^21.4.0
602
+ * @looker/sdk-rtl bumped from ^21.0.10 to ^21.0.11
package/README.md CHANGED
@@ -2,12 +2,14 @@
2
2
 
3
3
  This package contains the Node-based scripts used by the Looker SDK Codegen project.
4
4
 
5
- **NOT SUPPORTED**: Looker does not support direct use of this package, other than via direct use in the
5
+ It has node dependencies, so it cannot be used in the browser.
6
+
7
+ **DEPRECATED AND NOT SUPPORTED**: Looker does not support direct use of this package, other than via indirect use in the
6
8
  [SDK Codegen project](https://github.com/looker-open-source/sdk-codegen) repository.
7
9
 
8
10
  ## Scripts
9
11
 
12
+ * [sdkGen.ts](src/sdkGen.ts) is the script for the Looker SDK code generator. Run `yarn gen -h` to see options.
10
13
  * [legacy.ts](src/legacy.ts) for the OpenAPI legacy code generator
11
- * [sdkGen.ts](src/sdkGen.ts) is the entry point for the Looker SDK code generator
12
14
  * [specConvert.ts](src/specConvert.ts) converts a swagger (OpenAPI 2.x) file to OpenAPI 3.x
13
15
  * [yamlToJson.ts](src/yamlToJson.ts) converts a `YAML` file to a pretty-printed `JSON` file
package/lib/convert.d.ts CHANGED
@@ -1,9 +1 @@
1
- #!/usr/bin/env node
2
- import { ParameterStyle } from 'openapi3-ts';
3
- export declare const swapXLookerNullable: (spec: string) => string;
4
- declare type OpenApiStyle = ParameterStyle | undefined;
5
- export declare const openApiStyle: (collectionFormat: string) => OpenApiStyle;
6
- export declare const fixConversion: (openApiSpec: string, swaggerSpec: string) => string;
7
- export declare const swapNullableInFile: (openApiFile: string) => string;
8
- export declare const convertSpec: (swaggerFilename: string, openApiFilename: string) => string;
9
- export {};
1
+ export declare const convertSpec: (specFileName: string, openApiFilename: string, force?: boolean) => string;