Documentation
    Preparing search index...

    The archetypical description of a project present in the "archetype" field of the package.json. It's not the full description as other package.json fields can be read, most notably the "private" field dictates if a package is to be published or not. That information is not duplicated.

    node-app node-lib web-svelte-app web-svelte-lib

    interface PackageArchetype {
        bundler?: Nullable<string>;
        disabledPlugins?: string[];
        framework?: Nullable<string>;
        kind?: Nullable<"app" | "lib" | "fixture">;
        language?: Nullable<string>;
        platform?: Nullable<"node" | "web">;
        testing?: Nullable<string>;
    }
    Index

    Properties

    bundler?: Nullable<string>
    'vite' | 'rollup'
    
    disabledPlugins?: string[]

    You can disable specific setup plugins if you wish to skip them in a specific package, even if it would otherwise match the rest of the archetype.

    Like define ["@alexaegis/autotool-plugin-vitest"] if you don't want it to be applied.

    Each treated as a RegExp

    framework?: Nullable<string>
    'node' | 'svelte' | 'angular'
    
    kind?: Nullable<"app" | "lib" | "fixture">
    language?: Nullable<string>
    'ts' | 'js'
    
    platform?: Nullable<"node" | "web">
    testing?: Nullable<string>
    'vitest' | 'jest' | 'mocha'