Config File
unextension uses cosmiconfig to load your config. It supports unextension.config.ts, .js, .mjs, .json, .yaml, or a unextension key in package.json.
Example
Section titled “Example”import { defineConfig } from '@unextension/cli'
export default defineConfig({ name: 'my-extension', displayName: 'My Extension', version: '0.1.0', description: 'A universal IDE extension', distDir: './dist', targets: ['vscode', 'jetbrains'], jetbrains: { downloadGradleWrapper: true, },})Options
Section titled “Options”name (required)
Section titled “name (required)”The extension identifier in kebab-case. Used as the extension ID in both VS Code and JetBrains.
displayName (required)
Section titled “displayName (required)”The human-readable name shown in the IDE marketplace.
version (required)
Section titled “version (required)”Semver version string, e.g. 0.1.0.
description
Section titled “description”A short description of your extension.
distDir
Section titled “distDir”Path to your built web app output. Defaults to ./dist.
targets
Section titled “targets”Array of target platforms to generate. Defaults to ['vscode', 'jetbrains'].
jetbrains.downloadGradleWrapper
Section titled “jetbrains.downloadGradleWrapper”Whether to automatically download the gradle-wrapper.jar during sync. Defaults to true.