From 14c1c078e36842bf2e8a643b0a633ff2f4a293a8 Mon Sep 17 00:00:00 2001 From: tgould-stack Date: Tue, 17 Jun 2025 10:18:13 -0600 Subject: [PATCH 1/4] update exports --- plugins/official/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/official/index.ts b/plugins/official/index.ts index 1be39162..b4156b37 100644 --- a/plugins/official/index.ts +++ b/plugins/official/index.ts @@ -1 +1,3 @@ export { stackSnippetPlugin } from "./stack-snippets/src/stackSnippetPlugin"; +export { StackSnippetOptions } from "./stack-snippets/src/common"; +export { SnippetMetadata } from "./stack-snippets/src/common"; From a523a9abc4732edc6073b4ca9cec3887b551e8d4 Mon Sep 17 00:00:00 2001 From: Troy Gould Date: Tue, 24 Jun 2025 09:37:13 -0600 Subject: [PATCH 2/4] Update plugins/official/index.ts Co-authored-by: Giamir Buoncristiani --- plugins/official/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/official/index.ts b/plugins/official/index.ts index b4156b37..0213ee19 100644 --- a/plugins/official/index.ts +++ b/plugins/official/index.ts @@ -1,3 +1,2 @@ export { stackSnippetPlugin } from "./stack-snippets/src/stackSnippetPlugin"; -export { StackSnippetOptions } from "./stack-snippets/src/common"; -export { SnippetMetadata } from "./stack-snippets/src/common"; +export type { StackSnippetOptions, SnippetMetadata } from "./stack-snippets/src/common"; From 8a42c8a4339ac8a810252e4668addbc2e8743dc3 Mon Sep 17 00:00:00 2001 From: tgould-stack Date: Tue, 24 Jun 2025 09:40:27 -0600 Subject: [PATCH 3/4] adding changeset --- .changeset/lemon-glasses-cheat.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/lemon-glasses-cheat.md diff --git a/.changeset/lemon-glasses-cheat.md b/.changeset/lemon-glasses-cheat.md new file mode 100644 index 00000000..327ec285 --- /dev/null +++ b/.changeset/lemon-glasses-cheat.md @@ -0,0 +1,5 @@ +--- +"@stackoverflow/stacks-editor": patch +--- + +Exporting options used by the StacksSnippets plugin for user. From 7b2dba6a836274824a5899bbeaa7a9f9de3c9a4b Mon Sep 17 00:00:00 2001 From: tgould-stack Date: Tue, 24 Jun 2025 09:44:32 -0600 Subject: [PATCH 4/4] npm format --- plugins/official/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/official/index.ts b/plugins/official/index.ts index 0213ee19..9366ee6e 100644 --- a/plugins/official/index.ts +++ b/plugins/official/index.ts @@ -1,2 +1,5 @@ export { stackSnippetPlugin } from "./stack-snippets/src/stackSnippetPlugin"; -export type { StackSnippetOptions, SnippetMetadata } from "./stack-snippets/src/common"; +export type { + StackSnippetOptions, + SnippetMetadata, +} from "./stack-snippets/src/common";