ts-patch icon indicating copy to clipboard operation
ts-patch copied to clipboard

Augment the TypeScript compiler to support extended functionality

Results 26 ts-patch issues
Sort by recently updated
recently updated
newest added

Constantly getting error `[!] [BackupError]: Error backing up tsc.js - Couldn't create backup directory. EROFS: read-only filesystem, mkdir '/node_modules/typescript/lib-backup'`. Trying with version 2.0.1

question

ts-patch: ![image](https://user-images.githubusercontent.com/886059/173177997-cbabc944-9141-4a62-bcf2-11a23413ac24.png) ttypescript: ![image](https://user-images.githubusercontent.com/886059/173178001-4a6d3315-80a2-463f-8fcf-7b29595b071e.png) Unfortunately, ttypescript appears to be unmaintained and broken with `declarationMap: true`, but I'm very loath to bring in 35 dependencies to replace 1. Is there any...

I'm using `ts-patch` in a monorepo with `rushjs` and `pnpm`. When installing multiple projects (=multiple `package.json` files) at once, the `prepare` script calling `ts-patch install -s` in each of the...

Feature Request

When installing ts-patch with Yarn 2 (pnp) I get errors regarding undeclared dependencies for `glob` and `resolve`: `Error: ts-patch tried to access glob, but it isn't declared in its dependencies;...

question

It is not currently possible to import a transformer that is written a standard ES module. Only transformers written as CommonJS modules work currently. Node has supported standard ES modules...

Feature Request

When using `webpack` with `ts-loader` and `ts-patch` - diagnostics produced by transformer plugin is not utilised, the result - compilation is not failing even with reported diagnostics with severity ERROR....

Fixes https://github.com/nonara/ts-patch/issues/139

I'm using [tsx](https://www.npmjs.com/package/tsx), a ts-node alternative for running `.ts` files with Node. Is there a some way to run ts-patch projects with tsx?

In the [readme](https://www.npmjs.com/package/ts-patch#source-transformers), it says `(program: ts.Program, config: PluginConfig, extras: TransformerExtras) => ts.TransformerFactory` which is read as `ts.TransformerFactory` but that's wrong imho because the type param / shouldn't be `any`...

We ran into an issue with ts-node + ts-patch where large projects or projects that use hmr fail to compile. ``` RangeError: Maximum call stack size exceeded at console.log (node:internal/console/constructor:378:6)...