Skip to content

Conversation

@pxrl
Copy link
Collaborator

@pxrl pxrl commented Jan 13, 2026

ts-node is slow to run. These scripts should be available in dist, so just run the native Javascript instances to save time.

ts-node is slow to run. These scripts should be available in dist, so
just run the native Javascript instances to save time.
Comment on lines 88 to 89
"update-addresses": "yarn ts-node ./scripts/fetch-addresses.ts",
"update-inventory-config": "yarn ts-node ./scripts/fetchInventoryConfig.ts",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OOC, why not move these 2 as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to, but when I tested it I realised that we run these before build, so we can't rely on the .js outputs to be available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants