Skip to content

Commit cbe8753

Browse files
committed
chore: Rebrand to nuxt-open-fetch-x in more places
1 parent 47af5f6 commit cbe8753

File tree

5 files changed

+16
-12
lines changed

5 files changed

+16
-12
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,11 @@ Made with 💚
9999
Published under the [MIT License](./LICENCE).
100100

101101
<!-- Badges -->
102-
[npm-version-src]: https://img.shields.io/npm/v/nuxt-open-fetch/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
103-
[npm-version-href]: https://npmjs.com/package/nuxt-open-fetch
102+
[npm-version-src]: https://img.shields.io/npm/v/nuxt-open-fetch-x/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
103+
[npm-version-href]: https://npmjs.com/package/nuxt-open-fetch-x
104104

105-
[license-src]: https://img.shields.io/npm/l/nuxt-open-fetch.svg?style=flat&colorA=18181B&colorB=28CF8D
106-
[license-href]: https://npmjs.com/package/nuxt-open-fetch
105+
[license-src]: https://img.shields.io/npm/l/nuxt-open-fetch-x.svg?style=flat&colorA=18181B&colorB=28CF8D
106+
[license-href]: https://npmjs.com/package/nuxt-open-fetch-x
107107

108108
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
109109
[nuxt-href]: https://nuxt.com

docs/content/1.setup/1.quick-start.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,32 @@ It uses awesome [openapi-typescript](https://github.com/drwpow/openapi-typescrip
88

99
## Installation
1010

11-
Add `nuxt-open-fetch` to your project's dev dependencies:
11+
Add `nuxt-open-fetch-x` to your project's dev dependencies:
1212

1313
::code-group
1414

1515
```bash [pnpm]
16-
pnpm add nuxt-open-fetch -D
16+
pnpm add nuxt-open-fetch-x -D
1717
```
1818

1919
```bash [yarn]
20-
yarn add --dev nuxt-open-fetch
20+
yarn add --dev nuxt-open-fetch-x
2121
```
2222

2323
```bash [npm]
24-
npm install nuxt-open-fetch -D
24+
npm install nuxt-open-fetch-x -D
2525
```
2626

2727
::
2828

2929
## Configuration
3030

31-
Then, add `nuxt-open-fetch` to the [`modules`](https://nuxt.com/docs/api/configuration/nuxt-config#modules) section of your Nuxt configuration:
31+
Then, add `nuxt-open-fetch-x` to the [`modules`](https://nuxt.com/docs/api/configuration/nuxt-config#modules) section of your Nuxt configuration:
3232

3333
```ts twoslash [nuxt.config.ts]
3434
// @noErrors
3535
export default defineNuxtConfig({
36-
modules: ['nuxt-open-fetch'],
36+
modules: ['nuxt-open-fetch-x'],
3737
openFetch: {
3838
clients: {
3939
pets: {

docs/content/1.setup/2.configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Learn how to configure NuxtOpenFetch"
66
```ts twoslash [nuxt.config.ts]
77
// @noErrors
88
export default defineNuxtConfig({
9-
modules: ['nuxt-open-fetch'],
9+
modules: ['nuxt-open-fetch-x'],
1010

1111
openFetch: {
1212
clients: {}

docs/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default defineNuxtConfig({
1111
'@nuxt/ui',
1212
'@nuxthq/studio',
1313
'nuxt-og-image',
14-
'nuxt-open-fetch',
14+
'nuxt-open-fetch-x',
1515
],
1616

1717
devtools: {

playground/nuxt.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@ export default defineNuxtConfig({
22
modules: ['../src/module'],
33
extends: ['./pets'],
44
devtools: { enabled: true },
5+
56
openFetch: {
67
clients: {
78
api: {
89
baseURL: 'https://petstore3.swagger.io/api/v3/',
910
},
1011
},
1112
},
13+
1214
runtimeConfig: {
1315
public: {
1416
openFetch: {
@@ -18,4 +20,6 @@ export default defineNuxtConfig({
1820
},
1921
},
2022
},
23+
24+
compatibilityDate: '2025-03-21',
2125
})

0 commit comments

Comments
 (0)