echobind / bisonapp

A Full Stack Jamstack in-a-box brought to you by Echobind
MIT License
590 stars 28 forks source link

feat: add ability to run any bison dev app script #234

Closed kgajera closed 3 years ago

kgajera commented 3 years ago

Changes

This is an improvement to the development workflow for the template. Before this change, you could only run yarn dev (from packages/create-bison-app) to run the template's dev script. This is still the default functionality.

Now in addition to that, yarn dev supports a new optional argument: yarn dev [script]

So from the packages/create-bison-app directory, you can run yarn dev [script] where [script] is the name of any script in packages/create-bison-app/dist/bison-dev-app/package.json. For example, you can run yarn dev test to run the "test" script in the bison app.

How to test

In the packages/create-bison-app directory, you can run yarn dev test, yarn dev build:types, or any script from the template's package.json.

Checklist