versacompiler 2.6.1 → 2.6.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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
4
4
  [![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=flat&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
5
5
  [![Vue.js](https://img.shields.io/badge/Vue.js-35495E?style=flat&logo=vuedotjs&logoColor=4FC08D)](https://vuejs.org/)
6
- [![Version](https://img.shields.io/badge/version-2.6.1-blue.svg)](https://github.com/kriollo/versaCompiler/releases/tag/v2.6.1)
6
+ [![Version](https://img.shields.io/badge/version-2.6.2-blue.svg)](https://github.com/kriollo/versaCompiler/releases/tag/v2.6.2)
7
7
 
8
8
  > **🎯 Compilador rápido y eficiente para Vue.js, TypeScript y JavaScript con Hot Module Replacement (HMR) completo.**
9
9
 
@@ -0,0 +1 @@
1
+ export { defineConfig, type BundlerEntry, type LinterConfig, type VersaConfig, } from './servicios/versacompile.config.types';
@@ -0,0 +1,44 @@
1
+ export type LinterConfig = {
2
+ name: string;
3
+ bin: string;
4
+ configFile: string;
5
+ fix?: boolean;
6
+ paths?: string[];
7
+ };
8
+ export type BundlerEntry = {
9
+ name: string;
10
+ fileInput: string;
11
+ fileOutput: string;
12
+ };
13
+ export type VersaConfig = {
14
+ root: string;
15
+ build: {
16
+ outDir: string;
17
+ bundlers?: BundlerEntry[] | false;
18
+ };
19
+ resolve: {
20
+ alias: Record<string, string | string[]>;
21
+ };
22
+ server?: {
23
+ proxyUrl?: string;
24
+ assetsOmit?: boolean;
25
+ watch?: {
26
+ additional?: string[];
27
+ };
28
+ };
29
+ watch?: {
30
+ additional?: string[];
31
+ };
32
+ plugins?: unknown[];
33
+ tsconfig?: string;
34
+ tailwindConfig?: {
35
+ bin: string;
36
+ input: string;
37
+ output: string;
38
+ } | false;
39
+ linter?: LinterConfig[] | false;
40
+ typeCheckOptions?: {
41
+ maxWorkers?: number;
42
+ };
43
+ };
44
+ export declare const defineConfig: (config: VersaConfig) => VersaConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "versacompiler",
3
- "version": "2.6.1",
3
+ "version": "2.6.2",
4
4
  "description": "Una herramienta para compilar y minificar archivos .vue, .js y .ts para proyectos de Vue 3 con soporte para TypeScript.",
5
5
  "keywords": [
6
6
  "compiler",