Skip to content

Commit

Permalink
feat: rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
radyakaze committed Aug 12, 2024
1 parent f58e8be commit a19fdf4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 40 deletions.
33 changes: 0 additions & 33 deletions CHANGELOG.md

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
To install `Nuxt Proxy Party`, run the following command:

```bash
yarn add -D nuxt-proxy-party
yarn add -D @radya/nuxt-proxy-party
```

After installation, add the module to your `nuxt.config.ts`:

```typescript
export default defineNuxtConfig({
modules: ['nuxt-proxy-party'],
modules: ['@radya/nuxt-proxy-party'],
})
```

Expand All @@ -35,7 +35,7 @@ To use Nuxt Proxy Party, you need to define your proxy routes within the `server
## Simple
```typescript
import { getCookie } from 'h3'
import { defineProxyParty } from 'nuxt-proxy-party/core'
import { defineProxyParty } from '@radya/nuxt-proxy-party/core'

export default defineProxyParty([
{
Expand All @@ -50,7 +50,7 @@ export default defineProxyParty([

```typescript
import { getCookie } from 'h3'
import { defineProxyParty } from 'nuxt-proxy-party/core'
import { defineProxyParty } from '@radya/nuxt-proxy-party/core'

export default defineProxyParty([
{
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nuxt-proxy-party",
"version": "1.0.2",
"name": "@radya/nuxt-proxy-party",
"version": "1.0.0",
"description": "Nuxt HTTP proxy based on H3",
"repository": "radyakaze/nuxt-proxy-party",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion template/server.config.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getCookie } from 'h3'
import { defineProxyParty } from 'nuxt-proxy-party/core'
import { defineProxyParty } from '@radya/nuxt-proxy-party/core'

export default defineProxyParty([
{
Expand Down

0 comments on commit a19fdf4

Please sign in to comment.