Skip to content

welchyd/opensphere-yarn-workspace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenSphere Yarn Workspace

This project facilitates linking related OpenSphere projects (OpenSphere, plugins, configuration) with Yarn workspaces.

Setup

  • Install Yarn.
  • Clone this project.
  • Clone any projects/dependencies under development to the workspace directory. All workspace subfolders will be linked appropriately in node_modules by yarn install. At minimum, clone a fork of OpenSphere.

Any directories prefixed with opensphere-plugin- or opensphere-config- will be detected by the OpenSphere resolver as plugin/config projects and included in the OpenSphere build.

Yarn Install

After cloning all projects, run yarn install. Running this from any directory will update links/dependencies for the entire workspace.

Staging Area

The staging folder can be used to clone projects you may not always want to include in the OpenSphere build. For example, if you regularly swap out plugins or configuration you can clone them to staging and symlink them to workspace when needed. They will only be linked by Yarn and detected by the OpenSphere resolver when symlinked to workspace. Always run yarn install after changing these links to ensure the workspace is set up correctly.

About

opensphere-yarn-workspace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%