Publish helper libraries to npm or jsr

Created on 13 March 2024, 6 months ago

Problem/Motivation

Publish packages (a2p.js, hyperscriptify, utils.js) to npm or jsr and use those in the demo apps instead of having separate /lib with the same files across all three demo apps.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

JSX Theme Engine

Created by

πŸ‡ΊπŸ‡ΈUnited States hooroomoo

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @hooroomoo
  • πŸ‡ΊπŸ‡ΈUnited States effulgentsia

    Good idea. I think the ones we should publish are the ones in https://github.com/orgs/drupal-jsx/repositories, which are scoped. I'm curious if a github repo is published to JSR, if it automatically stays up to date with pushes to the github repo. That would make it more convenient than figuring out how to get the right workflow for automatically publishing updates to npm, though with as many people using npm as there are, maybe there's already a well documented way to setup the github repos to do this?

    Even before those are published to npm/jsr, they can be installed via their GitHub URIs (e.g., `npm install github:drupal-jsx/hyperscriptify`). There might be some divergence between the packages in the `drupal-jsx` repositories and what's in the Umami demo apps that would be good to reconcile at some point.

Production build 0.71.5 2024