Skip to content

Is it possible to npm install | yarn install the router? #478

@edhgoose

Description

@edhgoose

We're using the router in the context of an existing Typescript module.

We've done the install script of:

yarn add -D ./vendor/friendsofsymfony/jsrouting-bundle/Resources/

And now we can do:

import Routing from "fos-router"

But, the bit of our CI infrastructure that runs our Jest tests doesn't have PHP on it. So we can't execute composer install.

I'd love to be able to install the dependency via yarn remotely. Is it hosted on npm?

It looks like this could be it: https://www.npmjs.com/package/fos-router so yarn install fos-router would work, but I'm wondering if the version is the same?

Thanks!

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