tldraw/scripts
Mitja Bezenšek 21cefc77f5
Use unpkg as a default for serving assets. (#1548)
Use unpkg to host our assets and use that as a default. This will smooth
out the first run experience.

The way this works for different use cases:
- It doesn't change the asset loading for VS Code extension and
tldraw.com
- When running our examples (and our local development) [we still
override the
urls](4a9ef5044c/apps/examples/src/index.tsx (L32-L34))
to use the assets from the filesystem. This allows the assets to still
update when you change them.
- When you use our `Tldraw` component and when just copying the examples
code we will now serve the assets from unpkg by default.

I guess it's a breaking change since we will now use unpkg by default.

### Change Type

- [x] `major` — Breaking Change

### Release Notes

- Use unpkg asset hosting as a default.
2023-06-07 21:01:38 +00:00
..
lib Use unpkg as a default for serving assets. (#1548) 2023-06-07 21:01:38 +00:00
api-check.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
build-api.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
build-package.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
check-scripts.ts Revert 09c36781 & tweak linting (#1501) 2023-06-02 10:45:51 +00:00
clean.sh [chore] use explicit yarn in clean script (#1216) 2023-05-02 13:33:30 +00:00
lint.ts Revert 09c36781 & tweak linting (#1501) 2023-06-02 10:45:51 +00:00
package.json update lazyrepo 2023-06-05 18:32:32 +01:00
postpack.sh transfer-out: transfer out 2023-04-25 12:01:25 +01:00
prepack.ts avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
publish-canary.ts [infra] use npx to run auto (#1521) 2023-06-05 14:46:59 +00:00
publish-manual.ts Fix publishing (#1338) 2023-05-09 13:25:56 +00:00
publish-new.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
refresh-assets.ts tlschema cleanup (#1509) 2023-06-03 20:46:53 +00:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
typecheck.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00