open-index/open-npm huggingface dataset:
npm package: @firestone-hs/communities
Description: Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
Latest version: 0.0.11

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate

# How to update the community info

Instead of updating it live when new games are played, it's probably better to update it on a cron (every 30 minutes or so?). That way, I can still store the community info in a file while keeping an API to prevent someone not in the community from getting the info.
npm package: @firestone-hs/compute-bgs-run-stats
Description: ``` sam local start-api ```
Latest version: 1.0.14

# Test it

```
sam local start-api
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && npm publish --access public


```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/cron-build-ranked-archetypes
Description: ``` rm -rf dist && npm run build && npm run package && npm run deploy
Latest version: 1.0.1

# Deploy

```
rm -rf dist && npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/deck-stats
Description: ``` rm -rf dist && npm run build && npm run package && npm run deploy
Latest version: 1.0.4

# Deploy

```
rm -rf dist && npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/duels-global-stats
Description: ``` npm run build && sam local invoke -t template.yaml -e event.json BuildDuelsStatsFunction ```
Latest version: 1.0.8

# Test it

```
npm run build && sam local invoke -t template.yaml -e event.json BuildDuelsStatsFunction
```

# Deploy

```
rm -rf dist && npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/duels-leaderboard
Description: ``` npm run build && sam local start-api
Latest version: 1.0.5

# Test it

```
npm run build && sam local start-api

curl -X POST http://127.0.0.1:3000/overwolf-OW_2c40f5f0-4b1c-476a-98c0-d6ac63508d4b
```

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/hs-replay-xml-parser
Description: rm -rf dist && tsc && 'cp' -rf dist/ /e/Source/zerotoheroes/firestone/core/node_modules/\@firestone-hs/hs-replay-xml-parser/
Latest version: 1.0.4

rm -rf dist && tsc && 'cp' -rf dist/ /e/Source/zerotoheroes/firestone/core/node_modules/\@firestone-hs/hs-replay-xml-parser/

rm -rf dist && tsc && 'cp' -rf dist/ /e/Source/zerotoheroes/public-lambdas/trigger-build-match-stats/node_modules/\@firestone-hs/hs-replay-xml-parser/
rm -rf dist && tsc && 'cp' -rf dist/ /e/Source/zerotoheroes/public-lambdas/api-user-bgs-post-match-stats/node_modules/\@firestone-hs/hs-replay-xml-parser/
rm -rf dist && tsc && 'cp' -rf dist/ /e/Source/zerotoheroes/public-lambdas/trigger-assign-archetype/node_modules/\@firestone-hs/hs-replay-xml-parser/

rm -rf dist && tsc && npm publish --access public
npm package: @firestone-hs/mailbox
Description: ``` npm run build && npm run package && npm run deploy
Latest version: 1.0.29

# Deploy

```
npm run build && npm run package && npm run deploy

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access=public
```

# Reference

Used this project as template: https://github.com/alukach/aws-sam-typescript-boilerplate
npm package: @firestone-hs/reference-data
Description: ``` aws s3 cp ./src/hs-achievements.json s3://static.zerotoheroes.com/hearthstone/jsoncards/ --acl public-read aws s3 cp ./src/card-backs.json s3://static.zerotoheroes.com/hearthstone/data/ --acl public-read
Latest version: 3.0.186

# Copy the files to S3

```
aws s3 cp ./src/hs-achievements.json s3://static.zerotoheroes.com/hearthstone/jsoncards/ --acl public-read
aws s3 cp ./src/card-backs.json s3://static.zerotoheroes.com/hearthstone/data/ --acl public-read

# I now upload to a zipped endpoint from the pipeline
# aws s3 cp ./src/deck-templates.json s3://static.zerotoheroes.com/hearthstone/data/ --acl public-read

aws s3 cp ./src/tavern-brawls.json s3://static.zerotoheroes.com/hearthstone/data/ --acl public-read
aws s3 cp ./src/mercenaries/ s3://static.zerotoheroes.com/hearthstone/data/mercenaries/ --recursive --acl public-read
aws s3 cp ./src/cards/ s3://static.zerotoheroes.com/hearthstone/jsoncards/ --recursive --acl public-read
aws s3 cp ./src/cards/ s3://static.firestoneapp.com/data/cards/ --recursive --acl public-read
```

Generate the card back data from the Blizzard API, eg

# Dev stuff

rm -rf dist && tsc && rm -rf dist/node_modules && npm publish --access public

rm -rf dist && tsc && rm -rf dist/node_modules && 'cp' -rf dist/ /e/Source/zerotoheroes/firestone/core/node_modules/\@firestone-hs/reference-data/