Andrew Bradley

Results 542 comments of Andrew Bradley
trafficstars

I described how to implement this on yargs' issue tracker a couple years ago: https://github.com/yargs/yargs/issues/1290 PowerShell has built-in JSON serialization & parsing, so interop is easy: PowerShell sends you JSON,...

@christianacca Can I tweak your template to use a helper function and reduce duplication? I think this also allows specifying a module-local `$ErrorActionPreference` that applies to everything that happens within...

I have an updated version that uses some careful variable manipulation and the dot operator to "do the right thing" and avoid the pitfalls described above. I'll share it when...

I am hitting the same issue. I want to use markdown-toc to generate a TOC for a markdown file that will live in a Github README. We have links in...

Ok, I think the require-then-import approach could be used to keep bootstrap sync if wanted to preserve backwards-compat, and then a new bootstrapAsync could be added which supports ESM plugins....

I've accomplished this by shipping a single, non-transpiled JS file. It shouldn't require allowJs. I put in it `exports.importHelper = function(specifier) {return import(specifier)}` and then use it wherever I need...

I think the Action should be fully automatic while still allowing the user to customize. In that spirit, here are my personal opinions: * it should respect the version of...

I think it's still important to offer a fully automatic option for users who want batteries included in the language's ecosystem. For those users, choosing what it looks like and...

What if, in the first-pass prototype of this GH Action, entrypoint is the only required config option? Is that an acceptable approach to move forward with the idea, and then...

First seems easiest since it's a one-to-one between the Action option and the typedoc CLI flag.