yarnpkg / website

Yarn package manager website
https://classic.yarnpkg.com
431 stars 974 forks source link

show typescript / flowtype compatibility #718

Open Haroenv opened 6 years ago

Haroenv commented 6 years ago

see https://github.com/ofrobots/typescript-friendly, we can check

  1. package.json#types (can be done in algolia/npm-search)
  2. fetch the DefinitelyTyped / flow-typed
  3. check unpkg for index.d.ts and index.js.flow or something?

cc @ofrobots

Haroenv commented 6 years ago

https://twitter.com/haroenv/status/930124535025762304

Haroenv commented 6 years ago
screen shot 2017-11-15 at 13 38 57

Could look something like this, or maybe two entries for flow and TS

ofrobots commented 6 years ago

@Haroenv I'm trying to run the site locally, but can't get the package page to work:

image

Is there any config I need to do in order for the package page to work?

Haroenv commented 6 years ago

the link is slightly different in develop, after running make, you can use for example http://127.0.0.1:4000/lang/en/package/?webpack