Skip to content

Missing type wordpress-plugin #1

@janez33

Description

@janez33

Hello, it would be nice to add "type": "wordpress-plugin", to your composer.json file :)
I was getting problems with installation directory, it kept installing to src/vendor/extension instead of src/web/app/plugins
I fixed it with adding this code to my composer.json file.

Image
            "type": "package",
            "package": {
                "name": "extension/meta-viewer",
                "version": "1.0.0",
                "type": "wordpress-plugin",
                "source": {
                    "type": "git",
                    "url": "https://github.com/UniversalYumsLLC/meta-viewer",
                    "reference": "main"
                },
                "extra": {
                    "installer-name": "meta-viewer"
                }
            }
        },```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions