freshollie / jest-dynalite

Jest preset to run Dynalite (DynamoDB local) per test runner
https://www.npmjs.com/package/jest-dynalite
MIT License
151 stars 16 forks source link

Postinstall script is not correct #70

Closed jjshinobi closed 3 years ago

jjshinobi commented 3 years ago

Hi,

After installing jest-dynalite@3.4.3 my yarn install fails on this command in jest-dynalite:

error .../node_modules/jest-dynalite: Command failed.
Exit code: 1
Command: yarn build && husky install
Arguments: 
Directory: .../node_modules/jest-dynalite
Output:
yarn run v1.22.10
$ rm -rf dist && tsc -p tsconfig.build.json

tsconfig.build.json doesn't exist in jest-dynalite package.

Is it correct postinstall command?

"postinstall": "yarn build && husky install"
jjshinobi commented 3 years ago

I can see that it is fixed in 3.4.4. Closing.

freshollie commented 3 years ago

Apologies, hope this wasn't too disruptive