interledger / web-monetization-projects

Coil projects that use Web Monetization. Primarily Coil's browser extension and related WM polyfills.
web-monetization-projects-coilhq.vercel.app
Apache License 2.0
81 stars 17 forks source link

Setup CI held job to publish `web-monetization-types` to npm #1960

Closed sidvishnoi closed 3 years ago

sidvishnoi commented 3 years ago

I would be nice if WebMonetization projects outside this repo could make use of types from https://github.com/coilhq/web-monetization-projects/blob/main/packages/web-monetization-types/src/index.ts.

(And maybe leave the extension of Document to end-users)

sublimator commented 3 years ago

Hey, sorry @sidvishnoi Missed this! Will look into it. You can look at these https://github.com/dacioromero/types-wm that @dacioromero maintains/publishes to check if they are suitable if/when you run out of patience here :)

sidvishnoi commented 3 years ago

Nice! Though, would be nicer if types get released from here as they will be in sync with the latest WM API. Nothing urgent, but good to have :)

sublimator commented 3 years ago

@traviscrist We would need to register the the webmonetization namespace on npm huh?

sharafian commented 3 years ago

created a webmonetization org on npm; if we set up CI to do publishing I can generate keys for it