Commit Graph

56 Commits

Author SHA1 Message Date
Zoltan Kochan
0d88df854f chore: update all dependencies to latest versions (#11032)
* chore: update all dependencies to latest versions

Update all outdated dependencies across the monorepo catalog and fix
breaking changes from major version bumps.

Notable updates:
- ESLint 9 → 10 (fix custom rule API, disable new no-useless-assignment)
- @stylistic/eslint-plugin 4 → 5 (auto-fixed indent changes)
- @cyclonedx/cyclonedx-library 9 → 10 (adapt to removed SPDX API)
- esbuild 0.25 → 0.27
- TypeScript 5.9.2 → 5.9.3
- Various @types packages, test utilities, and build tools

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: update unified/remark/mdast imports for v11/v4 API changes

Update imports in get-release-text for the new ESM named exports:
- mdast-util-to-string: default → { toString }
- unified: default → { unified }

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: resolve typecheck errors from dependency updates

- isexe v4: use named import { sync } instead of default export
- remark-parse/remark-stringify v11: add vfile as packageExtension
  dependency so TypeScript can resolve type declarations
- get-release-text: remove unused @ts-expect-error directives

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: revert runtime dependency major version bumps

Revert major version bumps for runtime dependencies that are bundled
into pnpm to fix test failures where pnpm add silently fails:
- bin-links: keep ^5.0.0 (was ^6.0.0)
- cli-truncate: keep ^4.0.0 (was ^5.2.0)
- delay: keep ^6.0.0 (was ^7.0.0)
- filenamify: keep ^6.0.0 (was ^7.0.1)
- find-up: keep ^7.0.0 (was ^8.0.0)
- isexe: keep 2.0.0 (was 4.0.0)
- normalize-newline: keep 4.1.0 (was 5.0.0)
- p-queue: keep ^8.1.0 (was ^9.1.0)
- ps-list: keep ^8.1.1 (was ^9.0.0)
- string-length: keep ^6.0.0 (was ^7.0.1)
- symlink-dir: keep ^7.0.0 (was ^9.0.0)
- terminal-link: keep ^4.0.0 (was ^5.0.0)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: restore runtime dependency major version bumps

Re-apply all runtime dependency major version bumps that were
previously reverted. All packages maintain their default exports
except isexe v4 which needs named imports.

Updated runtime deps:
- bin-links: ^5.0.0 → ^6.0.0
- cli-truncate: ^4.0.0 → ^5.2.0
- delay: ^6.0.0 → ^7.0.0
- filenamify: ^6.0.0 → ^7.0.1
- find-up: ^7.0.0 → ^8.0.0
- isexe: 2.0.0 → 4.0.0 (fix: use named import { sync })
- normalize-newline: 4.1.0 → 5.0.0
- p-queue: ^8.1.0 → ^9.1.0
- ps-list: ^8.1.1 → ^9.0.0
- string-length: ^6.0.0 → ^7.0.1
- symlink-dir: ^7.0.0 → ^9.0.0
- terminal-link: ^4.0.0 → ^5.0.0

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: revert tempy to 3.0.0 to fix bundle hang

tempy 3.2.0 pulls in temp-dir 3.0.0 which uses async fs.realpath()
inside its module init. When bundled by esbuild into the __esm lazy
init pattern, this causes a deadlock during module initialization,
making the pnpm binary hang silently on startup.

Keeping tempy at 3.0.0 which uses temp-dir 2.x (sync fs.realpathSync).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* docs: add comment explaining why tempy cannot be upgraded

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: revert nock to 13.3.4 for node-fetch compatibility

nock 14 changed its HTTP interception mechanism in a way that doesn't
properly intercept node-fetch requests, causing audit tests to hang
waiting for responses that are never intercepted.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* docs: add comment explaining why nock cannot be upgraded

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: update symlink-dir imports for v10 ESM named exports

symlink-dir v10 removed the default export and switched to named
exports: { symlinkDir, symlinkDirSync }.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: revert @typescript/native-preview to working version

Newer tsgo dev builds (>= 20260318) have a regression where
@types/node cannot be resolved, breaking all node built-in types.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: vulnerabilities

* fix: align comment indentation in runLifecycleHook

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: pin msgpackr to 1.11.8 for TypeScript 5.9 compatibility

msgpackr 1.11.9 has broken type definitions that use Iterable/Iterator
without required type arguments, causing compile errors with TS 5.9.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 23:28:53 +01:00
Zoltan Kochan
5d5818e44f style: enforce node: protocol for builtin imports (#10951)
Add n/prefer-node-protocol rule and autofix all bare builtin imports
to use the node: prefix. Simplify the simple-import-sort builtins
pattern to just ^node: since all imports now use the prefix.
2026-03-13 07:59:51 +01:00
Zoltan Kochan
1c8c4e49f5 style: add eslint-plugin-simple-import-sort (#10947)
Add eslint-plugin-simple-import-sort to enforce consistent import ordering:
- Node.js builtins first
- External packages second
- Relative imports last
- Named imports sorted alphabetically within each statement
2026-03-13 02:02:38 +01:00
Zoltan Kochan
e91ced5c88 docs: update sponsors 2026-03-03 17:34:17 +01:00
Zoltan Kochan
f2a6d0684b docs: update sponsors 2026-02-10 21:22:23 +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
7e2910e70f chore(release): 11.0.0-alpha.0 2025-11-13 15:44:27 +01:00
Zoltan Kochan
df6d546e13 chore: fix repository URLs in package.json files of utils 2025-11-10 00:58:29 +01:00
Zoltan Kochan
491a84fb26 feat: use ESM instead of commonjs (#9870) 2025-08-25 10:02:00 +02:00
Zoltan Kochan
dfea901cbf chore: use catalogs only in dependencies (#9868) 2025-08-15 17:59:00 +02:00
Zoltan Kochan
ea2d2ea6b2 docs: update sponsors 2025-07-18 00:30:58 +02:00
Zoltan Kochan
6489c871f4 docs: update sponsors 2025-06-08 13:19:30 +02:00
Zoltan Kochan
81a90dae51 docs: update sponsor logo 2025-03-09 13:18:29 +01:00
Zoltan Kochan
cd8caece25 docs: update sponsors 2025-03-03 02:01:45 +01:00
Zoltan Kochan
e03cd44ccb docs: update sponsors 2025-02-06 01:07:32 +01:00
Zoltan Kochan
cf9a8562eb docs: add new sponsor 2024-12-27 12:35:50 +01:00
Zoltan Kochan
5c48047e12 docs: add sponsors 2024-12-17 02:41:54 +01:00
Zoltan Kochan
d1a47eeb42 docs: only show gold and platinum sponsors on the release page 2024-11-15 12:36:42 +01:00
Zoltan Kochan
5967839796 docs: add new sponsors 2024-11-14 22:59:11 +01:00
k-utsumi
2dd8f25df5 docs: improve the image tags (#8721)
* ️ Add alternate text to logo

Selecting the logo image enables us to copy the alt text.

* ♻️ Remove logo link

ref: https://stackoverflow.com/a/73422089

* 🐛 Fix invisible logo

* 🐛 Fix invisible Route4Me logo

Changed to the same format as the Vite logo.

* ️ Add alternate text to images

* ♻️ Standardize {,pnpm/}README

* ♻️ Standardize get-release-text.ts sponsors

* ♻️ Standardize get-release-text.ts heading

* ♻️ Remove h1
2024-11-03 12:45:51 +01:00
Zoltan Kochan
eed2cf95df docs: add vite to sponsors 2024-10-15 01:36:48 +02:00
Zoltan Kochan
add93c4b5e docs: add new sponsor 2024-10-02 01:28:49 +02:00
Zoltan Kochan
a987579876 docs: add sponsor 2024-09-15 23:34:09 +02:00
Zoltan Kochan
973e884581 docs: remove sponsor 2024-09-13 15:17:29 +02:00
Zoltan Kochan
417af7763c docs: update sponsors 2024-08-13 01:40:56 +02:00
Zoltan Kochan
0ccdca2167 docs: fix jetbrains logo size 2024-06-09 22:18:49 +02:00
Brandon Cheng
5de89d81a6 chore: remove top-level composite property from tsconfig.json files (#8130)
* chore: remove no-op composite property

* chore: remove top-level composite property from existing files
2024-05-28 02:37:40 +02:00
Khải
d21464e790 refactor(utils): return type annotations (#7924) 2024-04-14 11:29:54 +02:00
Zoltan Kochan
b1f3308e57 docs: add new sponsor 2024-03-26 21:30:06 +01:00
Zoltan Kochan
d491da0c08 docs: add cerbos to sponsors 2024-03-19 00:13:29 +01:00
Zoltan Kochan
7d2bde1083 docs: add new sponsor 2024-03-08 01:12:10 +01:00
Zoltan Kochan
8249a23bca docs: remove sponsor 2024-02-16 13:39:03 +01:00
Zoltan Kochan
04f6233d2d docs: add new platinum sponsor 2024-01-20 00:24:16 +01:00
Zoltan Kochan
7cbfde36a0 docs: add JetBrains to sponsors 2023-12-20 22:49:15 +01:00
Zoltan Kochan
862b37ac53 docs: add Nx to sponsors 2023-12-05 10:16:57 +01:00
Zoltan Kochan
f2e9c3baaf docs: fix macpaw logo 2023-11-13 18:33:12 +02:00
Zoltan Kochan
91596ee782 docs: add Discord to the list of Gold Sponsors 2023-11-01 20:46:29 +02:00
Zoltan Kochan
1c4e7817b3 docs: add new sponsor 2023-10-13 16:12:19 +03:00
Zoltan Kochan
8605ffa120 docs: fix utm_medium in release sponsor link 2023-10-10 02:26:48 +03:00
Zoltan Kochan
ef37a37566 docs: add new sponsor 2023-10-09 23:49:06 +03:00
Zoltan Kochan
b0df222db0 docs: return silver sponsnor that was removed by mistake 2023-10-02 12:02:12 +03:00
Zoltan Kochan
a30334f2f4 docs: we have less sponsors 2023-09-27 03:41:24 +03:00
Zoltan Kochan
9d4c16876f docs: update sponsors list
This reverts commit a246e38031.
2023-07-19 15:19:55 +03:00
Zoltan Kochan
29a2a69806 docs: update flightcontrol logo 2023-06-07 20:02:00 +03:00
Zoltan Kochan
a246e38031 docs: update sponsors list 2023-06-05 14:25:28 +03:00
Zoltan Kochan
1e1033ad27 docs: add devowl to sponsors 2023-04-20 02:06:01 +03:00
Zoltan Kochan
25f5199002 docs: add new sponsor 2023-04-18 03:00:26 +03:00
Zoltan Kochan
73f21b6873 docs: add moonrepo to sponsors 2023-03-31 04:31:39 +03:00
Zoltan Kochan
962c2b78b9 docs: remove doppler from sponsors 2023-03-07 01:26:45 +02:00
Zoltan Kochan
6b1172ff00 docs: remove nhost and takeshape from sponsors 2023-01-31 22:38:34 +02:00