Tldraw/scripts
David Sheldrick 44a3ea7363
[docs] Sync docs deploy with npm deploy (#3153)
This PR makes it so that our docs deployment process is tied to, and
mirrors, the npm deployment process.

From here on:

- Commits to main get deployed to staging.tldraw.dev
- Commits to a special protected branch called `docs-production` get
deployed to www.tldraw.dev
- Whenever we create a new npm 'latest' release we reset the HEAD of
docs-production to point to the tagged commit for that release.
- If we make a docs change that we want to appear on tldraw.dev ASAP
without waiting for the next npm release, we'll have to follow the same
process as for creating a patch release i.e merge a cherry-pick PR
targeting the latest release branch e.g. `v2.0.x`. This will not cause
another npm patch release unless the cherry-picked changes touch source
files, e.g. updating TSDoc comments.


### Change Type


- [x] `docs` — Changes to the documentation, examples, or templates.
- [x] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
2024-03-14 14:43:32 +00:00
..
lib [docs] Sync docs deploy with npm deploy (#3153) 2024-03-14 14:43:32 +00:00
vercel [docs] Sync docs deploy with npm deploy (#3153) 2024-03-14 14:43:32 +00:00
CHANGELOG.md
api-check.ts Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
build-api.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
build-package.ts
check-scripts.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
check-tsconfigs.ts tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
clean.sh Fix yarn clean (#2620) 2024-01-24 16:36:24 +00:00
deploy.ts Introduce a Cloudflare health worker (#2499) 2024-01-29 09:47:50 +00:00
lint.ts [dx] Allow vscode to search inside md files by default (#3105) 2024-03-11 14:08:04 +00:00
package.json [docs] Sync docs deploy with npm deploy (#3153) 2024-03-14 14:43:32 +00:00
postpack.sh
prepack.ts
prune-preview-deploys.ts fix prune preview deployment script (#2698) 2024-01-31 16:37:51 +00:00
publish-canary.ts [infra] fix canary dist tag (#3048) 2024-03-04 09:39:19 +00:00
publish-manual.ts [infra] Patch release scripting (#3072) 2024-03-05 16:05:22 +00:00
publish-new.ts [docs] Sync docs deploy with npm deploy (#3153) 2024-03-14 14:43:32 +00:00
publish-patch.ts [docs] Sync docs deploy with npm deploy (#3153) 2024-03-14 14:43:32 +00:00
purge-css.ts [tweak] dark mode colors (#2469) 2024-01-14 16:27:16 +00:00
refresh-assets.ts Don't import package.json in scripts/refresh-assets.ts, just read it (#3116) 2024-03-11 17:52:58 +00:00
tsconfig.json
typecheck.ts
update-pr-template.ts [DX] PR labels revamp (#3112) 2024-03-12 14:53:57 +00:00