manztM
Deno3y ago
9 replies
manzt

Publishing (and configuring) the webhook for deno.land from monorepo

Thanks in advance for your help!

I went through the setup on https://deno.com/add_module for my jupyter project anywidget (https://github.com/manzt/anywidget/pull/311) to support module for deno jupyter. Anywidget is a monorepo of a Python package and associated front-end JavaScript modules. I have github actions setup to make a separate tagged release for each sub-package, and would like to similarly support the deno module I created for interfacing with these front-end modules.

- Is it possible to configure a different sub-path within the repo? (I'm not sure I did this correct, or may want to move mod.ts)
- I'm not sure how the deno mod.ts will get published for other tagged releases of different packages. Is is possible to publish this separately?

I'd ideally like to keep these all in the same repo, but understand if that is not possible. In that case, is it possible to transfer anywidget from deno.land (which I grabbed) to a separate repo?
Deno
Register a module with the third party registry.
Third Party Modules | Deno
GitHub
This is a rough way to include imports, which could be a general preamble instead.
import { widget } from "./mod.ts";

let model = await widget({
// shared model between frontend and ...
accept imports in deno anywidget by rgbkrk · Pull Request #311 · ma...
Was this page helpful?