Skip to content

Utility scripts and helper tools built around the VersaTiles ecosystem.

License

Notifications You must be signed in to change notification settings

versatiles-org/tools

Repository files navigation

CI status License

VersaTiles Tools

This repository contains a collection of tools for working with the VersaTiles project.

It deploys the site at: https://versatiles.org/tools/

Installing Locally

Install:

git clone https://github.com/versatiles-org/tools.git
cd tools
npm i

NPM Scripts

The following NPM scripts are available:

npm run ... Description
dev Starts the development server with hot module reloading.
build Builds the size index, updates HTML, and builds the Svelte app.
build:html Updates the static HTML files using the update_html.ts script so they match the style of versatiles.org.
build:svelte Synchronizes SvelteKit and builds the Svelte application using Vite.
build:size-index Generates the size index used for download size estimates.
preview Serves the built application locally for previewing the production build.
check Formats code, checks Svelte types, lints, and runs tests.
check:svelte Runs Svelte type checking.
test Runs unit tests with Vitest.
test:integration Runs integration smoke tests against generated install scripts.
test:coverage Runs unit tests with coverage reporting.
format Formats all project files using Prettier.
format:check Checks formatting without modifying files.
lint Runs ESLint for code quality.
upgrade Updates dependencies, removes lock files and node_modules, and reinstalls packages.

Tools

Setup Server Tool

This tool is implemented in src/routes/setup_server:

About

Utility scripts and helper tools built around the VersaTiles ecosystem.

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •