Commit Graph

56 Commits

Author SHA1 Message Date
Michael Kriese b4362ffe1a build: allow es2025 lib (#42612) 2026-05-09 07:13:04 +00:00
Sergei Zharinov 2b0e80b884 feat!: Switch to ESM modules (#40756) 2026-01-29 14:21:41 +00:00
Michael Kriese dcdd1c3bce feat!: require node v24 (#40675) 2026-01-29 11:47:11 +00:00
Sergei Zharinov c07814ca4d refactor: Remove decorators for ESM compatibility (#40736)
* refactor: Migrate to decorator alternatives

* refactor: Remove decorators

* Fixes

* build: Remove decorator support from build pipeline

* fix: Remove extra brace in cdnjs getDigest cache key
2026-01-28 13:22:53 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Sergei Zharinov 98d0b0f9ef build: Switch to tsdown for .d.ts generation (#40696)
fix: Switch to tsdown for dts generation
2026-01-26 17:24:48 +00:00
Sergei Zharinov 42103c5de4 build: Switch to rolldown (#40686)
* base: pile foundation

* chore: Switch to rolldown build

* fix: Address review comments

* Apply suggestions from code review

---------

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-01-26 15:09:36 +00:00
Sergei Zharinov cc08ce00a3 refactor(config): enable incremental TypeScript builds (#40184)
* refactor(config): enable incremental TypeScript builds

Enable TypeScript incremental compilation to dramatically improve
type-check performance for local development.

Performance improvements:
- Cold cache: 1:44 → 1:05 (~40% faster)
- Warm cache: 1:44 → ~9s (~10x faster)
- After file change: 1:44 → ~12s (~8x faster)

The build info is stored in `.cache/tsbuildinfo` which is already
gitignored. IDE/LSP is unaffected as tsserver maintains its own
in-memory project graph.

* chore(ci): cache tsbuildinfo for faster type-check

Add cache restore/save for the TypeScript incremental build info
to speed up type-check in CI. Cache is keyed by pnpm-lock.yaml hash
and saved on push events.

* Update .github/workflows/build.yml

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>

* fix(ci): align tsbuildinfo cache keys with eslint/prettier pattern

Use `run_id`/`run_attempt` for save key uniqueness instead of `github.sha`
to match the existing cache key patterns used for eslint and prettier.

---------

Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2025-12-29 18:42:59 +00:00
Sergei Zharinov 4b8803d60f chore(build): exclude nested node_modules from tsconfig (#40179)
fix(build): exclude nested node_modules from tsconfig

Change `node_modules` to `**/node_modules` in tsconfig.json exclude
to properly exclude nested node_modules directories (e.g., test/e2e/node_modules).

This fixes ESLint hanging indefinitely when using type-checked linting,
as the TypeScript project service was scanning 26,000+ files in
test/e2e/node_modules (300MB).
2025-12-28 17:00:35 +00:00
Jamie Tanna df302e68a4 ci: auto-lock discussions and auto-close after 30 days (#39311)
As noted in #39212, it would be useful to prevent "bumping" of old
Discussions.

Because `lock-threads` does not have the ability to perform the closing
itself[0], we can write a small `github-script` compatible script.

This will loop through all answered but open Discussions, and close them
(if it's been 30 days since they were answered).

We also make sure that `lock-threads` will then lock the Discussions
once they're closed.

Closes #39212.

[0]: https://github.com/dessant/lock-threads/issues/45

Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io>
2025-11-17 17:19:48 +00:00
Jamie Tanna 02ef6c87bf build: ignore Git worktrees from build/test tooling (#38238) 2025-09-26 08:58:03 +00:00
Michael Kriese f479c33974 chore: cleanup (#36447) 2025-06-11 07:44:48 +00:00
Michael Kriese 1174198e84 chore: replace eslint import plugin (#36312) 2025-06-04 15:34:05 +00:00
Michael Kriese 3f0f6a04b6 build: compile with nodenext target (still cjs) (#34584) 2025-03-04 07:37:06 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
renovate[bot] 55845508b6 chore(deps): update eslint monorepo to v9 (major) (#33573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-20 11:31:13 +00:00
Michael Kriese 407829e288 chore: drop swc, we don't use it (#34337) 2025-02-20 08:32:27 +00:00
Rhys Arkins 4017a4a68c fix(build): revert recent pnpmjs changes (#34330) 2025-02-20 08:26:26 +01:00
Michael Kriese 59cef82010 chore: drop swc, we don't use it (#34285) 2025-02-18 11:45:26 +00:00
renovate[bot] 141d22cb44 chore(deps): update dependency typescript to v5.6.2 (#31429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-09-19 08:38:06 +00:00
Michael Kriese edf3c793dc refactor(yaml): drop unused argument (#30804) 2024-08-15 13:42:53 +00:00
Michael Kriese 17eacd2779 build: allow es2023 (#30292) 2024-07-22 11:07:59 +00:00
RahulGautamSingh 2dfc542183 chore: enabled json imports (#30223) 2024-07-17 18:33:36 +00:00
Michael Kriese bf88709958 chore: disable swc (#30082) 2024-07-08 08:02:08 +00:00
Sergei Zharinov 4c99ab0499 feat: Use swc for running scripts (#23080) 2023-07-01 21:29:10 +00:00
Michael Kriese 2958a44242 chore: simplify ts-node calls (#22401) 2023-05-24 09:31:48 +00:00
renovate[bot] fd133c1d8b chore(deps): update dependency typescript to v5 (#21011)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2023-04-01 05:07:52 +00:00
Jamie Magee 3390c34c6d chore(tsconfig): target es2022 (#20880) 2023-03-12 05:51:10 +00:00
renovate[bot] 582f77371c chore(deps): update jest monorepo (#17737)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-12 16:58:52 +02:00
Michael Kriese e5c6f38d75 refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Michael Kriese 982cefff2b refactor(config): strict null checks (#15291)
* refactor(config): strict null checks

* chore: fix test
2022-04-24 22:48:54 +00:00
Michael Kriese e3e286bd01 build: simplify and strict tools (#14154)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-02-11 07:51:51 +00:00
Jamie Magee 3b7e9a17cb refactor: set importsNotUsedAsValues to error (#14052) 2022-02-07 06:37:17 +00:00
Michael Kriese 12a7b9b13d chore: update eslint config (#13237)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 13:31:14 +00:00
Michael Kriese 521851a83b build: add isolatedModules for typescript (#13228) 2021-12-22 08:43:26 +01:00
Michael Kriese 7c4a71b679 feat!: remove node v12 and node v15 support (#12658)
BREAKING CHANGE: remove node v12 and v15 support
2021-12-09 13:44:42 +01:00
Michael Kriese f405350105 test: fix regression (#12347) 2021-10-27 08:22:02 +02:00
renovate[bot] f1c9490722 chore(deps): update dependency typescript to v4.4.2 (#11555)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-09-03 10:19:46 +00:00
Jamie Magee a6f4e99e27 refactor: no implicit override (#11395)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-08-23 20:50:37 +00:00
Jamie Magee 52b63e4163 feat(cache): cache decorator for automatic caching (#10203) 2021-06-07 16:28:05 +00:00
Michael Kriese 48bfb1c182 test: fix memory leak (#10162) 2021-05-26 10:47:05 +02:00
Michael Kriese 74d7691bef refactor: optimize type usage (#8947) 2021-03-02 21:44:55 +01:00
Michael Kriese 6474dd49e5 chore: lint fixes (#7018)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-08-19 06:46:00 +02:00
Michael Kriese a1d648fc97 chore(ci): jest github annotations (#5845) 2020-04-02 06:01:31 +02:00
Michael Kriese ae3d71387e feat(internal): generate dynamic datasource imports (#5500) 2020-03-24 07:17:59 +01:00
Michael Kriese 4bcdd18515 feat: move docker images to node v12 (#5548) 2020-03-06 09:31:47 +01:00
Michael Kriese 1dd4414bae chore(test): fixes jest oom (#5542) 2020-02-21 19:29:55 +01:00
Michael Kriese 8719f70dea chore(eslint): simplify / update settings (#5296) 2020-02-04 10:37:00 +01:00
Michael Kriese d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Jamie Magee f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00