Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ packages/plugin/webpack/spec/fixtures/apps/native-modules/package-lock.json
packages/plugin/fuses/spec/fixture/out
.links
reports
packages/**/typedoc.json
.vscode/settings.json
.pnp.*
.yarn/*
Expand Down
1 change: 1 addition & 0 deletions packages/maker/deb/src/MakerDeb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,4 @@ export default class MakerDeb extends MakerBase<MakerDebConfig> {
}

export { MakerDeb, MakerDebConfig };
export type { MakerDebConfigOptions } from './Config.ts';
6 changes: 4 additions & 2 deletions packages/maker/dmg/src/Config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import type { ElectronInstallerDMGOptions } from 'electron-installer-dmg';

export type MakerDMGConfig = Omit<
export interface MakerDMGConfig extends Omit<
ElectronInstallerDMGOptions,
'name' | 'appPath' | 'out'
> & { name?: string };
> {
name?: string;
}
4 changes: 2 additions & 2 deletions packages/maker/flatpak/src/Config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export interface MakerFlatpakOptionsConfig {
export interface MakerFlatpakConfigOptions {
/**
* App id of the flatpak, used in the id field of a flatpak-builder manifest.
*
Expand Down Expand Up @@ -122,5 +122,5 @@ export interface MakerFlatpakOptionsConfig {
}

export interface MakerFlatpakConfig {
options?: MakerFlatpakOptionsConfig;
options?: MakerFlatpakConfigOptions;
}
1 change: 1 addition & 0 deletions packages/maker/flatpak/src/MakerFlatpak.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ export default class MakerFlatpak extends MakerBase<MakerFlatpakConfig> {
}

export { MakerFlatpak, MakerFlatpakConfig };
export type { MakerFlatpakConfigOptions } from './Config.ts';
7 changes: 4 additions & 3 deletions packages/maker/msix/src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
PackagingOptions as MSIXPackagingOptions,
} from 'electron-windows-msix';

/** @inline */
type SemiPartial<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;

/**
Expand All @@ -15,10 +16,10 @@ type SemiPartial<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
*
* @see https://github.com/bitdisaster/electron-windows-msix/blob/master/src/types.ts
*/
export type MakerMSIXConfig = Omit<
export interface MakerMSIXConfig extends Omit<
MSIXPackagingOptions,
'outputDir' | 'appDir' | 'manifestVariables'
> & {
> {
manifestVariables?: SemiPartial<
ManifestGenerationVariables,
| 'packageDescription'
Expand All @@ -42,4 +43,4 @@ export type MakerMSIXConfig = Omit<
* `my-app-win32-x64-1.2.3`
*/
outputFileName?: string | (() => string | Promise<string>);
};
}
1 change: 1 addition & 0 deletions packages/maker/rpm/src/MakerRpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@ export default class MakerRpm extends MakerBase<MakerRpmConfig> {
}

export { MakerRpm, MakerRpmConfig };
export type { MakerRpmConfigOptions } from './Config.ts';
6 changes: 5 additions & 1 deletion packages/plugin/vite/src/VitePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,4 +537,8 @@ function getServerURLs(urls: vite.ResolvedServerUrls) {
return output;
}

export { VitePlugin };
export { VitePlugin, VitePluginConfig };
export type {
VitePluginBuildConfig,
VitePluginRendererConfig,
} from './Config.ts';
1 change: 1 addition & 0 deletions packages/publisher/base-static/src/PublisherStatic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ export default abstract class PublisherStatic<
}

export { PublisherStatic, StaticPublisherConfig, PublisherOptions };
export type { StaticArtifact };
1 change: 1 addition & 0 deletions packages/publisher/bitbucket/src/PublisherBitbucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,4 @@ export default class PublisherBitbucket extends PublisherBase<PublisherBitbucket
}

export { PublisherBitbucket, PublisherBitbucketConfig };
export type { BitbucketAuth, BitbucketRepository } from './Config.ts';
1 change: 1 addition & 0 deletions packages/publisher/github/src/PublisherGitHub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,4 @@ export default class PublisherGitHub extends PublisherBase<PublisherGitHubConfig
}

export { PublisherGitHub, PublisherGitHubConfig };
export type { GitHubRepository } from './Config.ts';
4 changes: 0 additions & 4 deletions typedoc.base.json

This file was deleted.

12 changes: 0 additions & 12 deletions typedoc.json

This file was deleted.

30 changes: 30 additions & 0 deletions typedoc.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPointStrategy": "packages",
"entryPoints": [
"packages/api/core",
"packages/maker/*",
"packages/plugin/*",
"packages/publisher/*",
"packages/utils/types"
],
"externalSymbolLinkMappings": {
"listr2": {
// ListrTask is referenced by @electron-forge/shared-types
"ListrTask": "https://listr2.kilic.dev/api/listr2/interfaces/ListrTask.html"
}
},
// Replaces previous *.base.json concept: it is
// a per-package default documentation. It can still
// be overwritten if needed with a per-package config.
"packageOptions": {
"excludeInternal": true,
// Usually, we want to use "externalSymbolLinkMappings"
// to point out symbols that are in external packages,
// while allow for exceptions if Typedoc docs offer
// better quality of documentation or upstream docs
// are manually maintained and in risk of being
// out-of-date.
"excludeExternals": true
}
}