feature(Component): Reintroduce "publishAs" to ease the migration