Giter Site home page Giter Site logo

Comments (4)

thekevinscott avatar thekevinscott commented on June 9, 2024 1

You know, I tried to create a repo from scratch to demonstrate the issue, and can't seem to reproduce this; and my original circumstance is now lost to the sands of time.

I'm happy to close, and if it comes up again I'll make sure to post with an actual repo reproduction this time! :D

from wireit.

deebloo avatar deebloo commented on June 9, 2024

im not very familiar with pnpm but why not just just specify packages/foo:build as a dependency of the root build command? Then when you run build from the root directory it will first run the build command in foo.

from wireit.

thekevinscott avatar thekevinscott commented on June 9, 2024

pnpm --filter is doing some heavy lifting; it lets you glob like:

pnpm --filter "@foo/*" build

That'll run build in every package that starts with @foo/; in a monorepo with lots of packages that's a nice alternative to manually specifying each one.

I don't think there's a way to reproduce behavior like that via a dependency?

from wireit.

deebloo avatar deebloo commented on June 9, 2024

If you run 'pnpm --filter foo build' directly from the root does it work? I am also curious because in all other examples I have seen the actual command being specified in the wireit config should be your actual command.

from wireit.

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.