Skip to content

Fix hello world, use inlined files instead of strings#1614

Merged
kubukoz merged 2 commits intodisneystreaming:series/0.18from
keynmol:hello-world-fixes
Oct 23, 2024
Merged

Fix hello world, use inlined files instead of strings#1614
kubukoz merged 2 commits intodisneystreaming:series/0.18from
keynmol:hello-world-fixes

Conversation

@keynmol
Copy link
Contributor

@keynmol keynmol commented Oct 23, 2024

The snippet on the landing page isn't actually valid Smithy because it used 2.0 features without specifying version, and because it doesn't have a namespace.

With these changes I can simply run the CLI on it.

Additionally, removed the multiline strings which were weird to edit, and instead used webpack's raw-loader to use actual files. Page looks the same

CleanShot 2024-10-23 at 09 50 46@2x

@kubukoz kubukoz merged commit ae8ce3d into disneystreaming:series/0.18 Oct 23, 2024
@keynmol keynmol deleted the hello-world-fixes branch October 23, 2024 17:44
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, looks like we shouldn't have added this. It slipped under my radar (now Yarn complains that there's a package-lock whereas there should only be a yarn lockfile)

@kubukoz kubukoz mentioned this pull request Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants