Commit Graph

1419 Commits

Author SHA1 Message Date
Zoltan Kochan
c83044e2db chore: update pnpm to v11 alpha 10 2026-02-23 16:50:12 +01:00
Zoltan Kochan
6e14ecbc91 chore: use standalone pnpm and bump packageManager to 11.0.0-alpha.10
Switch CI workflows to use standalone pnpm installation and update
the packageManager field to match the latest alpha release.
2026-02-23 16:32:02 +01:00
Zoltan Kochan
44d1f0b226 fix(link-bins): hardlink node.exe on Windows instead of creating a cmd-shim (#10679)
Third-party cmd shims (e.g., npm's rimraf.cmd) call node.exe from
within IF/ELSE blocks in batch files. When node resolves to node.cmd
instead of node.exe, Windows batch file chaining breaks with
"The system cannot find the path specified."

On Windows, hardlink node.exe directly into the bin directory.
On non-Windows, symlink the node binary directly.
2026-02-23 16:23:00 +01:00
Zoltan Kochan
dfd5fe7387 chore: use standalone pnpm and bump packageManager to 11.0.0-alpha.9
Switch CI workflows to use standalone pnpm installation and update
the packageManager field to match the latest alpha release.
2026-02-23 14:32:38 +01:00
Zoltan Kochan
1b435ff3db revert: "chore: use standalone pnpm and bump packageManager to 11.0.0-alpha.8"
This reverts commit db80d17401.
2026-02-23 13:21:14 +01:00
Zoltan Kochan
db80d17401 chore: use standalone pnpm and bump packageManager to 11.0.0-alpha.8
Switch CI workflows to use standalone pnpm installation and update
the packageManager field to match the latest alpha release.
2026-02-23 04:28:41 +01:00
Zoltan Kochan
1549743b36 revert: "chore: use standalone pnpm and bump packageManager to 11.0.0-alpha.7"
This reverts commit fd739d41fe.
2026-02-23 00:02:09 +01:00
Zoltan Kochan
fd739d41fe chore: use standalone pnpm and bump packageManager to 11.0.0-alpha.7
Switch CI workflows to use standalone pnpm installation and update
the packageManager field to match the latest alpha release.
2026-02-22 23:36:05 +01:00
Zoltan Kochan
6598867040 ci: run all tests if pnpm-workspace.yaml changes (#10659) 2026-02-20 14:15:36 +01:00
Zoltan Kochan
98d4485145 test: fix running tests on branch 2026-02-20 13:19:56 +01:00
Zoltan Kochan
ede26ac773 chore: update pnpm to v11 alpha 5 2026-02-17 14:55:43 +01:00
Zoltan Kochan
d8f3fe0ccf ci: downgrade pnpm to v11 alpha 3 2026-02-17 13:41:30 +01:00
Zoltan Kochan
9cdc94794c chore: update pnpm to v11 alpha 4 2026-02-17 13:19:22 +01:00
Brandon Cheng
5ff0e16864 build: rework bundled dist/node_modules (#10508)
* build: bundle `dist/node_modules` using pnpm deploy

* chore: remove copied `pnpm.overrides` for publish-packed

* chore: remove `catalog:` protocol ban in `pnpm/package.json`

* chore: remove `publish-packed` dependency

* build: move `node-gyp` from `optionalDependencies` to `dependencies`

The `node-gyp` dependency is bundled into the `pnpm` package before it's
published. The dependency declaration itself is then removed from the
published package manifest.

This means there's not a point to declaring `node-gyp` as an optional
dependency. It'll always be bundled and the published manifest doesn't
contain the dependency declaration.

https://github.com/pnpm/pnpm/pull/10508#discussion_r2782257620

* build: throw if peerDependencies or optionalDependencies are declared

* build: use meta-updater instead of Jest test for dep kind check
2026-02-14 22:36:27 +01:00
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