Split the monolithic CARD_LIBRARY into one file per card under cards/definitions/, aggregated by a barrel (definitions/index.ts). card-library.ts now indexes ALL_CARDS by id with a duplicate-id guard. Public API (CARD_LIBRARY, getCard, STARTER_DECK) and all card ids are unchanged, so consumers and save data are unaffected. Also ignore the .vite build cache.
27 lines
267 B
Plaintext
27 lines
267 B
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
dist
|
|
dist-ssr
|
|
.vite
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
/.idea/
|