I know, this is not an octobercms issue, but I inherited from a customer an old octobercms installation (ver 1.0) that lacks of composer json and lock files. Is there a safe and simple way to rebuild them starting from the vendor folder?
Thank @daft, but my problem was to rebuild composer json in order to update vendor and module sections.
For some mysterious reasons the developer who created the project decided to eliminate the composer files, so I was unable to upgrade the project.
I have tried to use a composer.lock file from another project of octobercms ver 1, reinstalled the vendor with composer install command, and it seems to work