nx-plus icon indicating copy to clipboard operation
nx-plus copied to clipboard

docs: add postinstall instructions to Vite and Nuxt READMEs

Open bokub opened this issue 2 years ago • 5 comments

  • Add the "Nx dependency graph" paragraph to Vite and Nuxt READMEs (they were missing)
  • Create a binary alias so the postinstall script is shorter in the package.json (the old command still works :slightly_smiling_face: )

bokub avatar May 18 '22 16:05 bokub

Since we are updating the documentation to point to the binary, we should update the schematics to use the binary over the node script. Let me know if you need any help with that!

Sorry but I don't understand what you mean

bokub avatar May 18 '22 16:05 bokub

When we scaffold a new application, we will add this post-install script if it is not already there. You can see that here (and in the other packages, I need to make some reusable libs). The binary script looks better, so we should update the generators to add the binary script vs the node script.

ZachJW34 avatar May 18 '22 16:05 ZachJW34

Oh OK, got it. I'll try to do that tomorrow 👍

bokub avatar May 18 '22 16:05 bokub

@ZachJW34 Done :heavy_check_mark:

bokub avatar May 19 '22 09:05 bokub

I have no idea why the tests are failing in CircleCI, they are not failing locally...

bokub avatar May 19 '22 15:05 bokub