tldraw/.github/workflows
Mime Čuvalo 69a1c17b46
sdk: wires up tldraw to have licensing mechanisms (#4021)
For non-commercial usage of tldraw, this adds a watermark in the corner,
both for branding purposes and as an incentive for our enterprise
customers to purchase a license.

For commercial usage of tldraw, you add a license to the `<Tldraw
licenseKey={YOUR_LICENSE_KEY} />` component so that the watermark
doesn't show.

The license is a signed key that has various bits of information in it,
such as:
- license type
- hosts that the license is valid for
- whether it's an internal-only license
- expiry date

We check the license on load and show a watermark (or throw an error if
internal-only) if the license is not valid in a production environment.

This is a @MitjaBezensek, @Taha-Hassan-Git, @mimecuvalo joint
production! 🤜 🤛

### Change Type

<!--  Please select a 'Scope' label ️ -->

- [x] `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
- [ ] `internal` — Does not affect user-facing stuff

<!--  Please select a 'Type' label ️ -->

- [ ] `bugfix` — Bug fix
- [x] `feature` — New feature
- [ ] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Test Plan

1. We will be dogfooding on staging.tldraw.com and tldraw.com itself
before releasing this.

### Release Notes

- SDK: wires up tldraw to have licensing mechanisms.

---------

Co-authored-by: Mitja Bezenšek <mitja.bezensek@gmail.com>
Co-authored-by: Taha <98838967+Taha-Hassan-Git@users.noreply.github.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2024-07-11 11:49:18 +00:00
..
checks.yml check worker bundle sizes (#4032) 2024-06-27 13:48:17 +00:00
dependabot-dedupe.yml Configure dependabot. (#2980) 2024-03-04 11:43:42 +00:00
deploy-bemo.yml Initial bemo worker setup (#4017) 2024-07-01 11:35:23 +00:00
deploy-dotcom.yml sdk: wires up tldraw to have licensing mechanisms (#4021) 2024-07-11 11:49:18 +00:00
playwright-update-snapshots.yml Bump Yarn to 4.0.2 and add version constraints (#2481) 2024-01-18 11:09:17 +00:00
playwright.yml Bump Yarn to 4.0.2 and add version constraints (#2481) 2024-01-18 11:09:17 +00:00
prune-preview-deploys.yml fix prune preview deployment script (#2698) 2024-01-31 16:37:51 +00:00
publish-canary.yml Fix uploading static assets to r2 (#3941) 2024-06-14 12:52:20 +00:00
publish-manual.yml Fix uploading static assets to r2 (#3941) 2024-06-14 12:52:20 +00:00
publish-new.yml Fix uploading static assets to r2 (#3941) 2024-06-14 12:52:20 +00:00
publish-patch.yml Fix uploading static assets to r2 (#3941) 2024-06-14 12:52:20 +00:00
publish-templates.yml increase publish script timeouts (#3570) 2024-04-23 13:31:27 +00:00
publish-vscode-extension.yml Do a pre-release of the VS code extension for merges to main. (#3957) 2024-06-26 07:23:25 +00:00
trigger-production-build.yml unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00