UNPKG

@necto-ai/pgit

Version:

Private file tracking with dual git repositories

64 lines 1.5 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EXCLUDED_PATHS = exports.SUPPORTED_EXTENSIONS = exports.CURRENT_CONFIG_VERSION = exports.DEFAULT_PATHS = exports.DEFAULT_SETTINGS = exports.DEFAULT_GIT_EXCLUDE_SETTINGS = void 0; /** * Default git exclude settings */ exports.DEFAULT_GIT_EXCLUDE_SETTINGS = { enabled: true, markerComment: '# @necto-ai/pgit managed exclusions', fallbackBehavior: 'warn', validateOperations: true, }; /** * Default configuration settings */ exports.DEFAULT_SETTINGS = { autoGitignore: true, autoCleanup: true, verboseOutput: false, createBackups: true, maxBackups: 5, gitExclude: exports.DEFAULT_GIT_EXCLUDE_SETTINGS, }; /** * Default paths */ exports.DEFAULT_PATHS = { privateRepo: '.git-private', storage: '.private-storage', config: '.private-config.json', gitignore: '.gitignore', }; /** * Current configuration version */ exports.CURRENT_CONFIG_VERSION = '1.2.0'; /** * Supported file extensions for tracking */ exports.SUPPORTED_EXTENSIONS = [ '.env', '.env.local', '.env.development', '.env.production', '.secrets', '.config', '.private', ]; /** * Paths that should never be tracked */ exports.EXCLUDED_PATHS = [ '.git', '.git-private', '.private-storage', '.private-config.json', 'node_modules', '.npm', '.cache', 'dist', 'build', 'coverage', ]; //# sourceMappingURL=config.types.js.map