Skip to content

pgpm init doesn't work when inside of a packages/ folder #292

@pyramation

Description

@pyramation

in ~/demo/my-new-demo/packages

lql init
Enter the module name
Argument --MODULENAME type [text]
> Your input:
$ sdf
Error: You must be inside one of the workspace packages: /Users/home/demo/my-new-demo/packages/demo, /Users/home/demo/my-new-demo/extensions/@lql-pg

so bsaically you can do pgpm init to create a new module from the workspace root. However, I do feel like, if you have a folder for modules, say, <workspaceRoot>/packages/, you should be able to do it from there, right?

and what is weird, and I think this should not be created in the place where it does, but you can do this:

cd <workspaceRoot>/packages/some-older-package and call lql init to create a new package.... and it will create one inside of that module? that's weird.

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