2023-04-25 11:01:25 +00:00
|
|
|
{
|
2023-05-05 13:10:36 +00:00
|
|
|
"extends": "../../config/tsconfig.base.json",
|
2023-09-08 14:48:55 +00:00
|
|
|
"include": ["src", "e2e", "./vite.config.ts", "**/*.json"],
|
2023-05-05 13:10:36 +00:00
|
|
|
"exclude": ["node_modules", "dist", "**/*.css", ".tsbuild*", "./scripts/legacy-translations"],
|
2023-04-25 11:01:25 +00:00
|
|
|
"compilerOptions": {
|
2024-05-07 10:06:35 +00:00
|
|
|
"outDir": "./.tsbuild",
|
|
|
|
"experimentalDecorators": true
|
2023-04-25 11:01:25 +00:00
|
|
|
},
|
2023-05-30 15:22:49 +00:00
|
|
|
"references": [
|
2024-02-21 13:07:53 +00:00
|
|
|
{
|
|
|
|
"path": "../../packages/assets"
|
|
|
|
},
|
2024-07-12 10:36:31 +00:00
|
|
|
{
|
|
|
|
"path": "../../packages/sync"
|
|
|
|
},
|
2024-02-21 13:07:53 +00:00
|
|
|
{
|
|
|
|
"path": "../../packages/tldraw"
|
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
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "../../packages/dotcom-shared"
|
2024-02-21 13:07:53 +00:00
|
|
|
}
|
2023-05-30 15:22:49 +00:00
|
|
|
]
|
2023-04-25 11:01:25 +00:00
|
|
|
}
|