Files
SpacetimeDB/docs/package.json
Tyler Cloutier 413c8cbf3c Unifies TypeScript packages and command names (#3195)
# Description of Changes

This PR:
 - standardizes the prettier config across all TypeScript projects
 - adds a root level package.json
 - standardizes all `pnpm` commands to be the same
 - updates documentation accordingly
- adds some additional typescript testing for serialization and
deserialization
 
**IMPORTANT!** Once this PR merges we will need to change the
`compile-and-test` required check to `build-and-test`

# API and ABI breaking changes

No breaking changes.

# Expected complexity level and risk

2 - It in principle doesn't change any code, but could affect deploy
processes.

# Testing

- [x] Just the automated testing that we had previously
- [x] I added additional automated tests

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-09-04 02:23:29 +00:00

29 lines
928 B
JSON

{
"name": "spacetime-docs",
"version": "1.0.0",
"description": "This repository contains the markdown files which are used to display documentation on our [website](https://spacetimedb.com/docs).",
"main": "index.js",
"dependencies": {
"github-slugger": "^2.0.0"
},
"devDependencies": {
"@types/node": "^22.10.2",
"prettier": "^3.3.3",
"remark-parse": "^11.0.0",
"remark-stringify": "^11.0.0",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"unified": "^11.0.5",
"unist-util-visit": "^5.0.0"
},
"scripts": {
"build": "tsc --project ./tsconfig.json && pnpm fix-markdown && prettier --write docs/nav.js",
"fix-markdown": "tools/markdown-fix.mjs docs/cli-reference.md",
"format": "pnpm fix-markdown && prettier --write .",
"lint": "prettier . --check --verbose",
"check-links": "tsx scripts/checkLinks.ts"
},
"author": "Clockwork Labs",
"license": "ISC"
}