feat: add feature plugin tests and validation for feature flags

This commit is contained in:
2026-06-21 03:14:19 +07:00
parent ecc958c9f0
commit 1ee76faf55
65 changed files with 4992 additions and 415 deletions
@@ -0,0 +1,10 @@
import { defineLayerConfig } from '../../../src/index.ts'
// Aurora — a dark-themed brand. Like Northwind it inherits the whole shell from `main` and changes
// only its logo, theme.css and Landing. It keeps the billing page but turns off the beta accent,
// showing that each brand toggles a different subset of features.
export default defineLayerConfig({
name: 'aurora',
extends: ['../main'],
features: { betaBanner: false }, // keeps `billing` (inherited true); drops the beta pill
})