mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-04-26 10:48:53 -05:00
`node tools/set-import [version]` can be run to create a `@pokemon-showdown/sets` package containing sets from Smogon, usage stats and third party sources. Some notes: - The build is set up so that `tools/set-import/importer.ts` is compiled to `tools/set-import/importer.js` - creating a `.tools-dist/set-import` directory for the sole artifact was deemed to be overkill - The sets package is generated such that it can be used easily on Node or in a browser (where the large set JSON can be loaded asynchronously) - Supported tiers/formats are mostly arbitrary - those popular enough to have a signficant playerbase or analyses on Smogon have been included, but additional formats can be added based on demand - Some set information is redundant for ease of use by downstream users: certain formes are split out and information that could theoretically be inferred like level/ability/HP IVs are included to simplify parsing logic and make the sets more immediately available. This results in what should mostly be negligible size overhead. - In a similar vein, display versions of effect names instead of IDs are used (name -> ID is trivial, ID -> name requires data lookup) - All sets pass validation, provided certain simple transformations are applied (eg. reverting `battleOnly` formes like Megas) This tool has primarily been tested to run on Linux - running on other platforms is not guaranteed to result in error-free output.
60 lines
612 B
Plaintext
60 lines
612 B
Plaintext
/config/*
|
|
!/config/formats.js
|
|
/logs/*
|
|
/node_modules
|
|
/eslint-cache
|
|
/server/chat-plugins/private.js
|
|
/server/chat-plugins/*-private.js
|
|
npm-debug.log
|
|
.eslintcache
|
|
package-lock.json
|
|
/tools/set-import/sets
|
|
|
|
# Typescript build artifacts
|
|
.*-dist/
|
|
tools/set-import/importer.js
|
|
|
|
# visual studio live share
|
|
.vs
|
|
|
|
# boilerplate #
|
|
###############
|
|
|
|
.DS_Store
|
|
|
|
# editor temp files
|
|
*~
|
|
.idea/
|
|
|
|
tmp/**/*
|
|
*.lock
|
|
*.DS_Store
|
|
*.swp
|
|
*.out
|
|
*.pyc
|
|
*.pyo
|
|
.installed.cfg
|
|
|
|
downloads
|
|
dist
|
|
|
|
# egg related
|
|
develop-eggs
|
|
*.egg-info
|
|
*.egg
|
|
*.EGG
|
|
*.EGG-INFO
|
|
src/*.egg-info
|
|
eggs
|
|
fake-eggs
|
|
|
|
# django
|
|
local_settings.py
|
|
|
|
# SCM
|
|
.hg
|
|
.bzr
|
|
.svn
|
|
|
|
pip-log.txt
|