typed-factorio 0.11.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
package/Changelog.md CHANGED
@@ -1,3 +1,19 @@
1
+ # v0.13.1
2
+
3
+ - Fix: resize_to_sprite property should not be on subclass sprite-button
4
+
5
+ # v0.13.0
6
+
7
+ - Update to factorio version 1.1.49
8
+
9
+ # v0.12.0
10
+
11
+ - Update to factorio version 1.1.48
12
+
13
+ # v0.11.1
14
+
15
+ - Localised strings now accept boolean and undefined.
16
+
1
17
  # v0.11.0
2
18
 
3
19
  - Update to factorio version 1.1.46
@@ -1,3 +1,5 @@
1
+ // This is an auto-generated file. Do not edit directly!
2
+
1
3
  /** @noSelfInFile */
2
4
 
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // This is an auto-generated file. Do not edit directly!
2
+
1
3
  /** @noSelfInFile */
2
4
 
3
5
  /**
@@ -1187,7 +1189,7 @@ interface LuaControl {
1187
1189
  * players, cars, and spidertrons can be teleported cross-surface.
1188
1190
  * @returns `true` when the entity was successfully teleported.
1189
1191
  */
1190
- teleport(position: Position, surface?: SurfaceIdentification): boolean
1192
+ teleport(position: MapPosition, surface?: SurfaceIdentification): boolean
1191
1193
  /**
1192
1194
  * Select an entity, as if by hovering the mouse above it.
1193
1195
  *
@@ -1195,7 +1197,7 @@ interface LuaControl {
1195
1197
  *
1196
1198
  * @param position - Position of the entity to select
1197
1199
  */
1198
- update_selected_entity(position: Position): void
1200
+ update_selected_entity(position: MapPosition): void
1199
1201
  /**
1200
1202
  * Unselect any selected entity.
1201
1203
  *
@@ -1291,47 +1293,41 @@ interface LuaControl {
1291
1293
  /**
1292
1294
  * Sets a personal logistic request and auto-trash slot to the given value.
1293
1295
  *
1294
- * **Note**: This will silently fail if personal logistics are not researched yet.
1295
- *
1296
1296
  * {@link https://lua-api.factorio.com/next/LuaControl.html#LuaControl.set_personal_logistic_slot View documentation}
1297
1297
  *
1298
1298
  * @param slot_index - The slot to set.
1299
1299
  * @param value - The logistic request parameters.
1300
- * @returns Whether the slot was set successfully.
1300
+ * @returns Whether the slot was set successfully. `false` if personal logistics are not researched yet.
1301
1301
  */
1302
- set_personal_logistic_slot(slot_index: uint, value: PersonalLogisticParameters): boolean
1302
+ set_personal_logistic_slot(slot_index: uint, value: LogisticParameters): boolean
1303
1303
  /**
1304
1304
  * Sets a vehicle logistic request and auto-trash slot to the given value.
1305
1305
  *
1306
- * **Note**: This will silently fail if the vehicle does not use logistics.
1307
- *
1308
1306
  * {@link https://lua-api.factorio.com/next/LuaControl.html#LuaControl.set_vehicle_logistic_slot View documentation}
1309
1307
  *
1310
1308
  * @param slot_index - The slot to set.
1311
1309
  * @param value - The logistic request parameters.
1312
- * @returns Whether the slot was set successfully.
1310
+ * @returns Whether the slot was set successfully. `false` if the vehicle does not use logistics.
1313
1311
  */
1314
- set_vehicle_logistic_slot(slot_index: uint, value: PersonalLogisticParameters): boolean
1312
+ set_vehicle_logistic_slot(slot_index: uint, value: LogisticParameters): boolean
1315
1313
  /**
1316
1314
  * Gets the parameters of a personal logistic request and auto-trash slot.
1317
1315
  *
1318
- * **Note**: This will silently return an empty value (`name` will be `nil`) if personal logistics are not researched yet.
1319
- *
1320
1316
  * {@link https://lua-api.factorio.com/next/LuaControl.html#LuaControl.get_personal_logistic_slot View documentation}
1321
1317
  *
1322
1318
  * @param slot_index - The slot to get.
1319
+ * @returns The logistic parameters. If personal logistics are not researched yet, their `name` will be `nil`.
1323
1320
  */
