From c86d201f757f6e149e166a77051269d30ab427a8 Mon Sep 17 00:00:00 2001 From: Blake Wilson Date: Tue, 12 Mar 2024 09:13:11 -0500 Subject: [PATCH 1/2] Do not require plugins in Faust Config --- packages/faustwp-core/src/config/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/faustwp-core/src/config/index.ts b/packages/faustwp-core/src/config/index.ts index d97e9230c..cdc8a36d7 100644 --- a/packages/faustwp-core/src/config/index.ts +++ b/packages/faustwp-core/src/config/index.ts @@ -11,8 +11,11 @@ export interface FaustConfig { templates: { [key: string]: WordPressTemplate }; experimentalToolbar?: boolean; loginPagePath?: string; - experimentalPlugins: FaustPlugin[]; - plugins: FaustPlugin[]; + /** + * @deprecated Plugins are no longer experimental, use "plugins" instead. + */ + experimentalPlugins?: FaustPlugin[]; + plugins?: FaustPlugin[]; possibleTypes: PossibleTypesMap; basePath?: string; /** From 6a99899a4453da0104ecabaff958ebb347b0a565 Mon Sep 17 00:00:00 2001 From: Blake Wilson Date: Tue, 12 Mar 2024 09:58:23 -0500 Subject: [PATCH 2/2] Create changeset --- .changeset/hungry-yaks-push.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/hungry-yaks-push.md diff --git a/.changeset/hungry-yaks-push.md b/.changeset/hungry-yaks-push.md new file mode 100644 index 000000000..769286464 --- /dev/null +++ b/.changeset/hungry-yaks-push.md @@ -0,0 +1,5 @@ +--- +'@faustwp/core': patch +--- + +Fixed: FaustConfig no longer requires `plugins` or `experimentalPlugins` properties