quasarwind 1.0.6 → 1.0.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": "quasarwind",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "CLI for generating custom project vite with Quasar and Tailwind",
5
5
  "bin": {
6
6
  "quasarwind": "bin/index.js"
@@ -63,6 +63,7 @@ export default defineConfigWithVueTs(
63
63
 
64
64
  // add your custom rules here
65
65
  rules: {
66
+ '@typescript-eslint/no-explicit-any': 'off',
66
67
  'prefer-promise-reject-errors': 'off',
67
68
 
68
69
  // allow debugger during development only
@@ -0,0 +1,6 @@
1
+ declare module '*.vue' {
2
+ import type { DefineComponent } from 'vue'
3
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
4
+ const component: DefineComponent<{}, {}, any>
5
+ export default component
6
+ }
@@ -2,7 +2,8 @@
2
2
 
3
3
 
4
4
  declare module '*.vue' {
5
- import { DefineComponent } from 'vue'
5
+ import type { DefineComponent } from 'vue'
6
+ // eslint-disable-next-line @typescript-eslint/no-empty-object-type
6
7
  const component: DefineComponent<{}, {}, any>
7
8
  export default component
8
9
  }
@@ -9,7 +9,12 @@
9
9
  "noUnusedParameters": true,
10
10
  "erasableSyntaxOnly": true,
11
11
  "noFallthroughCasesInSwitch": true,
12
- "noUncheckedSideEffectImports": true
12
+ "noUncheckedSideEffectImports": true,
13
+ "baseUrl": "./",
14
+ "paths": {
15
+ "@/*": ["./src/*"],
16
+ "src/*": ["./src/*"]
17
+ }
13
18
  },
14
19
  "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"]
15
20
  }
@@ -1,6 +1,6 @@
1
1
  import { defineConfig } from 'vite'
2
2
  // import { fileURLToPath } from 'node:url'
3
- // import path from 'path'
3
+ import path from 'path'
4
4
  import vue from '@vitejs/plugin-vue'
5
5
  import { quasar, transformAssetUrls } from '@quasar/vite-plugin'
6
6
  import tailwindcss from '@tailwindcss/vite'
@@ -8,6 +8,13 @@ import vueDevTools from 'vite-plugin-vue-devtools'
8
8
 
9
9
  // https://vitejs.dev/config/
10
10
  export default defineConfig({
11
+ resolve: {
12
+ alias:
13
+ {
14
+ '@': path.resolve(__dirname, 'src'), // Define el alias @ para /src
15
+ src: path.resolve(__dirname, 'src'),
16
+ },
17
+ },
11
18
  plugins: [
12
19
  vue({
13
20
  template: { transformAssetUrls }
File without changes