vc dev
fails to compile the function cause it's unable to resolve workspace dependencies:
vc build
reports type errors for dependencies that have declaration statements in them. For example the .openapi()
function on the zod schemas aren't recognized as valid, even though they're added by @asteasolutions/zod-to-openapi
(dependency of @hono/zod-openapi
):
vc build
outputs .js
files with cjs
format, even though the package.json#type
is set to module
. This causes ReferenceError: exports is not defined
when the function is invoked:
vc build
output references to files that doesn't exist? In the .vc-config.json
file there's a reference to packages/validators/node_modules/@hono/zod-openapi
but that doesn't exist in the built output: