@modyqyw/fabric
Version:
Opinionated shareable specifications for git-based JavaScript/TypeScript projects.
116 lines (111 loc) • 5.45 kB
text/typescript
export { c as commitlint } from './shared/fabric.BCQmpDri.cjs';
export { e as eslint } from './shared/fabric.C-MH2iLO.cjs';
export { l as lintStaged } from './shared/fabric.BgcXasc6.cjs';
export { p as prettier } from './shared/fabric.D3ZRISpU.cjs';
export { s as simpleGitHooks } from './shared/fabric.CzA2TuUy.cjs';
export { s as stylelint } from './shared/fabric.DZLEcOeL.cjs';
import '@commitlint/types';
import 'eslint-config-flat-gitignore';
import 'eslint-plugin-command/types';
import 'eslint';
import '@eslint-react/shared';
import 'prettier';
import 'stylelint';
declare const GLOB_SCRIPT_EXT = "?([cm])[jt]s?(x)";
declare const GLOB_SCRIPT = "**/*.?([cm])[jt]s?(x)";
declare const GLOB_JS = "**/*.?([cm])js";
declare const GLOB_JSX = "**/*.?([cm])jsx";
declare const GLOB_DTS = "**/*.d.?([cm])ts";
declare const GLOB_TS = "**/*.?([cm])ts";
declare const GLOB_TSX = "**/*.?([cm])tsx";
declare const GLOB_STYLE = "**/*.{c,le,sc,sa}ss";
declare const GLOB_CSS = "**/*.css";
declare const GLOB_LESS = "**/*.less";
declare const GLOB_SCSS = "**/*.scss";
declare const GLOB_SASS = "**/*.sass";
declare const GLOB_JSON = "**/*.json";
declare const GLOB_JSON5 = "**/*.json5";
declare const GLOB_JSONC = "**/*.jsonc";
declare const GLOB_TOML = "**/*.toml";
declare const GLOB_YAML = "**/*.y?(a)ml";
declare const GLOB_MARKDOWN = "**/*.md";
declare const GLOB_VUE = "**/*.vue";
declare const GLOB_SVELTE = "**/*.svelte";
declare const GLOB_ASTRO = "**/*.astro";
declare const GLOB_HTML = "**/*.htm?(l)";
declare const GLOB_MARKDOWN_SCRIPT = "**/*.md/**/*.?([cm])[jt]s?(x)";
declare const GLOB_MARKDOWN_VUE = "**/*.md/**/*.vue";
declare const GLOB_MARKDOWN_SVELTE = "**/*.md/**/*.svelte";
declare const GLOB_MARKDOWN_ASTRO = "**/*.md/**/*.astro";
declare const GLOB_MARKDOWN_HTML = "**/*.md/**/*.htm?(l)";
declare const GLOB_TESTS: string[];
declare const GLOB_ALL_SRC: string[];
declare const GLOB_EXCLUDE: string[];
declare const MINI_PROGRAM_ELEMENTS: string[];
declare const hasTypeScript: boolean;
declare const hasNuxt: boolean;
declare const getNuxtVersion: () => number;
declare const hasNuxt3: boolean;
declare const hasVuePress: boolean;
declare const hasVitePress: boolean;
declare const hasSlidev: boolean;
declare const hasUniApp: boolean;
declare const hasTaroVue: boolean;
declare const hasIonicVue: boolean;
declare const hasVue: boolean;
declare const getVueVersion: () => number;
declare const hasVue3: boolean;
declare const hasNext: boolean;
declare const hasRemix: boolean;
declare const hasReactRouter: boolean;
declare const hasReactNative: boolean;
declare const hasIonicReact: boolean;
declare const hasDocusaurus: boolean;
declare const hasTaroReact: boolean;
declare const hasReact: boolean;
declare const hasSvelteKit: boolean;
declare const hasTaroSvelte: boolean;
declare const hasSvelte: boolean;
declare const hasSolidStart: boolean;
declare const hasTaroSolid: boolean;
declare const hasSolid: boolean;
declare const hasAstro: boolean;
declare const hasTaro: boolean;
declare const hasMiniProgram: boolean;
declare const hasScss: boolean;
declare const hasLess: boolean;
declare const hasUnoCss: boolean;
declare const hasWindiCss: boolean;
declare const hasTailwindCss: boolean;
declare const hasVite: boolean;
declare const hasLerna: boolean;
declare const hasNx: boolean;
declare const hasRush: boolean;
declare const hasPnpmWorkspace: boolean;
declare const hasMonoRepo: boolean;
declare const hasVitest: boolean;
declare const hasTsconfigVitestJson: boolean;
declare const hasTsconfigTestJson: boolean;
declare const hasTsconfigAppJson: boolean;
declare const hasBiome: boolean;
declare const hasESLint: boolean;
declare const hasOxlint: boolean;
declare const hasStylelint: boolean;
declare const hasPrettier: boolean;
declare const hasTsc: boolean;
declare const hasVueTsc: boolean;
declare const hasMarkdownlintCli: boolean;
declare const hasLintStaged: boolean;
declare const hasCommitlint: boolean;
/**
* Interop default.
*
* @param m Imported package
* @returns Actual package for using
*/
declare function interopDefault<T>(m: T): T extends {
default: infer U;
} ? U : T;
declare function isBoolean(value: unknown): value is boolean;
declare function filterFilenames(filenames: string[], patterns?: string[]): string[];
export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_CSS, GLOB_DTS, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_ASTRO, GLOB_MARKDOWN_HTML, GLOB_MARKDOWN_SCRIPT, GLOB_MARKDOWN_SVELTE, GLOB_MARKDOWN_VUE, GLOB_SASS, GLOB_SCRIPT, GLOB_SCRIPT_EXT, GLOB_SCSS, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, MINI_PROGRAM_ELEMENTS, filterFilenames, getNuxtVersion, getVueVersion, hasAstro, hasBiome, hasCommitlint, hasDocusaurus, hasESLint, hasIonicReact, hasIonicVue, hasLerna, hasLess, hasLintStaged, hasMarkdownlintCli, hasMiniProgram, hasMonoRepo, hasNext, hasNuxt, hasNuxt3, hasNx, hasOxlint, hasPnpmWorkspace, hasPrettier, hasReact, hasReactNative, hasReactRouter, hasRemix, hasRush, hasScss, hasSlidev, hasSolid, hasSolidStart, hasStylelint, hasSvelte, hasSvelteKit, hasTailwindCss, hasTaro, hasTaroReact, hasTaroSolid, hasTaroSvelte, hasTaroVue, hasTsc, hasTsconfigAppJson, hasTsconfigTestJson, hasTsconfigVitestJson, hasTypeScript, hasUniApp, hasUnoCss, hasVite, hasVitePress, hasVitest, hasVue, hasVue3, hasVuePress, hasVueTsc, hasWindiCss, interopDefault, isBoolean };