Giter VIP home page Giter VIP logo

Comments (4)

BrianHenryIE avatar BrianHenryIE commented on July 21, 2024

I tried updating the flysystem version but the breaking changes need updates to Strauss's code.

I hesitate to do that because I want unit tests against the file system operations so I feel that should be done at the same time.

It wasn't me who chose flysystem, so I'm open to suggestions on what library is best for filesystem access.

from strauss.

kodie avatar kodie commented on July 21, 2024

@BrianHenryIE Flysystem is definitely the best package to use for accessing the file system which is why I'm using it for my package as well. I'm not really sure how to go about fixing the conflict which is ironic since Strauss is meant to solve that problem for other packages but can't for itself 😄

from strauss.

kodie avatar kodie commented on July 21, 2024

@BrianHenryIE I basically got around this by not installing the package as a global one but having a script that downloads the phar file and uses that instead which seems to be working fine for me:

  "scripts": {
    "strauss": [
      "test -e strauss.phar || curl -o strauss.phar -L -C - https://github.com/BrianHenryIE/strauss/releases/download/0.14.0/strauss.phar",
      "php strauss.phar"
    ],
    "post-install-cmd": [
      "@strauss"
    ],
    "post-update-cmd": [
      "@strauss"
    ]
  },

from strauss.

BrianHenryIE avatar BrianHenryIE commented on July 21, 2024

I think that will be the recommended way to use Stauss in future. I plan to add CLI parameters so it can mostly be used without the Composer extra key.

from strauss.

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.