1.4.3 • Published 2 years ago
w2-types v1.4.3
Installation
yarn build
yarn link
//w2-types is now prepped locally- go to wf-corporate/wf-corporate-node directory and
yarn link w2-types
How to update types
- update types
- yarn build
- Make PR
FAQ
How does w2-types in wf-corporate package.json work?
It doesn't. yarn link w2-types
overrides that reference. The actual npm reference is a non maintained process that we use to avoid eslint(import/no-extraneous-dependencies)
errors. One day we'll be able to delete it and not have that error.
Notes when updating
- export all from index to avoid duplicate naming
- For response/receive types, add a comment on the path used for easier searching