Skip to content

Commit 041b9b0

Browse files
committed
Revert external zod - bundle into vendor.js instead
1 parent 43ac07e commit 041b9b0

File tree

5 files changed

+2
-10
lines changed

5 files changed

+2
-10
lines changed

.config/rollup.base.config.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ export default function baseConfig(extendConfig = {}) {
154154
if (
155155
id.includes('/external/') &&
156156
!id.endsWith('/external/ink-table.mjs') &&
157-
!id.endsWith('/external/yoga-layout.mjs') &&
158-
!id.endsWith('/external/zod.mjs')
157+
!id.endsWith('/external/yoga-layout.mjs')
159158
) {
160159
return true
161160
}

.config/rollup.dist.config.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,6 @@ export default async () => {
352352
[SHADOW_PNPM_BIN]: `${srcPath}/shadow/pnpm/bin.mts`,
353353
'external/ink-table': `${srcPath}/external/ink-table.mjs`,
354354
'external/yoga-layout': `${srcPath}/external/yoga-layout.mjs`,
355-
'external/zod': `${srcPath}/external/zod.mjs`,
356355
...(constants.ENV[INLINED_SOCKET_CLI_SENTRY_BUILD]
357356
? {
358357
[INSTRUMENT_WITH_SENTRY]: `${srcPath}/${INSTRUMENT_WITH_SENTRY}.mts`,

src/commands/patch/manifest-schema.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** @fileoverview Patch manifest schema for Socket CLI. Defines Zod validation schemas for patch manifest format including patch records with package specifiers, file hashes, and patch file locations. */
22

3-
import { z } from '../../external/zod.mjs'
3+
import { z } from 'zod'
44

55
export type PatchManifest = z.infer<typeof PatchManifestSchema>
66

src/external/zod.d.mts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/external/zod.mjs

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)