1324
- get_personal_logistic_slot(slot_index: uint): PersonalLogisticParameters
1321
+ get_personal_logistic_slot(slot_index: uint): LogisticParameters | undefined
1325
1322
  /**
1326
1323
  * Gets the parameters of a vehicle logistic request and auto-trash slot.
1327
1324
  *
1328
- * **Note**: This will silently return an empty value (`name` will be `nil`) if the vehicle does not use logistics.
1329
- *
1330
1325
  * {@link https://lua-api.factorio.com/next/LuaControl.html#LuaControl.get_vehicle_logistic_slot View documentation}
1331
1326
  *
1332
1327
  * @param slot_index - The slot to get.
1328
+ * @returns The logistic parameters. If the vehicle does not use logistics, their `name` will be `nil`.
1333
1329
  */
1334
- get_vehicle_logistic_slot(slot_index: uint): PersonalLogisticParameters
1330
+ get_vehicle_logistic_slot(slot_index: uint): LogisticParameters | undefined
1335
1331
  /**
1336
1332
  * **Note**: This will silently fail if personal logistics are not researched yet.
1337
1333
  *
@@ -1384,7 +1380,7 @@ interface LuaControl {
1384
1380
  *
1385
1381
  * {@link https://lua-api.factorio.com/next/LuaControl.html#LuaControl.position View documentation}
1386
1382
  */
1387
- readonly position: PositionTable
1383
+ readonly position: MapPosition
1388
1384
  /**
1389
1385
  * The vehicle the player is currently sitting in; `nil` if none.
1390
1386
  *
@@ -3002,7 +2998,7 @@ interface LuaEntity extends LuaControl {
3002
2998
  */
