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 634c766
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 64 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
48 changes: 24 additions & 24 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1824,6 +1824,30 @@ __metadata:
languageName: node
linkType: hard

"@radya/nuxt-proxy-party@workspace:.":
version: 0.0.0-use.local
resolution: "@radya/nuxt-proxy-party@workspace:."
dependencies:
"@nuxt/devtools": "npm:^1.3.9"
"@nuxt/eslint-config": "npm:^0.3.13"
"@nuxt/kit": "npm:^3.12.4"
"@nuxt/module-builder": "npm:^0.8.1"
"@nuxt/schema": "npm:^3.12.4"
"@nuxt/test-utils": "npm:^3.14.0"
"@types/node": "npm:^20.14.11"
"@vitest/ui": "npm:^2.0.5"
changelogen: "npm:^0.5.5"
citty: "npm:^0.1.6"
eslint: "npm:^9.7.0"
nuxt: "npm:^3.12.4"
typescript: "npm:latest"
vitest: "npm:^2.0.5"
vue-tsc: "npm:^2.0.26"
bin:
nuxt-proxy-party: ./dist/bin/index.mjs
languageName: unknown
linkType: soft

"@rollup/plugin-alias@npm:^5.0.0, @rollup/plugin-alias@npm:^5.1.0":
version: 5.1.0
resolution: "@rollup/plugin-alias@npm:5.1.0"
Expand Down Expand Up @@ -7140,30 +7164,6 @@ __metadata:
languageName: node
linkType: hard

"nuxt-proxy-party@workspace:.":
version: 0.0.0-use.local
resolution: "nuxt-proxy-party@workspace:."
dependencies:
"@nuxt/devtools": "npm:^1.3.9"
"@nuxt/eslint-config": "npm:^0.3.13"
"@nuxt/kit": "npm:^3.12.4"
"@nuxt/module-builder": "npm:^0.8.1"
"@nuxt/schema": "npm:^3.12.4"
"@nuxt/test-utils": "npm:^3.14.0"
"@types/node": "npm:^20.14.11"
"@vitest/ui": "npm:^2.0.5"
changelogen: "npm:^0.5.5"
citty: "npm:^0.1.6"
eslint: "npm:^9.7.0"
nuxt: "npm:^3.12.4"
typescript: "npm:latest"
vitest: "npm:^2.0.5"
vue-tsc: "npm:^2.0.26"
bin:
nuxt-proxy-party: ./dist/bin/index.mjs
languageName: unknown
linkType: soft

"nuxt@npm:^3.12.4":
version: 3.12.4
resolution: "nuxt@npm:3.12.4"
Expand Down

0 comments on commit 634c766

Please sign in to comment.