Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Fix type errors caused by @audius/common migration #1658

Merged
merged 1 commit into from
Jul 28, 2022
Merged

Conversation

sliptype
Copy link
Contributor

@sliptype sliptype commented Jul 28, 2022

Description

  • Add rollup-plugin-dts in @audius/common to merge .d.ts files into a single index.d.ts in
  • Update paths in models/index.ts to absolute paths
  • Set bn.js version to 4.11.6 in all packages

Dragons

Slight downgrade of bn.js from 4.12.0, this was needed because no type declaration exists for 4.12.0: https://www.npmjs.com/package/bn.js

How Has This Been Tested?

npm run typecheck passes locally, smoke test locally

How will this change be monitored?

For features that are critical or could fail silently please describe the monitoring/alerting being added.

Feature Flags

Are all new features properly feature flagged? Describe added feature flags.

@audius-infra
Copy link
Collaborator

Preview this change https://demo.audius.co/sk-fix-types

Copy link
Contributor

@nicoback2 nicoback2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

incredible, thank you! ill be sure to run typecheck locally in the future, wonder if it makes sense to add it in the web CI workflow too though

@nicoback2
Copy link
Contributor

btw you can merge this first and then ill merge the services PR, seems easier that way. and ill update the imports to be absolute in the services index

@sliptype sliptype merged commit 8d60d9f into main Jul 28, 2022
@sliptype sliptype deleted the sk-fix-types branch July 28, 2022 22:55
audius-infra pushed a commit that referenced this pull request Jul 30, 2022
[293e8a4] [C-737] Update eslint and prettier setup (#1663) Kyle Shanks
[0ceab71] bump libs to 0.0.22 (#1662) nicoback2
[11855a2] Update artist popover profile picture skeleton to be round (#1660) Kyle Shanks
[4114a2d] Move services from web/common to @audius/common (#1633) nicoback2
[8d60d9f] Add rollup-plugin-dts and sync bn.js versions (#1658) Sebastian Klingler
[28ff1f5] Consume stems 1.1.14 in web (#1657) Saliou Diallo
[8525bde] [PAY-244][PAY-245] Update tip modal header and extract pill button (#1653) Saliou Diallo
[81a5524] Move types from `web/common` to `@audius/common` (#1618) nicoback2
[c75a5c3] Small update to the styling of user searchbar result skeletons (#1652) Kyle Shanks
[d3db729] fix oauth user ids - client side (#1557) nicoback2
[4f4eef2] [PAY-390] Improve tipping notification types (#1521) Dylan Jeffers
[21cc889] [C-721] Fix notifications not loading past 20 (#1648) Dylan Jeffers
[63e4bcb] [C-710] Update the skeletons for the UserCard and the search bar results (#1647) Kyle Shanks
[39b2ab5] [C-584] Add others link to web notifications (#1646) Dylan Jeffers
[41fc93e] [C-709] Fix native audio tier (#1645) Dylan Jeffers
[3ca632f] [C-708] Fix the table styles for sorted columns for dark mode and matrix mode (#1644) Kyle Shanks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants