shadcn-nuxt 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shadcn",
3
3
  "configKey": "shadcn",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { readdirSync, readFileSync } from 'node:fs';
2
2
  import { join } from 'node:path';
3
- import { defineNuxtModule, createResolver, useLogger, addTemplate, findPath, installModule, addComponent } from '@nuxt/kit';
3
+ import { defineNuxtModule, createResolver, useLogger, addTemplate, findPath, addComponent } from '@nuxt/kit';
4
4
  import { parseSync } from '@oxc-parser/wasm';
5
5
 
6
6
  const UTILS = `import { type ClassValue, clsx } from 'clsx'
@@ -17,7 +17,7 @@ const module = defineNuxtModule({
17
17
  configKey: "shadcn"
18
18
  },
19
19
  defaults: {
20
- prefix: "",
20
+ prefix: "Ui",
21
21
  componentDir: "./components/ui"
22
22
  },
23
23
  async setup({ prefix, componentDir }, nuxt) {
@@ -42,8 +42,6 @@ const module = defineNuxtModule({
42
42
  extensions: []
43
43
  });
44
44
  });
45
- await installModule("@nuxtjs/tailwindcss");
46
- await installModule("@nuxtjs/color-mode");
47
45
  try {
48
46
  readdirSync(resolve(COMPONENT_DIR_PATH)).forEach(async (dir) => {
49
47
  try {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shadcn-nuxt",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "description": "Add shadcn-vue module to Nuxt",
6
6
  "publishConfig": {
7
7
  "access": "public"