From 2eb47331cf2c60aa0604c04744b263f28d287c00 Mon Sep 17 00:00:00 2001 From: Adel Salakh Date: Sun, 12 Feb 2023 15:33:06 +0100 Subject: [PATCH] chore: update all urls to new tld --- README.md | 16 ++++++++-------- docs-new/docusaurus.config.js | 2 +- packages/cli/src/index.ts | 4 +--- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7f6f51ab..30a4011b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# [PgTyped](https://pgtyped.vercel.app/) +# [PgTyped](https://pgtyped.dev/) ![Version](https://img.shields.io/github/v/release/adelsz/pgtyped) [![Actions Status](https://github.com/adelsz/pgtyped/workflows/CI/badge.svg)](https://github.com/adelsz/pgtyped/actions) [![Join the chat at https://gitter.im/pgtyped/community](https://badges.gitter.im/pgtyped/community.svg)](https://gitter.im/pgtyped/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) @@ -22,7 +22,7 @@ No need to map or translate your DB schema to TypeScript, PgTyped automatically ### Documentation -Visit our documentation page at [https://pgtyped.vercel.app/](https://pgtyped.vercel.app/) +Visit our documentation page at [https://pgtyped.dev/](https://pgtyped.dev/) ### Getting started @@ -31,7 +31,7 @@ Visit our documentation page at [https://pgtyped.vercel.app/](https://pgtyped.ve 3. Create a PgTyped `config.json` file. 4. Run `npx pgtyped -w -c config.json` to start PgTyped in watch mode. -More info on getting started can be found in the [Getting Started](https://pgtyped.vercel.app/docs/getting-started) page. +More info on getting started can be found in the [Getting Started](https://pgtyped.dev/docs/getting-started) page. You can also refer to the [example app](./packages/example/README.md) for a preconfigured example. ### Example @@ -104,11 +104,11 @@ main(); ### Resources -1. [Configuring pgTyped](https://pgtyped.vercel.app/docs/cli) -2. [Writing queries in SQL files](https://pgtyped.vercel.app/docs/sql-file-intro) -3. [Advanced queries and parameter expansions in SQL files](https://pgtyped.vercel.app/docs/sql-file) -4. [Writing queries in TS files](https://pgtyped.vercel.app/docs/ts-file-intro) -5. [Advanced queries and parameter expansions in TS files](https://pgtyped.vercel.app/docs/ts-file) +1. [Configuring pgTyped](https://pgtyped.dev/docs/cli) +2. [Writing queries in SQL files](https://pgtyped.dev/docs/sql-file-intro) +3. [Advanced queries and parameter expansions in SQL files](https://pgtyped.dev/docs/sql-file) +4. [Writing queries in TS files](https://pgtyped.dev/docs/ts-file-intro) +5. [Advanced queries and parameter expansions in TS files](https://pgtyped.dev/docs/ts-file) ### Project state: diff --git a/docs-new/docusaurus.config.js b/docs-new/docusaurus.config.js index 98f18802..774e059a 100644 --- a/docs-new/docusaurus.config.js +++ b/docs-new/docusaurus.config.js @@ -1,7 +1,7 @@ module.exports = { title: 'PgTyped', tagline: 'Typesafe SQL in TypeScript', - url: 'https://pgtyped.now.sh', + url: 'https://pgtyped.dev', baseUrl: '/', favicon: 'img/favicon.ico', organizationName: 'adelsz', // Usually your GitHub org/user name. diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 3eb0340e..3c4819a6 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -168,9 +168,7 @@ const args = yargs(hideBin(process.argv)) description: 'File path (process single file, incompatible with --watch)', }, }) - .epilogue( - 'For more information, find our manual at https://pgtyped.vercel.app/', - ) + .epilogue('For more information, find our manual at https://pgtyped.dev/') .parseSync(); const {