kachkaev / tooling-for-how-old-is-this-house

Tooling for adding new cities to https://how-old-is-this.house/en
BSD 3-Clause "New" or "Revised" License
43 stars 6 forks source link

Stop supporting legacy command paths #24

Closed kachkaev closed 2 years ago

kachkaev commented 2 years ago

To be merged in Spring 2022

Old style:

yarn exe src/commands/doSomething.ts

New style (introduced on 2021-12-28 via c2ea9e4a48bfab6f8966f5fd3b7470b4ce48c00b, e59d99f4482adcf6144c17695d19e900203a84ea, dee1dcbb36cfae7f391bd5544e312c69e6b3019e, 96934834e3507601dadd0b46ede3ac9b62c0c715 and 09e4b7d63ec9cecd90186697b13d11da824fa728):

yarn exe src/scripts/do-something.ts
kachkaev commented 2 years ago

An even newer script style (April 2022):

yarn exe src/scripts/do-something.ts
# ↓
yarn exe scripts/do-something.ts

See https://github.com/kachkaev/tooling-for-how-old-is-this-house/commit/0cee2421f8a9319b2f55ffa9799fc6ea80047121 and https://github.com/kachkaev/tooling-for-how-old-is-this-house/commit/3b41bbf6a4af1a68e1d26f53b9c54a8d707bdaf5.