@sidekick-coder/zenith-kit 0.3.4 → 0.3.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sidekick-coder/zenith-kit",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
4
4
  "license": "MIT",
5
5
  "description": "Package to use with zenith framework",
6
6
  "author": "Henrique Oliveira <henriqueoliwork@gmail.com>",
@@ -58,6 +58,10 @@
58
58
  "import": "./dist/components/index.es.js",
59
59
  "require": "./dist/components/index.es.js"
60
60
  },
61
+ "./styles.css": {
62
+ "import": "./dist/components/styles.css",
63
+ "require": "./dist/components/styles.css"
64
+ },
61
65
  "./vite": {
62
66
  "import": "./vite/plugins/vite.js",
63
67
  "require": "./vite/plugins/vite.js"
package/vite.config.ts CHANGED
@@ -3,6 +3,7 @@ import vue from '@vitejs/plugin-vue'
3
3
  import tailwindcss from '@tailwindcss/vite'
4
4
  import dts from 'vite-plugin-dts'
5
5
  import { generateIndexFile } from '#server/utils/generateIndexFile.ts'
6
+ import zenith from './vite/plugins/zenith'
6
7
 
7
8
  const logger = createLogger()
8
9
 
@@ -27,7 +28,15 @@ const prebuild = () => ({
27
28
  const externals = [
28
29
  'vue',
29
30
  'vue-router',
31
+ '@vueuse/core',
32
+ '@vueuse/router',
30
33
  'vee-validate',
34
+ '@vee-validate/valibot',
35
+ "@unhead/vue",
36
+ "vue-router",
37
+ "vue-sonner",
38
+ "vee-validate",
39
+ "reka-ui",
31
40
  ]
32
41
 
33
42
  const plugins: UserConfig['plugins'] = [
@@ -48,7 +57,9 @@ plugins.push(dts({
48
57
  staticImport: true
49
58
  }))
50
59
 
51
- plugins.push(tailwindcss(), prebuild())
60
+ plugins.push(tailwindcss(), prebuild(), zenith({
61
+ imports: externals
62
+ }))
52
63
 
53
64
  export default defineConfig({
54
65
  customLogger: logger,