ucfopen / Materia

Engage students with easily embedded apps for online courses. Supercharge your course with compelling experiences and game mechanics.
https://ucfopen.github.io/Materia-Docs/
GNU Affero General Public License v3.0
36 stars 34 forks source link

Adds widget dependencies package #1440

Closed clpetersonucf closed 1 year ago

clpetersonucf commented 1 year ago

This is an attempt to resolve the co-dependency issue with the widget dev kit requiring certain assets from Materia itself in order to run widgets in situ. Since the assets are no longer housed in an independent repo (previously Materia-Server-Client-Assets), it made sense to create a node package that's published from within Materia itself.

The materia-widget-dependencies-package is housed in public/dist, a previously untracked directory where webpack is currently configured to emit compiled assets. Nothing in public/dist is tracked with the exception of the new package.json and accompanying README. There are no dependencies specific to MWDP, it merely contains a manifest of previously compiled JS and CSS assets for use in the dev kit. To publish the package, a new GitHub action is included to make use of workflow_dispatch, which means publish events are triggered manually and not tied to any CI/CD process.

clpetersonucf commented 1 year ago

Superseded by #1493