Tommy

Results 22 issues of Tommy

I develop on Windows and couldn't properly use the build scripts since they were set up for bash. Hopefully this helps someone else trying to use this as well.

I'm trying to build a verbal expression to match common math operators: ```js new VerEx().anyOf(["+", "-", "*", "/", "^"]) ``` However, arranging the characters in this order yields the error:...

Closes #703. I've only added it when using the default renderer with the output bar. Currently, setting `task.output` to an empty string clears the output: ```js task.output = '' ```...

### Support Request Can a task clear its own output? It can be controlled ahead of time via the `persistentOutput` option, but I want to clear the output if some...

Similar to #659, `NonEmptyTuple` is a convenient type to expose: https://github.com/sindresorhus/type-fest/blob/f63c3437bc483e7532698d14548494802c04f372/source/internal.d.ts#L90-L93 We could augment it to accept a generic type argument: ```ts type NonEmptyTuple = readonly [TupleType, ...TupleType[]]; ``` ##...

help wanted
type addition

Closes #88. Currently just a scaffold for a new prerequisite task. Related: https://github.com/sindresorhus/read-pkg/issues/28 Some questions: - What happens if the old version defined a Node version, but the new one...

Per https://github.com/sindresorhus/np/pull/683#issuecomment-1493433966, this is a reminder issue: https://github.com/listr2/listr2

enhancement
help wanted

Until https://github.com/avajs/ava/discussions/3213#discussioncomment-6587118 lands, testing on Node.js 20 with a custom loader requires a workaround for `AVA`. I felt that adding a test script was easier than using something like `cross-env`...

### Bug description My project has separate `tsconfig.json` files for source and test files. When setting up the `paths` compiler option, my IntelliSense correctly provides type information for imports, but...

enhancement
tsconfig

If a `package.json` has already been parsed, it doesn't make sense to then have `pkg-ok` do it again: ```ts // Override function pkgOk(pkg: PackageJson, { fields = [], bin =...