From 402755dedc3aa396e8638c5bce07bcb17b631d2f Mon Sep 17 00:00:00 2001 From: David Zuelke Date: Fri, 22 Mar 2024 14:43:47 +0100 Subject: [PATCH] composer.json 'scripts' can be string Fixes #90 --- composer/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/composer/src/lib.rs b/composer/src/lib.rs index f5e81e4..245a463 100644 --- a/composer/src/lib.rs +++ b/composer/src/lib.rs @@ -118,6 +118,7 @@ pub struct ComposerBasePackage { pub repositories: Option>, pub require: Option>, pub require_dev: Option>, + #[serde_as(as = "Option>>")] pub scripts: Option>>, pub scripts_descriptions: Option>, pub source: Option,