stackblitz / tutorialkit

TutorialKit by StackBlitz - Create interactive tutorials powered by the WebContainer API
https://tutorialkit.dev
MIT License
504 stars 48 forks source link

fix(astro): published package missing `@tutorialkit/astro/types` #347

Closed AriPerkkio closed 1 month ago

AriPerkkio commented 1 month ago

The @tutorialkit/astro package is not packing types.d.ts in the package.

https://github.com/stackblitz/tutorialkit/blob/67042efba00dbfa738d2eeff06e3104b4292a486/packages/astro/package.json#L16-L18

Generated projects are attempting to use this:

https://github.com/stackblitz/tutorialkit/blob/67042efba00dbfa738d2eeff06e3104b4292a486/packages/template/src/env.d.ts#L1-L3

This also blocks type info when using tutorialkit:store in tutorials.

stackblitz[bot] commented 1 month ago

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

AriPerkkio commented 1 month ago

/pkg-pr-new

AriPerkkio commented 1 month ago

⚡️ Your npm packages are published.

@tutorialkit/astro: npm i https://pkg.pr.new/@tutorialkit/astro@67042ef @tutorialkit/react: npm i https://pkg.pr.new/@tutorialkit/react@67042ef @tutorialkit/runtime: npm i https://pkg.pr.new/@tutorialkit/runtime@67042ef @tutorialkit/theme: npm i https://pkg.pr.new/@tutorialkit/theme@67042ef @tutorialkit/types: npm i https://pkg.pr.new/@tutorialkit/types@67042ef