tldraw/scripts/lib
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
..
add-extensions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
didAnyPackageChange.ts [docs] Sync docs deploy with npm deploy (#3153) 2024-03-14 14:43:32 +00:00
eslint-plugin.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
exec.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00
file.ts allow changes 2024-02-29 18:09:30 +00:00
labels.ts [DX] PR labels revamp (#3112) 2024-03-12 14:53:57 +00:00
makeEnv.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
nicelog.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
publishing.ts [infra] Fix patch release script (#3095) 2024-03-11 09:42:28 +00:00
sort-unions.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
workspace.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00