Skip to content

Commit

Permalink
Fix for Nyssa
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfriend99 committed Oct 5, 2024
1 parent c64d740 commit af215d2
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion apps/nyssa/.blade/libs/qi/nyssa.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"author": "Richard Ore <[email protected]>",
"license": "MIT",
"sources": [
"https://nyssa.bladelang.com"
"https://nyssa.bladelang.org"
]
}
2 changes: 1 addition & 1 deletion apps/nyssa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Nyssa is the official package manager for the Blade programming language. It is

## Documentation

To read the documentation, see the [Getting started](https://nyssa.bladelang.com/docs) guide on the website.
To read the documentation, see the [Getting started](https://nyssa.bladelang.org/docs) guide on the website.


## Contributing
Expand Down
2 changes: 1 addition & 1 deletion apps/nyssa/docs/getting-project-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ DEPENDENCIES
SOURCES
~~~~~~~
• https://nyssa.bladelang.com
• https://nyssa.bladelang.org
```
2 changes: 1 addition & 1 deletion apps/nyssa/docs/hosting-a-private-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Nyssa is a self-hostable repository.

This means that you can install and configure your own private or custom instance of [nyssa.bladelang.com](https://nyssa.bladelang.com) that people can publish to and install packages from. In fact, [nyssa.bladelang.com](https://nyssa.bladelang.com) is essentially just another private repository that is accessible to everyone in the Blade community and hosted on the public web.
This means that you can install and configure your own private or custom instance of [nyssa.bladelang.org](https://nyssa.bladelang.org) that people can publish to and install packages from. In fact, [nyssa.bladelang.org](https://nyssa.bladelang.org) is essentially just another private repository that is accessible to everyone in the Blade community and hosted on the public web.

### Starting the respository server

Expand Down
2 changes: 1 addition & 1 deletion apps/nyssa/docs/managing-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ nyssa install --global <package_name>

> **NOTE:** You can install a package globally from any directory on your device. A `nyssa.json` file will only be updated if it is ran inside a nyssa project.
You can also choose to install a package from another repository other than [nyssa.bladelang.com](https://nyssa.bladelang.com) by specifying the `--repo` flag (or `-r` for short) like below.
You can also choose to install a package from another repository other than [nyssa.bladelang.org](https://nyssa.bladelang.org) by specifying the `--repo` flag (or `-r` for short) like below.

```
nyssa install --repo <repo_url> <package_name>
Expand Down
2 changes: 1 addition & 1 deletion apps/nyssa/docs/package-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ package.json files. A typical sample of a complete `nyssa.json` file looks like
"author": "Package Author <[email protected]>",
"license": "MIT",
"sources": [
"nyssa.bladelang.com"
"nyssa.bladelang.org"
],
"deps": {
"dependecny1": "1.0.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/nyssa/docs/publishers-account.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Publishers account

Nyssa allows you to publish packages to the default repository ([nyssa.bladelang.com](https://nyssa.bladelang.com)) as well as private hosted repositories through the use of publisher accounts.
Nyssa allows you to publish packages to the default repository ([nyssa.bladelang.org](https://nyssa.bladelang.org)) as well as private hosted repositories through the use of publisher accounts.

Publisher accounts are account created by package authors to allow them publish nyssa package to repositories. A nyssa instance can only publish to one repository at a time and as such, you can only be authenticated to one Nyssa repository at a time.

### Creating publisher accounts

Publisher accounts can only be created through the nyssa CLI and never from the repository web application.

To create a new publisher account on the default repository [nyssa.bladelang.com](https://nyssa.bladelang.com), run the command `nyssa account create`. This will bring up a new prompt asking you for your `username`, `email` and `password` all of which are required to create a new account.
To create a new publisher account on the default repository [nyssa.bladelang.org](https://nyssa.bladelang.org), run the command `nyssa account create`. This will bring up a new prompt asking you for your `username`, `email` and `password` all of which are required to create a new account.

Upon successful account creation, you'll be given your issued **Publisher's Key**. This key in conjuction with your username allows you to publish packages.

Expand All @@ -26,7 +26,7 @@ nyssa account --repo https://myprivatenyssa.com create

If you've created a publisher account, you can always login on the same or other devices using the command `nyssa account login`. This will prompt you for your `username` and `password`. Upon successful login, your key will be registered against the current machine.

Just like creating a new account, you can use the `-r` or `--repo` to login to another repository different from the [nyssa.bladelang.com](https://nyssa.bladelang.com).
Just like creating a new account, you can use the `-r` or `--repo` to login to another repository different from the [nyssa.bladelang.org](https://nyssa.bladelang.org).

> You can also login to your publisher account on your repository's website [login](/login) page.
Expand Down
2 changes: 1 addition & 1 deletion apps/nyssa/docs/publishing-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Before publishing a package, there are a few things you should consider when cho

1. It must be unique. Package names are unique throughout a repository irrespective of who publishes them.

It is advisable to first search the repository you want to publish to (such as [nyssa.bladelang.com](nyssa.bladelang.com)) for any package already using the name you want to choose.
It is advisable to first search the repository you want to publish to (such as [nyssa.bladelang.org](nyssa.bladelang.org)) for any package already using the name you want to choose.

> It is also highly possible but not conventional to have the same package published under different names in different repositories.
2. It should be descriptive.
Expand Down
2 changes: 1 addition & 1 deletion apps/nyssa/nyssa.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"author": "Richard Ore <[email protected]>",
"license": "MIT",
"sources": [
"https://nyssa.bladelang.com"
"https://nyssa.bladelang.org"
]
}
2 changes: 1 addition & 1 deletion apps/nyssa/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>
</div>
<div class="container buttons are-large has-text-centered is-absolute">
<a class="button is-link px-6" href="https://bladelang.com/nyssa">
<a class="button is-link px-6" href="https://bladelang.org/nyssa">
<span class="icon-text">
<span class="icon">
<i class="fas fa-book"></i>
Expand Down
2 changes: 1 addition & 1 deletion apps/nyssa/templates/inc/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
<div class="column is-three-quarter">
<nav>
<a href="https://bladelang.com">Blade</a>
<a href="https://bladelang.org">Blade</a>
<span></span>
<a href="https://github.com/blade-lang/blade/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a>
<span></span>
Expand Down
2 changes: 1 addition & 1 deletion apps/nyssa/templates/inc/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<a class="navbar-item" href="/">
Home
</a>
<a class="navbar-item" href="https://bladelang.com/nyssa">
<a class="navbar-item" href="https://bladelang.org/nyssa">
Getting Started
</a>
<a class="navbar-item is-mobile" href="/login" x-if="show_login">Login</a>
Expand Down

0 comments on commit af215d2

Please sign in to comment.