Skip to content

Commit

Permalink
rename the npm package to @wpnuxt/core (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
vernaillen authored Aug 10, 2024
1 parent 49f0771 commit be97a21
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/1.getting-started/3.composables.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ There's also a few [other composables provided by WPNuxt](#other-composables-pro

### Based on Predefined queries

[Check them here](https://github.com/vernaillen/wpnuxt-module/tree/main/src/runtime/queries)
[Check them here](https://github.com/wpnuxt/wpnuxt-core/tree/main/src/runtime/queries)

Can be overwritten by providing a custom query with the same name.
2 changes: 1 addition & 1 deletion docs/2.content-queries/1.posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Predefined: Posts'
description: Generated composables to fetch Posts and their content
---

WPNuxt provides 3 GraphQL queries to fetch posts ([src](https://github.com/vernaillen/wpnuxt-module/blob/main/src/runtime/queries/Posts.gql){target=_blank}):
WPNuxt provides 3 GraphQL queries to fetch posts ([src](https://github.com/wpnuxt/wpnuxt-core/blob/main/src/runtime/queries/Posts.gql){target=_blank}):

::code-group
```graphql [GraphQL queries]
Expand Down
2 changes: 1 addition & 1 deletion docs/2.content-queries/2.pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: 'Predefined: Pages'
description: Generated composables to fetch Pages and their content
---

WPNuxt provides 3 [queries to fetch pages](https://github.com/vernaillen/wpnuxt-module/blob/main/src/runtime/queries/Page.gql), which result in these generated composables:
WPNuxt provides 3 [queries to fetch pages](https://github.com/wpnuxt/wpnuxt-core/blob/main/src/runtime/queries/Page.gql), which result in these generated composables:

```ts twoslash
const { data: pages } = await usePages()
Expand Down
2 changes: 1 addition & 1 deletion docs/6.under-the-hood/2.code-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Code Generation
description:
---

Composables are automatically generated by WPNuxt based on [predefined queries](https://github.com/vernaillen/wpnuxt-module/tree/main/src/runtime/queries) as well as your own [custom queries](../advanced/custom-post-types.md).
Composables are automatically generated by WPNuxt based on [predefined queries](https://github.com/wpnuxt/wpnuxt-core/tree/main/src/runtime/queries) as well as your own [custom queries](../advanced/custom-post-types.md).

This is done with the help of [GraphQL-Codegen](https://the-guild.dev/graphql/codegen)

Expand Down
2 changes: 1 addition & 1 deletion docs/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ sections:
size: md
- label: 'Source code'
icon: i-ph-app-window-duotone
to: 'https://github.com/vernaillen/wpnuxt-module/tree/main/src/runtime/composables'
to: 'https://github.com/wpnuxt/wpnuxt-core/tree/main/src/runtime/composables'
color: gray
size: md
slot: code
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "@vernaillen/wpnuxt",
"name": "@wpnuxt/core",
"version": "1.0.0-edge.3",
"description": "WPNuxt",
"repository": {
"type": "git",
"url": "git+https://github.com/vernaillen/wpnuxt-module.git"
"url": "git+https://github.com/wpnuxt/wpnuxt-core.git"
},
"license": "MIT",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "wpnuxt-module-playground",
"name": "wpnuxt-core-playground",
"type": "module",
"scripts": {
"dev": "nuxi dev",
Expand Down

0 comments on commit be97a21

Please sign in to comment.