composer-monorepo-plugin icon indicating copy to clipboard operation
composer-monorepo-plugin copied to clipboard

archive sub-command

Open beberlei opened this issue 9 years ago • 1 comments

If you want to produce deployable build artifacts, then just as composer archive there should be a way to build a tarball or directory of code with all its dependencies inlined into the components vendor/ folder.

Example:

components/Foo/src
components/Foo/web
components/Foo/vendor/autoload.php
vendor/symfony/http-foundation

Should collapse into a build/ dir:

Foo/src
Foo/web
Foo/vendor/autoload.php
Foo/vendor/symfony/http-foundation

beberlei avatar Aug 21 '15 16:08 beberlei

Currently, how can we create an archive for a sub-package? My workaround is to create a composer.json in the sub-package and repeat the same information as if it is a normal package.

Is there a better way to do it?

🌷

unional avatar Mar 28 '20 06:03 unional