Modernize meteor tools #12073
Replies: 2 comments
-
@afrokick It's a great initiative. We will do our best to review it and help everyone in the process. Thank you 🙌🏻 |
Beta Was this translation helpful? Give feedback.
-
I've actually spoken to @zodern about this before and he said one it's one of the first things he'd like to do in order to lay the groundwork for more serious changes later on.
So please go ahead, you've already been doing great work to https://github.com/monti-apm/monti-apm-agent and with the blessings of Meteor team (@henriquealbert) it's a clear path for you 👍 |
Beta Was this translation helpful? Give feedback.
-
Meteor as a build tool is a great software, but it should be modernise to simplify and reduce amount of code.
Because we use NodeJS 14.x under the hood, we can use things from ES2018+ like object rest/spread, for-await-of loops, flat/flatMap etc.
Thanks to TypeScript, we can make the tools' codebase more safety with types and interfaces. (There were PRs already merged)
As a format tool, Prettier already configured.
So, the plan can be:
apply format rules to all codebase in
tools
remove unused code (like Refactoring/Remove unused imports from
tools
folder #12072)remove
underscore
remove extensions from path in imports
convert
require
toimport
exports.X = ...
toexport { X };
@denihs @henriquealbert @fredmaiaarantes Any thoughts? Do you have a time to review such PRs?
Beta Was this translation helpful? Give feedback.
All reactions