From c3700f59a85c730d76202e536edd899aff91d399 Mon Sep 17 00:00:00 2001 From: Leo Conforti Date: Sun, 7 Apr 2024 04:02:14 +0000 Subject: [PATCH] update effect build-utils patch --- patches/@effect__build-utils@0.7.6.patch | 35 ++++++++++++++++++------ pnpm-lock.yaml | 6 ++-- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/patches/@effect__build-utils@0.7.6.patch b/patches/@effect__build-utils@0.7.6.patch index 5e2fd5c9..3c7ac20d 100644 --- a/patches/@effect__build-utils@0.7.6.patch +++ b/patches/@effect__build-utils@0.7.6.patch @@ -1,20 +1,37 @@ diff --git a/main.js b/main.js -index f478f2e32337e478c7cf92c78ad4e1e2a2881f11..a17b4a55b37ea5134530196335773ccd5b4fe5c2 100755 +index f478f2e32337e478c7cf92c78ad4e1e2a2881f11..4fac849420a499fae147ff97b658cd625c1945e1 100755 --- a/main.js +++ b/main.js -@@ -29896,7 +29896,10 @@ var _PackageJson = class _PackageJson extends Class2()({ +@@ -29895,9 +29895,18 @@ var _PackageJson = class _PackageJson extends Class2()({ + version: string5, description: string5, private: optional(boolean2, { default: () => false }), - publishConfig: optional(struct6({ +- publishConfig: optional(struct6({ - provenance: optional(boolean2, { default: () => false }) -+ provenance: optional(boolean2, { default: () => false }), -+ executableFiles: optional(array6(string5), { -+ default: () => [], -+ }), - })), +- })), ++ publishConfig: optional( ++ struct6({ ++ provenance: optional(boolean2, { default: () => false }), ++ executableFiles: optional(array6(string5), { ++ default: () => [], ++ }), ++ }) ++ ), ++ homepage: optional(string5), ++ keywords: optional(array6(string5)), ++ bugs: optional(record2(string5, string5)), ++ engines: optional(record2(string5, string5)), license: string5, author: optional(string5), -@@ -30133,6 +30136,15 @@ var run11 = gen2(function* (_) { + repository: union12( +@@ -30130,9 +30139,22 @@ var run11 = gen2(function* (_) { + addOptional("gitHead"); + addOptional("bin"); + addOptional("bin"); ++ addOptional("keywords"); ++ addOptional("homepage"); ++ addOptional("bugs"); ++ addOptional("engines"); if (ctx.packageJson.publishConfig?.provenance === true) { out.publishConfig = { provenance: true }; } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index da5a8c21..6ca76565 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,7 +6,7 @@ settings: patchedDependencies: '@effect/build-utils@0.7.6': - hash: gten7waxrvyrskmmrqkd52uamu + hash: whl4uh3kr7re23fvpdziecduvq path: patches/@effect__build-utils@0.7.6.patch dependencies: @@ -35,7 +35,7 @@ devDependencies: version: 7.24.1(@babel/core@7.24.4) '@effect/build-utils': specifier: 0.7.6 - version: 0.7.6(patch_hash=gten7waxrvyrskmmrqkd52uamu) + version: 0.7.6(patch_hash=whl4uh3kr7re23fvpdziecduvq) '@effect/docgen': specifier: 0.4.0 version: 0.4.0(tsx@4.7.2)(typescript@5.4.4) @@ -397,7 +397,7 @@ packages: resolution: {integrity: sha512-rPwwm/RrFIolz6xHa8Kzpshuwpe+xu/XcEw9iUmRF2tnyIwxxaW7XoFKaQ+GfPju81cKpH4vJeq7/2IizKvyjg==} dev: true - /@effect/build-utils@0.7.6(patch_hash=gten7waxrvyrskmmrqkd52uamu): + /@effect/build-utils@0.7.6(patch_hash=whl4uh3kr7re23fvpdziecduvq): resolution: {integrity: sha512-VAqZhs4t54FD6Y47/LB9LI/qvNhbj6MhsycM4BY5M2oln8SCZsKGHBV8cmvlYHXmrx1+YWn7tvlgGidWP8K6+A==} engines: {node: '>=16.17.1'} hasBin: true