Skip to content

feat!: collapse all clients into one#1078

Open
Gozala wants to merge 5 commits intomainfrom
feat/one-client
Open

feat!: collapse all clients into one#1078
Gozala wants to merge 5 commits intomainfrom
feat/one-client

Conversation

@Gozala
Copy link
Copy Markdown
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 thread packages/filecoin-client/package.json Outdated
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
Copy Markdown
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.

1 participant