Skip to content

Commit df87f55

Browse files
ci(changesets): version packages (#441)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d31398f commit df87f55

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

.changeset/brave-tigers-erase.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

packages/typescript-configs/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @workleap/typescript-configs
22

3+
## 5.0.0
4+
5+
### Major Changes
6+
7+
- [#440](https://github.com/workleap/wl-web-configs/pull/440) [`d31398f`](https://github.com/workleap/wl-web-configs/commit/d31398f9f902a300ec26f640298c319ad184dc81) Thanks [@patricklafrance](https://github.com/patricklafrance)! - Enable `erasableSyntaxOnly` in the core TypeScript config.
8+
9+
TypeScript syntax that compiles to runtime code is now a type error: `enum`, constructor parameter properties, value `namespace`s, and `import =` aliases. This keeps the codebase compatible with type-stripping runtimes (Node `--experimental-strip-types`) and erasure-only toolchains.
10+
11+
This is a breaking change for consumers using any of those constructs — replace `enum`s with `as const` object literals and constructor parameter properties with explicit field assignments, or set `"erasableSyntaxOnly": false` in your own `tsconfig.json` to opt out.
12+
313
## 4.0.2
414

515
### Patch Changes

packages/typescript-configs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "@workleap/typescript-configs",
44
"author": "Workleap",
55
"description": "Workleap recommended typescript configurations.",
6-
"version": "4.0.2",
6+
"version": "5.0.0",
77
"license": "Apache-2.0",
88
"repository": {
99
"type": "git",

0 commit comments

Comments
 (0)