Giter Club home page Giter Club logo

Comments (5)

kentcdodds avatar kentcdodds commented on May 26, 2024

Yes, let's Make this happen for the next major release 👍

from cross-env.

hgwood avatar hgwood commented on May 26, 2024

I realized:

  • cross-env seems to support converting Windows vars to Unix vars, even though this is not mentioned in the readme. Perhaps this feature could be dropped to reduce complexity. I think it is probably not used (still a breaking change).
  • Now that cross-env uses the shell option of spawn, if cross-env is run on Unix, then the command string passed to cross-env can be passed to spawn verbatim. Then it becomes even more interesting to drop Windows->Unix conversion because we wouldn't even need to check anything if the platform is Unix.

What do you think?

from cross-env.

kentcdodds avatar kentcdodds commented on May 26, 2024

converting Windows vars to Unix vars,

Yeah, I noticed that (sometimes you forget when so many people have contributed). Let's drop it. It was never intended to go both ways and it's confusing that it does.

[no need to] check anything if the platform is Unix.

Awesome, let's make that happen too! Thanks for all your help on this! 👍

from cross-env.

kentcdodds avatar kentcdodds commented on May 26, 2024

Thanks to #94 by @DanReyLop, the issues you brought up are no longer a problem. Now implementing this "Resolving vars in other vars" thing should be more straightforward. This is the last thing we're waiting on for the release. Do you want to work on it?

from cross-env.

hgwood avatar hgwood commented on May 26, 2024

I planned to but looks like @DanReyLop needs this release out faster than me ;)

from cross-env.

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.