Closed ycs77 closed 2 months ago
The extension bundles @tutorialkit/types
. This means that we need to re-publish it every time we make changes to @tutorialkit/types
.
So this should start working once we publish new version of extension.
There is now new version of the extension published that fixes this issue.
Describe the bug
Before adding a new i18n property
defaultPreviewTitleText
in #255, but now the warningProperty defaultPreviewTitleText is not allowed
remains in the VSCode.Link to a StackBlitz project which shows the error
No response
Steps to reproduce
src/content/tutorial/meta.md
Property defaultPreviewTitleText is not allowed
when the mouse hoveringdefaultPreviewTitleText
Expected behavior
No show the
Property defaultPreviewTitleText is not allowed
warning.Screenshots
Platform
Additional context
The i18n contentSchema is in the
@tutorialkit/types
package:https://github.com/stackblitz/tutorialkit/blob/5c1de69c0e4e233a25a2f9b70fbb1f6c93f12356/packages/types/src/schemas/i18n.ts#L109-L114
And this is code of load the
contentSchema
in the vscode extension:https://github.com/stackblitz/tutorialkit/blob/5c1de69c0e4e233a25a2f9b70fbb1f6c93f12356/extensions/vscode/scripts/load-schema-worker.mjs#L2-L5
https://github.com/stackblitz/tutorialkit/blob/5c1de69c0e4e233a25a2f9b70fbb1f6c93f12356/extensions/vscode/scripts/build.mjs#L61-L71
So if rebuilding the vscode extension can this warning be resolved?