From 2bfa23a00660426cc15552f78d25dd0fdb05d4b4 Mon Sep 17 00:00:00 2001 From: "cian.z" Date: Fri, 11 Sep 2026 16:51:15 +0800 Subject: [PATCH] fix: correct test fixtures for @octokit/rest and @octokit/core Remove incorrect `main` and `module` fields from test fixtures that don't exist in the actual npm packages. Both packages are ESM-only with only `type: "module"` and `exports` fields. Fixes #128 --- .../node-modules-tools/test/fixtures/package-json-snapshots.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/node-modules-tools/test/fixtures/package-json-snapshots.ts b/packages/node-modules-tools/test/fixtures/package-json-snapshots.ts index 512508f..d510505 100644 --- a/packages/node-modules-tools/test/fixtures/package-json-snapshots.ts +++ b/packages/node-modules-tools/test/fixtures/package-json-snapshots.ts @@ -85,7 +85,6 @@ export const packageJsonSnapshots = { name: '@octokit/core', version: '7.0.5', type: 'module', - main: './dist-src/index.js', types: './dist-types/index.d.ts', exports: { '.': { @@ -177,8 +176,6 @@ export const packageJsonSnapshots = { name: '@octokit/rest', version: '22.0.1', type: 'module', - main: './dist-src/index.js', - module: './dist-src/index.js', types: './dist-types/index.d.ts', exports: { '.': {