Skip to content

Commit c68e204

Browse files
committed
chore: update dependencies
1 parent 6648c35 commit c68e204

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1079
-1392
lines changed

extension/core/build/build-icons.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import { processIcons } from './process-icons'
1414
* Main function that starts the process of building all icons and creating the
1515
* theme.
1616
*
17-
* @param {Theme} theme - Current VS Code theme and its colors.
18-
* @param {Config} config - Extension configuration.
19-
* @returns {Promise<void>} Promise that resolves when the build is complete.
17+
* @param theme - Current VS Code theme and its colors.
18+
* @param config - Extension configuration.
19+
* @returns Promise that resolves when the build is complete.
2020
*/
2121
export async function buildIcons(theme: Theme, config: Config): Promise<void> {
2222
let buildLogger = logger.withContext('Build')

extension/core/build/create-loader-icon.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ interface LoaderIconOptions {
1414
* Creates an animated SVG loader icon for use during the icon generation
1515
* process. The loader is displayed while the theme is being built.
1616
*
17-
* @param {LoaderIconOptions} [options] - Options to customize the loader
18-
* appearance.
19-
* @returns {string} SVG string containing an animated loader icon.
17+
* @param [options] - Options to customize the loader appearance.
18+
* @returns SVG string containing an animated loader icon.
2019
*/
2120
export function createLoaderIcon(options: LoaderIconOptions = {}): string {
2221
let color = options.color ?? '#636363'

extension/core/build/create-theme-associations.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ import type { FormattedIconValue } from '../../types/icon'
66
* dark themes. Processes an array of formatted icon values and extracts file
77
* associations for each theme type.
88
*
9-
* @param {FormattedIconValue[]} icons - Formatted icon values to extract
10-
* associations from
11-
* @returns {ThemeData} Map of file extensions and file names to icon IDs for
12-
* light and dark themes
9+
* @param icons - Formatted icon values to extract associations from.
10+
* @returns Map of file extensions and file names to icon IDs for light and dark
11+
* themes.
1312
*/
1413
export function createThemeAssociations(
1514
icons: FormattedIconValue[],

extension/core/build/create-theme-schema.ts

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,10 @@ interface CreateThemeSchemaOptions {
1616
/**
1717
* Creates a complete theme schema with all icon definitions and associations.
1818
*
19-
* @param {IconDefinitions} iconDefinitions - Definitions of all icons used in
20-
* the theme
21-
* @param {ThemeData} themeData - Light and dark theme specific file
22-
* associations
23-
* @param {CreateThemeSchemaOptions} options - Options containing theme and
24-
* config
25-
* @returns {ThemeSchema} The complete theme schema
19+
* @param iconDefinitions - Definitions of all icons used in the theme.
20+
* @param themeData - Light and dark theme specific file associations.
21+
* @param options - Options containing theme and config.
22+
* @returns The complete theme schema.
2623
*/
2724
export function createThemeSchema(
2825
iconDefinitions: IconDefinitions,

extension/core/build/get-config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import { version } from '../../../package.json'
1111
* Returns the extension configuration with default values. This function
1212
* centralizes configuration management and makes it easier to test.
1313
*
14-
* @param {ExtensionContext} context - VSCode extension context.
15-
* @returns {Config} The extension configuration object
14+
* @param context - VSCode extension context.
15+
* @returns The extension configuration object.
1616
*/
1717
export function getConfig(context: ExtensionContext): Config {
1818
let configLogger = logger.withContext('Config')

extension/core/build/get-theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { logger } from '../../io/vscode/logger'
99
* Builds a complete theme configuration by combining user theme ID, folder
1010
* color preference, and theme source data.
1111
*
12-
* @returns {Promise<Theme>} Complete theme configuration for icon generation.
12+
* @returns Complete theme configuration for icon generation.
1313
* @throws {Error} If theme source data cannot be loaded.
1414
*/
1515
export async function getTheme(): Promise<Theme> {

extension/core/build/process-icons.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ interface ProcessIconsResult {
2525
/**
2626
* Processes all icons in the temporary directory.
2727
*
28-
* @param {Theme} theme - Current VS Code theme and its colors.
29-
* @param {Config} config - Extension configuration.
30-
* @returns {Promise<ProcessIconsResult>} Promise that resolves when the icons
31-
* are processed.
28+
* @param theme - Current VS Code theme and its colors.
29+
* @param config - Extension configuration.
30+
* @returns Promise that resolves when the icons are processed.
3231
*/
3332
export async function processIcons(
3433
theme: Theme,

extension/core/build/process-single-icon.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,10 @@ interface ProcessedIconResult {
3232
* Processes a single icon by preparing its data, getting its source SVG, and
3333
* writing it to the temporary directory.
3434
*
35-
* @param {IconProcessingParameters} parameters - Parameters for icon processing
36-
* preparation.
37-
* @param {Theme} theme - Current VS Code theme and its colors.
38-
* @param {Config} config - Extension configuration.
39-
* @returns {Promise<ProcessedIconResult>} Result containing the icon ID and
40-
* path
35+
* @param parameters - Parameters for icon processing preparation.
36+
* @param theme - Current VS Code theme and its colors.
37+
* @param config - Extension configuration.
38+
* @returns Result containing the icon ID and path.
4139
*/
4240
export async function processSingleIcon(
4341
parameters: IconProcessingParameters,

extension/core/build/setup-loader-icon.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ import { logger } from '../../io/vscode/logger'
1313
* coordinates the process of saving the loader icon and creating a temporary
1414
* schema.
1515
*
16-
* @param {Theme} theme - Current VS Code theme and its colors.
17-
* @param {Config} config - Extension configuration.
18-
* @returns {Promise<void>} Promise that resolves when the setup is complete.
16+
* @param theme - Current VS Code theme and its colors.
17+
* @param config - Extension configuration.
18+
* @returns Promise that resolves when the setup is complete.
1919
*/
2020
export async function setupLoaderIcon(
2121
theme: Theme,

extension/core/build/to-relative-path.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import type { Config } from '../../types/config'
33
/**
44
* Converts an absolute file path to a relative path for use in theme schema.
55
*
6-
* @param {string} absolutePath - Absolute path to the file.
7-
* @param {string} basePath - Base path to convert from (extension root path).
8-
* @returns {string} Relative path starting with './' for use in theme schema.
6+
* @param absolutePath - Absolute path to the file.
7+
* @param basePath - Base path to convert from (extension root path).
8+
* @returns Relative path starting with './' for use in theme schema.
99
*/
1010
export function toRelativePath(
1111
absolutePath: string,

0 commit comments

Comments
 (0)