@applift/core 0.3.0 → 0.5.0
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.
- package/dist/index.d.mts +181 -3
- package/dist/index.mjs +960 -17
- package/dist/{plugin-DzhwzVfu.d.mts → plugin-CTt0LO8c.d.mts} +30 -1
- package/dist/plugins/index.d.mts +1 -1
- package/package.json +4 -1
|
@@ -183,6 +183,7 @@ type Stores = z.infer<typeof StoresSchema>;
|
|
|
183
183
|
* - testflight: App Store Connect 上传(ipa 进 TestFlight)
|
|
184
184
|
*/
|
|
185
185
|
declare const BetaConfigSchema: z.ZodObject<{
|
|
186
|
+
bump: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
186
187
|
pgyer: z.ZodOptional<z.ZodObject<{
|
|
187
188
|
platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
188
189
|
android: "android";
|
|
@@ -200,6 +201,24 @@ declare const BetaConfigSchema: z.ZodObject<{
|
|
|
200
201
|
note: z.ZodOptional<z.ZodString>;
|
|
201
202
|
}, z.core.$strip>>;
|
|
202
203
|
}, z.core.$strip>;
|
|
204
|
+
/** versionCode 策略:"increment"(默认 +1) | 公式(可限定平台) */
|
|
205
|
+
declare const VersionCodeConfigSchema: z.ZodUnion<readonly [z.ZodLiteral<"increment">, z.ZodObject<{
|
|
206
|
+
formula: z.ZodString;
|
|
207
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
+
}, z.core.$strip>]>;
|
|
209
|
+
type VersionCodeConfig = z.infer<typeof VersionCodeConfigSchema>;
|
|
210
|
+
declare const VersionConfigSchema: z.ZodObject<{
|
|
211
|
+
versionCode: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"increment">, z.ZodObject<{
|
|
212
|
+
formula: z.ZodString;
|
|
213
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
214
|
+
}, z.core.$strip>]>>;
|
|
215
|
+
}, z.core.$strip>;
|
|
216
|
+
type VersionConfig = z.infer<typeof VersionConfigSchema>;
|
|
217
|
+
/** 正式发版段的自动 version 开关(语义同 beta.bump) */
|
|
218
|
+
declare const ReleaseConfigSchema: z.ZodObject<{
|
|
219
|
+
bump: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
220
|
+
}, z.core.$strip>;
|
|
221
|
+
type ReleaseConfig = z.infer<typeof ReleaseConfigSchema>;
|
|
203
222
|
declare const ProjectConfigSchema: z.ZodObject<{
|
|
204
223
|
name: z.ZodOptional<z.ZodString>;
|
|
205
224
|
profile: z.ZodDefault<z.ZodString>;
|
|
@@ -230,7 +249,17 @@ declare const ProjectConfigSchema: z.ZodObject<{
|
|
|
230
249
|
macos: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
231
250
|
linux: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
232
251
|
}, z.core.$catchall<z.ZodOptional<z.ZodArray<z.ZodString>>>>>;
|
|
252
|
+
version: z.ZodOptional<z.ZodObject<{
|
|
253
|
+
versionCode: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"increment">, z.ZodObject<{
|
|
254
|
+
formula: z.ZodString;
|
|
255
|
+
platforms: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
256
|
+
}, z.core.$strip>]>>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
release: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
bump: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
260
|
+
}, z.core.$strip>>;
|
|
233
261
|
beta: z.ZodOptional<z.ZodObject<{
|
|
262
|
+
bump: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
|
|
234
263
|
pgyer: z.ZodOptional<z.ZodObject<{
|
|
235
264
|
platforms: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
236
265
|
android: "android";
|
|
@@ -374,4 +403,4 @@ declare function defineConfig(config: QypubUserConfig): QypubUserConfig;
|
|
|
374
403
|
/** 解析用户配置中的插件(工厂惰性求值),供 PluginHost 构造 */
|
|
375
404
|
declare function resolvePlugins(userConfig: QypubUserConfig): QypubPlugin[];
|
|
376
405
|
//#endregion
|
|
377
|
-
export {
|
|
406
|
+
export { electronAdapter as $, ReleaseConfigSchema as A, ChannelCapabilities as B, CredentialsProfile as C, ProjectConfig as D, GlobalConfigSchema as E, VersionCodeConfig as F, ReviewStatus as G, ChannelEvent as H, VersionCodeConfigSchema as I, BundleIds as J, StageResult as K, VersionConfig as L, StoreConfigSchema as M, Stores as N, ProjectConfigSchema as O, StoresSchema as P, detectFramework as Q, VersionConfigSchema as R, CredentialsFileSchema as S, GlobalConfig as T, ChannelRegistry as U, ChannelContext as V, ReleasePlanEntry as W, Platform as X, FrameworkAdapter as Y, detectBundleIds as Z, appendEntry as _, QypubUserConfig as a, rnAdapter as at, BetaConfigSchema as b, PipelineInput as c, runStage as d, findArtifacts as et, runSubmit as f, HistoryQuery as g, HistoryEvent as h, QypubPlugin as i, nativeIosAdapter as it, StoreConfig as j, ReleaseConfig as k, PipelineSummary as l, HistoryEntry as m, PluginHookName as n, nativeAndroidAdapter as nt, defineConfig as o, tauriAdapter as ot, HISTORY_PATH as p, SubmitResult as q, PluginHost as r, nativeHarmonyAdapter as rt, resolvePlugins as s, HookContext as t, flutterAdapter as tt, PipelineSummaryEntry as u, readEntries as v, CredentialsProfileSchema as w, CredentialsFile as x, BetaConfig as y, Channel as z };
|
package/dist/plugins/index.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applift/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/hcg1023/applift.git",
|
|
@@ -24,11 +24,14 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"c12": "^3.3.4",
|
|
27
|
+
"conventional-commits-parser": "^7.1.3",
|
|
27
28
|
"jiti": "^2.7.0",
|
|
29
|
+
"semver": "^7.8.5",
|
|
28
30
|
"smol-toml": "^1.9.1",
|
|
29
31
|
"zod": "^4.6.7"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
34
|
+
"@types/semver": "^7.8.0",
|
|
32
35
|
"tsdown": "^0.23.1"
|
|
33
36
|
},
|
|
34
37
|
"scripts": {
|