Skip to content

Commit f3826c2

Browse files
shwetank-devclaude
andcommitted
chore(sdk): fix prettier formatting in cache.ts, index.ts, cache.test.ts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ac3a99a commit f3826c2

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

packages/sdk-typescript/src/cache.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ import type {
1111
import { CacheMetadataSchema, McpbManifestSchema } from '@nimblebrain/mpak-schemas';
1212
import { MpakClient } from './client.js';
1313
import { MpakCacheCorruptedError } from './errors.js';
14-
import { dirSizeBytes, extractZip, isSemverEqual, readJsonFromFile, UPDATE_CHECK_TTL_MS } from './helpers.js';
14+
import {
15+
dirSizeBytes,
16+
extractZip,
17+
isSemverEqual,
18+
readJsonFromFile,
19+
UPDATE_CHECK_TTL_MS,
20+
} from './helpers.js';
1521

1622
export type UpdateCheckResult =
1723
| { status: 'up-to-date' }

packages/sdk-typescript/src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ export type {
3030
export { MpakConfigManager } from './config-manager.js';
3131
export type { MpakConfigManagerOptions, PackageConfig } from './config-manager.js';
3232
export { MpakBundleCache } from './cache.js';
33-
export type { CacheInfo, LocalCacheEntry, MpakBundleCacheOptions, RegistryCacheEntry, UpdateCheckResult } from './cache.js';
33+
export type {
34+
CacheInfo,
35+
LocalCacheEntry,
36+
MpakBundleCacheOptions,
37+
RegistryCacheEntry,
38+
UpdateCheckResult,
39+
} from './cache.js';
3440
export { MpakClient } from './client.js';
3541
export type { MpakClientConfig, ServerSearchParams } from './types.js';
3642

packages/sdk-typescript/tests/cache.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,9 @@ describe('MpakBundleCache', () => {
394394
},
395395
});
396396

397-
expect((await cache.checkForUpdate('@scope/name', { force: true })).status).toBe('up-to-date');
397+
expect((await cache.checkForUpdate('@scope/name', { force: true })).status).toBe(
398+
'up-to-date',
399+
);
398400
});
399401

400402
it('updates lastCheckedAt after successful check', async () => {

0 commit comments

Comments
 (0)