feat(module): devtools integration (#2196)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Romain Hamel
2024-11-05 22:17:56 +01:00
committed by GitHub
parent 7fc6b387b3
commit 701c75a2a8
100 changed files with 2062 additions and 59 deletions

View File

@@ -48,23 +48,27 @@
"vue-plugin.d.ts"
],
"scripts": {
"build": "nuxt-module-build build",
"build": "nuxt-module-build build && pnpm devtools:build",
"prepack": "pnpm build",
"dev": "DEV=true nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs && vite build playground-vue",
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground && nuxi prepare docs && nuxi prepare devtools && vite build playground-vue",
"devtools": "NUXT_UI_DEVTOOLS_LOCAL=true nuxi dev playground",
"devtools:build": "nuxi generate devtools",
"devtools:prepare": "nuxt-component-meta playground --outputDir ../src/devtools/.component-meta/",
"docs": "DEV=true nuxi dev docs",
"docs:build": "nuxi build docs",
"docs:prepare": "nuxt-component-meta docs",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"typecheck": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck docs && cd playground-vue && vue-tsc --noEmit",
"typecheck": "vue-tsc --noEmit && nuxi typecheck playground && nuxi typecheck docs && nuxi typecheck devtools && cd playground-vue && vue-tsc --noEmit",
"test": "vitest",
"test:vue": "vitest -c vitest.vue.config.ts",
"release": "release-it --preRelease=alpha --npm.tag=next"
},
"dependencies": {
"@iconify/vue": "^4.1.2",
"@nuxt/devtools-kit": "^1.6.0",
"@nuxt/fonts": "^0.10.2",
"@nuxt/icon": "^1.6.1",
"@nuxt/kit": "^3.14.0",
@@ -87,6 +91,7 @@
"embla-carousel-wheel-gestures": "^8.0.1",
"fast-deep-equal": "^3.1.3",
"fuse.js": "^7.0.0",
"get-port-please": "^3.1.2",
"knitwork": "^1.1.0",
"magic-string": "^0.30.12",
"mlly": "^1.7.2",
@@ -94,6 +99,7 @@
"pathe": "^1.1.2",
"radix-vue": "^1.9.8",
"scule": "^1.3.0",
"sirv": "^2.0.4",
"tailwind-variants": "^0.2.1",
"tailwindcss": "4.0.0-alpha.30",
"tinyglobby": "^0.2.10",
@@ -113,7 +119,9 @@
"eslint": "^9.14.0",
"happy-dom": "^15.7.4",
"joi": "^17.13.3",
"knitwork": "^1.1.0",
"nuxt": "^3.14.0",
"nuxt-component-meta": "^0.9.0",
"release-it": "^17.10.0",
"superstruct": "^2.0.2",
"valibot": "^0.42.1",