Development Environment
Each public repository builds on its own. Every one of them lints with pre-commit, so install it once:
pip install pre-commitDocumentation (ws-docs)
Use Node.js 22 or later and Yarn 1.
git clone https://github.com/kloudkit/ws-docs
cd ws-docs
yarn install --frozen-lockfile
# Generate the tables that come from other repositories, then start the dev server
yarn docs:generate-dynamic
yarn docs:devPages live in docs/, the site config in .vitepress/ and the table generators in scripts/. Files in .vitepress/data/ are synced from other repositories; don't edit them by hand.
💡 TIP
yarn docs:dev does not regenerate the generated tables. Run yarn docs:generate-dynamic again after you pull new data.
Before you push:
yarn test
yarn build
pre-commit run --all-filesCLI (ws-cli)
Use Go 1.27.1 or later.
git clone https://github.com/kloudkit/ws-cli
cd ws-cli
go mod download
go build -o ws-cli .After you change a command under cmd/, regenerate the command manifest; a test fails until it matches:
go run ./tools/gen-commandsBefore you push:
go test ./...
go vet ./...
pre-commit run --all-filesFeature Store (ws-feature-store)
The store's downloadable artifacts are listed in src/artifacts/*.json. After you change one, refresh its checksums:
./scripts/update-artifact-checksums.shBuilding the store image needs the KloudKIT signing key, so a maintainer builds and publishes it.