Giter Site home page Giter Site logo

Comments (8)

hipstersmoothie avatar hipstersmoothie commented on July 26, 2024 1

I'd be happy to accept that contribution! You're right, this is an oversight. We should def expose a way to customize playroom.

from design-systems-cli.

orther avatar orther commented on July 26, 2024

I'd be happy to make a PR for this functionality based on how custom configs work for other plugins (i.e. Storybook) if that makes sense.

from design-systems-cli.

orther avatar orther commented on July 26, 2024

@hipstersmoothie I'm new to working on monorepos and was curious about how you go about developing and testing ds-cli locally.

I was able to get things working well enough (PRs for playroom incoming) using yalc but I'm having to manually edit my package.json each time I need to run yarn clean && yarn and then before I run yarn build.

Any advice is appreciated!

from design-systems-cli.

orther avatar orther commented on July 26, 2024

It looks like I may have been over complicating things by using yalc. I seem to be having good luck simply using yarn workspace @design-systems/playroom link in the root of ds-cli monorepo and doing yarn link "@design-systems/playroom" in root of integration-ds (local test project).

from design-systems-cli.

hipstersmoothie avatar hipstersmoothie commented on July 26, 2024

The way I usually test the cli locally is

  1. yarn start
  2. wherever you want to use the cli just go to the bin file in the cli ../design-systems-cli/packages/cli/bin/ds.js playroom

from design-systems-cli.

hipstersmoothie avatar hipstersmoothie commented on July 26, 2024

The yarn link method should work as well. But if changing things in multiple packages you would also have to link those.

from design-systems-cli.

orther avatar orther commented on July 26, 2024

Using the direct path to the bin file (and yarn start) is much simpler, better. Thanks!

from design-systems-cli.

orther avatar orther commented on July 26, 2024

This was addressed with #251 (closing issue)

from design-systems-cli.

Related Issues (20)

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.