feathers icon indicating copy to clipboard operation
feathers copied to clipboard

Suggestion: npm create feathers

Open bertho-zero opened this issue 6 years ago • 5 comments

$ npm install -g @feathersjs/cli
$ mkdir my-new-app
$ cd my-new-app/
$ feathers generate app
$ npm start

can be replaced by

$ npm create @feathersjs/app my-new-app
$ cd my-new-app
$ npm start

or

$ npx @feathersjs/create-app my-new-app
$ cd my-new-app
$ npm start

bertho-zero avatar Aug 14 '19 09:08 bertho-zero

Is there documentation how to implement this?

daffl avatar Aug 14 '19 14:08 daffl

I have not seen any documentation but this example: https://github.com/facebook/create-react-app/tree/master/packages/create-react-app

bertho-zero avatar Aug 15 '19 14:08 bertho-zero

Oooh... found it in the npm init documentation. Basically you create a create-feathers-app repo and then can use npm init feathers-app.

daffl avatar Aug 15 '19 15:08 daffl

will this be put into the documentation?

edwardsmarkf avatar Aug 15 '19 18:08 edwardsmarkf

Well, it doesn't exist yet. When it does yes, it probably will.

daffl avatar Aug 15 '19 20:08 daffl