chore: update urls to use pesde org

This commit is contained in:
daimond113 2024-11-27 21:08:33 +01:00
parent 60dafa0114
commit 4eeced440d
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C
16 changed files with 29 additions and 30 deletions

View file

@ -6,7 +6,7 @@ license = "MIT"
authors = ["daimond113 <contact@daimond113.com>"] authors = ["daimond113 <contact@daimond113.com>"]
description = "A package manager for the Luau programming language, supporting multiple runtimes including Roblox and Lune" description = "A package manager for the Luau programming language, supporting multiple runtimes including Roblox and Lune"
homepage = "https://pesde.daimond113.com" homepage = "https://pesde.daimond113.com"
repository = "https://github.com/daimond113/pesde" repository = "https://github.com/pesde-pkg/pesde"
include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "LICENSE", "CHANGELOG.md"] include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "LICENSE", "CHANGELOG.md"]
[features] [features]

View file

@ -1,7 +1,7 @@
<br> <br>
<div align="center"> <div align="center">
<img src="https://raw.githubusercontent.com/daimond113/pesde/0.5/assets/logotype.svg" alt="pesde logo" width="200" /> <img src="https://raw.githubusercontent.com/pesde-pkg/pesde/0.5/assets/logotype.svg" alt="pesde logo" width="200" />
</div> </div>
<br> <br>
@ -14,7 +14,7 @@ designed with multiple targets in mind, namely Roblox, Lune, and Luau.
## Installation ## Installation
pesde can be installed from GitHub Releases. You can find the latest release pesde can be installed from GitHub Releases. You can find the latest release
[here](https://github.com/daimond113/pesde/releases). Once you have downloaded [here](https://github.com/pesde-pkg/pesde/releases). Once you have downloaded
the binary, run the following command to install it: the binary, run the following command to install it:
```sh ```sh

View file

@ -10,7 +10,7 @@ export default defineConfig({
starlight({ starlight({
title: "pesde docs", title: "pesde docs",
social: { social: {
github: "https://github.com/daimond113/pesde", github: "https://github.com/pesde-pkg/pesde",
}, },
sidebar: [ sidebar: [
{ {

View file

@ -17,7 +17,7 @@ dependencies on packages published to a [pesde registry](https://pesde.daimond11
```toml title="pesde.toml" ```toml title="pesde.toml"
[indices] [indices]
default = "https://github.com/daimond113/pesde-index" default = "https://github.com/pesde-pkg/index"
[dependencies] [dependencies]
hello = { name = "pesde/hello", version = "^1.0.0" } hello = { name = "pesde/hello", version = "^1.0.0" }

View file

@ -9,7 +9,7 @@ pesde can be used in Roblox projects, however this requires some extra setup.
Namely, you need to specify a `roblox_sync_config_generator` script in order Namely, you need to specify a `roblox_sync_config_generator` script in order
to generate the adequate configuration for the sync tool you are using. to generate the adequate configuration for the sync tool you are using.
The [`pesde-scripts`](https://github.com/daimond113/pesde-scripts) The [`pesde-scripts`](https://github.com/pesde-pkg/scripts)
repository contains a list of scripts for different sync tools. If the tool repository contains a list of scripts for different sync tools. If the tool
you are using is not supported, you can write your own script and submit a PR you are using is not supported, you can write your own script and submit a PR
to get it added. to get it added.

View file

@ -80,7 +80,7 @@ The registry is a web server that provides package downloads and the ability to
publish packages. publish packages.
The official registry implementation is available in the The official registry implementation is available in the
[pesde GitHub repository](https://github.com/daimond113/pesde/tree/0.5/registry). [pesde GitHub repository](https://github.com/pesde-pkg/pesde/tree/0.5/registry).
Configuring the registry is done using environment variables. In order to allow Configuring the registry is done using environment variables. In order to allow
the registry to access the index repository, you must use an account that the registry to access the index repository, you must use an account that
@ -97,7 +97,7 @@ for this purpose.
### General configuration ### General configuration
- **INDEX_REPO_URL**: The URL of the index repository. This is required.\ - **INDEX_REPO_URL**: The URL of the index repository. This is required.\
Example: `https://github.com/daimond113/pesde-index.git` Example: `https://github.com/pesde-pkg/index.git`
- **GIT_USERNAME**: The username of a Git account that has push access to the - **GIT_USERNAME**: The username of a Git account that has push access to the
index repository. This is required. index repository. This is required.
@ -193,7 +193,7 @@ The registry supports [Sentry](https://sentry.io/) for error tracking.
First clone the repository and navigate to the repository directory: First clone the repository and navigate to the repository directory:
```sh ```sh
git clone https://github.com/daimond113/pesde.git git clone https://github.com/pesde-pkg/pesde.git
cd pesde cd pesde
``` ```

View file

@ -17,7 +17,7 @@ You can follow the installation instructions in the
<Steps> <Steps>
1. Go to the [GitHub releases page](https://github.com/daimond113/pesde/releases/latest). 1. Go to the [GitHub releases page](https://github.com/pesde-pkg/pesde/releases/latest).
2. Download the corresponding archive for your operating system. You can choose 2. Download the corresponding archive for your operating system. You can choose
whether to use the `.zip` or `.tar.gz` files. whether to use the `.zip` or `.tar.gz` files.

View file

@ -54,7 +54,7 @@ the path to the main script of our package.
+ bin = "main.luau" + bin = "main.luau"
[indices] [indices]
default = "https://github.com/daimond113/pesde-index" default = "https://github.com/pesde-pkg/index"
``` ```
Don't forget to save the file after making the changes. Don't forget to save the file after making the changes.
@ -98,7 +98,7 @@ You should see that `pesde.toml` has been updated with the new dependency.
bin = "main.luau" bin = "main.luau"
[indices] [indices]
default = "https://github.com/daimond113/pesde-index" default = "https://github.com/pesde-pkg/index"
+ [dependencies] + [dependencies]
+ hello = { name = "pesde/hello", version = "^1.0.0" } + hello = { name = "pesde/hello", version = "^1.0.0" }

View file

@ -49,7 +49,7 @@ is printed.
- `-r, --reset`: Resets the default index. - `-r, --reset`: Resets the default index.
The default index is [`pesde-index`](https://github.com/daimond113/pesde-index). The default index is [`pesde-index`](https://github.com/pesde-pkg/index).
### `pesde config scripts-repo` ### `pesde config scripts-repo`
@ -62,7 +62,7 @@ scripts repository is printed.
- `-r, --reset`: Resets the scripts repository. - `-r, --reset`: Resets the scripts repository.
The default scripts repository is [`pesde-scripts`](https://github.com/daimond113/pesde-scripts). The default scripts repository is [`pesde-scripts`](https://github.com/pesde-pkg/scripts).
## `pesde init` ## `pesde init`

View file

@ -28,7 +28,7 @@ may only contain lowercase letters, numbers, and underscores.
The first one to publish to a given scope gets to own it. If you want multiple The first one to publish to a given scope gets to own it. If you want multiple
people to be able to publish to the same scope, you can send a pull request to people to be able to publish to the same scope, you can send a pull request to
the [pesde-index GitHub repository](https://github.com/daimond113/pesde-index) the [pesde-index GitHub repository](https://github.com/pesde-pkg/index)
and add the GitHub user ID of the other person to the `owners` field of the and add the GitHub user ID of the other person to the `owners` field of the
`scope.toml` file of the given scope. For more information, see `scope.toml` file of the given scope. For more information, see
[policies](/registry/policies#package-ownership). [policies](/registry/policies#package-ownership).
@ -178,7 +178,7 @@ of files specified within the [`target.build_files`](#build_files) of the
package. package.
You can find template scripts inside the You can find template scripts inside the
[`pesde-scripts` repository](https://github.com/daimond113/pesde-scripts) [`pesde-scripts` repository](https://github.com/pesde-pkg/scripts)
for various sync tools. for various sync tools.
<LinkCard <LinkCard
@ -190,7 +190,7 @@ for various sync tools.
<LinkCard <LinkCard
title="Example script for Rojo" title="Example script for Rojo"
description="An example script for generating configuration for Rojo." description="An example script for generating configuration for Rojo."
href="https://github.com/daimond113/pesde-scripts/blob/master/lune/rojo/roblox_sync_config_generator.luau" href="https://github.com/pesde-pkg/scripts/blob/master/lune/rojo/roblox_sync_config_generator.luau"
/> />
### `sourcemap_generator` ### `sourcemap_generator`
@ -205,7 +205,7 @@ through `process.args`.
<LinkCard <LinkCard
title="Example script for Rojo" title="Example script for Rojo"
description="An example script for generating configuration for Rojo." description="An example script for generating configuration for Rojo."
href="https://github.com/daimond113/pesde-scripts/blob/master/lune/rojo/sourcemap_generator.luau" href="https://github.com/pesde-pkg/scripts/blob/master/lune/rojo/sourcemap_generator.luau"
/> />
## `[indices]` ## `[indices]`
@ -215,7 +215,7 @@ installed from.
```toml ```toml
[indices] [indices]
default = "https://github.com/daimond113/pesde-index" default = "https://github.com/pesde-pkg/index"
acme = "https://github.com/acme/pesde-index" acme = "https://github.com/acme/pesde-index"
``` ```

View file

@ -10,7 +10,7 @@ ADDRESS = '0.0.0.0'
PORT = '8080' PORT = '8080'
COMMITTER_GIT_NAME = 'pesde index updater' COMMITTER_GIT_NAME = 'pesde index updater'
COMMITTER_GIT_EMAIL = 'pesde@daimond113.com' COMMITTER_GIT_EMAIL = 'pesde@daimond113.com'
INDEX_REPO_URL = 'https://github.com/daimond113/pesde-index' INDEX_REPO_URL = 'https://github.com/pesde-pkg/index'
[http_service] [http_service]
internal_port = 8080 internal_port = 8080

View file

@ -2,7 +2,7 @@
name = "pesde-registry" name = "pesde-registry"
version = "0.7.0" version = "0.7.0"
edition = "2021" edition = "2021"
repository = "https://github.com/daimond113/pesde-index" repository = "https://github.com/pesde-pkg/index"
publish = false publish = false
[dependencies] [dependencies]

View file

@ -25,12 +25,8 @@ pub struct CliConfig {
impl Default for CliConfig { impl Default for CliConfig {
fn default() -> Self { fn default() -> Self {
Self { Self {
default_index: "https://github.com/daimond113/pesde-index" default_index: "https://github.com/pesde-pkg/index".try_into().unwrap(),
.try_into() scripts_repo: "https://github.com/pesde-pkg/scripts".try_into().unwrap(),
.unwrap(),
scripts_repo: "https://github.com/daimond113/pesde-scripts"
.try_into()
.unwrap(),
tokens: Tokens(Default::default()), tokens: Tokens(Default::default()),

View file

@ -60,7 +60,7 @@
</div> </div>
<div class="flex items-center py-5"> <div class="flex items-center py-5">
<a <a
href="https://github.com/daimond113/pesde" href="https://github.com/pesde-pkg/pesde"
target="_blank" target="_blank"
rel="noreferrer noopener" rel="noreferrer noopener"
> >

View file

@ -62,7 +62,7 @@
<a href="https://docs.pesde.daimond113.com/registry/policies">Policies</a> <a href="https://docs.pesde.daimond113.com/registry/policies">Policies</a>
</nav> </nav>
<a href="https://github.com/daimond113/pesde" target="_blank" rel="noreferrer noopener"> <a href="https://github.com/pesde-pkg/pesde" target="_blank" rel="noreferrer noopener">
<GitHub class="size-6" /> <GitHub class="size-6" />
</a> </a>
</div> </div>

View file

@ -52,7 +52,10 @@
: (dependencyInfo.target ?? $page.params.target ?? data.pkg.targets[0].kind)} : (dependencyInfo.target ?? $page.params.target ?? data.pkg.targets[0].kind)}
{@const isOfficialRegistry = isWally {@const isOfficialRegistry = isWally
? dependencyInfo.index.toLowerCase() === "https://github.com/upliftgames/wally-index" ? dependencyInfo.index.toLowerCase() === "https://github.com/upliftgames/wally-index"
: dependencyInfo.index.toLowerCase() === "https://github.com/daimond113/pesde-index"} : [
"https://github.com/daimond113/pesde-index",
"https://github.com/pesde-pkg/index",
].includes(dependencyInfo.index.toLowerCase())}
<article <article
class={`bg-card relative overflow-hidden rounded px-5 py-4 transition ${ class={`bg-card relative overflow-hidden rounded px-5 py-4 transition ${