GithubHelp home page GithubHelp logo

Comments (14)

beberlei avatar beberlei commented on June 13, 2024

@harikt please download v0.2, the first one was utterly broken.

from composer-monorepo-plugin.

beberlei avatar beberlei commented on June 13, 2024

@harikt You should also remove the trailing slash in the deps

from composer-monorepo-plugin.

harikt avatar harikt commented on June 13, 2024

@beberlei may be you forgot to rename as phar :) . It is tar.gz now .

from composer-monorepo-plugin.

harikt avatar harikt commented on June 13, 2024

Hm, it seems you made phar and then tar.gz :/ .

from composer-monorepo-plugin.

harikt avatar harikt commented on June 13, 2024
$ php ../fiddler/fiddler.phar build
Building fiddler.json projects.
 [Build] 

  [RuntimeException]                                      
  Requiring non existant package 'vendor/cakephp' in ''.  

build

[php:5.5.9-system]\n$ ls vendor/cakephp 
collection  core  database  datasource  event  orm  utility  validation
[php:5.5.9-system]\n$

Any idea on the error ?

from composer-monorepo-plugin.

beberlei avatar beberlei commented on June 13, 2024

@harikt Its not a package name, because there is no composer.json in it. maybe 'vendor/cakephp/orm' ?

from composer-monorepo-plugin.

harikt avatar harikt commented on June 13, 2024

@beberlei getting /vendor does not exist and could not be created.

from composer-monorepo-plugin.

beberlei avatar beberlei commented on June 13, 2024

@harikt where is your fiddler.json located? Sorry not sure what this is.

from composer-monorepo-plugin.

harikt avatar harikt commented on June 13, 2024
$ pwd
/var/www/github.com/harikt/cakephp3

$ ls
composer.json  composer.lock  fiddler.json  src  vendor

$ ls vendor 
autoload.php  cakephp  composer

$ ls vendor/cakephp 
collection  core  database  datasource  event  orm  utility  validation

$ ls vendor/cakephp/orm 
Association                      Behavior              EagerLoadable.php  Marshaller.php  Rule
AssociationCollection.php        Behavior.php          EagerLoader.php    Query.php       RulesChecker.php
Association.php                  BehaviorRegistry.php  Entity.php         README.md       Table.php
AssociationsNormalizerTrait.php  composer.json         Exception          ResultSet.php   TableRegistry.php

from composer-monorepo-plugin.

beberlei avatar beberlei commented on June 13, 2024

@harikt Thats not the way it is supposed to work. You should have subcomponents, i.e.

|- components
| |- foo
|   \-fiddler.json
| \- bar
|   \-fiddler.json
|- composer.json
\- vendor

from composer-monorepo-plugin.

harikt avatar harikt commented on June 13, 2024

Hm, so I suppose we need to run php fiddler.phar from foo and bar folders ?

And this will be moved to vendor folder ? or a vendor is created ?

from composer-monorepo-plugin.

beberlei avatar beberlei commented on June 13, 2024

@harikt No it recursivly searches and finds all fiddler.json files.

It then creates a vendor directory next to each fiddler.json with an autoload that uses global composer or your own components.

from composer-monorepo-plugin.

beberlei avatar beberlei commented on June 13, 2024

I close for now

from composer-monorepo-plugin.

harikt avatar harikt commented on June 13, 2024

sure. I will try once again. Holidays on the way :) .

from composer-monorepo-plugin.

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.