diff --git a/.changeset/chatty-garlics-call.md b/.changeset/chatty-garlics-call.md deleted file mode 100644 index 4b1c4ac..0000000 --- a/.changeset/chatty-garlics-call.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': patch ---- - -fix(parseNative): return empty result for not found to align with parse diff --git a/.changeset/fair-ads-kick.md b/.changeset/fair-ads-kick.md deleted file mode 100644 index c068914..0000000 --- a/.changeset/fair-ads-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': patch ---- - -fix(errors): cache errors instead of evicting cache value on error diff --git a/.changeset/five-geckos-wonder.md b/.changeset/five-geckos-wonder.md deleted file mode 100644 index 55e334a..0000000 --- a/.changeset/five-geckos-wonder.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': patch ---- - -fix(types): use [] for optional parameter jsdoc to ensure dts-buddy emits them as optional diff --git a/.changeset/fresh-lions-cough.md b/.changeset/fresh-lions-cough.md deleted file mode 100644 index 473e6b2..0000000 --- a/.changeset/fresh-lions-cough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking: include js extensions with allowJs: true diff --git a/.changeset/gold-singers-cheer.md b/.changeset/gold-singers-cheer.md deleted file mode 100644 index a220136..0000000 --- a/.changeset/gold-singers-cheer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(exports): remove package.json export diff --git a/.changeset/good-taxis-teach.md b/.changeset/good-taxis-teach.md deleted file mode 100644 index 9210f3b..0000000 --- a/.changeset/good-taxis-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': minor ---- - -feat(exports): export unbundled esm js diff --git a/.changeset/lazy-geckos-hide.md b/.changeset/lazy-geckos-hide.md deleted file mode 100644 index 97e6b23..0000000 --- a/.changeset/lazy-geckos-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': minor ---- - -feat(exports): export types as module declaration, including a .d.ts.map diff --git a/.changeset/mighty-dogs-argue.md b/.changeset/mighty-dogs-argue.md deleted file mode 100644 index 831cc75..0000000 --- a/.changeset/mighty-dogs-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': minor ---- - -perf(find): switch to fs.stat callback for async and increase cache usage diff --git a/.changeset/olive-readers-cover.md b/.changeset/olive-readers-cover.md deleted file mode 100644 index 2fbfbed..0000000 --- a/.changeset/olive-readers-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(parse): resolve with empty result for missing tsconfig file, remove option resolveWithEmptyIfConfigNotFound diff --git a/.changeset/perfect-dryers-smile.md b/.changeset/perfect-dryers-smile.md deleted file mode 100644 index b99e08b..0000000 --- a/.changeset/perfect-dryers-smile.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(find): rename option tsConfigPaths to tsconfigPaths to ensure consistent use of tsconfig spelling diff --git a/.changeset/pink-points-hide.md b/.changeset/pink-points-hide.md deleted file mode 100644 index 91e2af3..0000000 --- a/.changeset/pink-points-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': patch ---- - -fix(types): use import condition for types to avoid masquerading as cjs diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 888d3bc..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "mode": "pre", - "tag": "next", - "initialVersions": { - "tsconfck": "3.0.0-next.0" - }, - "changesets": [ - "chatty-garlics-call", - "fair-ads-kick", - "five-geckos-wonder", - "fresh-lions-cough", - "gold-singers-cheer", - "good-taxis-teach", - "lazy-geckos-hide", - "mighty-dogs-argue", - "olive-readers-cover", - "perfect-dryers-smile", - "pink-points-hide", - "shaggy-cows-look", - "shy-lamps-sleep", - "six-pillows-return", - "sour-gorillas-smash", - "sweet-onions-carry", - "tall-chicken-chew", - "tasty-icons-prove", - "tricky-frogs-pull", - "tricky-trees-tell", - "twelve-rings-bow", - "wise-hairs-clean", - "witty-dolls-relax" - ] -} diff --git a/.changeset/shaggy-cows-look.md b/.changeset/shaggy-cows-look.md deleted file mode 100644 index 92fca01..0000000 --- a/.changeset/shaggy-cows-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': minor ---- - -feat: add configName option to support jsconfig.json diff --git a/.changeset/shy-lamps-sleep.md b/.changeset/shy-lamps-sleep.md deleted file mode 100644 index cfd0936..0000000 --- a/.changeset/shy-lamps-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(errors): throw ENOENT from parse if input .json filename does not exist. throw custom error if exists but is no file diff --git a/.changeset/six-pillows-return.md b/.changeset/six-pillows-return.md deleted file mode 100644 index b4c348a..0000000 --- a/.changeset/six-pillows-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': minor ---- - -feat(findNative): add find options (cache, root) diff --git a/.changeset/sour-gorillas-smash.md b/.changeset/sour-gorillas-smash.md deleted file mode 100644 index 300efca..0000000 --- a/.changeset/sour-gorillas-smash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(types): remove Awaitable type and add result type generic to cache diff --git a/.changeset/sweet-onions-carry.md b/.changeset/sweet-onions-carry.md deleted file mode 100644 index 210df55..0000000 --- a/.changeset/sweet-onions-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(node): minimum supported node version is node18 diff --git a/.changeset/tall-chicken-chew.md b/.changeset/tall-chicken-chew.md deleted file mode 100644 index 506f0ea..0000000 --- a/.changeset/tall-chicken-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking: enable caching paths for multiple configNames in one TSConfckCache, changed cache.getTSConfigPath(dir) to cache.getConfigPath(dir,configName) diff --git a/.changeset/tasty-icons-prove.md b/.changeset/tasty-icons-prove.md deleted file mode 100644 index cf8c080..0000000 --- a/.changeset/tasty-icons-prove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(peerDependencies): minimum supported typescript version for parseNative and findNative is 5.0 diff --git a/.changeset/tricky-frogs-pull.md b/.changeset/tricky-frogs-pull.md deleted file mode 100644 index 0e55388..0000000 --- a/.changeset/tricky-frogs-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(exports): remove cjs export diff --git a/.changeset/tricky-trees-tell.md b/.changeset/tricky-trees-tell.md deleted file mode 100644 index 3ccb8b7..0000000 --- a/.changeset/tricky-trees-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(find): ignore tsconfig files inside node_modules diff --git a/.changeset/twelve-rings-bow.md b/.changeset/twelve-rings-bow.md deleted file mode 100644 index c015b27..0000000 --- a/.changeset/twelve-rings-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(cache): remove tsconfigPaths option from find, add cache option that lazily caches found tsconfig paths. diff --git a/.changeset/wise-hairs-clean.md b/.changeset/wise-hairs-clean.md deleted file mode 100644 index 5076fcb..0000000 --- a/.changeset/wise-hairs-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': patch ---- - -fix(find): only call then on promise in cache" diff --git a/.changeset/witty-dolls-relax.md b/.changeset/witty-dolls-relax.md deleted file mode 100644 index 9f54e5f..0000000 --- a/.changeset/witty-dolls-relax.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'tsconfck': major ---- - -breaking(find): replace scanNodeModules with ignoreNodeModules diff --git a/packages/tsconfck/CHANGELOG.md b/packages/tsconfck/CHANGELOG.md index caf4b1d..ece95ce 100644 --- a/packages/tsconfck/CHANGELOG.md +++ b/packages/tsconfck/CHANGELOG.md @@ -1,5 +1,48 @@ # tsconfck +## 3.0.0 + +### Major Changes + +- breaking(node): minimum supported node version is node18 ([#107](https://github.com/dominikg/tsconfck/pull/107)) + +- breaking(exports): remove cjs export ([#107](https://github.com/dominikg/tsconfck/pull/107)) + +- breaking(exports): remove package.json export ([#107](https://github.com/dominikg/tsconfck/pull/107)) + +- breaking(peerDependencies): minimum supported typescript version for parseNative and findNative is 5.0 ([#107](https://github.com/dominikg/tsconfck/pull/107)) + +- breaking(parse): include js extensions with allowJs: true ([#132](https://github.com/dominikg/tsconfck/pull/132)) + +- breaking(parse): resolve with empty result for missing tsconfig file, remove option resolveWithEmptyIfConfigNotFound ([#115](https://github.com/dominikg/tsconfck/pull/115)) + +- breaking(cache): Replace simple Map cache with a dedicated TSConfckCache ([#132](https://github.com/dominikg/tsconfck/pull/132)) + +- breaking(find): remove tsconfigPaths option, use cache + ignoreNodeModules instead. ([#112](https://github.com/dominikg/tsconfck/pull/112)) + +- breaking(find): add ignoreNodeModules option as a replacement for using tsconfigPaths to ignore node_modules ([#128](https://github.com/dominikg/tsconfck/pull/128)) + +- breaking(errors): throw ENOENT from parse if input .json filename does not exist. throw custom error if exists but is no file ([#121](https://github.com/dominikg/tsconfck/pull/121)) + +### Minor Changes + +- feat(exports): export unbundled esm js ([#107](https://github.com/dominikg/tsconfck/pull/107)) + +- feat(exports): export types as module declaration, including a .d.ts.map ([#107](https://github.com/dominikg/tsconfck/pull/107)) + +- perf(find): switch to fs.stat callback for async improve cache usage ([#115](https://github.com/dominikg/tsconfck/pull/115)) + +- feat(find): add configName option to support jsconfig.json ([#132](https://github.com/dominikg/tsconfck/pull/132)) + +- feat(findNative): add find options (cache, root) ([#112](https://github.com/dominikg/tsconfck/pull/112)) + +### Patch Changes + +- fix(parseNative): return empty result for not found to align with parse ([#121](https://github.com/dominikg/tsconfck/pull/121)) + +- fix(types): use import condition for types to avoid masquerading as cjs ([#130](https://github.com/dominikg/tsconfck/pull/130)) + + ## 3.0.0-next.9 ### Major Changes diff --git a/packages/tsconfck/package.json b/packages/tsconfck/package.json index 7a94a23..4f58985 100644 --- a/packages/tsconfck/package.json +++ b/packages/tsconfck/package.json @@ -1,6 +1,6 @@ { "name": "tsconfck", - "version": "3.0.0-next.9", + "version": "3.0.0", "description": "A utility to work with tsconfig.json without typescript", "license": "MIT", "author": "dominikg",