You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I just bootstrapped a new custom field plug-in. When running pnpm build the task fails, because @storyblok/field-plugin/test could not be found.
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Run pnpm dlx @storyblok/field-plugin-cli@latest create with options pnpm and vue3.
Run pnpm build
The build task crashes with:
src/components/FieldPluginExample/index.spec.ts:4:34 - error TS2307: Cannot find module '@storyblok/field-plugin/test' or its corresponding type declarations.
Expected behavior
Bootstrapping an empty custom field works as described in the documentation.
Screenshots
I first discovered the problem after following the guide regarding Continuous Delivery:
After doing some debugging I realized that I do not get auto-completion for the test-helpers package at all:
There is also no test folder in the distribution release:
Desktop (please complete the following information):
Thanks a lot @BibiSebi! I am glad I could help debugging and the issue was "simply" a missed release.
And thanks a lot for explaining the two ways on how to make the build process work, that's a service ;)
The build is working perfectly now, hence I'm closing this issue.
Describe the bug
I just bootstrapped a new custom field plug-in. When running
pnpm build
the task fails, because@storyblok/field-plugin/test
could not be found.A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
pnpm dlx @storyblok/field-plugin-cli@latest create
with options pnpm and vue3.pnpm build
Expected behavior
Bootstrapping an empty custom field works as described in the documentation.
Screenshots
![image](https://private-user-images.githubusercontent.com/6529243/301456131-8a86498d-9e97-4645-83e0-ed472059d729.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI2Njc3NjksIm5iZiI6MTcyMjY2NzQ2OSwicGF0aCI6Ii82NTI5MjQzLzMwMTQ1NjEzMS04YTg2NDk4ZC05ZTk3LTQ2NDUtODNlMC1lZDQ3MjA1OWQ3MjkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0h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ZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.kGRyiPEolKW5B-suiB3Mg7LWWVE9IdEaKH2_sES9s94)
![image](https://private-user-images.githubusercontent.com/6529243/301457924-89202385-2757-4412-9d5b-126ea8026d0a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI2Njc3NjksIm5iZiI6MTcyMjY2NzQ2OSwicGF0aCI6Ii82NTI5MjQzLzMwMTQ1NzkyNC04OTIwMjM4NS0yNzU3LTQ0MTItOWQ1Yi0xMjZlYTgwMjZkMGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgwMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MDNUMDY0NDI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDdkYzUzZjcwN2I5NmE4YTE1N2Y3OGRmMmIzZWQyOWEzZWIyZmY4NGJiYzExZTZiZGNkZjE4MTBlNmFhNDUxMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.PGQZpj-FlI2CQiUPNaOc2FKG-NENWhNFLiVxqXQRSic)
I first discovered the problem after following the guide regarding Continuous Delivery:
After doing some debugging I realized that I do not get auto-completion for the
test
-helpers package at all:There is also no
test
folder in the distribution release:Desktop (please complete the following information):
Additional context
I did a bit of debugging into
field-plugin/packages/field-plugin/helpers/build.config.ts
Lines 27 to 36 in 1e8889e
test
-package and the others?The text was updated successfully, but these errors were encountered: