rspack icon indicating copy to clipboard operation
rspack copied to clipboard

[Feature Request]: Mention more clearly that the RSPack package name is `@rspack/cli` on the website.

Open iclanton opened this issue 2 years ago • 2 comments
trafficstars

What problem does this feature solve?

It's not immediately obvious that on https://www.rspack.dev/ that the package a user is meant to install is @rspack/cli and not rspack without drilling down.

It'd be useful if this detail was on the homepage.

What does the proposed API of configuration look like?

N/A

iclanton avatar Mar 16 '23 22:03 iclanton

The rspack package seems to be defunct but owned by @hardfist.

Maybe also the rspack README.md could have a deprecation notice.

And also the postinstall lifecycle script could print a console.log() message recommending to install the other package (we did this with @microsoft/node-core-library for example).

octogonz avatar Mar 16 '23 23:03 octogonz

yes this is a good point, we will fix it later

hardfist avatar Mar 17 '23 02:03 hardfist

I add deprecated and redirect notice about rspack package in https://www.npmjs.com/package/rspack

hardfist avatar Apr 19 '23 08:04 hardfist

I'm not sure whether we should add detail to homepage, I look at vite|rollup|babel|webpack, it seems none of these tools put package name on homepage but on quickstart page, which we already did. @octogonz may have better ideas

hardfist avatar Apr 19 '23 09:04 hardfist

I add deprecated and redirect notice about rspack package in https://www.npmjs.com/package/rspack

Close the issue due to this.

hyf0 avatar Jun 24 '23 14:06 hyf0