feathersjs / feathers

The API and real-time application framework
https://feathersjs.com
MIT License
14.97k stars 742 forks source link

Generated package.json is missing a `migrate:make` script #3461

Closed silvestreh closed 1 month ago

silvestreh commented 2 months ago

Steps to reproduce

  1. Generate an app through npm create
  2. Pick TypeScript, Koa, TypeBox, and SQLite when prompted
  3. Open package.json and look for the scripts key
  4. migrate:make is defined as an empty string.

Expected behavior

I would expect scripts['migrate:make'] to contain a command, like knex migrate:make -x mjs, to create a migration file.

Actual behavior

scripts['migrate:make'] is an empty string

silvestreh commented 2 months ago

Same happens when selecting PostgreSQL instead of SQLite.

ShadowOfThePenguin commented 1 month ago

same

jascholle commented 1 month ago

The github repo has it as "migrate:make": "knex migrate:make" https://github.com/feathersjs/feathers-chat/blob/c7a7cf7fd99d6591dad372d11e04d3d574518492/feathers-chat-ts/package.json#L46C5-L46C40