Skip to content

Commit

Permalink
chore: update doc link
Browse files Browse the repository at this point in the history
  • Loading branch information
jeengbe committed Feb 13, 2024
1 parent 164c722 commit 41cc1c4
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</div>

Expand All @@ -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";
Expand All @@ -39,7 +39,7 @@ type Person = Parse<typeof Person>;
} */
```

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.

Expand All @@ -62,7 +62,7 @@ type Brand = Parse<typeof Brand>;
} */
```

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 = {
Expand All @@ -81,7 +81,7 @@ type Brand = Parse<typeof Brand>;

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)
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"description": "Monorepo for all Vality projects.",
"author": "Jesper Engberg <[email protected]>",
"homepage": "https://ts-vality.io",
"homepage": "https://jeengbe.github.io/vality",
"repository": {
"type": "git",
"url": "https://github.com/jeengbe/vality.git"
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-plugin-vality/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</div>

Expand All @@ -27,7 +27,7 @@ type Brand = Parse<typeof Brand>;
} */
```

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 = {
Expand All @@ -46,4 +46,4 @@ type Brand = Parse<typeof Brand>;

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.
4 changes: 2 additions & 2 deletions packages/eslint-plugin-vality/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "eslint-plugin-vality",
"description": "ESLint plugin for Vality.",
"version": "2.0.2",
"version": "2.0.3",
"author": "Jesper Engberg <[email protected]>",
"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",
Expand Down
4 changes: 2 additions & 2 deletions packages/vality-env/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</div>
Use Vality to describe your configuration and load+validate it.
Expand Down
4 changes: 2 additions & 2 deletions packages/vality-env/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"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",
Expand Down
6 changes: 3 additions & 3 deletions packages/vality/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

</div>

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";
Expand All @@ -41,7 +41,7 @@ type Person = Parse<typeof Person>;
} */
```

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)).

Expand Down
4 changes: 2 additions & 2 deletions packages/vality/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"homepage": "https://ts-vality.io",
"homepage": "https://jeengbe.github.io/vality",
"repository": {
"type": "git",
"url": "git://github.com/jeengbe/vality.git",
Expand Down

0 comments on commit 41cc1c4

Please sign in to comment.