You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow usage of proprietary license in composer.json #44
With version @flarum/cli/2.0.0-beta.17 darwin-arm64 node-v20.6.0 it's currently not possible to use any other license than the official SPDX licenses, which in principle makes sense. A workaround for using the CLI is to temporarily use a different, valid SPDX license and change it back after.
When trying to use the cli anyways with an invalid SPDX license, such as proprietary, the following error is thrown:
Error occurred, and could not complete:
Cannot find module 'spdx-license-list/licenses/proprietary'
Therefore, I would propose that proprietary is added as an exception and made available to developers working on private extensions. I'm just throwing this idea out there, I have no idea if this can even feasibly be done in this repo.
Activity
fix: allow proprietary license (#44)
SychO9 commentedon Sep 23, 2024
pushed a commit that will fix it for the next version 👍🏼
DavideIadeluca commentedon Sep 23, 2024
Thank you so much!
feat: extension upgrade tool for 2.0 (#42)