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

chore: rename ACCESS_API_R2 binding to DELEGATIONS, and configure wranger.toml to use env-specific buckets #603

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

@gobengo gobengo changed the title rename ACCESS_API_R2 binding to DELEGATIONS, and configure wranger.toml to use env-specific buckets chore: rename ACCESS_API_R2 binding to DELEGATIONS, and configure wranger.toml to use env-specific buckets Mar 23, 2023
@gobengo gobengo marked this pull request as ready for review March 23, 2023 01:21
@gobengo gobengo merged commit ecbe77d into 571-delegation-bytes-out-d1 Mar 23, 2023
@gobengo gobengo deleted the 571-final-bucket-names branch March 23, 2023 01:21
gobengo added a commit that referenced this pull request Apr 11, 2023
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
I was hoping to keep these changes separate, but ran into some issues
with using the new packages in examples that necessitated some build
changes.

1) I've updated the `file-upload` example to use the new packages. I ran
into a weird build issue trying to do this - something about
`Authenticator` not being exported from the UMD builds? - and did some
research into how other projects I like are built, which lead me to
believe that `bunchee`, the tool SWR uses for builds
(https://github.com/vercel/swr/blob/main/package.json#L94), is probably
our best bet...

2) I love `bunchee` so far - it's much simpler and seems to do "the
right things" when building TS into libraries suitable for use in a
variety of modern JS environments. You can read more about bunchee here:

https://github.com/huozhi/bunchee

I've used `bunchee` to pull the build step into each of the packages
separately, which should make it easier and more efficient to work on a
single package in isolation. Because `bunchee` doesn't need a bunch of
manual config, this was possible with a minimum of boilerplate and
setup.

3) I've removed the old packages and a bunch of configs and docs that
point to them. This made (2) easier, since I could just make a wholesale
switch rather than trying to keep some stuff working with the old rollup
builds and other stuff working with `bunchee`.
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.0.0](storacha/w3ui@core-v1.1.1...core-v2.0.0)
(2023-12-11)


### ⚠ BREAKING CHANGES

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))

### Features

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))
([4a1c660](storacha/w3ui@4a1c660))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 17, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.0.0](storacha/w3ui@react-v1.3.0...react-v2.0.0)
(2023-12-11)


### ⚠ BREAKING CHANGES

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))

### Features

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))
([4a1c660](storacha/w3ui@4a1c660))


### Bug Fixes

* unpin core version
([storacha#611](storacha/w3ui#611))
([69a8241](storacha/w3ui@69a8241))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis.vachon@protocol.ai>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
I was hoping to keep these changes separate, but ran into some issues
with using the new packages in examples that necessitated some build
changes.

1) I've updated the `file-upload` example to use the new packages. I ran
into a weird build issue trying to do this - something about
`Authenticator` not being exported from the UMD builds? - and did some
research into how other projects I like are built, which lead me to
believe that `bunchee`, the tool SWR uses for builds
(https://github.com/vercel/swr/blob/main/package.json#L94), is probably
our best bet...

2) I love `bunchee` so far - it's much simpler and seems to do "the
right things" when building TS into libraries suitable for use in a
variety of modern JS environments. You can read more about bunchee here:

https://github.com/huozhi/bunchee

I've used `bunchee` to pull the build step into each of the packages
separately, which should make it easier and more efficient to work on a
single package in isolation. Because `bunchee` doesn't need a bunch of
manual config, this was possible with a minimum of boilerplate and
setup.

3) I've removed the old packages and a bunch of configs and docs that
point to them. This made (2) easier, since I could just make a wholesale
switch rather than trying to keep some stuff working with the old rollup
builds and other stuff working with `bunchee`.
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.0.0](storacha/w3ui@core-v1.1.1...core-v2.0.0)
(2023-12-11)


### ⚠ BREAKING CHANGES

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))

### Features

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))
([b6e61f4](storacha/w3ui@b6e61f4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Peeja pushed a commit to storacha/upload-service that referenced this pull request Jan 29, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.0.0](storacha/w3ui@react-v1.3.0...react-v2.0.0)
(2023-12-11)


### ⚠ BREAKING CHANGES

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))

### Features

* fix example, buncheefication, cleanup
([storacha#603](storacha/w3ui#603))
([b6e61f4](storacha/w3ui@b6e61f4))


### Bug Fixes

* unpin core version
([storacha#611](storacha/w3ui#611))
([63f49bd](storacha/w3ui@63f49bd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Travis Vachon <travis.vachon@protocol.ai>
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