Commit Graph

1405 Commits

Author SHA1 Message Date
Brandon Cheng
1a5b5beea2 build: replace ts-jest with simple transformer (#10579)
* test: use `import type` in more places

Several tests are failing because a module isn't being mocked. This is
due to the mocked module being imported before the mock being set up.

Switching to `import type` should elide the import fully.

* build: replace ts-jest with simple transformer

* chore: remove `ts-jest`

* chore: remove babel dependencies from root project

* ci: use Node.js 22.13.0 (instead of 22.12.0)

Node.js 22.13.0 introduces the `stripTypeScriptTypes` function

* fix: copilot feedback
2026-02-09 11:35:22 +01:00
Zoltan Kochan
57e99b6996 chore: update pnpm-lock.yaml (#10558)
---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-06 03:28:39 +01:00
Zoltan Kochan
e3b35b6f37 style: update eslint to v9 (#10474) 2026-01-17 12:01:23 +01:00
Zoltan Kochan
02c8ec50cb docs: add AI agent guides (#10469) 2026-01-16 16:31:31 +01:00
Zoltan Kochan
a00f9e515c chore: use typescript-go (#10452) 2026-01-14 01:18:13 +01:00
Zoltan Kochan
aef6c318a9 ci: compile pnpm only once then download it for testing (#10453) 2026-01-13 23:34:37 +01:00
Zoltan Kochan
268742acce chore: fix compile 2026-01-13 18:28:13 +01:00
Zoltan Kochan
5c4d1793f8 chore: update pnpm to v11 alpha 3 2026-01-13 16:24:38 +01:00
Brandon Cheng
6f806be0ae chore: enable TypeScript's erasableSyntaxOnly config (#10365)
* chore: configure `erasableSyntaxOnly`

* refactor: remove class property access modifiers in constructor

```
../dedupe/check/src/DedupeCheckIssuesError.ts:5:16 - error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.

5   constructor (public dedupeCheckIssues: DedupeCheckIssues) {
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

../reviewing/dependencies-hierarchy/src/getTree.ts:243:24 - error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.

243   private constructor (private readonly keypath: readonly string[]) {}
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

* chore: migrate from enum types

```
../pkg-manager/plugin-commands-installation/src/import/index.ts:66:6 - error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.

66 enum YarnLockType {
        ~~~~~~~~~~~~

../lockfile/detect-dep-types/src/index.ts:5:13 - error TS1294: This syntax is not allowed when 'erasableSyntaxOnly' is enabled.

5 export enum DepType {
              ~~~~~~~
```

* chore: add changelog

* chore: remove `ts-node` dev dependency (#10371)

* chore: remove `ts-node` dev dependency

* chore: remove `ts-node` usages from `package.json` scripts
2025-12-27 11:23:49 +01:00
Zoltan Kochan
a8b8579bbe chore: update pnpm to v11 alpha 2 2025-12-15 15:23:29 +01:00
Zoltan Kochan
2f4d0111ec revert: "chore: use the current version of node.js for bundling compiling"
This reverts commit 460fb6943b.
2025-12-14 17:51:26 +01:00
Zoltan Kochan
460fb6943b chore: use the current version of node.js for bundling compiling 2025-12-14 17:32:46 +01:00
Zoltan Kochan
c7dd46580e chore: update pnpm to v11 2025-11-20 15:25:06 +01:00
Zoltan Kochan
7e2910e70f chore(release): 11.0.0-alpha.0 2025-11-13 15:44:27 +01:00
Zoltan Kochan
575528e09d chore: update pnpm 2025-11-12 15:04:15 +01:00
Zoltan Kochan
2d8c6307f5 ci: run all tests on the main branch 2025-10-28 22:03:11 +01:00
Zoltan Kochan
66d7a9af0c Merge remote-tracking branch 'origin/main' into v11 2025-10-28 17:24:42 +01:00
Zoltan Kochan
eb4cb0f9e2 chore: update pnpm and minimum release age policy 2025-10-27 11:18:46 +01:00
Zoltan Kochan
cb0c5b94c6 Merge remote-tracking branch 'origin/main' into v11 2025-09-19 14:31:36 +02:00
Zoltan Kochan
fc911657c4 chore: set minimumReleaseAge to 7 days 2025-09-14 01:10:06 +02:00
Zoltan Kochan
46a65def8e Merge remote-tracking branch 'origin/main' into v11 2025-08-29 13:30:11 +02:00
Zoltan Kochan
a594932312 fix: update dependencies 2025-08-28 20:01:31 +02:00
Zoltan Kochan
3df6702bcb fix: update load-json-file, write-json-file, write-pkg 2025-08-28 11:37:38 +02:00
btea
dc5ce6b0fd chore: remove unused catalog pkg (#9909)
---------

Co-authored-by: Zoltan Kochan <z@kochan.io>
2025-08-27 11:54:54 +02:00
Zoltan Kochan
491a84fb26 feat: use ESM instead of commonjs (#9870) 2025-08-25 10:02:00 +02:00
Zoltan Kochan
51bc234712 Merge branch 'main' into v11 2025-08-19 15:29:18 +02:00
btea
a1a7755798 chore: remove --quiet from pnpm lint in test-main and test-branch scripts (#9873) 2025-08-19 14:50:52 +02:00
Zoltan Kochan
c36d4fe6c0 Merge branch 'main' into v11 2025-08-15 18:27:06 +02:00
Zoltan Kochan
ba5f447c83 chore: update registry-mock to v5 2025-08-15 18:20:55 +02:00
Zoltan Kochan
60badc5ca6 ci: change main branch name to v11 2025-08-15 16:12:29 +02:00
Zoltan Kochan
0748be2424 chore: move all dependencies to catalogs 2025-08-15 13:52:24 +02:00
Zoltan Kochan
af2b391278 fix: vulnerabilities 2025-08-06 22:49:21 +02:00
Zoltan Kochan
acf1eabe1a chore: update pnpm to v10.14 2025-07-31 15:49:48 +02:00
liweijie0812
13526e0fef ci(test-branch): git fetch only fetch origin main branch (#9621) 2025-06-10 14:20:30 +02:00
Zoltan Kochan
55a5ca7918 chore: update pnpm and enable global virtual store 2025-06-08 16:24:52 +02:00
Zoltan Kochan
aeb7bc0c3c chore: revert pnpm update 2025-06-08 16:11:54 +02:00
Zoltan Kochan
fe2811e559 chore(release): 10.12.1 2025-06-08 16:03:50 +02:00
Zoltan Kochan
5df0a3ba23 chore: update pnpm to v10.11 2025-05-13 16:45:58 +02:00
Zoltan Kochan
be6a9cc5d9 chore: update pnpm 2025-04-25 16:32:17 +02:00
Zoltan Kochan
1e7349d330 chore: update pnpm to v10.6.5 2025-03-23 13:02:31 +01:00
Zoltan Kochan
4e857ff1b3 revert: "chore: update pnpm to v10.6.4"
This reverts commit 929f8a6139.
2025-03-18 01:40:28 +01:00
Zoltan Kochan
929f8a6139 chore: update pnpm to v10.6.4 2025-03-17 16:08:41 +01:00
Zoltan Kochan
0c5e0ae4a1 chore: update dependencies 2025-03-13 03:07:45 +01:00
Zoltan Kochan
221fe80b94 chore: update pnpm to v10.6.2 2025-03-10 03:52:11 +01:00
Zoltan Kochan
62407a99e3 chore: move settings to pnpm-workspace.yaml 2025-03-06 13:18:07 +01:00
btea
c74bf7d040 chore: add eslint to catalog (#9219) 2025-03-06 10:52:53 +01:00
btea
adb236f1a1 refactor: improve regexp (#9203) 2025-03-02 13:17:09 +01:00
Zoltan Kochan
5e78da2d57 style: order the keys in package.json files 2025-03-01 21:45:13 +01:00
Zoltan Kochan
f394713610 chore: use resolution-mode=lowest-direct 2025-03-01 14:34:00 +01:00
Zoltan Kochan
716c4b727d fix: update rename-overwrite to v6.0.2 2025-02-27 17:51:13 +01:00