We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are some best-practices we should be following in our internal libraries:
index.ts
package.json
sideEffects: false
export type
export default
Checklist:
@desci-labs/nodes-lib
@desci-labs/desci-codex-lib
@desci-labs/desci-contracts
@desci-labs/desci-models
Notes on export methodologies:
/dist
The text was updated successfully, but these errors were encountered:
m0ar
No branches or pull requests
There are some best-practices we should be following in our internal libraries:
index.ts
(more verbose, singular namespace, less dependent on module structure)package.json
export maps (less verbose, isolated namespace, more responsibility on module structure)sideEffects: false
inpackage.json
(tells bundlers that the import is pure)export type
where possibleexport default
, which can break bundler analysis in certain cases)Checklist:
@desci-labs/nodes-lib
@desci-labs/desci-codex-lib
@desci-labs/desci-contracts
:@desci-labs/desci-models
Notes on export methodologies:
/dist
requires we use export mapsindex.ts
, and use export maps to expose module internalsThe text was updated successfully, but these errors were encountered: