🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@autometa/config

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@autometa/config

Environment-aware configuration utilities for Autometa executors. This package exposes a schema-backed `defineConfig` helper that resolves the active environment, merges overrides, and provides an immutable configuration object to downstream runners.

rc
npmnpm
Version
1.0.0-rc.3
Version published
Maintainers
1
Created
Source

@autometa/config

Environment-aware configuration utilities for Autometa executors. This package exposes a schema-backed defineConfig helper that resolves the active environment, merges overrides, and provides an immutable configuration object to downstream runners.

Quick start

import { defineConfig } from "@autometa/config";

export const config = defineConfig({
	default: {
		runner: "vitest",
		roots: {
			features: ["features"],
			steps: ["steps"],
		},
	},
	environments: {
		ci: {
			test: {
				timeout: { value: 30, unit: "s" },
			},
		},
	},
	environment: (env) => env.byEnvironmentVariable("AUTOMETA_ENV"),
});

const { config: resolved } = config.resolve();

See src/config.ts and the unit tests under src/__tests__ for more usage examples.

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts