From 465ce04108d7253bdcd7eb612cef84f14c8e6de0 Mon Sep 17 00:00:00 2001 From: Thomas Bonnet Date: Wed, 17 Apr 2024 21:59:26 +0200 Subject: [PATCH] Conf: Edit GitHub URL to `/yanthomasdev/lunaria` (#134) * Edit GitHub URL to /yanthomasdev/lunaria * "Yan-Thomas" to "yanthomasdev" --- README.md | 6 +++--- docs/astro.config.mjs | 4 ++-- docs/src/content/docs/getting-started.mdx | 2 +- docs/src/content/docs/manual-installation.mdx | 2 +- docs/src/content/docs/reference/configuration.mdx | 2 +- examples/nextra/lunaria.config.json | 2 +- examples/starlight/lunaria.config.json | 2 +- examples/vitepress/lunaria.config.json | 2 +- packages/core/README.md | 2 +- packages/core/config.schema.json | 2 +- packages/core/package.json | 4 ++-- packages/core/src/cli/init/index.ts | 2 +- packages/core/src/config/schemas.ts | 4 ++-- packages/starlight/package.json | 4 ++-- 14 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 70026f1..78bce76 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@

- - - Lunaria logo + + + Lunaria logo

diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 6c7a42e..79fbf4a 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -15,10 +15,10 @@ export default defineConfig({ replacesTitle: true, }, social: { - github: 'https://github.com/Yan-Thomas/lunaria', + github: 'https://github.com/yanthomasdev/lunaria', }, editLink: { - baseUrl: 'https://github.com/Yan-Thomas/lunaria/edit/main/docs/', + baseUrl: 'https://github.com/yanthomasdev/lunaria/edit/main/docs/', }, head: [ { diff --git a/docs/src/content/docs/getting-started.mdx b/docs/src/content/docs/getting-started.mdx index 3891b68..893a9ae 100644 --- a/docs/src/content/docs/getting-started.mdx +++ b/docs/src/content/docs/getting-started.mdx @@ -8,7 +8,7 @@ import { LinkCard, CardGrid } from '@astrojs/starlight/components'; :::caution[Work in progress] Lunaria is currently in early access and **breaking changes** are bound to happen. -If you've found anything wrong or unexpected, please [open an issue on GitHub](https://github.com/Yan-Thomas/lunaria/issues/new). +If you've found anything wrong or unexpected, please [open an issue on GitHub](https://github.com/yanthomasdev/lunaria/issues/new). ::: Lunaria is an **localization management toolchain** for open-source projects, giving the tools necessary for both maintainers and contributors to build a seamless and efficient localization workflow. diff --git a/docs/src/content/docs/manual-installation.mdx b/docs/src/content/docs/manual-installation.mdx index c6f97f8..2b684fc 100644 --- a/docs/src/content/docs/manual-installation.mdx +++ b/docs/src/content/docs/manual-installation.mdx @@ -100,7 +100,7 @@ The following example sets up Lunaria to track Markdown/MDX content for both Eng Learn more about all the available options in the [Configuration Reference guide](/configuration-reference/). :::tip -Visit the [Lunaria repository's examples directory](https://github.com/Yan-Thomas/lunaria/tree/main/examples/) to see configuration examples for different frameworks and projects. +Visit the [Lunaria repository's examples directory](https://github.com/yanthomasdev/lunaria/tree/main/examples/) to see configuration examples for different frameworks and projects. ::: ## 4. Next Steps diff --git a/docs/src/content/docs/reference/configuration.mdx b/docs/src/content/docs/reference/configuration.mdx index 032ec04..cc07379 100644 --- a/docs/src/content/docs/reference/configuration.mdx +++ b/docs/src/content/docs/reference/configuration.mdx @@ -21,7 +21,7 @@ Lunaria allows for extensive customization of its default behavior. This referen Configure your dashboard's displayed git hosting links. The expected properties are: -- `name` — The unique name of your repository in the git hosting platform, e.g. `'Yan-Thomas/lunaria'`. +- `name` — The unique name of your repository in the git hosting platform, e.g. `'yanthomasdev/lunaria'`. - `branch` — The name of your repository's branch tracked content, by default `'main'`. - `rootDir` — The root directory of the project if using a monorepo, e.g. `'docs'`. - `hosting` — The git hosting platform being used, e.g. `'github'` or `'gitlab'`. diff --git a/examples/nextra/lunaria.config.json b/examples/nextra/lunaria.config.json index 753ea76..2efdd40 100644 --- a/examples/nextra/lunaria.config.json +++ b/examples/nextra/lunaria.config.json @@ -1,7 +1,7 @@ { "$schema": "./node_modules/@lunariajs/core/config.schema.json", "repository": { - "name": "Yan-Thomas/lunaria", + "name": "yanthomasdev/lunaria", "rootDir": "examples/nextra" }, "files": [ diff --git a/examples/starlight/lunaria.config.json b/examples/starlight/lunaria.config.json index 803d773..2d403ed 100644 --- a/examples/starlight/lunaria.config.json +++ b/examples/starlight/lunaria.config.json @@ -1,6 +1,6 @@ { "repository": { - "name": "Yan-Thomas/lunaria", + "name": "yanthomasdev/lunaria", "rootDir": "examples/starlight" }, "files": [ diff --git a/examples/vitepress/lunaria.config.json b/examples/vitepress/lunaria.config.json index 602c81b..5d1fa0f 100644 --- a/examples/vitepress/lunaria.config.json +++ b/examples/vitepress/lunaria.config.json @@ -1,7 +1,7 @@ { "$schema": "./node_modules/@lunariajs/core/config.schema.json", "repository": { - "name": "Yan-Thomas/lunaria", + "name": "yanthomasdev/lunaria", "rootDir": "examples/vitepress" }, "files": [ diff --git a/packages/core/README.md b/packages/core/README.md index f9c9f75..376a250 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -67,4 +67,4 @@ Now, you need to add a new script to your `package.json` file to trigger a dashb }, ``` -Want other usage examples? Head over to the [`examples/` directory](https://github.com/Yan-Thomas/lunaria/tree/main/examples/) and inspect the source code for tips & tricks about using `@lunariajs/core` with other frameworks and environments. +Want other usage examples? Head over to the [`examples/` directory](https://github.com/yanthomasdev/lunaria/tree/main/examples/) and inspect the source code for tips & tricks about using `@lunariajs/core` with other frameworks and environments. diff --git a/packages/core/config.schema.json b/packages/core/config.schema.json index 2799917..dda6026 100644 --- a/packages/core/config.schema.json +++ b/packages/core/config.schema.json @@ -191,7 +191,7 @@ "properties": { "name": { "type": "string", - "description": "The unique name of your repository in your git hosting platform, e.g. `\"Yan-Thomas/lunaria\"`" + "description": "The unique name of your repository in your git hosting platform, e.g. `\"yanthomasdev/lunaria\"`" }, "branch": { "type": "string", diff --git a/packages/core/package.json b/packages/core/package.json index 191a9e4..9a049cb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -57,10 +57,10 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/Yan-Thomas/lunaria", + "url": "https://github.com/yanthomasdev/lunaria", "directory": "packages/core" }, - "bugs": "https://github.com/Yan-Thomas/lunaria/issues", + "bugs": "https://github.com/yanthomasdev/lunaria/issues", "scripts": { "build": "unbuild && pnpm run schema", "lint": "tsc", diff --git a/packages/core/src/cli/init/index.ts b/packages/core/src/cli/init/index.ts index 69e81cc..6aa3f15 100644 --- a/packages/core/src/cli/init/index.ts +++ b/packages/core/src/cli/init/index.ts @@ -46,7 +46,7 @@ export async function init(options: InitOptions) { const repoName = await text({ message: i('What is the unique name of your repository?'), - placeholder: 'Yan-Thomas/lunaria', + placeholder: 'yanthomasdev/lunaria', validate(value) { if (value.trim().length < 1) return 'The repository name cannot be empty.'; }, diff --git a/packages/core/src/config/schemas.ts b/packages/core/src/config/schemas.ts index 6338139..876517c 100644 --- a/packages/core/src/config/schemas.ts +++ b/packages/core/src/config/schemas.ts @@ -4,12 +4,12 @@ import type { LocalizationStatus } from '../types.js'; import { isRelative, removeTrailingSlash } from '../utils.js'; const RepositorySchema = z.object({ - /** The unique name of your repository in your git hosting platform, e.g. `"Yan-Thomas/lunaria"` */ + /** The unique name of your repository in your git hosting platform, e.g. `"yanthomasdev/lunaria"` */ name: z .string() .transform((path) => removeTrailingSlash(path)) .describe( - 'The unique name of your repository in your git hosting platform, e.g. `"Yan-Thomas/lunaria"`' + 'The unique name of your repository in your git hosting platform, e.g. `"yanthomasdev/lunaria"`' ), /** The currently tracked branch of your repository */ branch: z.string().default('main').describe('The currently tracked branch of your repository'), diff --git a/packages/starlight/package.json b/packages/starlight/package.json index f2bb55d..edab4cf 100644 --- a/packages/starlight/package.json +++ b/packages/starlight/package.json @@ -25,10 +25,10 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/Yan-Thomas/lunaria", + "url": "https://github.com/yanthomasdev/lunaria", "directory": "packages/starlight" }, - "bugs": "https://github.com/Yan-Thomas/lunaria/issues", + "bugs": "https://github.com/yanthomasdev/lunaria/issues", "peerDependencies": { "@astrojs/starlight": ">=0.14.0", "astro": ">=4.0.0",