@taishods/core 0.15.0 → 0.15.1

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.
@@ -1,4 +1,10 @@
1
1
  import { type Lang } from './idioma.js';
2
+ /**
3
+ * La carpeta de salida propuesta. Con empaquetador, `./taisho`: el CSS se importa desde el código y Vite no deja importar
4
+ * lo de `public/` (avisa, y en el build el CSS queda empaquetado y además copiado). Sin empaquetador, la carpeta que sirve el
5
+ * navegador si el proyecto la tiene (`public/`, o `static/`), si no `./taisho`.
6
+ */
7
+ export declare function salidaDetectada(proyecto: string): string;
2
8
  export interface RunInitOptions {
3
9
  yes?: boolean;
4
10
  lang?: Lang;
@@ -43,6 +43,7 @@ declare const es: {
43
43
  preguntaTema: (def: string) => string;
44
44
  preguntaFuentes: string;
45
45
  preguntaIconos: (def: string) => string;
46
+ preguntaSalida: (def: string) => string;
46
47
  plantilla: {
47
48
  cabecera: string;
48
49
  temas: string;
@@ -52,6 +53,7 @@ declare const es: {
52
53
  fonts: string;
53
54
  estados: string;
54
55
  iconos: string;
56
+ salida: string;
55
57
  lang: string;
56
58
  };
57
59
  };
@@ -4,7 +4,7 @@ export interface WriteConsumerOutputResult {
4
4
  temas: string[];
5
5
  fonts: string;
6
6
  sistema: string;
7
- js: string | null;
7
+ js: string;
8
8
  iconos: string | null;
9
9
  tipos: string | null;
10
10
  warnings: EngineWarning[];
@@ -2,7 +2,7 @@ import type { Plugin } from 'vite';
2
2
  export interface TaishoViteOptions {
3
3
  /** Ruta al `taisho.config.ts`, relativa a la raíz de Vite. Default: `./taisho.config.ts`. */
4
4
  config?: string;
5
- /** Carpeta de salida, relativa a la raíz de Vite. Default: `./taisho/`. */
5
+ /** Carpeta de salida, relativa a la raíz de Vite. Manda sobre el `out` de la config. Default: ese `out`; sin él, `./taisho/`. */
6
6
  out?: string;
7
7
  }
8
8
  export declare function taisho(options?: TaishoViteOptions): Plugin;