Git Product home page Git Product logo

assemblage's Introduction

Assemblage

Lerna

About

This monorepo is implemented using Lerna, a tool for managing JavaScript projects with multiple packages.

The packages prefixed with awc- are Assemblage Web Components. The packages prefixed with acm- are Assemblage Class Mixins. The packages prefixed with amw- are Assemblage Middleware. The packages prefixed with aso- are Assemblage Store Objects. The packages prefixed with au- are Assemblage Utilities.

Getting Started

npm install
npm start

Useful Commands

Link components

npx lerna link

Compile all components

npx lerna run build

or

npx lerna exec tsc

or

npx tsc -b $(find components -type d -mindepth 1 -maxdepth 1)

or

(cd components/<PACKAGE>; npx -p typescript tsc)

Watch mode

npx tsc -b $(find components -type d -mindepth 1 -maxdepth 1) --watch

Compile a component

npx lerna run build --scope=@assemblage/<PACKAGE>

or

npx tsc -b components/awc-base

Passing arguments

As lerna run first calls npm run, it is necessary to pass -- twice in order to pass arguments to the npm script itself. This is necessary to preserve the ability to pass flags to npm or yarn.

npx lerna run build --scope=@assemblage/<PACKAGE> -- -- --foo=bar

This doesn't work as Docker cannot traverse symlinks, which is how the various Niveau modules are included as dependencies.

assemblage's People

Contributors

karlito-who-else avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.