beb0bca5fe
Uploads all the folders inside `./assets` folder to a new R2 bucket called `cdn`. Uses the package version as the prefix, so that we can host multiple versions of the assets. ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [ ] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [x] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [ ] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [x] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Upload our static assets (fonts, icons, embed-icons, translations) to a R2 bucket so that we can move away from using unpkg and start using our own cdn. |
||
---|---|---|
.. | ||
lib | ||
vercel | ||
api-check.ts | ||
build-api.ts | ||
build-package.ts | ||
CHANGELOG.md | ||
check-scripts.ts | ||
check-tsconfigs.ts | ||
clean.sh | ||
deploy.ts | ||
license-report.ts | ||
lint.ts | ||
package.json | ||
postpack.sh | ||
prepack.ts | ||
prune-preview-deploys.ts | ||
publish-canary.ts | ||
publish-manual.ts | ||
publish-new.ts | ||
publish-patch.ts | ||
purge-css.ts | ||
refresh-assets.ts | ||
tsconfig.json | ||
typecheck.ts | ||
update-pr-template.ts | ||
upload-static-assets.ts |