3003
2999
  clone(params: {
3004
3000
  /** The destination position */
3005
- readonly position: Position
3001
+ readonly position: MapPosition
3006
3002
  /** The destination surface */
3007
3003
  readonly surface?: LuaSurface
3008
3004
  readonly force?: ForceIdentification
@@ -3145,7 +3141,7 @@ interface LuaEntity extends LuaControl {
3145
3141
  * @param target
3146
3142
  * @param position
3147
3143
  */
3148
- can_shoot(target: LuaEntity, position: Position): boolean
3144
+ can_shoot(target: LuaEntity, position: MapPosition): boolean
3149
3145
  /**
3150
3146
  * Only works if the entity is a speech-bubble, with an "effect" defined in its wrapper_flow_style. Starts animating
3151
3147
  * the opacity of the speech bubble towards zero, and destroys the entity when it hits zero.
@@ -3285,7 +3281,7 @@ interface LuaEntity extends LuaControl {
3285
3281
  *
3286
3282
  * @param position - The position the spidertron should move to.
3287
3283
  */
3288
- add_autopilot_destination(position: Position): void
3284
+ add_autopilot_destination(position: MapPosition): void
3289
3285
  /**
3290
3286
  * Connects current linked belt with another one.
3291
3287
  *
@@ -4507,7 +4503,7 @@ interface LuaEntity extends LuaControl {
4507
4503
  *
4508
4504
  * {@link https://lua-api.factorio.com/next/LuaEntity.html#LuaEntity.autopilot_destination View documentation}
4509
4505
  */
4510
- autopilot_destination: Position | undefined
4506
+ autopilot_destination: MapPosition | undefined
4511
4507
  /**
4512
4508
  * The queued destination positions of spidertron's autopilot.
4513
4509
  *
@@ -4515,7 +4511,7 @@ interface LuaEntity extends LuaControl {
4515
4511
  *
4516
4512
  * {@link https://lua-api.factorio.com/next/LuaEntity.html#LuaEntity.autopilot_destinations View documentation}
4517
4513
  */
4518
- readonly autopilot_destinations: PositionTable[]
4514
+ readonly autopilot_destinations: MapPosition[]
4519
4515
  /**
4520
4516
  * Amount of trains related to this particular train stop. Includes train stopped at this train stop (until it finds
4521
4517
  * a path to next target) and trains having this train stop as goal or waypoint. Writing nil will disable the limit
@@ -5834,6 +5830,12 @@ interface LuaEntityPrototype {
5834
5830
  * {@link https://lua-api.factorio.com/next/LuaEntityPrototype.html#LuaEntityPrototype.related_underground_belt View documentation}
5835
5831
  */
5836
5832
  readonly related_underground_belt: LuaEntityPrototype
5833
+ /**
5834
+ * Gets the built-in stack size bonus of this inserter prototype. `nil` if this is not an inserter.
5835
+ *
5836
+ * {@link https://lua-api.factorio.com/next/LuaEntityPrototype.html#LuaEntityPrototype.inserter_stack_size_bonus View documentation}
5837
+ */
5838
+ readonly inserter_stack_size_bonus: double | undefined
5837
5839
  /**
5838
5840
  * Gets the current movement speed of this character, including effects from exoskeletons, tiles, stickers and shooting.
5839
5841
  *
@@ -6827,6 +6829,7 @@ interface LuaFluidEnergySourcePrototype {
6827
6829
  readonly effectivity: double
6828
6830
  readonly burns_fluid: boolean
6829
6831
  readonly scale_fluid_usage: boolean
6832
+ readonly destroy_non_fuel_fluid: boolean
6830
6833
  readonly fluid_usage_per_tick: double
6831
6834
  /**
6832
6835
  * The smoke sources for this prototype if any.
@@ -7824,6 +7827,12 @@ interface LuaGameScript {
7824
7827
  readonly can_continue: boolean
7825
7828
  readonly victorious_force: ForceIdentification
7826
7829
  }): void
7830
+ /**
7831
+ * Reset scenario state (game_finished, player_won, etc.).
7832
+ *
7833
+ * {@link https://lua-api.factorio.com/next/LuaGameScript.html#LuaGameScript.reset_game_state View documentation}
7834
+ */
7835
+ reset_game_state(): void
7827
7836
  /**
7828
7837
  * {@link https://lua-api.factorio.com/next/LuaGameScript.html#LuaGameScript.get_entity_by_tag View documentation}
7829
7838
  *
@@ -8833,11 +8842,17 @@ interface LuaGameScript {
8833
8842
  */
8834
8843
  ticks_to_run: uint
8835
8844
  /**
8836
- * Is the scenario finished?
8845
+ * True while the victory screen is shown.
8837
8846
  *
8838
8847
  * {@link https://lua-api.factorio.com/next/LuaGameScript.html#LuaGameScript.finished View documentation}
8839
8848
  */
8840
8849
  readonly finished: boolean
8850
+ /**
8851
+ * True after players finished the game and clicked "continue".
8852
+ *
8853
+ * {@link https://lua-api.factorio.com/next/LuaGameScript.html#LuaGameScript.finished_but_continuing View documentation}
8854
+ */
8855
+ readonly finished_but_continuing: boolean
8841
8856
  /**
8842
8857
  * Speed to update the map at. 1.0 is normal speed -- 60 UPS.
8843
8858
  *
@@ -10145,12 +10160,6 @@ interface SpriteButtonGuiElementMembers extends BaseGuiElement {
10145
10160
  * {@link https://lua-api.factorio.com/next/LuaGuiElement.html#LuaGuiElement.sprite View documentation}
10146
10161
  */
10147
10162
  sprite: SpritePath
10148
- /**
10149
- * Whether the image widget should resize according to the sprite in it. Defaults to `true`.
10150
- *
10151
- * {@link https://lua-api.factorio.com/next/LuaGuiElement.html#LuaGuiElement.resize_to_sprite View documentation}
10152
- */
10153
- resize_to_sprite: boolean
10154
10163
  /**
10155
10164
  * The image to display on this sprite-button when it is hovered.
10156
10165
  *
@@ -12140,7 +12149,7 @@ interface LuaItemStack {
12140
12149
  */
12141
12150
  transfer_stack(stack: ItemStackIdentification): boolean
12142
12151
  /**
12143
- * Export a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) to a string
12152
+ * Export a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) to a string.
12144
12153
  *
12145
12154
  * {@link https://lua-api.factorio.com/next/LuaItemStack.html#LuaItemStack.export_stack View documentation}
12146
12155
  *
@@ -12148,7 +12157,7 @@ interface LuaItemStack {
12148
12157
  */
12149
12158
  export_stack(): string
12150
12159
  /**
12151
- * Import a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) from a string
12160
+ * Import a supported item (blueprint, blueprint-book, deconstruction-planner, upgrade-planner, item-with-tags) from a string.
12152
12161
  *
12153
12162
  * {@link https://lua-api.factorio.com/next/LuaItemStack.html#LuaItemStack.import_stack View documentation}
12154
12163
  *
@@ -12199,8 +12208,6 @@ interface LuaItemStack {
12199
12208
  */
12200
12209
  get_inventory(inventory: defines.inventory): LuaInventory | undefined
12201
12210
  /**
12202
- * Build this blueprint
12203
- *
12204
12211
  * **Note**: Built entities can be come invalid between the building of the blueprint and the function returning if
12205
12212
  * by_player or raise_built is used and one of those events invalidates the entity.
12206
12213
  *
@@ -13956,7 +13963,7 @@ interface LuaPlayer extends LuaControl {
13956
13963
  * Position at which cursor was clicked. Used only to decide which side of arithmetic combinator, decider
13957
13964
  * combinator or power switch is to be connected. Entity itself to be connected is based on the player's selected entity.
13958
13965
  */
13959
- readonly position: Position
13966
+ readonly position: MapPosition
13960
13967
  }): boolean
13961
13968
  /**
13962
13969
  * Disable recipe groups.
@@ -14162,7 +14169,7 @@ interface LuaPlayer extends LuaControl {
14162
14169
  /** Name of the entity to check */
14163
14170
  readonly name: string
14164
14171
  /** Where the entity would be placed */
14165
- readonly position: Position
14172
+ readonly position: MapPosition
14166
14173
  /** Direction the entity would be placed */
14167
14174
  readonly direction?: defines.direction
14168
14175
  }): boolean
