Code Monkey home page Code Monkey logo

dialtone's Introduction

Dialtone

The monorepo for Dialpad's design system Dialtone.

About this repo

The @dialpad/dialtone repository is a monorepo composed of independently released Dialtone NPM packages.

The following is a list of packages included in this monorepo. Note that libraries (packages folder) are separated from apps (apps folder):

dialtone/
|--- .github                    # Github configuration and workflows
|--- apps                       # Apps
  |--- dialtone-documentation   # Documentation site
|--- packages                   # NPM packages
  |--- dialtone                 # Dialtone CSS library
  |--- dialtone-icons           # Dialtone SVG icons library
  |--- dialtone-tokens          # Dialtone tokens library
  |--- eslint-plugin-dialtone   # Custom ESLint rules for Dialtone users
|--- scripts                    # Shared scripts

Tooling

  • We use pnpm for managing workspaces

If you do not have pnpm installed, you can install it with:

npm install -g pnpm
  • We use Nx as build system for improved speed and easier monorepo administration. nx is installed as a dev dependency in the root of the project.

Quick start

Once pnpm is installed, in the monorepo root run:

pnpm install

This will install the dependencies for all packages.

In order to run dialtone locally, you can use:

# This will start the server for the documentation site and the library so it is live updated with any changes.
pnpm run start:dialtone

Access the local server at http://localhost:4000

Local development

Use the --filter flag to run commands for a specific package or app.

Adding dependencies for individual packages

pnpm add <dependency> --filter <package/app>

To install a local dependency, just add the --workspace flag

pnpm add <dependency> --filter <package/app> --workspace

Running commands for individual packages

You can run commands like build, test, start from the root of the project with:

npx nx <command> <package/app>

Example:

npx nx build dialtone-documentation

Releasing

pnpm run release

This will automatically release all packages that need to be released.

dialtone's People

Contributors

hellohynes avatar francisrupert avatar juliodialpad avatar dialpad-drew avatar braddialpad avatar semantic-release-bot avatar hynes-dialpad avatar tedgoas avatar ryandialpad avatar josedialpad avatar bendialpad avatar iropolo avatar github-actions[bot] avatar rhurstdialpad avatar dbecherdialpad avatar dependabot[bot] avatar ninamarina avatar nikitadialpad avatar tedgoas-dialpad avatar yorbi-dp avatar shefaligupta avatar modialpad avatar nabasolo-dialpad avatar sheldondialpad avatar rachitdialpad avatar jimut-dialpad avatar fabiangarga avatar felipc avatar felipe-dialpad avatar freddialpad 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.