chore: bundle module
This commit is contained in:
parent
12bb49b8a6
commit
f013a754e6
|
|
@ -1,10 +1,17 @@
|
||||||
{
|
{
|
||||||
"name": "module",
|
"name": "module",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.0.0",
|
"version": "0.8.3",
|
||||||
"description": "My new Nuxt module",
|
"description": "Add shadcn-vue module to Nuxt",
|
||||||
|
"publishConfig": {
|
||||||
|
"access": "public"
|
||||||
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "your-org/my-module",
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/radix-vue/shadcn-vue.git",
|
||||||
|
"directory": "packages/module"
|
||||||
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"types": "./dist/types.d.ts",
|
"types": "./dist/types.d.ts",
|
||||||
|
|
@ -27,7 +34,8 @@
|
||||||
"test:watch": "vitest watch"
|
"test:watch": "vitest watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nuxt/kit": "^3.8.2"
|
"@nuxt/kit": "^3.8.2",
|
||||||
|
"ts-morph": "^19.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@nuxt/devtools": "latest",
|
"@nuxt/devtools": "latest",
|
||||||
|
|
@ -37,7 +45,6 @@
|
||||||
"@nuxt/test-utils": "^3.8.1",
|
"@nuxt/test-utils": "^3.8.1",
|
||||||
"@types/node": "^20.9.3",
|
"@types/node": "^20.9.3",
|
||||||
"nuxt": "^3.8.2",
|
"nuxt": "^3.8.2",
|
||||||
"ts-morph": "^19.0.0",
|
|
||||||
"vitest": "^0.33.0"
|
"vitest": "^0.33.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { readdirSync } from 'node:fs'
|
import { readdirSync } from 'node:fs'
|
||||||
import { addComponent, createResolver, defineNuxtModule } from 'nuxt/kit'
|
import { addComponent, createResolver, defineNuxtModule } from '@nuxt/kit'
|
||||||
import { Project } from 'ts-morph'
|
import { Project } from 'ts-morph'
|
||||||
|
|
||||||
// Module options TypeScript interface definition
|
// Module options TypeScript interface definition
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user