From 41cc1c43ed825dc12f576ccf4cb26be784d8a888 Mon Sep 17 00:00:00 2001 From: Jesper Engberg Date: Tue, 13 Feb 2024 19:48:11 +0100 Subject: [PATCH] chore: update doc link --- README.md | 10 +++++----- docs/docusaurus.config.js | 2 +- package.json | 2 +- packages/eslint-plugin-vality/README.md | 8 ++++---- packages/eslint-plugin-vality/package.json | 4 ++-- packages/vality-env/README.md | 4 ++-- packages/vality-env/package.json | 4 ++-- packages/vality/README.md | 6 +++--- packages/vality/package.json | 4 ++-- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 240dc6c..58f6361 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A TypeScript schema descriptor library with zero dependencies. -See https://ts-vality.io for more information. +See https://jeengbe.github.io/vality for more information. @@ -16,7 +16,7 @@ See https://ts-vality.io for more information. Vality is the heart of this repository. It is a declarative **schema description library** with the most **intuitive syntax** and allows for validation and transformation of data. Then extract the types from your schema for **100% type safety**. And all with **0 runtime dependencies**. -Find all of this and much more on https://ts-vality.io/vality. +Find all of this and much more on https://jeengbe.github.io/vality/vality. ```ts import { v, Parse } from "vality"; @@ -39,7 +39,7 @@ type Person = Parse; } */ ``` -Now that I have your attention, head over to https://ts-vality.io/vality to find out what's going on here. You won't regret it ;) Or check out [packages/vality](packages/vality). +Now that I have your attention, head over to https://jeengbe.github.io/vality/vality to find out what's going on here. You won't regret it ;) Or check out [packages/vality](packages/vality). Or continue scrolling down to see what else is in this repository. @@ -62,7 +62,7 @@ type Brand = Parse; } */ ``` -Can you spot what's wrong with this model? Correct, it's missing the literal types for the keys. This is a common mistake when using Array or Enum Shorts and can be easily fixed by adding `as const`. (Find more information on this mistake [here](https://ts-vality.io/vality/as-const)). +Can you spot what's wrong with this model? Correct, it's missing the literal types for the keys. This is a common mistake when using Array or Enum Shorts and can be easily fixed by adding `as const`. (Find more information on this mistake [here](https://jeengbe.github.io/vality/vality/as-const)). ```ts const Brand = { @@ -81,7 +81,7 @@ type Brand = Parse; Forgetting this sucks and can quickly become a source of frustration when suddenly types are weird. ESLint to the rescue! It will warn you when you forget to add `as const` in places where is may backfire and adds it automatically for you. -Find more information on https://ts-vality.io/eslint-plugin-vality or check out [packages/eslint-plugin-vality](packages/eslint-plugin-vality). +Find more information on https://jeengbe.github.io/vality/eslint-plugin-vality or check out [packages/eslint-plugin-vality](packages/eslint-plugin-vality). ## [Vality Env](https://npmjs.com/package/vality-env) [![License](https://img.shields.io/npm/l/vality-env)](https://github.com/jeengbe/vality/blob/master/packages/vality-env/LICENSE.md) diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 05837cf..c5921ce 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -8,7 +8,7 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula"); const config = { title: "Vality", tagline: "A TypeScript schema descriptor library with zero dependencies.", - url: "https://ts-vality.io", + url: "https://jeengbe.github.io/vality", baseUrl: "/", onBrokenLinks: "warn", onBrokenMarkdownLinks: "warn", diff --git a/package.json b/package.json index e35933f..a36e82c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "description": "Monorepo for all Vality projects.", "author": "Jesper Engberg ", - "homepage": "https://ts-vality.io", + "homepage": "https://jeengbe.github.io/vality", "repository": { "type": "git", "url": "https://github.com/jeengbe/vality.git" diff --git a/packages/eslint-plugin-vality/README.md b/packages/eslint-plugin-vality/README.md index 8cc78d7..ec5d51f 100644 --- a/packages/eslint-plugin-vality/README.md +++ b/packages/eslint-plugin-vality/README.md @@ -8,9 +8,9 @@ [![Snyk](https://img.shields.io/snyk/vulnerabilities/github/jeengbe/vality)](https://snyk.io/test/github/jeengbe/vality) -See https://ts-vality.io/eslint-plugin-vality for more information. +See https://jeengbe.github.io/vality/eslint-plugin-vality for more information. -This page also assumes that you are somewhat familiar with [Vality](https://ts-vality.io/vality). If not, check that out first. +This page also assumes that you are somewhat familiar with [Vality](https://jeengbe.github.io/vality/vality). If not, check that out first. @@ -27,7 +27,7 @@ type Brand = Parse; } */ ``` -Can you spot what's wrong with this model? Correct, it's missing the literal types for the keys. This is a common mistake when using Array or Enum Shorts and can be easily fixed by adding `as const`. (Find more information on this mistake [here](https://ts-vality.io/vality/pitfalls/as-const)). +Can you spot what's wrong with this model? Correct, it's missing the literal types for the keys. This is a common mistake when using Array or Enum Shorts and can be easily fixed by adding `as const`. (Find more information on this mistake [here](https://jeengbe.github.io/vality/vality/pitfalls/as-const)). ```ts const Brand = { @@ -46,4 +46,4 @@ type Brand = Parse; Forgetting this sucks and can quickly become a source of frustration when suddenly types are weird. ESLint to the rescue! It will warn you when you forget to add `as const` in places where is may backfire and adds it automatically for you. -Now that you are interested, check out the [full documentation](https://ts-vality.io/eslint-plugin-vality) for more information. +Now that you are interested, check out the [full documentation](https://jeengbe.github.io/vality/eslint-plugin-vality) for more information. diff --git a/packages/eslint-plugin-vality/package.json b/packages/eslint-plugin-vality/package.json index fdd46ac..8f0e7b3 100644 --- a/packages/eslint-plugin-vality/package.json +++ b/packages/eslint-plugin-vality/package.json @@ -1,9 +1,9 @@ { "name": "eslint-plugin-vality", "description": "ESLint plugin for Vality.", - "version": "2.0.2", + "version": "2.0.3", "author": "Jesper Engberg ", - "homepage": "https://ts-vality.io/eslint-plugin-vality", + "homepage": "https://jeengbe.github.io/vality/eslint-plugin-vality", "repository": { "type": "git", "url": "git://github.com/jeengbe/vality.git", diff --git a/packages/vality-env/README.md b/packages/vality-env/README.md index 128ee67..bd73493 100644 --- a/packages/vality-env/README.md +++ b/packages/vality-env/README.md @@ -8,9 +8,9 @@ [![Snyk](https://img.shields.io/snyk/vulnerabilities/github/jeengbe/vality)](https://snyk.io/test/github/jeengbe/vality) -See https://ts-vality.io/vality-env for more information. +See https://jeengbe.github.io/vality/vality-env for more information. -This page also assumes that you are somewhat familiar with [Vality](https://ts-vality.io/vality). If not, check that out first. +This page also assumes that you are somewhat familiar with [Vality](https://jeengbe.github.io/vality/vality). If not, check that out first. Use Vality to describe your configuration and load+validate it. diff --git a/packages/vality-env/package.json b/packages/vality-env/package.json index 2f601fc..391cb77 100644 --- a/packages/vality-env/package.json +++ b/packages/vality-env/package.json @@ -1,9 +1,9 @@ { "name": "vality-env", "description": "A Vality extension to load environment variables.", - "version": "1.0.1", + "version": "1.0.2", "author": "Jesper Engberg ", - "homepage": "https://ts-vality.io/vality-env", + "homepage": "https://jeengbe.github.io/vality/vality-env", "repository": { "type": "git", "url": "git://github.com/jeengbe/vality.git", diff --git a/packages/vality/README.md b/packages/vality/README.md index 93a6cb0..dede214 100644 --- a/packages/vality/README.md +++ b/packages/vality/README.md @@ -12,13 +12,13 @@ A TypeScript schema descriptor library with zero dependencies. [![Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](https://github.com/jeengbe/vality/network/dependencies) [![Bundlephobia](https://img.shields.io/bundlephobia/minzip/vality)](https://bundlephobia.com/package/vality) -See https://ts-vality.io for more information. +See https://jeengbe.github.io/vality for more information. Vality is the heart of this repository. It is a declarative **schema description library** with the most **intuitive syntax** and allows for validation and transformation of data. Then extract the types from your schema for **100% type safety**. And all with **0 runtime dependencies**. -Find all of this and much more on https://ts-vality.io/vality. +Find all of this and much more on https://jeengbe.github.io/vality/vality. ```ts import { v, Parse } from "vality"; @@ -41,7 +41,7 @@ type Person = Parse; } */ ``` -Now that I have your attention, head over to https://ts-vality.io/vality to find out what's going on here. You won't regret it ;) +Now that I have your attention, head over to https://jeengbe.github.io/vality/vality to find out what's going on here. You won't regret it ;) Or head to [GitHub](https://github.com/jeengbe/vality) to find more useful packages (such as [Vality ESLint Plugin](https://github.com/jeengbe/vality/tree/master/packages/eslint-plugin-vality)). diff --git a/packages/vality/package.json b/packages/vality/package.json index 6c772e5..7e03882 100644 --- a/packages/vality/package.json +++ b/packages/vality/package.json @@ -1,9 +1,9 @@ { "name": "vality", "description": "A TypeScript schema descriptor library with zero dependencies.", - "version": "6.3.3", + "version": "6.3.4", "author": "Jesper Engberg ", - "homepage": "https://ts-vality.io", + "homepage": "https://jeengbe.github.io/vality", "repository": { "type": "git", "url": "git://github.com/jeengbe/vality.git",