From 1296824aa154edd2587ca7112bfcae10a666eadd Mon Sep 17 00:00:00 2001 From: vilicvane Date: Sun, 15 Oct 2023 02:02:55 +0800 Subject: [PATCH] Default to root package type --- general/src/composables/package.json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/general/src/composables/package.json.ts b/general/src/composables/package.json.ts index 7644d97..802106e 100644 --- a/general/src/composables/package.json.ts +++ b/general/src/composables/package.json.ts @@ -165,7 +165,7 @@ export default composable( ...common, name: packageOptions.name, version: '0.0.0', - type: packageOptions.type, + type: packageOptions.type ?? type, }; }, JSON_OPTIONS,