Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nonara/ts-patch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.0
Choose a base ref
...
head repository: nonara/ts-patch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.1
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Dec 6, 2023

  1. fix: parseAllJsDoc breaking with < ts 5.3

    samchon authored Dec 6, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    d21e02e View commit details
  2. chore(release): 3.1.1

    nonara committed Dec 6, 2023
    Copy the full SHA
    272d16a View commit details
Showing with 10 additions and 2 deletions.
  1. +7 −0 CHANGELOG.md
  2. +1 −1 package.json
  3. +2 −1 projects/patch/src/ts/create-program.ts
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [3.1.1](https://github.com/nonara/ts-patch/compare/v3.1.0...v3.1.1) (2023-12-06)


### Bug Fixes

* parseAllJsDoc breaking with < ts 5.3 ([d21e02e](https://github.com/nonara/ts-patch/commit/d21e02ef6401f04301972f8f107799b8c287275b))

## [3.1.0](https://github.com/nonara/ts-patch/compare/v3.0.2...v3.1.0) (2023-12-05)


2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ts-patch",
"version": "3.1.0",
"version": "3.1.1",
"description": "Patch typescript to support custom transformers in tsconfig.json",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
3 changes: 2 additions & 1 deletion projects/patch/src/ts/create-program.ts
Original file line number Diff line number Diff line change
@@ -92,7 +92,8 @@ namespace tsp {
const plugins = preparePluginsFromCompilerOptions(options.plugins);
const pluginCreator = new PluginCreator(plugins, { resolveBaseDir: projectConfig.projectDir ?? process.cwd() });

if (tsp.currentLibrary === 'tsc' && pluginCreator.needsTscJsDocParsing) {
/* Handle JSDoc parsing in v5.3+ */
if (tsp.currentLibrary === 'tsc' && tsShim.JSDocParsingMode && pluginCreator.needsTscJsDocParsing) {
host!.jsDocParsingMode = tsShim.JSDocParsingMode.ParseAll;
}