@todesktop/shared 7.186.16 → 7.186.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/lib/base.d.ts +63 -60
  2. package/package.json +1 -1
  3. package/src/base.ts +64 -60
package/lib/base.d.ts CHANGED
@@ -49,66 +49,7 @@ export interface IAppMeta {
49
49
  releaseId?: Release['id'];
50
50
  linux?: IAppBuildProgress;
51
51
  mac?: IAppBuildProgress;
52
- projectConfig?: {
53
- appBuilderLibVersion?: string;
54
- appId?: string;
55
- appFiles?: string[];
56
- appPath?: FilePath;
57
- appProtocolScheme?: string | string[];
58
- asar?: boolean;
59
- asarUnpack?: boolean | string[];
60
- copyright?: string;
61
- dmg?: {
62
- background?: FilePath;
63
- artifactName?: string;
64
- backgroundColor?: string;
65
- iconSize?: number;
66
- iconTextSize?: number;
67
- title?: string;
68
- contents?: IAppBuilderLib['config']['dmg']['contents'];
69
- window?: IAppBuilderLib['config']['dmg']['window'];
70
- };
71
- extraContentFiles?: ExtraFileReference[];
72
- electronMirror?: string;
73
- electronVersion?: string;
74
- extraResources?: ExtraFileReference[];
75
- fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
76
- filesForDistribution?: string[];
77
- icon: FilePath;
78
- id: string;
79
- linux?: {
80
- category?: string;
81
- icon?: FilePath;
82
- noSandbox?: boolean;
83
- };
84
- mac?: {
85
- additionalBinariesToSign?: FilePath[];
86
- category?: string;
87
- dmgBackground?: FilePath;
88
- entitlements?: FilePath;
89
- extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
90
- icon?: FilePath;
91
- requirements?: FilePath;
92
- };
93
- nodeVersion?: string;
94
- npmVersion?: string;
95
- packageManager?: 'npm' | 'yarn' | 'pnpm';
96
- pnpmVersion?: string;
97
- productName?: string;
98
- schemaVersion: number;
99
- snap?: IAppBuilderLib['config']['snap'];
100
- windows?: {
101
- icon?: FilePath;
102
- nsisCustomBinary?: {
103
- checksum?: string;
104
- debugLogging?: boolean;
105
- url: string;
106
- version?: string;
107
- };
108
- nsisInclude?: FilePath;
109
- };
110
- yarnVersion?: string;
111
- };
52
+ projectConfig?: ToDesktopJson;
112
53
  shouldCodeSign?: boolean;
113
54
  shouldRelease?: boolean;
114
55
  shouldSendCompletionEmail?: boolean;
@@ -146,6 +87,68 @@ export interface IAppMeta {
146
87
  };
147
88
  forceVersionNumber?: string;
148
89
  }
