Skip to content

Commit 5a20392

Browse files
committed
chore: update package name
1 parent 2b7fd5b commit 5a20392

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010

1111
jobs:
12-
lintAndCheck:
12+
ci:
1313
runs-on: ubuntu-latest
1414

1515
steps:
@@ -32,4 +32,5 @@ jobs:
3232
run: npm run test
3333

3434
- name: Publish
35-
run: pnpx pkg-pr-new publish --compact --no-template --pnpm
35+
# add `--compact` option after releasing on npm
36+
run: pnpx pkg-pr-new publish --no-template --pnpm

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@nuxtjs/llms",
2+
"name": "nuxt-llms",
33
"version": "1.0.0",
44
"description": "My new Nuxt module",
55
"repository": "your-org/my-module",
@@ -34,7 +34,7 @@
3434
"@nuxt/kit": "^3.15.4"
3535
},
3636
"devDependencies": {
37-
"@nuxtjs/llms": "link:.",
37+
"nuxt-llms": "link:.",
3838
"@nuxt/devtools": "^2.1.0",
3939
"@nuxt/eslint-config": "^1.0.1",
4040
"@nuxt/module-builder": "^0.8.4",

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime/server/routes/llms.txt.get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { eventHandler, setHeader } from 'h3'
2-
import type { LLMSection, ModuleOptions } from '@nuxtjs/llms'
2+
import type { LLMSection, ModuleOptions } from 'nuxt-llms'
33
import { llmsHooks } from '../utils/hooks'
44
import { useRuntimeConfig } from '#imports'
55

src/runtime/server/routes/llms_full.txt.get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { eventHandler, setHeader } from 'h3'
2-
import type { ModuleOptions } from '@nuxtjs/llms'
2+
import type { ModuleOptions } from 'nuxt-llms'
33
import { llmsHooks } from '../utils/hooks'
44
import { useRuntimeConfig } from '#imports'
55

src/runtime/server/utils/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createHooks } from 'hookable'
22
import type { H3Event } from 'h3'
3-
import type { ModuleOptions } from '@nuxtjs/llms'
3+
import type { ModuleOptions } from 'nuxt-llms'
44

55
export interface LLMSHooks {
66
'generate': (event: H3Event, options: ModuleOptions) => void

0 commit comments

Comments
 (0)