8000 GitHub - gemini-hlsw/lucuma-react · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

8 watching

Forks

Latest commit

 

History

7,832 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lucuma-react

Common utilities and facades for React and Scala.js

Example running a demo:

sbt primeReactDemo/fastLinkJS
pnpm install
pnpm exec vite -c prime-react-demo/vite.config.js

This repo uses pnpm. npm install fails with Unsupported URL Type "workspace:".

Note that vite should be run from the root directory, but point at the config file for a particular module. To generate/update the vite config for a module use sbt viteConfigGenerate. It will get stale with every Scala 3 patch release.

Modules

  • lucuma-react-common
  • lucuma-react-cats
  • lucuma-react-test

Facades

  • lucuma-react-pragmatic-dnd
  • lucuma-react-clipboard
  • lucuma-react-datepicker
  • lucuma-react-draggable
  • lucuma-react-grid-layout
  • lucuma-react-highcharts
  • lucuma-react-table
  • lucuma-tanstack-table
  • lucuma-react-virtuoso

Contributing

This repository hosts only manually-maintained facades and wrapper APIs. Scalably Typed auto-generated facades are published separately in lucuma-typed.

To add a new module follow roughly these steps:

  1. Add the module(s) to the build, and add them to the root aggregate project.
  2. If there is more than one module (e.g. facade+demo), create an aggregate project for them.
  3. Add the aggregate (or the sole module) to the projects list. This adds a separate CI job.
  4. Use pnpm add -D whatever to add the npm dep to the package.json in the root.

This repo uses a single package.json at the root that is used by all the modules. This ensures that the version of shared dependencies are kept in sync.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0