@sidekick-coder/zenith-kit 0.3.6 → 0.3.7

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.6",
3
+ "version": "0.3.7",
4
4
  "license": "MIT",
5
5
  "description": "Package to use with zenith framework",
6
6
  "author": "Henrique Oliveira <henriqueoliwork@gmail.com>",
@@ -103,7 +103,6 @@
103
103
  "@inquirer/prompts": "^8.4.3",
104
104
  "@rollup/pluginutils": "^5.3.0",
105
105
  "@tailwindcss/vite": "^4.2.4",
106
- "@tanstack/vue-table": "^9.1.2",
107
106
  "@types/express": "^5.0.6",
108
107
  "@types/js-yaml": "^4.0.9",
109
108
  "@types/lodash-es": "^4.17.12",
@@ -17,9 +17,9 @@ import * as acorn from 'acorn'
17
17
  * @param {Options} options
18
18
  * @returns {import('vite').Plugin}
19
19
  */
20
- export default function (options) {
21
- const include = options?.include || '**/*.{js,ts,vue}'
22
- const exclude = options?.exclude || 'node_modules/**'
20
+ export default function(options) {
21
+ const include = options?.include || '**/*.{js,mjs,ts,mts,vue}'
22
+ const exclude = options?.exclude
23
23
  const imports = options?.imports || []
24
24
 
25
25
  const filter = createFilter(include, exclude)
@@ -33,9 +33,9 @@ export default function (options) {
33
33
  * @param {string} id
34
34
  */
35
35
  transform(code, id) {
36
- if (!filter(id)) return null
37
-
38
- if (!code.includes('import')) return null
36
+ if (!filter(id)) {
37
+ return null
38
+ }
39
39
 
40
40
  const s = new MagicString(code)
41
41
  let hasChanges = false
@@ -132,6 +132,7 @@ export default function (options) {
132
132
  }
133
133
  }
134
134
 
135
+
135
136
  if (!hasChanges) return null
136
137
 
137
138
  return {
@@ -32,16 +32,16 @@ const prebuild = () => ({
32
32
 
33
33
  const externals = [
34
34
  'vue',
35
- 'vue-router',
36
- '@vueuse/core',
37
- '@vueuse/router',
38
- 'vee-validate',
39
- '@vee-validate/valibot',
40
- "@unhead/vue",
41
- "vue-router",
42
- "vue-sonner",
43
- "vee-validate",
44
- "reka-ui",
35
+ // 'vue-router',
36
+ // '@vueuse/core',
37
+ // '@vueuse/router',
38
+ // 'vee-validate',
39
+ // '@vee-validate/valibot',
40
+ // "@unhead/vue",
41
+ // "vue-router",
42
+ // "vue-sonner",
43
+ // "vee-validate",
44
+ // "reka-ui",
45
45
  ]
46
46
 
47
47
  const plugins: UserConfig['plugins'] = [
package/vite.config.ts CHANGED
@@ -27,16 +27,22 @@ const prebuild = () => ({
27
27
 
28
28
  const externals = [
29
29
  'vue',
30
- 'vue-router',
31
- '@vueuse/core',
32
- '@vueuse/router',
33
- 'vee-validate',
34
- '@vee-validate/valibot',
35
- "@unhead/vue",
36
- "vue-router",
37
- "vue-sonner",
38
- "vee-validate",
30
+ // 'vue-router',
31
+ // "vue-sonner",
32
+ //
33
+ // '@vueuse/core',
34
+ // '@vueuse/router',
35
+ //
36
+ // 'vee-validate',
37
+ // '@vee-validate/valibot',
38
+ //
39
+ // "@unhead/vue",
40
+ // "@unhead/vue/components",
41
+
39
42
  "reka-ui",
43
+ "vaul-vue",
44
+ "lucide-vue-next",
45
+ "embla-carousel-vue"
40
46
  ]
41
47
 
42
48
  const plugins: UserConfig['plugins'] = [