Skip to content

Add support for pnpm #110

Open
Open
@SteveALee

Description

@SteveALee

pnpm is looking pretty solid now and is fast as it links to modules in a cach.

At some point it would be good it create-cycle-app supported it. However I found a couple of problems

Add option for pnpm

Currently the CLI and /src/installScripts.js supports npm or optionally yarn

However it appears you can run pnmp install later and to adjust the npm node_modules layout

Script resolution fails

eg

https://github.com/cyclejs-community/create-cycle-app-flavors/blob/master/packages/cycle-scripts-one-fits-all/index.js#L15

Does not find the script in my case the resolution for start was
C:\projects\pnpmtest\my-app\node_modules\.registry.npmjs.org\cycle-scripts-one-fits-all\2.0.0\node_modules\cycle-scripts-one-fits-all\scripts\start.js

That might be an problem with pnpm or else a problem with running pnpm install on a npm installation

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