From 07a17677e8ba1af87a412ec35db0cca5173fc6cc Mon Sep 17 00:00:00 2001 From: rdjanuar Date: Fri, 18 Oct 2024 09:46:23 +0700 Subject: [PATCH 1/8] feat(Table): add ability to compare nested field --- src/runtime/components/data/Table.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/runtime/components/data/Table.vue b/src/runtime/components/data/Table.vue index 8a55b6cddc..b70ca0c0b8 100644 --- a/src/runtime/components/data/Table.vue +++ b/src/runtime/components/data/Table.vue @@ -290,12 +290,16 @@ export default defineComponent({ function compare (a: any, z: any) { if (typeof props.by === 'string') { - const property = props.by as unknown as any - return a?.[property] === z?.[property] + const accesorFn = accessor(props.by) + return accesorFn(a) === accesorFn(z) } return props.by(a, z) } + function accessor > (key: string) { + return (obj: T) => key.split('.').reduce((acc, curr) => acc[curr], obj) + } + function isSelected (row: TableRow) { if (!props.modelValue) { return false From 1d0df992e5ffdf9d4c1770b6dcb51ec57aadbc42 Mon Sep 17 00:00:00 2001 From: rdjanuar Date: Fri, 18 Oct 2024 09:48:15 +0700 Subject: [PATCH 2/8] fix: missing commit --- src/tailwind.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tailwind.ts b/src/tailwind.ts index 1fae3ea0d5..7c6c0b0e98 100644 --- a/src/tailwind.ts +++ b/src/tailwind.ts @@ -4,11 +4,11 @@ import { addTemplate, createResolver, installModule, useNuxt } from '@nuxt/kit' import { setGlobalColors } from './runtime/utils/colors' import type { ModuleOptions } from './module' -export default async function installTailwind ( +export default function installTailwind ( moduleOptions: ModuleOptions, nuxt = useNuxt(), resolve = createResolver(import.meta.url).resolve -) { +): Promise { const runtimeDir = resolve('./runtime') // 1. register hook @@ -84,7 +84,7 @@ export default async function installTailwind ( } // 3. install module - await installModule('@nuxtjs/tailwindcss', defu({ + return installModule('@nuxtjs/tailwindcss', defu({ exposeConfig: true, config: { darkMode: 'class' as const From b96c09f36e9562ee03dac23d196e1b365684f812 Mon Sep 17 00:00:00 2001 From: rdjanuar Date: Fri, 18 Oct 2024 10:16:19 +0700 Subject: [PATCH 3/8] fix: update accesor function --- src/runtime/components/data/Table.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/components/data/Table.vue b/src/runtime/components/data/Table.vue index b70ca0c0b8..473cc5ac43 100644 --- a/src/runtime/components/data/Table.vue +++ b/src/runtime/components/data/Table.vue @@ -297,7 +297,7 @@ export default defineComponent({ } function accessor > (key: string) { - return (obj: T) => key.split('.').reduce((acc, curr) => acc[curr], obj) + return (obj: T) => get(obj, key) } function isSelected (row: TableRow) { From de36aa36776d41126dcf436c19ecefb5cfecd69f Mon Sep 17 00:00:00 2001 From: rdjanuar Date: Fri, 18 Oct 2024 10:57:06 +0700 Subject: [PATCH 4/8] up --- docs/package.json | 4 ++-- pnpm-lock.yaml | 19 +++++++------------ 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/docs/package.json b/docs/package.json index b385796c07..50d0429a76 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,7 +11,7 @@ "@nuxt/fonts": "^0.10.0", "@nuxt/image": "^1.8.1", "@nuxt/ui": "latest", - "@nuxt/ui-pro": "^1.4.4", + "@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@1.4.4-28819338.453a914", "@nuxtjs/plausible": "^1.0.3", "@octokit/rest": "^21.0.2", "@vueuse/nuxt": "^11.1.0", @@ -29,4 +29,4 @@ "yup": "^1.4.0", "zod": "^3.23.8" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 69e56a1a34..8c55fb77a7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -166,8 +166,8 @@ importers: specifier: workspace:* version: link:.. '@nuxt/ui-pro': - specifier: ^1.4.4 - version: 1.4.4(vue@3.5.12(typescript@5.6.3)) + specifier: npm:@nuxt/ui-pro-edge@1.4.4-28819338.453a914 + version: '@nuxt/ui-pro-edge@1.4.4-28819338.453a914(vue@3.5.12(typescript@5.6.3))' '@nuxtjs/plausible': specifier: ^1.0.3 version: 1.0.3(magicast@0.3.5)(rollup@4.24.0) @@ -1399,8 +1399,8 @@ packages: vitest: optional: true - '@nuxt/ui-pro@1.4.4': - resolution: {integrity: sha512-sQbaXcUaMWxTYf0UewkncvRc5U3CeamTuDP3bDYi0uni//9BqVSby7avKgKGRZZwq4z2U+cmlMkWgxk1DFM0hQ==} + '@nuxt/ui-pro-edge@1.4.4-28819338.453a914': + resolution: {integrity: sha512-Lampt5GqlQ0wpeIUmwLOzz7/0oC3g8juMYVNNej9bz0zYdYyfB+7L1CSVZsiZKkD+Sp2HxPnS0ewScFRHwE/KQ==} '@nuxt/vite-builder@3.13.2': resolution: {integrity: sha512-3dzc3YH3UeTmzGtCevW1jTq0Q8/cm+yXqo/VS/EFM3aIO/tuNPS88is8ZF2YeBButFnLFllq/QenziPbq0YD6Q==} @@ -6042,9 +6042,6 @@ packages: peerDependencies: tailwindcss: 1 || 2 || 2.0.1-compat || 3 - tailwind-merge@2.5.3: - resolution: {integrity: sha512-d9ZolCAIzom1nf/5p4LdD5zvjmgSxY0BGgdSvmXIoMYAiPdAW/dSpP7joCDYFY7r/HkEa2qmPtkgsu0xjQeQtw==} - tailwind-merge@2.5.4: resolution: {integrity: sha512-0q8cfZHMu9nuYP/b5Shb7Y7Sh1B7Nnl5GqNr1U+n2p6+mybvRtayrQ+0042Z5byvTA8ihjlP8Odo8/VnHbZu4Q==} @@ -8182,7 +8179,7 @@ snapshots: - supports-color - webpack-sources - '@nuxt/ui-pro@1.4.4(vue@3.5.12(typescript@5.6.3))': + '@nuxt/ui-pro-edge@1.4.4-28819338.453a914(vue@3.5.12(typescript@5.6.3))': dependencies: '@iconify-json/vscode-icons': 1.2.2 '@nuxt/ui': 'link:' @@ -8193,7 +8190,7 @@ snapshots: parse-git-config: 3.0.0 pathe: 1.1.2 pkg-types: 1.2.1 - tailwind-merge: 2.5.3 + tailwind-merge: 2.5.4 vue3-smooth-dnd: 0.0.6(vue@3.5.12(typescript@5.6.3)) transitivePeerDependencies: - '@vue/composition-api' @@ -14202,8 +14199,6 @@ snapshots: transitivePeerDependencies: - supports-color - tailwind-merge@2.5.3: {} - tailwind-merge@2.5.4: {} tailwindcss@3.4.14: @@ -15144,4 +15139,4 @@ snapshots: zod@3.23.8: {} - zwitch@2.0.4: {} + zwitch@2.0.4: {} \ No newline at end of file From 728fcac6679d13f97f3b38b864b15cce45ecfbf4 Mon Sep 17 00:00:00 2001 From: rdjanuar Date: Sat, 19 Oct 2024 03:32:57 +0700 Subject: [PATCH 5/8] fix: package json & pnpm --- package.json | 2 +- pnpm-lock.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index d21a646dd1..c78ffd5d4b 100644 --- a/package.json +++ b/package.json @@ -80,4 +80,4 @@ "resolutions": { "@nuxt/ui": "workspace:*" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8c55fb77a7..a57eaf19f5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15139,4 +15139,4 @@ snapshots: zod@3.23.8: {} - zwitch@2.0.4: {} \ No newline at end of file + zwitch@2.0.4: {} From fa3ce6565e5897d32dc0f125bba02eaa8c5d8656 Mon Sep 17 00:00:00 2001 From: rdjanuar Date: Sat, 19 Oct 2024 03:39:52 +0700 Subject: [PATCH 6/8] fix: EOL package json --- docs/package.json | 62 +++++++++--------- package.json | 164 +++++++++++++++++++++++----------------------- 2 files changed, 113 insertions(+), 113 deletions(-) diff --git a/docs/package.json b/docs/package.json index 50d0429a76..dca7569d0b 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,32 +1,32 @@ -{ - "name": "@nuxt/ui-docs", - "private": true, - "type": "module", - "dependencies": { - "@iconify-json/heroicons": "^1.2.1", - "@iconify-json/simple-icons": "^1.2.8", - "@iconify-json/vscode-icons": "^1.2.2", - "@nuxt/content": "^2.13.4", - "@nuxt/eslint-config": "^0.4.0", - "@nuxt/fonts": "^0.10.0", - "@nuxt/image": "^1.8.1", - "@nuxt/ui": "latest", - "@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@1.4.4-28819338.453a914", - "@nuxtjs/plausible": "^1.0.3", - "@octokit/rest": "^21.0.2", - "@vueuse/nuxt": "^11.1.0", - "date-fns": "^4.1.0", - "eslint": "^8.57.0", - "joi": "^17.13.3", - "nuxt": "^3.13.2", - "nuxt-cloudflare-analytics": "^1.0.8", - "nuxt-component-meta": "^0.8.2", - "nuxt-og-image": "^3.0.6", - "prettier": "^3.3.3", - "ufo": "^1.5.4", - "v-calendar": "^3.1.2", - "valibot": "^0.42.1", - "yup": "^1.4.0", - "zod": "^3.23.8" - } +{ + "name": "@nuxt/ui-docs", + "private": true, + "type": "module", + "dependencies": { + "@iconify-json/heroicons": "^1.2.1", + "@iconify-json/simple-icons": "^1.2.8", + "@iconify-json/vscode-icons": "^1.2.2", + "@nuxt/content": "^2.13.4", + "@nuxt/eslint-config": "^0.4.0", + "@nuxt/fonts": "^0.10.0", + "@nuxt/image": "^1.8.1", + "@nuxt/ui": "latest", + "@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@1.4.4-28819338.453a914", + "@nuxtjs/plausible": "^1.0.3", + "@octokit/rest": "^21.0.2", + "@vueuse/nuxt": "^11.1.0", + "date-fns": "^4.1.0", + "eslint": "^8.57.0", + "joi": "^17.13.3", + "nuxt": "^3.13.2", + "nuxt-cloudflare-analytics": "^1.0.8", + "nuxt-component-meta": "^0.8.2", + "nuxt-og-image": "^3.0.6", + "prettier": "^3.3.3", + "ufo": "^1.5.4", + "v-calendar": "^3.1.2", + "valibot": "^0.42.1", + "yup": "^1.4.0", + "zod": "^3.23.8" + } } \ No newline at end of file diff --git a/package.json b/package.json index c78ffd5d4b..b2f849dbc6 100644 --- a/package.json +++ b/package.json @@ -1,83 +1,83 @@ -{ - "name": "@nuxt/ui", - "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.", - "version": "2.18.7", - "packageManager": "pnpm@9.12.2", - "repository": "nuxt/ui", - "homepage": "https://ui.nuxt.com", - "type": "module", - "license": "MIT", - "exports": { - ".": { - "import": "./dist/module.mjs", - "require": "./dist/module.cjs" - } - }, - "main": "./dist/module.cjs", - "types": "./dist/types.d.ts", - "files": [ - "dist" - ], - "scripts": { - "build": "nuxt-module-build build", - "prepack": "pnpm build", - "dev": "nuxi dev docs", - "play": "nuxi dev playground", - "build:docs": "nuxi generate docs", - "lint": "eslint .", - "lint:fix": "eslint . --fix", - "typecheck": "vue-tsc --noEmit && nuxi typecheck docs", - "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs", - "release": "release-it", - "test": "vitest" - }, - "dependencies": { - "@headlessui/tailwindcss": "^0.2.1", - "@headlessui/vue": "^1.7.23", - "@iconify-json/heroicons": "^1.2.1", - "@nuxt/icon": "^1.5.6", - "@nuxt/kit": "^3.13.2", - "@nuxtjs/color-mode": "^3.5.1", - "@nuxtjs/tailwindcss": "^6.12.2", - "@popperjs/core": "^2.11.8", - "@tailwindcss/aspect-ratio": "^0.4.2", - "@tailwindcss/container-queries": "^0.1.1", - "@tailwindcss/forms": "^0.5.9", - "@tailwindcss/typography": "^0.5.15", - "@vueuse/core": "^11.1.0", - "@vueuse/integrations": "^11.1.0", - "@vueuse/math": "^11.1.0", - "defu": "^6.1.4", - "fuse.js": "^7.0.0", - "ohash": "^1.1.4", - "pathe": "^1.1.2", - "scule": "^1.3.0", - "tailwind-merge": "^2.5.4", - "tailwindcss": "^3.4.14" - }, - "devDependencies": { - "@nuxt/eslint-config": "^0.4.0", - "@nuxt/module-builder": "^0.8.4", - "@nuxt/test-utils": "^3.14.3", - "@release-it/conventional-changelog": "^9.0.0", - "@vue/test-utils": "^2.4.6", - "eslint": "^8.57.0", - "happy-dom": "^14.12.3", - "joi": "^17.13.3", - "nuxt": "^3.13.2", - "release-it": "^17.10.0", - "superstruct": "^2.0.2", - "unbuild": "^2.0.0", - "valibot": "^0.42.1", - "valibot30": "npm:valibot@0.30.0", - "valibot31": "npm:valibot@0.31.0", - "vitest": "^2.1.3", - "vitest-environment-nuxt": "^1.0.1", - "vue-tsc": "^2.1.6", - "yup": "^1.4.0", - "zod": "^3.23.8" - }, - "resolutions": { - "@nuxt/ui": "workspace:*" - } +{ + "name": "@nuxt/ui", + "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.", + "version": "2.18.7", + "packageManager": "pnpm@9.12.2", + "repository": "nuxt/ui", + "homepage": "https://ui.nuxt.com", + "type": "module", + "license": "MIT", + "exports": { + ".": { + "import": "./dist/module.mjs", + "require": "./dist/module.cjs" + } + }, + "main": "./dist/module.cjs", + "types": "./dist/types.d.ts", + "files": [ + "dist" + ], + "scripts": { + "build": "nuxt-module-build build", + "prepack": "pnpm build", + "dev": "nuxi dev docs", + "play": "nuxi dev playground", + "build:docs": "nuxi generate docs", + "lint": "eslint .", + "lint:fix": "eslint . --fix", + "typecheck": "vue-tsc --noEmit && nuxi typecheck docs", + "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs", + "release": "release-it", + "test": "vitest" + }, + "dependencies": { + "@headlessui/tailwindcss": "^0.2.1", + "@headlessui/vue": "^1.7.23", + "@iconify-json/heroicons": "^1.2.1", + "@nuxt/icon": "^1.5.6", + "@nuxt/kit": "^3.13.2", + "@nuxtjs/color-mode": "^3.5.1", + "@nuxtjs/tailwindcss": "^6.12.2", + "@popperjs/core": "^2.11.8", + "@tailwindcss/aspect-ratio": "^0.4.2", + "@tailwindcss/container-queries": "^0.1.1", + "@tailwindcss/forms": "^0.5.9", + "@tailwindcss/typography": "^0.5.15", + "@vueuse/core": "^11.1.0", + "@vueuse/integrations": "^11.1.0", + "@vueuse/math": "^11.1.0", + "defu": "^6.1.4", + "fuse.js": "^7.0.0", + "ohash": "^1.1.4", + "pathe": "^1.1.2", + "scule": "^1.3.0", + "tailwind-merge": "^2.5.4", + "tailwindcss": "^3.4.14" + }, + "devDependencies": { + "@nuxt/eslint-config": "^0.4.0", + "@nuxt/module-builder": "^0.8.4", + "@nuxt/test-utils": "^3.14.3", + "@release-it/conventional-changelog": "^9.0.0", + "@vue/test-utils": "^2.4.6", + "eslint": "^8.57.0", + "happy-dom": "^14.12.3", + "joi": "^17.13.3", + "nuxt": "^3.13.2", + "release-it": "^17.10.0", + "superstruct": "^2.0.2", + "unbuild": "^2.0.0", + "valibot": "^0.42.1", + "valibot30": "npm:valibot@0.30.0", + "valibot31": "npm:valibot@0.31.0", + "vitest": "^2.1.3", + "vitest-environment-nuxt": "^1.0.1", + "vue-tsc": "^2.1.6", + "yup": "^1.4.0", + "zod": "^3.23.8" + }, + "resolutions": { + "@nuxt/ui": "workspace:*" + } } \ No newline at end of file From 0683ec4fc3eefc39f6ff75d6f7721443596bc6a7 Mon Sep 17 00:00:00 2001 From: rdjanuar Date: Sat, 19 Oct 2024 03:46:29 +0700 Subject: [PATCH 7/8] fix: EOL v2 package json --- docs/package.json | 62 +++++++++--------- package.json | 164 +++++++++++++++++++++++----------------------- 2 files changed, 113 insertions(+), 113 deletions(-) diff --git a/docs/package.json b/docs/package.json index dca7569d0b..50d0429a76 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,32 +1,32 @@ -{ - "name": "@nuxt/ui-docs", - "private": true, - "type": "module", - "dependencies": { - "@iconify-json/heroicons": "^1.2.1", - "@iconify-json/simple-icons": "^1.2.8", - "@iconify-json/vscode-icons": "^1.2.2", - "@nuxt/content": "^2.13.4", - "@nuxt/eslint-config": "^0.4.0", - "@nuxt/fonts": "^0.10.0", - "@nuxt/image": "^1.8.1", - "@nuxt/ui": "latest", - "@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@1.4.4-28819338.453a914", - "@nuxtjs/plausible": "^1.0.3", - "@octokit/rest": "^21.0.2", - "@vueuse/nuxt": "^11.1.0", - "date-fns": "^4.1.0", - "eslint": "^8.57.0", - "joi": "^17.13.3", - "nuxt": "^3.13.2", - "nuxt-cloudflare-analytics": "^1.0.8", - "nuxt-component-meta": "^0.8.2", - "nuxt-og-image": "^3.0.6", - "prettier": "^3.3.3", - "ufo": "^1.5.4", - "v-calendar": "^3.1.2", - "valibot": "^0.42.1", - "yup": "^1.4.0", - "zod": "^3.23.8" - } +{ + "name": "@nuxt/ui-docs", + "private": true, + "type": "module", + "dependencies": { + "@iconify-json/heroicons": "^1.2.1", + "@iconify-json/simple-icons": "^1.2.8", + "@iconify-json/vscode-icons": "^1.2.2", + "@nuxt/content": "^2.13.4", + "@nuxt/eslint-config": "^0.4.0", + "@nuxt/fonts": "^0.10.0", + "@nuxt/image": "^1.8.1", + "@nuxt/ui": "latest", + "@nuxt/ui-pro": "npm:@nuxt/ui-pro-edge@1.4.4-28819338.453a914", + "@nuxtjs/plausible": "^1.0.3", + "@octokit/rest": "^21.0.2", + "@vueuse/nuxt": "^11.1.0", + "date-fns": "^4.1.0", + "eslint": "^8.57.0", + "joi": "^17.13.3", + "nuxt": "^3.13.2", + "nuxt-cloudflare-analytics": "^1.0.8", + "nuxt-component-meta": "^0.8.2", + "nuxt-og-image": "^3.0.6", + "prettier": "^3.3.3", + "ufo": "^1.5.4", + "v-calendar": "^3.1.2", + "valibot": "^0.42.1", + "yup": "^1.4.0", + "zod": "^3.23.8" + } } \ No newline at end of file diff --git a/package.json b/package.json index b2f849dbc6..c78ffd5d4b 100644 --- a/package.json +++ b/package.json @@ -1,83 +1,83 @@ -{ - "name": "@nuxt/ui", - "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.", - "version": "2.18.7", - "packageManager": "pnpm@9.12.2", - "repository": "nuxt/ui", - "homepage": "https://ui.nuxt.com", - "type": "module", - "license": "MIT", - "exports": { - ".": { - "import": "./dist/module.mjs", - "require": "./dist/module.cjs" - } - }, - "main": "./dist/module.cjs", - "types": "./dist/types.d.ts", - "files": [ - "dist" - ], - "scripts": { - "build": "nuxt-module-build build", - "prepack": "pnpm build", - "dev": "nuxi dev docs", - "play": "nuxi dev playground", - "build:docs": "nuxi generate docs", - "lint": "eslint .", - "lint:fix": "eslint . --fix", - "typecheck": "vue-tsc --noEmit && nuxi typecheck docs", - "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs", - "release": "release-it", - "test": "vitest" - }, - "dependencies": { - "@headlessui/tailwindcss": "^0.2.1", - "@headlessui/vue": "^1.7.23", - "@iconify-json/heroicons": "^1.2.1", - "@nuxt/icon": "^1.5.6", - "@nuxt/kit": "^3.13.2", - "@nuxtjs/color-mode": "^3.5.1", - "@nuxtjs/tailwindcss": "^6.12.2", - "@popperjs/core": "^2.11.8", - "@tailwindcss/aspect-ratio": "^0.4.2", - "@tailwindcss/container-queries": "^0.1.1", - "@tailwindcss/forms": "^0.5.9", - "@tailwindcss/typography": "^0.5.15", - "@vueuse/core": "^11.1.0", - "@vueuse/integrations": "^11.1.0", - "@vueuse/math": "^11.1.0", - "defu": "^6.1.4", - "fuse.js": "^7.0.0", - "ohash": "^1.1.4", - "pathe": "^1.1.2", - "scule": "^1.3.0", - "tailwind-merge": "^2.5.4", - "tailwindcss": "^3.4.14" - }, - "devDependencies": { - "@nuxt/eslint-config": "^0.4.0", - "@nuxt/module-builder": "^0.8.4", - "@nuxt/test-utils": "^3.14.3", - "@release-it/conventional-changelog": "^9.0.0", - "@vue/test-utils": "^2.4.6", - "eslint": "^8.57.0", - "happy-dom": "^14.12.3", - "joi": "^17.13.3", - "nuxt": "^3.13.2", - "release-it": "^17.10.0", - "superstruct": "^2.0.2", - "unbuild": "^2.0.0", - "valibot": "^0.42.1", - "valibot30": "npm:valibot@0.30.0", - "valibot31": "npm:valibot@0.31.0", - "vitest": "^2.1.3", - "vitest-environment-nuxt": "^1.0.1", - "vue-tsc": "^2.1.6", - "yup": "^1.4.0", - "zod": "^3.23.8" - }, - "resolutions": { - "@nuxt/ui": "workspace:*" - } +{ + "name": "@nuxt/ui", + "description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.", + "version": "2.18.7", + "packageManager": "pnpm@9.12.2", + "repository": "nuxt/ui", + "homepage": "https://ui.nuxt.com", + "type": "module", + "license": "MIT", + "exports": { + ".": { + "import": "./dist/module.mjs", + "require": "./dist/module.cjs" + } + }, + "main": "./dist/module.cjs", + "types": "./dist/types.d.ts", + "files": [ + "dist" + ], + "scripts": { + "build": "nuxt-module-build build", + "prepack": "pnpm build", + "dev": "nuxi dev docs", + "play": "nuxi dev playground", + "build:docs": "nuxi generate docs", + "lint": "eslint .", + "lint:fix": "eslint . --fix", + "typecheck": "vue-tsc --noEmit && nuxi typecheck docs", + "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare docs", + "release": "release-it", + "test": "vitest" + }, + "dependencies": { + "@headlessui/tailwindcss": "^0.2.1", + "@headlessui/vue": "^1.7.23", + "@iconify-json/heroicons": "^1.2.1", + "@nuxt/icon": "^1.5.6", + "@nuxt/kit": "^3.13.2", + "@nuxtjs/color-mode": "^3.5.1", + "@nuxtjs/tailwindcss": "^6.12.2", + "@popperjs/core": "^2.11.8", + "@tailwindcss/aspect-ratio": "^0.4.2", + "@tailwindcss/container-queries": "^0.1.1", + "@tailwindcss/forms": "^0.5.9", + "@tailwindcss/typography": "^0.5.15", + "@vueuse/core": "^11.1.0", + "@vueuse/integrations": "^11.1.0", + "@vueuse/math": "^11.1.0", + "defu": "^6.1.4", + "fuse.js": "^7.0.0", + "ohash": "^1.1.4", + "pathe": "^1.1.2", + "scule": "^1.3.0", + "tailwind-merge": "^2.5.4", + "tailwindcss": "^3.4.14" + }, + "devDependencies": { + "@nuxt/eslint-config": "^0.4.0", + "@nuxt/module-builder": "^0.8.4", + "@nuxt/test-utils": "^3.14.3", + "@release-it/conventional-changelog": "^9.0.0", + "@vue/test-utils": "^2.4.6", + "eslint": "^8.57.0", + "happy-dom": "^14.12.3", + "joi": "^17.13.3", + "nuxt": "^3.13.2", + "release-it": "^17.10.0", + "superstruct": "^2.0.2", + "unbuild": "^2.0.0", + "valibot": "^0.42.1", + "valibot30": "npm:valibot@0.30.0", + "valibot31": "npm:valibot@0.31.0", + "vitest": "^2.1.3", + "vitest-environment-nuxt": "^1.0.1", + "vue-tsc": "^2.1.6", + "yup": "^1.4.0", + "zod": "^3.23.8" + }, + "resolutions": { + "@nuxt/ui": "workspace:*" + } } \ No newline at end of file From b900dad4bc95917184c850ef5dbc63744d5135d3 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sat, 19 Oct 2024 12:27:52 +0200 Subject: [PATCH 8/8] up --- docs/package.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/package.json b/docs/package.json index 50d0429a76..d31400f4ff 100644 --- a/docs/package.json +++ b/docs/package.json @@ -29,4 +29,4 @@ "yup": "^1.4.0", "zod": "^3.23.8" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index c78ffd5d4b..d21a646dd1 100644 --- a/package.json +++ b/package.json @@ -80,4 +80,4 @@ "resolutions": { "@nuxt/ui": "workspace:*" } -} \ No newline at end of file +}