0.12.0 • Published 8 months ago

manawave v0.12.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

MANAWAVE

This is the node package that contains the MANAWAVE library.

It uses vite and wdio to develop, build, and test the library. Everything is written in Typescript.

Getting Started

Build

This will package and build MANAWAVE into /dist.

pnpm nx build manawave

Development

This will launch the dev website and hot reload changes to the source code.

pnpm nx dev manawave

Tests

This will test MANAWAVE across browsers.

pnpm nx test manawave

Folder Structure

Generally, MANAWAVE tries to separate what's render and system logic. Render logic refers to anything that transforms system logic into visible DOM elements. System logic represent the "simulation" that moves all the stuff inside the marquee around. The "simulation" is done with numbers only. The "system" is the intersection of render and system logic.

The folder structure tries to accomodate for this process.

src/anim

Contains code that control and manage the render loop used throughout the marquee.

Might branch off into its own library

src/dom

Code that work with anything relating to the DOM.

src/marquee

Code that manage the marquee logic.

src/utils

Contains utility functions.

/test

WDIO page objects.

/example

TODO: cleanup and organize

Testing

Tests should all be in one file. This is to make sure wdio doesn't launch too many browsers in parallel.

License

MIT License

0.12.0

8 months ago

0.11.1

8 months ago

0.11.2

8 months ago

0.11.0

9 months ago

0.10.1

10 months ago

0.9.2

10 months ago

0.9.1

10 months ago

0.9.0

10 months ago