@@ -14173,7 +14180,7 @@ interface LuaPlayer extends LuaControl {
14173
14180
  */
14174
14181
  can_build_from_cursor(params: {
14175
14182
  /** Where the entity would be placed */
14176
- readonly position: Position
14183
+ readonly position: MapPosition
14177
14184
  /** Direction the entity would be placed */
14178
14185
  readonly direction?: defines.direction
14179
14186
  /** If alt build should be used instead of normal build. Defaults to normal. */
@@ -14194,7 +14201,7 @@ interface LuaPlayer extends LuaControl {
14194
14201
  */
14195
14202
  build_from_cursor(params: {
14196
14203
  /** Where the entity would be placed */
14197
- readonly position: Position
14204
+ readonly position: MapPosition
14198
14205
  /** Direction the entity would be placed */
14199
14206
  readonly direction?: defines.direction
14200
14207
  /** If alt build should be used instead of normal build. Defaults to normal. */
@@ -14280,7 +14287,7 @@ interface LuaPlayer extends LuaControl {
14280
14287
  /** The flying text to show. */
14281
14288
  readonly text: LocalisedString
14282
14289
  /** The location on the map at which to show the flying text. */
14283
- readonly position?: Position
14290
+ readonly position?: MapPosition
14284
14291
  /** If `true`, the flying text is created at the player's cursor. Defaults to `false`. */
14285
14292
  readonly create_at_cursor?: boolean
14286
14293
  /** The color of the flying text. Defaults to white text. */
@@ -14351,7 +14358,7 @@ interface LuaPlayer extends LuaControl {
14351
14358
  * @param position
14352
14359
  * @param scale
14353
14360
  */
14354
- open_map(position: Position, scale?: double): void
14361
+ open_map(position: MapPosition, scale?: double): void
14355
14362
  /**
14356
14363
  * Queues a request to zoom to world at the specified position. If the player is already zooming to world, the
14357
14364
  * request will simply set the position (and scale). Render mode change requests are processed before rendering of
@@ -14362,7 +14369,7 @@ interface LuaPlayer extends LuaControl {
14362
14369
  * @param position
14363
14370
  * @param scale
14364
14371
  */
14365
- zoom_to_world(position: Position, scale?: double): void
14372
+ zoom_to_world(position: MapPosition, scale?: double): void
14366
14373
  /**
14367
14374
  * Queues request to switch to the normal game view from the map or zoom to world view. Render mode change requests
14368
14375
  * are processed before rendering of the next frame.
@@ -14500,7 +14507,7 @@ interface LuaPlayer extends LuaControl {
14500
14507
  * @param position - The position to start selection from.
14501
14508
  * @param selection_mode - The type of selection to start. Can be `select`, `alternative-select`, `reverse-select`.
14502
14509
  */
14503
- start_selection(position: Position, selection_mode: string): void
14510
+ start_selection(position: MapPosition, selection_mode: string): void
14504
14511
  /**
14505
14512
  * Clears the players selection tool selection position.
14506
14513
  *
@@ -14688,6 +14695,12 @@ interface LuaPlayer extends LuaControl {
14688
14695
  * {@link https://lua-api.factorio.com/next/LuaPlayer.html#LuaPlayer.spectator View documentation}
14689
14696
  */
14690
14697
  spectator: boolean
14698
+ /**
14699
+ * If `true`, circle and name of given player is rendered on the map/chart.
14700
+ *
14701
+ * {@link https://lua-api.factorio.com/next/LuaPlayer.html#LuaPlayer.show_on_map View documentation}
14702
+ */
14703
+ show_on_map: boolean
14691
14704
  /**
14692
14705
  * If items not included in this map editor infinity inventory filters should be removed.
14693
14706
  *
@@ -17239,6 +17252,12 @@ interface LuaStyle {
17239
17252
  * {@link https://lua-api.factorio.com/next/LuaStyle.html#LuaStyle.use_header_filler View documentation}
17240
17253
  */
17241
17254
  use_header_filler: boolean
17255
+ /**
17256
+ * *Can only be used if this is LuaProgressBarStyle*
17257
+ *
17258
+ * {@link https://lua-api.factorio.com/next/LuaStyle.html#LuaStyle.bar_width View documentation}
17259
+ */
17260
+ bar_width: uint
17242
17261
  /**
17243
17262
  * *Can only be used if this is LuaProgressBarStyle*
17244
17263
  *
@@ -18799,7 +18818,7 @@ interface LuaSurface {
18799
18818
  *
18800
18819
  * {@link https://lua-api.factorio.com/next/LuaSurface.html#LuaSurface.daytime View documentation}
18801
18820
  */
18802
- daytime: float
18821
+ daytime: double
18803
18822
  /**
18804
18823
  * Amount of darkness at the current time.
18805
18824
  *
@@ -1,3 +1,5 @@
1
+ // This is an auto-generated file. Do not edit directly!
2
+
1
3
  /** @noSelfInFile */
2
4
 
3
5
  /**
@@ -9,13 +11,13 @@
9
11
  *
10
12
  * The template can contain placeholders such as `__1__` or `__2__`. These will be replaced by the respective parameter
11
13
  * in the LocalisedString. The parameters themselves can be other localised strings, which will be processed recursively
12
- * in the same fashion. Localised strings cannot be recursed deeper than 20 levels and cannot have more than 20 parameters.
14
+ * in the same fashion. Localised strings can not be recursed deeper than 20 levels and can not have more than 20 parameters.
13
15
  *
14
16
  * As a special case, when the key is just the empty string, all the parameters will be concatenated (after processing,
15
17
  * if any are localised strings). If there is only one parameter, it will be used as is.
16
18
  *
17
19
  * Furthermore, when an API function expects a localised string, it will also accept a regular string (i.e. not a table)
18
- * which will not be translated, or number which will be converted to its textual representation.
20
+ * which will not be translated, as well as a number or boolean, which will be converted to their textual representation.
19
21
  *
20
22
  * {@link https://lua-api.factorio.com/next/Concepts.html#LocalisedString View documentation}
21
23
  *
@@ -47,14 +49,14 @@
47
49
  * game.print({"", {"item-name.iron-plate"}, ": ", 60})
48
50
  * ```
49
51
  */
50
- type LocalisedString = readonly [string, ...LocalisedString[]] | string | number
52
+ type LocalisedString = readonly [string, ...LocalisedString[]] | string | number | boolean | undefined
51
53
 
52
54
  interface DisplayResolution {
53
55
  readonly width: uint
54
56
  readonly height: uint
55
57
  }
56
58
 
57
- interface PersonalLogisticParameters {
59
+ interface LogisticParameters {
58
60
  /** The item. `nil` clears the filter. */
59
61
  readonly name?: string
60
62
  readonly min?: uint
@@ -99,6 +101,17 @@ type PositionArray = readonly [x: int, y: int]
99
101
  */
100
102
  type Position = PositionTable | PositionArray
101
103
 
104
+ /**
105
+ * Coordinates of an entity on a map. This uses the same format as {@link Position}, meaning it can be specified either
106
+ * with or without explicit keys.
107
+ *
108
+ * {@link https://lua-api.factorio.com/next/Concepts.html#MapPosition View documentation}
109
+ */
110
+ interface MapPosition {
111
+ readonly x: double
112
+ readonly y: double
113
+ }
114
+
102
115
  interface ChunkPositionTable {
103
116
  readonly x: int
104
117
  readonly y: int
@@ -705,7 +718,10 @@ interface SteeringMapSettings {
705
718
  }
706
719
 
707
720
  interface PathFinderMapSettings {
708
- /** Determines whether forwards (`>1`), backwards (`<-1`), or symmetrical (`1`) search is preferred. Defaults to `5`. */
721
+ /**
722
+ * The pathfinder performs a step of the backward search every `fwd2bwd_ratio`'th step. The minimum allowed value is
723
+ * `2`, which means symmetric search. The default value is `5`.
724
+ */
709
725
  readonly fwd2bwd_ratio: uint
710
726
  /**
711
727
  * When looking at which node to check next, their heuristic value is multiplied by this ratio. The higher it is,
@@ -1,3 +1,5 @@
1
+ // This is an auto-generated file. Do not edit directly!
2
+
1
3
  /** @noSelfInFile */
2
4
 
3
5
  declare namespace defines {
@@ -1,3 +1,5 @@
1
+ // This is an auto-generated file. Do not edit directly!
2
+
1
3
  /** @noSelfInFile */
2
4
 
3
5
  /**
@@ -1,3 +1,5 @@
1
+ // This is an auto-generated file. Do not edit directly!
2
+
1
3
  /** @noSelfInFile */
2
4
 
3
5
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typed-factorio",
3
- "version": "0.11.0",
3
+ "version": "0.13.1",
4
4
  "description": "Featureful typescript definitions for the the Factorio modding lua api.",
5
5
  "keywords": [
6
6
  "factorio",
@@ -15,7 +15,7 @@
15
15
  ],
16
16
  "homepage": "https://github.com/GlassBricks/typed-factorio#readme",
17
17
  "scripts": {
18
- "gen": "ts-node generator/index.ts",
18
+ "gen": "ts-node -P generator/tsconfig.json generator/index.ts",
19
19
  "generate": "yarn run gen --in ./generatorSrc --out ./generated --warn-as-error",
20
20
  "generate:dev": "yarn run gen --in ./generatorSrc --out ./generated --no-format",
21
21
  "clean": "rimraf generated",
@@ -26,31 +26,33 @@
26
26
  "prepublishOnly": "yarn run check",
27
27
  "download-latest-runtime-api": "ts-node ./scripts/downloadLatest.ts"
28
28
  },
29
- "dependencies": {
30
- "lua-types": "^2.10.1",
29
+ "peerDependencies": {
30
+ "lua-types": "^2.11.0",
31
31
  "typescript-to-lua": "^1.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/jest": "^26.0.24",
35
- "@types/node": "^16.7.1",
36
- "@types/prettier": "^2.3.2",
37
- "@typescript-eslint/eslint-plugin": "^4.27.0",
38
- "@typescript-eslint/parser": "^4.27.0",
39
- "chalk": "^4.1.2",
34
+ "@types/jest": "^27.0.3",
35
+ "@types/node": "^16.11.12",
36
+ "@types/prettier": "^2.4.2",
37
+ "@typescript-eslint/eslint-plugin": "^5.6.0",
38
+ "@typescript-eslint/parser": "^5.6.0",
39
+ "chalk": "^3.0.0",
40
40
  "commander": "^8.3.0",
41
- "eslint": "^7.29.0",
41
+ "eslint": "^8.4.1",
42
42
  "eslint-config-prettier": "^8.3.0",
43
43
  "eslint-config-standard": "^16.0.3",
44
- "eslint-import-resolver-typescript": "^2.4.0",
45
- "eslint-plugin-import": "^2.23.4",
44
+ "eslint-import-resolver-typescript": "^2.5.0",
45
+ "eslint-plugin-import": "^2.25.3",
46
46
  "eslint-plugin-node": "^11.1.0",
47
- "eslint-plugin-prettier": "^3.4.0",
48
- "eslint-plugin-promise": "^5.1.0",
49
- "jest": "^27.0.6",
50
- "prettier": "^2.3.2",
51
- "prettier-plugin-jsdoc": "^0.3.23",
52
- "ts-jest": "^27.0.4",
53
- "ts-node": "^10.1.0",
54
- "typescript": "~4.3.5"
47
+ "eslint-plugin-prettier": "^4.0.0",
48
+ "eslint-plugin-promise": "^5.2.0",
49
+ "jest": "^27.4.3",
50
+ "lua-types": "^2.11.0",
51
+ "prettier": "^2.5.1",
52
+ "prettier-plugin-jsdoc": "^0.3.30",
53
+ "ts-jest": "^27.1.0",
54
+ "ts-node": "^10.4.0",
55
+ "typescript": "4.5.2",
56
+ "typescript-to-lua": "^1.2.0"
55
57
  }
56
58
  }