accurat / accurapp

Create JS apps with flexible build configuration, tailored for the specific needs of Accurat
MIT License
21 stars 5 forks source link

Force to use yarn over npm #92

Open caesarsol opened 2 years ago

caesarsol commented 2 years ago

As explained here: https://github.com/yarnpkg/yarn/issues/4895#issuecomment-545644733

Which is:

create .npmrc with:

# used to force yarn over npm
# https://github.com/yarnpkg/yarn/issues/4895#issuecomment-545644733
engine-strict = true

edit package.json adding:

{
  "engines": {
    "npm": "PLEASE USE YARN INSTEAD OF NPM",
    "yarn": ">= 1.0.0"
  },
}

possible bonus: write in engines the same yarn version as the one used to call create-accurapp.

@SgaBenza @ilariaventurini @ivanross @delaudio @pitou what do you think? could be useful on our long-running projects as well!

delaudio commented 2 years ago

I agree, to me yarn is preferable.

But, what about craco? 😏😁

ivanross commented 2 years ago

I agree too.

marcofugaro commented 2 years ago

You guys should check out vite https://vitejs.dev/

caesarsol commented 2 years ago

hi Doc @marcofugaro ! rollup, seriously? we were thinking about https://swc.rs/ maybe

marcofugaro commented 2 years ago

rollup + esbuild, it has every feature from create-react-app and is much faster. It's the successor of CRA since CRA is kinda in maintenance mode now.