mavdotjs
mavdotjs
DDeno
Created by mavdotjs on 7/7/2024 in #help
Workspace option inconsistency?
I don't know if I'm just missing something but my local computer (latest version of deno) and my github action can't seem to agree on if the config option for making a workspace is workspace or workspaces. when the option is workspaces: deno publish: recognizes the folder as a workspace, attempts to publish all packages npx jsr publish: detects workspaces, but ignores it ("The "workspaces" field was ignored. Use "workspace" instead."), attempts to find name, version and exports when the option is workspace: deno publish: doesn't even detect workspace, just goes straight to checking name, version and exports npx jsr publish: recognizes the folder as a workspace, attempts to publish all packages
8 replies
DDeno
Created by mavdotjs on 5/26/2024 in #help
[SOLVED] Unable to publish to JSR via gh action
I am using wasm to build a package, and I am using esbuild to compile the wasm & js into one js file, and I have added a .d.ts file to type the exported functions. when I run deno publish locally, it publishes just fine, yet in my github action, it claims there are slow types and gives "error[missing-explicit-return-type]: missing explicit return type in the public API" error, it only gives me this error for the funcitons I have declared in the .d.ts file.
7 replies