pokemon-showdown/tools/set-import
Guangcong Luo 9b5217ab70
Split up dex-data into more files (#7634)
* Split up dex-data over individual files

This commit introduces:
- `dex-abilities.ts`
- `dex-conditions.ts`
- `dex-formats.ts`
- `dex-items.ts`
- `dex-moves.ts`
- `dex-species.ts`

These files centralize definitions from `dex-data` and `global-types`.

* Inherit ItemData from Item etc

Previously, Condition inherited from ConditionData. Now, ConditionData
inherits from Condition. The advantage of the new approach is that now,
Condition and DataCondition no longer need to be separate types, and
there should be much less duplication of type definitions in general.

This has also been done for

- ItemData/Item/DataItem
- AbilityData/Ability/DataAbility
- FormatData/Format/DataFormat

Species and DataSpecies was already merged, but this also reverses
their inheritance (saving a lot of duplicated definitions in the
process!)

The only one left is MoveData, which is just super complicated and
will need its own commit.
2020-11-05 05:00:13 -08:00
..
sets Simplify @pokemon-showdown/sets and rename package 2020-06-04 19:43:56 -07:00
importer.ts Split up dex-data into more files (#7634) 2020-11-05 05:00:13 -08:00
index.js Simplify @pokemon-showdown/sets and rename package 2020-06-04 19:43:56 -07:00
stats Update set-import stats to use latest stats logic 2020-02-27 17:00:40 -08:00