44a3ea7363
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.
65 lines
1.4 KiB
JSON
65 lines
1.4 KiB
JSON
{
|
|
"name": "@tldraw/scripts",
|
|
"description": "build scripts",
|
|
"version": "2.0.0-alpha.8",
|
|
"private": true,
|
|
"author": {
|
|
"name": "tldraw Inc.",
|
|
"email": "hello@tldraw.com"
|
|
},
|
|
"homepage": "https://tldraw.dev",
|
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/tldraw/tldraw/issues"
|
|
},
|
|
"keywords": [
|
|
"tldraw",
|
|
"drawing",
|
|
"app",
|
|
"development",
|
|
"whiteboard",
|
|
"canvas",
|
|
"infinite"
|
|
],
|
|
"devDependencies": {
|
|
"@actions/github": "^6.0.0",
|
|
"@auto-it/core": "^11.1.1",
|
|
"@aws-sdk/client-s3": "^3.440.0",
|
|
"@aws-sdk/lib-storage": "^3.440.0",
|
|
"@types/is-ci": "^3.0.0",
|
|
"@types/node": "~20.11",
|
|
"@types/tar": "^6.1.11",
|
|
"@typescript-eslint/utils": "^5.59.0",
|
|
"ast-types": "^0.14.2",
|
|
"cross-fetch": "^3.1.5",
|
|
"esbuild": "^0.18.4",
|
|
"eslint": "^8.37.0",
|
|
"glob": "^8.0.3",
|
|
"gray-matter": "^4.0.3",
|
|
"is-ci": "^3.0.1",
|
|
"kleur": "^4.1.5",
|
|
"lazyrepo": "0.0.0-alpha.27",
|
|
"prettier": "^3.0.3",
|
|
"recast": "^0.22.0",
|
|
"rimraf": "^4.4.0",
|
|
"semver": "^7.3.8",
|
|
"svgo": "^3.0.2",
|
|
"typescript": "^5.3.3"
|
|
},
|
|
"scripts": {
|
|
"lint": "yarn run -T tsx lint.ts"
|
|
},
|
|
"dependencies": {
|
|
"@octokit/rest": "^20.0.2",
|
|
"@types/minimist": "^1.2.5",
|
|
"@types/tmp": "^0.2.6",
|
|
"ignore": "^5.2.4",
|
|
"minimist": "^1.2.8",
|
|
"tar": "^6.2.0",
|
|
"tmp": "^0.2.3"
|
|
}
|
|
}
|