From f17f28dcc1e4309ab8d5b1e13f4334f6d1e16251 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 20 Feb 2024 17:50:55 +0100 Subject: [PATCH] add repo directory field to package.json --- .changeset/calm-meals-smile.md | 5 +++++ src/PackageContext.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/calm-meals-smile.md diff --git a/.changeset/calm-meals-smile.md b/.changeset/calm-meals-smile.md new file mode 100644 index 0000000..8355abb --- /dev/null +++ b/.changeset/calm-meals-smile.md @@ -0,0 +1,5 @@ +--- +"@effect/build-utils": patch +--- + +add directory field to package.json diff --git a/src/PackageContext.ts b/src/PackageContext.ts index bf9bbb7..5c7916e 100644 --- a/src/PackageContext.ts +++ b/src/PackageContext.ts @@ -57,6 +57,7 @@ export class PackageJson extends Schema.Class()({ Schema.struct({ type: Schema.string, url: Schema.string, + directory: Schema.optional(Schema.string), }), ), dependencies: Schema.optional(Schema.record(Schema.string, Schema.string)),