BlastLauncher / blast

An experimental runtime for Raycast launcher compatible extensions
MIT License
40 stars 3 forks source link

Package & publish todo example to package registry for testing #5

Closed Yukaii closed 1 year ago

Yukaii commented 1 year ago
Yukaii commented 1 year ago

Modify raycast build output's package.json with:

- "name": "todo-list",
+ "name": "@BlastLauncher/todo-list",
+ "repository": "https://github.com/BlastLauncher/extensions-registry.git",

With new npmrc config:

@BlastLauncher:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=xxxxxxx
Yukaii commented 1 year ago

And the package is now available at https://github.com/BlastLauncher/extensions-registry/pkgs/npm/todo-list

I'll stop here and start working on extension marketplace.

Yukaii commented 1 year ago

To publish package changes from mirror of raycast/extensions repo:

  1. For new extensions, just run publish
  2. For updated extension, fetch latest version and bump minor version and publish it
  3. If package name has changed, remove the old version and publish the new one.