Skip to content
New issue

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

feat!: collapse all clients into one #1078

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

feat!: collapse all clients into one #1078

wants to merge 5 commits into from

Conversation

Gozala
Copy link
Contributor

@Gozala Gozala commented Nov 7, 2023

Collapses all clients into a single w3up-client

For backwards compatibility access-client and upload-client simply re-export their former modules which they import from the w3up-client. Please note that I have not done any real cleanup here simply moved files around, we can clean things up in the future.

I think we can release these versions on npm and then deprecate them and remove from the repo.

@Gozala Gozala requested a review from alanshaw November 7, 2023 09:02
Comment on lines 27 to 45
".": {
"types": "./dist/src/index.d.ts",
"import": "./src/index.js"
},
"./aggregator": {
"types": "./dist/src/aggregator.d.ts",
"import": "./src/aggregator.js"
},
"./dealer": {
"types": "./dist/src/dealer.d.ts",
"import": "./src/dealer.js"
},
"./storefront": {
"types": "./dist/src/storefront.d.ts",
"import": "./src/storefront.js"
},
"./types": {
"types": "./dist/src/types.d.ts",
"import": "./src/types.js"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vasco-santos is this change ok ? Not sure why we painted to dist but that caused TS to fail because it was resolving to files that were not there yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant