Ember
Use @golar/ember to add Ember support to Golar.
Install the Plugin
Section titled “Install the Plugin”npm i -D @golar/emberpnpm add -D @golar/emberyarn add -D @golar/emberRegister the Plugin
Section titled “Register the Plugin”Add the plugin import to golar.config.ts:
import { defineConfig } from 'golar/unstable'import '@golar/ember'
export default defineConfig({})Run Golar
Section titled “Run Golar”Once the plugin is registered, run Golar in the default mode:
npx golarpnpm golaryarn golarThis command loads golar.config.ts, runs linting, and then type-checks your project files.
Declaration Emit
Section titled “Declaration Emit”If you need declaration emit for Ember files, use tsc mode:
npx golar tsc --declaration --emitDeclarationOnlypnpm golar tsc --declaration --emitDeclarationOnlyyarn golar tsc --declaration --emitDeclarationOnlyThis emits .d.ts files for Ember components.
Official Tooling Used
Section titled “Official Tooling Used”Golar’s Ember support is built on the official @glint/ember-tsc package.