Skip to content

Commit 3168cba

Browse files
authored
release: 2.1.0 (#27)
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent c7b9690 commit 3168cba

File tree

3 files changed

+63
-5
lines changed

3 files changed

+63
-5
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
1+
## [2.1.0](https://github.com/flex-development/tsconfig-types/compare/2.0.3...2.1.0) (2023-02-05)
2+
3+
4+
### :package: Build
5+
6+
* **deps-dev:** bump @flex-development/mlly from 1.0.0-alpha.7 to 1.0.0-alpha.9 ([fc8333e](https://github.com/flex-development/tsconfig-types/commit/fc8333eaa9c8fd400bfe3b8ae0d41be26867fca1))
7+
* **deps-dev:** Bump @types/eslint from 8.4.10 to 8.21.0 ([#26](https://github.com/flex-development/tsconfig-types/issues/26)) ([55bbbc3](https://github.com/flex-development/tsconfig-types/commit/55bbbc3f8095009de096a4b7c258d09b5eefccca))
8+
* **deps-dev:** Bump @typescript-eslint/eslint-plugin from 5.49.0 to 5.50.0 ([#18](https://github.com/flex-development/tsconfig-types/issues/18)) ([ecb39a9](https://github.com/flex-development/tsconfig-types/commit/ecb39a9ae7e9b6ef30424ff5dfee26554618a820))
9+
* **deps-dev:** Bump @typescript-eslint/parser from 5.49.0 to 5.50.0 ([#19](https://github.com/flex-development/tsconfig-types/issues/19)) ([40567ae](https://github.com/flex-development/tsconfig-types/commit/40567ae6a0902e41753a13992587e6ec8a4cdad6))
10+
* **deps-dev:** Bump cspell from 6.19.2 to 6.20.1 ([#22](https://github.com/flex-development/tsconfig-types/issues/22)) ([17e98d6](https://github.com/flex-development/tsconfig-types/commit/17e98d6f20faf51bcb80ce635d5c34cab56fae8c))
11+
* **deps-dev:** Bump eslint-plugin-jsdoc from 39.7.4 to 39.7.5 ([#20](https://github.com/flex-development/tsconfig-types/issues/20)) ([c7fd57c](https://github.com/flex-development/tsconfig-types/commit/c7fd57c9eeeed13869ec50b3df3cf29e76c26574))
12+
* **deps-dev:** Bump graphql-config from 4.4.0 to 4.4.1 ([#21](https://github.com/flex-development/tsconfig-types/issues/21)) ([86c43af](https://github.com/flex-development/tsconfig-types/commit/86c43af3b21abc66e8b6a53ae62c84aca1ca8f46))
13+
* **deps-dev:** Bump typescript from 5.0.0-dev.20230129 to 5.0.0-dev.20230202 ([#24](https://github.com/flex-development/tsconfig-types/issues/24)) ([8207046](https://github.com/flex-development/tsconfig-types/commit/8207046a9af94509ee36982edefede406a0fb34f))
14+
* **deps-dev:** Bump vite from 4.0.4 to 4.1.1 ([#25](https://github.com/flex-development/tsconfig-types/issues/25)) ([dc37eb4](https://github.com/flex-development/tsconfig-types/commit/dc37eb40c24b8b33a495099a1115b28eb12a4fbb))
15+
* **deps-peer:** remove @flex-development/tutils ([070f3f3](https://github.com/flex-development/tsconfig-types/commit/070f3f31ba7c8861ecf3372f9b20170fb6a94be6))
16+
* **deps:** bump @flex-development/tutils from 6.0.0-alpha.9 to 6.0.0-alpha.10 ([a1d73d8](https://github.com/flex-development/tsconfig-types/commit/a1d73d818151f3091d66dfa9ad08d1dec5719f44))
17+
* **deps:** move @flex-development/tutils to `dependencies` ([cee546c](https://github.com/flex-development/tsconfig-types/commit/cee546c5e07f079b89159a72ddb3b4410bf1e467))
18+
19+
20+
### :robot: Continuous Integration
21+
22+
* **deps:** Bump actions/cache from 3.2.3 to 3.2.4 ([#15](https://github.com/flex-development/tsconfig-types/issues/15)) ([57ee1ab](https://github.com/flex-development/tsconfig-types/commit/57ee1ab695d16caf130a915f2dc32eb9ca955e78))
23+
* **workflows:** [`ci`] add `gitguardian` job ([c7b9690](https://github.com/flex-development/tsconfig-types/commit/c7b9690d9a827c790a98f14636ba8b8877d7d366))
24+
25+
26+
### :pencil: Documentation
27+
28+
* [related] add `tsconfig-utils` ([8fdcb8a](https://github.com/flex-development/tsconfig-types/commit/8fdcb8aae832e8b7121334b5ccb2e1a4d0352d8a))
29+
30+
31+
### :sparkles: Features
32+
33+
* **types:** `CompilerOption` ([ee674eb](https://github.com/flex-development/tsconfig-types/commit/ee674eb1b98832016aac98fe70eab60c51ca6122))
34+
35+
36+
### :bug: Fixes
37+
38+
* **pkg:** `engines.yarn` requirement ([f18ad11](https://github.com/flex-development/tsconfig-types/commit/f18ad11cd698c315ff217fb3ba30db57bfd58acb))
39+
* **pkg:** `packageManager` version ([6fae0de](https://github.com/flex-development/tsconfig-types/commit/6fae0de89e5d17c03208c26fdba705df882a0be9))
40+
41+
42+
### :white_check_mark: Testing
43+
44+
* **types:** [`CompilerOptionsValue`] fix `ProjectReference` import ([58375c0](https://github.com/flex-development/tsconfig-types/commit/58375c0a95615f6b3f4079734a7878fa29db655e))
45+
146
## [2.0.3](https://github.com/flex-development/tsconfig-types/compare/2.0.2...2.0.3) (2023-01-30)
247

348

changelog.config.ts

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ sade('changelog', true)
276276
commits: ICommit[],
277277
key: ICommit | undefined
278278
): GeneratedContext {
279-
const { gitSemverTags = [], isPatch, linkCompare, version } = context
280-
let { currentTag, previousTag } = context
279+
const { gitSemverTags = [], isPatch, linkCompare } = context
280+
let { currentTag, previousTag, version = '' } = context
281281

282282
/**
283283
* First commit in release.
@@ -293,6 +293,18 @@ sade('changelog', true)
293293
*/
294294
const last_commit: ICommit | undefined = commits.at(-1)
295295

296+
// set version
297+
if ([version, pkg.tagPrefix + version].includes(gitSemverTags[0]!)) {
298+
switch (true) {
299+
case typeof outputUnreleased === 'boolean' && outputUnreleased:
300+
case (outputUnreleased as string).trim().length > 0:
301+
version = 'unreleased'
302+
break
303+
default:
304+
break
305+
}
306+
}
307+
296308
// set current and previous tags
297309
if (key && (!currentTag || !previousTag)) {
298310
currentTag = key.version ?? undefined
@@ -304,7 +316,7 @@ sade('changelog', true)
304316
if (!previousTag) previousTag = last_commit?.hash ?? undefined
305317
}
306318
} else {
307-
currentTag = /^unreleased$/i.test(version ?? '')
319+
currentTag = /^unreleased$/i.test(version)
308320
? currentTag ??
309321
(typeof outputUnreleased === 'string' && outputUnreleased
310322
? outputUnreleased
@@ -317,7 +329,8 @@ sade('changelog', true)
317329

318330
// set release date
319331
context.date =
320-
key?.committerDate ?? dateformat(new Date(), 'yyyy-mm-dd', true)
332+
key?.committerDate ??
333+
dateformat(new Date().toLocaleDateString(), 'yyyy-mm-dd', true)
321334

322335
// determine patch release state
323336
if (version && semver.valid(version)) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@flex-development/tsconfig-types",
33
"description": "TypeScript definitions for tsconfig.json",
4-
"version": "2.0.3",
4+
"version": "2.1.0",
55
"keywords": [
66
"tsconfig",
77
"tsconfig.json",

0 commit comments

Comments
 (0)