From aacb7c78e36e04bd403b6830f5844e4f5d990ff2 Mon Sep 17 00:00:00 2001 From: Sergei Zharinov Date: Sun, 4 Aug 2024 15:41:44 -0300 Subject: [PATCH] fix: Revert `PipfileLock` schema export (#30) --- package.json | 2 +- src/manager/pipenv.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 0b2700c..77266c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@renovatebot/detect-tools", - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "type": "commonjs", "main": "dist/index.js", diff --git a/src/manager/pipenv.ts b/src/manager/pipenv.ts index 8f6738f..496e7e8 100644 --- a/src/manager/pipenv.ts +++ b/src/manager/pipenv.ts @@ -53,7 +53,7 @@ const PipenvConstraintObject = z .nullable() .catch(null); -export const PipfileLock = Json.pipe( +const PipfileLock = Json.pipe( z.object({ _meta: PythonConstraintObject, default: PipenvConstraintObject, @@ -75,7 +75,6 @@ export const PipfileLock = Json.pipe( pipenvDefault: null, pipenvDevelop: null, }); -export type PipfileLock = z.infer; const PipenvConstraint = z .object({