90
+ export interface ToDesktopJson {
91
+ appBuilderLibVersion?: string;
92
+ appId?: string;
93
+ appFiles?: string[];
94
+ appPath?: FilePath;
95
+ appProtocolScheme?: string | string[];
96
+ asar?: boolean;
97
+ asarUnpack?: boolean | string[];
98
+ bucket?: string;
99
+ copyright?: string;
100
+ dmg?: {
101
+ background?: FilePath;
102
+ artifactName?: string;
103
+ backgroundColor?: string;
104
+ iconSize?: number;
105
+ iconTextSize?: number;
106
+ title?: string;
107
+ contents?: IAppBuilderLib['config']['dmg']['contents'];
108
+ window?: IAppBuilderLib['config']['dmg']['window'];
109
+ };
110
+ extraContentFiles?: ExtraFileReference[];
111
+ electronMirror?: string;
112
+ electronVersion?: string;
113
+ extraResources?: ExtraFileReference[];
114
+ fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
115
+ filesForDistribution?: string[];
116
+ icon: FilePath;
117
+ id: string;
118
+ linux?: {
119
+ category?: string;
120
+ icon?: FilePath;
121
+ noSandbox?: boolean;
122
+ };
123
+ mac?: {
124
+ additionalBinariesToSign?: FilePath[];
125
+ category?: string;
126
+ dmgBackground?: FilePath;
127
+ entitlements?: FilePath;
128
+ extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
129
+ icon?: FilePath;
130
+ requirements?: FilePath;
131
+ };
132
+ nodeVersion?: string;
133
+ npmVersion?: string;
134
+ packageManager?: 'npm' | 'yarn' | 'pnpm';
135
+ pnpmVersion?: string;
136
+ productName?: string;
137
+ schemaVersion: number;
138
+ snap?: IAppBuilderLib['config']['snap'];
139
+ uploadSizeLimit?: number;
140
+ windows?: {
141
+ icon?: FilePath;
142
+ nsisCustomBinary?: {
143
+ checksum?: string;
144
+ debugLogging?: boolean;
145
+ url: string;
146
+ version?: string;
147
+ };
148
+ nsisInclude?: FilePath;
149
+ };
150
+ yarnVersion?: string;
151
+ }
149
152
  export declare enum WindowsHSMCertType {
150
153
  ev = "ev",
151
154
  file = "file"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.186.16",
3
+ "version": "7.186.17",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -61,66 +61,7 @@ export interface IAppMeta {
61
61
  releaseId?: Release['id'];
62
62
  linux?: IAppBuildProgress;
63
63
  mac?: IAppBuildProgress;
64
- projectConfig?: {
65
- appBuilderLibVersion?: string;
66
- appId?: string;
67
- appFiles?: string[];
68
- appPath?: FilePath;
69
- appProtocolScheme?: string | string[];
70
- asar?: boolean;
71
- asarUnpack?: boolean | string[];
72
- copyright?: string;
73
- dmg?: {
74
- background?: FilePath;
75
- artifactName?: string;
76
- backgroundColor?: string;
77
- iconSize?: number;
78
- iconTextSize?: number;
79
- title?: string;
80
- contents?: IAppBuilderLib['config']['dmg']['contents'];
81
- window?: IAppBuilderLib['config']['dmg']['window'];
82
- };
83
- extraContentFiles?: ExtraFileReference[];
84
- electronMirror?: string;
85
- electronVersion?: string;
86
- extraResources?: ExtraFileReference[];
87
- fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
88
- filesForDistribution?: string[];
89
- icon: FilePath;
90
- id: string;
91
- linux?: {
92
- category?: string;
93
- icon?: FilePath;
94
- noSandbox?: boolean;
95
- };
96
- mac?: {
97
- additionalBinariesToSign?: FilePath[];
98
- category?: string;
99
- dmgBackground?: FilePath;
100
- entitlements?: FilePath;
101
- extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
102
- icon?: FilePath;
103
- requirements?: FilePath;
104
- };
105
- nodeVersion?: string;
106
- npmVersion?: string;
107
- packageManager?: 'npm' | 'yarn' | 'pnpm';
108
- pnpmVersion?: string;
109
- productName?: string;
110
- schemaVersion: number;
111
- snap?: IAppBuilderLib['config']['snap'];
112
- windows?: {
113
- icon?: FilePath;
114
- nsisCustomBinary?: {
115
- checksum?: string;
116
- debugLogging?: boolean;
117
- url: string;
118
- version?: string;
119
- };
120
- nsisInclude?: FilePath;
121
- };
122
- yarnVersion?: string;
123
- };
64
+ projectConfig?: ToDesktopJson;
124
65
  shouldCodeSign?: boolean;
125
66
  shouldRelease?: boolean;
126
67
  shouldSendCompletionEmail?: boolean;
@@ -159,6 +100,69 @@ export interface IAppMeta {
159
100
  forceVersionNumber?: string;
160
101
  }
161
102
 
103
+ export interface ToDesktopJson {
104
+ appBuilderLibVersion?: string;
105
+ appId?: string;
106
+ appFiles?: string[];
107
+ appPath?: FilePath;
108
+ appProtocolScheme?: string | string[];
109
+ asar?: boolean;
110
+ asarUnpack?: boolean | string[];
111
+ bucket?: string;
112
+ copyright?: string;
113
+ dmg?: {
114
+ background?: FilePath;
115
+ artifactName?: string;
116
+ backgroundColor?: string;
117
+ iconSize?: number;
118
+ iconTextSize?: number;
119
+ title?: string;
120
+ contents?: IAppBuilderLib['config']['dmg']['contents'];
121
+ window?: IAppBuilderLib['config']['dmg']['window'];
122
+ };
123
+ extraContentFiles?: ExtraFileReference[];
124
+ electronMirror?: string;
125
+ electronVersion?: string;
126
+ extraResources?: ExtraFileReference[];
127
+ fileAssociations?: IAppBuilderLib['config']['fileAssociations'];
128
+ filesForDistribution?: string[];
129
+ icon: FilePath;
130
+ id: string;
131
+ linux?: {
132
+ category?: string;
133
+ icon?: FilePath;
134
+ noSandbox?: boolean;
135
+ };
136
+ mac?: {
137
+ additionalBinariesToSign?: FilePath[];
138
+ category?: string;
139
+ dmgBackground?: FilePath;
140
+ entitlements?: FilePath;
141
+ extendInfo?: IAppBuilderLib['config']['mac']['extendInfo'];
142
+ icon?: FilePath;
143
+ requirements?: FilePath;
144
+ };
145
+ nodeVersion?: string;
146
+ npmVersion?: string;
147
+ packageManager?: 'npm' | 'yarn' | 'pnpm';
148
+ pnpmVersion?: string;
149
+ productName?: string;
150
+ schemaVersion: number;
151
+ snap?: IAppBuilderLib['config']['snap'];
152
+ uploadSizeLimit?: number;
153
+ windows?: {
154
+ icon?: FilePath;
155
+ nsisCustomBinary?: {
156
+ checksum?: string;
157
+ debugLogging?: boolean;
158
+ url: string;
159
+ version?: string;
160
+ };
161
+ nsisInclude?: FilePath;
162
+ };
163
+ yarnVersion?: string;
164
+ }
165
+
162
166
  export enum WindowsHSMCertType {
163
167
  ev = 'ev',
164
168
  file = 'file',