I'm not going through this one... I've done it in the past... the fact is that at least half of the answers are innacurate, misleading or outright wrong.
Not sure on the new syntax... if this isn't adopted by TS, it's unlikely to see the light of day in JS at this point... also, unsure if there's a babel implementation with this syntax either... Decorators have been in development hell since before ES6/ES2015 was finalized.
So, I'm creating a SQL Server versioned project. We have targets using Windows, Linux and are moving to a containerized environment for testing. SQL projects in Visual Studio can only be built in Windows and we've had some troubles with version conflicts (several customers and internal deployments and growing). So moving to a number list of version scripts... we need a way to run it with all of the above environments.
I created the above module to better support those use cases for script deploys. The export scrips (baseline) from the sql project will only really run via sqlcmd, not to mention issues with UTF8/16le, and windows uses -v for variables and linux uses environment variables... this handles all of those use cases.
About a week of very heavy work with thorough test coverage (about 5 files, mostly small/simple utilities are excluded). There's also a set of integration tests that will create a docker container, and populate it with both a local sqlcmd (if available) and the sqlcmd inside the sql server container instance.
I would only suggest one change in the article, and advice to anyone using this... always have a separate action item on screen for this. A copy button, next to the text, or if a textarea an overlay or above or below.
Having the copy action on a click trigger will be unexpected behavior. Click on the text should probably do a `.select()` of the entire field though, but not copy to clipboard. A separate action should be doing that.
edited the title to match the Repo Description...
Some of the hooks may well be very useful, I've seen quite a few. I'm not the downvote, but the clickbait tile was probably the reason.