feathers icon indicating copy to clipboard operation
feathers copied to clipboard

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

Open silvestreh opened this issue 1 year ago • 2 comments

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 avatar Apr 10 '24 23:04 silvestreh

Same happens when selecting PostgreSQL instead of SQLite.

silvestreh avatar Apr 10 '24 23:04 silvestreh

same

ShadowOfThePenguin avatar May 06 '24 20:05 ShadowOfThePenguin

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

jascholle avatar May 17 '24 19:05 jascholle