apify-test-tools 0.9.1-beta.12 → 0.9.1-beta.13

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/bin/main.ts CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import process from 'node:process';
4
4
 
5
- import yargs, { type Argv } from 'yargs';
5
+ import yargs, { type Options } from 'yargs';
6
6
  // eslint-disable-next-line import/extensions --- With .js, it cannot find types
7
7
  import { hideBin } from 'yargs/helpers';
8
8
 
@@ -31,54 +31,48 @@ import { readConfigFile } from './utils/config/load-config.js';
31
31
  */
32
32
  const middlewares = [setCwd];
33
33
 
34
- export const buildOptions = <T>(y: Argv<T>) => {
35
- return y
36
- .option('target-branch', {
37
- type: 'string',
38
- demandOption: true,
39
- })
40
- .option('source-branch', {
41
- type: 'string',
42
- demandOption: true,
43
- })
44
- .option('use-docker-cache', {
45
- type: 'boolean',
46
- default: false,
47
- })
48
- .option('base-commit', {
49
- type: 'string',
50
- demandOption: false,
51
- });
52
- };
34
+ /*
35
+ * Option groups shared across commands. Each is a plain object passed to `.options()`, so a command's
36
+ * builder composes them by chaining (`y.options(gitRangeOptions).options(actorSelectionOptions)`)
37
+ * instead of nesting wrapper functions. `as const` keeps literals like `demandOption: true` so yargs
38
+ * can infer non-optional types; `satisfies` validates the shape without widening it.
39
+ */
40
+
41
+ /** Commit range to inspect: everything on `source-branch` since it diverged from `target-branch`. */
42
+ const gitRangeOptions = {
43
+ 'target-branch': { type: 'string', demandOption: true },
44
+ 'source-branch': { type: 'string', demandOption: true },
45
+ 'base-commit': { type: 'string', demandOption: false },
46
+ } as const satisfies Record<string, Options>;
53
47
 
54
48
  /**
55
49
  * Where to build the Actors from. Defaults to the `origin` remote, which is then checked against each
56
50
  * Actor's default version. Passing it explicitly skips that check (see assertRepoUrlMatchesDefaultVersion).
57
51
  */
58
- const repoUrlOptions = <T>(y: Argv<T>) => {
59
- return y.option('repo-url', {
60
- type: 'string',
61
- });
62
- };
52
+ const repoUrlOptions = {
53
+ 'repo-url': { type: 'string' },
54
+ } as const satisfies Record<string, Options>;
63
55
 
64
56
  /**
65
57
  * Actor-selection flags, applied to every command that reads the actor config so a caller can
66
58
  * narrow the set it operates on (e.g. two-stage releases: `--ignore X`, then `--actors X`).
67
- * Kept separate from `buildOptions` so the read-only git commands don't advertise flags they ignore.
59
+ * Kept separate from `gitRangeOptions` so the read-only git commands don't advertise flags they ignore.
68
60
  */
69
- export const actorSelectionOptions = <T>(y: Argv<T>) => {
70
- return y
71
- .option('actors', {
72
- type: 'string',
73
- array: true,
74
- default: [] as string[],
75
- })
76
- .option('ignore', {
77
- type: 'string',
78
- array: true,
79
- default: [] as string[],
80
- });
81
- };
61
+ const actorSelectionOptions = {
62
+ actors: { type: 'string', array: true, default: [] as string[] },
63
+ ignore: { type: 'string', array: true, default: [] as string[] },
64
+ } as const satisfies Record<string, Options>;
65
+
66
+ /** Flags for commands that trigger Apify builds. */
67
+ const buildOptions = {
68
+ 'use-docker-cache': { type: 'boolean', default: false },
69
+ } as const satisfies Record<string, Options>;
70
+
71
+ /** Global flags, available to every command. */
72
+ const globalOptions = {
73
+ 'dry-run': { type: 'boolean', default: false },
74
+ workspace: { type: 'string' },
75
+ } as const satisfies Record<string, Options>;
82
76
 
83
77
  const resolveChangedActors = async (config: Config, { isLatest }: { isLatest: boolean }) => {
84
78
  const actorConfigs = await readConfigFile(config);
@@ -117,37 +111,51 @@ const resolveChangedActors = async (config: Config, { isLatest }: { isLatest: bo
117
111
 
118
112
  await yargs()
119
113
  .scriptName('public-actors-utils')
120
- .option('dry-run', {
121
- type: 'boolean',
122
- default: false,
123
- })
124
- .option('workspace', {
125
- type: 'string',
126
- })
114
+ .options(globalOptions)
127
115
  .middleware(middlewares)
128
- .command('get-commits', '', buildOptions, (args) => {
129
- const commits = getCommits(args);
130
- console.log(JSON.stringify(commits));
131
- })
132
- .command('get-latest-commit', '', buildOptions, (args) => {
133
- const commits = getCommits(args);
134
- if (commits.length > 0) {
135
- console.log(JSON.stringify(commits[commits.length - 1]));
136
- }
137
- })
138
- .command('get-changed-files', '', buildOptions, (args) => {
139
- const commits = getCommits(args);
140
- const changedFiles = getChangedFiles(commits);
141
- console.log(JSON.stringify(changedFiles));
142
- })
143
- .command('get-actor-configs', '', actorSelectionOptions, async ({ actors, ignore }) => {
144
- const actorConfigs = await readConfigFile({ actors, ignore });
145
- console.log(JSON.stringify(actorConfigs));
146
- })
116
+ .command(
117
+ 'get-commits',
118
+ '',
119
+ (y) => y.options(gitRangeOptions),
120
+ (args) => {
121
+ const commits = getCommits(args);
122
+ console.log(JSON.stringify(commits));
123
+ },
124
+ )
125
+ .command(
126
+ 'get-latest-commit',
127
+ '',
128
+ (y) => y.options(gitRangeOptions),
129
+ (args) => {
130
+ const commits = getCommits(args);
131
+ if (commits.length > 0) {
132
+ console.log(JSON.stringify(commits[commits.length - 1]));
133
+ }
134
+ },
135
+ )
136
+ .command(
137
+ 'get-changed-files',
138
+ '',
139
+ (y) => y.options(gitRangeOptions),
140
+ (args) => {
141
+ const commits = getCommits(args);
142
+ const changedFiles = getChangedFiles(commits);
143
+ console.log(JSON.stringify(changedFiles));
144
+ },
145
+ )
146
+ .command(
147
+ 'get-actor-configs',
148
+ '',
149
+ (y) => y.options(actorSelectionOptions),
150
+ async ({ actors, ignore }) => {
151
+ const actorConfigs = await readConfigFile({ actors, ignore });
152
+ console.log(JSON.stringify(actorConfigs));
153
+ },
154
+ )
147
155
  .command(
148
156
  'get-affected-actors',
149
157
  '',
150
- (args) => actorSelectionOptions(buildOptions(args)),
158
+ (y) => y.options(gitRangeOptions).options(actorSelectionOptions),
151
159
  async (config) => {
152
160
  const actorsChanged = await resolveChangedActors(config, { isLatest: false });
153
161
  console.log(JSON.stringify(actorsChanged));
@@ -156,8 +164,8 @@ await yargs()
156
164
  .command(
157
165
  'report-tests',
158
166
  '',
159
- (args) =>
160
- args
167
+ (y) =>
168
+ y
161
169
  .option('report-file', { type: 'string', demandOption: true })
162
170
  .option('report-slack-channel', { type: 'string' })
163
171
  .option('job-url', { type: 'string' })
@@ -169,11 +177,7 @@ await yargs()
169
177
  .command(
170
178
  'build',
171
179
  '',
172
- (args) =>
173
- repoUrlOptions(actorSelectionOptions(buildOptions(args))).option('dry-run', {
174
- type: 'boolean',
175
- default: false,
176
- }),
180
+ (y) => y.options(gitRangeOptions).options(actorSelectionOptions).options(buildOptions).options(repoUrlOptions),
177
181
  async (config) => {
178
182
  const actorsChanged = await resolveChangedActors(config, { isLatest: false });
179
183
  const builds = await runBuilds({
@@ -189,15 +193,16 @@ await yargs()
189
193
  .command(
190
194
  'release',
191
195
  '',
192
- (args) =>
193
- repoUrlOptions(actorSelectionOptions(args))
196
+ (y) =>
197
+ y
198
+ .options(actorSelectionOptions)
199
+ .options(buildOptions)
200
+ .options(repoUrlOptions)
194
201
  // The last commit that is already released, everything after it up to HEAD gets released.
195
202
  // Required, see the README section "Releasing Actors" for how to set it for each merge strategy.
196
203
  .option('base-commit', { type: 'string', demandOption: true })
197
- .option('dry-run', { type: 'boolean', default: false })
198
204
  .option('report-slack-channel', { type: 'string' })
199
- .option('release-slack-channel', { type: 'string' })
200
- .option('use-docker-cache', { type: 'boolean', default: false }),
205
+ .option('release-slack-channel', { type: 'string' }),
201
206
  async (args) => {
202
207
  const baseSha = resolveReleaseBaseCommit(args.baseCommit);
203
208
  const branch = getCurrentBranch();
@@ -245,17 +250,22 @@ await yargs()
245
250
  .command(
246
251
  'build-from-local',
247
252
  '',
248
- (args) => actorSelectionOptions(args).option('dry-run', { type: 'boolean', default: false }),
253
+ (y) => y.options(actorSelectionOptions),
249
254
  async ({ actors, ignore, dryRun }) => {
250
255
  const actorConfigs = await readConfigFile({ actors, ignore });
251
256
  const builds = await runBuildsFromLocal({ actorConfigs, dryRun });
252
257
  console.log(JSON.stringify(builds));
253
258
  },
254
259
  )
255
- .command('delete-old-builds', '', actorSelectionOptions, async ({ actors, ignore }) => {
256
- const actorConfigs = await readConfigFile({ actors, ignore });
257
- await deleteOldBuilds(actorConfigs);
258
- })
260
+ .command(
261
+ 'delete-old-builds',
262
+ '',
263
+ (y) => y.options(actorSelectionOptions),
264
+ async ({ actors, ignore }) => {
265
+ const actorConfigs = await readConfigFile({ actors, ignore });
266
+ await deleteOldBuilds(actorConfigs);
267
+ },
268
+ )
259
269
  .strictCommands()
260
270
  .demandCommand(1, 'Command is required')
261
271
  .fail((msg, err, yargsInstance) => {
@@ -1,22 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { type Argv } from 'yargs';
3
- export declare const buildOptions: <T>(y: Argv<T>) => Argv<T & {
4
- "target-branch": string;
5
- } & {
6
- "source-branch": string;
7
- } & {
8
- "use-docker-cache": boolean;
9
- } & {
10
- "base-commit": string | undefined;
11
- }>;
12
- /**
13
- * Actor-selection flags, applied to every command that reads the actor config so a caller can
14
- * narrow the set it operates on (e.g. two-stage releases: `--ignore X`, then `--actors X`).
15
- * Kept separate from `buildOptions` so the read-only git commands don't advertise flags they ignore.
16
- */
17
- export declare const actorSelectionOptions: <T>(y: Argv<T>) => Argv<T & {
18
- actors: string[];
19
- } & {
20
- ignore: string[];
21
- }>;
2
+ export {};
22
3
  //# sourceMappingURL=main.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../bin/main.ts"],"names":[],"mappings":";AAIA,OAAc,EAAE,KAAK,IAAI,EAAE,MAAM,OAAO,CAAC;AA6BzC,eAAO,MAAM,YAAY,GAAI,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;;;;;;;;EAkBzC,CAAC;AAYF;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,GAAI,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC;;;;EAYlD,CAAC"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../bin/main.ts"],"names":[],"mappings":""}
package/dist/bin/main.js CHANGED
@@ -15,51 +15,42 @@ import { readConfigFile } from './utils/config/load-config.js';
15
15
  * Middlewares to be run before every command execution
16
16
  */
17
17
  const middlewares = [setCwd];
18
- export const buildOptions = (y) => {
19
- return y
20
- .option('target-branch', {
21
- type: 'string',
22
- demandOption: true,
23
- })
24
- .option('source-branch', {
25
- type: 'string',
26
- demandOption: true,
27
- })
28
- .option('use-docker-cache', {
29
- type: 'boolean',
30
- default: false,
31
- })
32
- .option('base-commit', {
33
- type: 'string',
34
- demandOption: false,
35
- });
18
+ /*
19
+ * Option groups shared across commands. Each is a plain object passed to `.options()`, so a command's
20
+ * builder composes them by chaining (`y.options(gitRangeOptions).options(actorSelectionOptions)`)
21
+ * instead of nesting wrapper functions. `as const` keeps literals like `demandOption: true` so yargs
22
+ * can infer non-optional types; `satisfies` validates the shape without widening it.
23
+ */
24
+ /** Commit range to inspect: everything on `source-branch` since it diverged from `target-branch`. */
25
+ const gitRangeOptions = {
26
+ 'target-branch': { type: 'string', demandOption: true },
27
+ 'source-branch': { type: 'string', demandOption: true },
28
+ 'base-commit': { type: 'string', demandOption: false },
36
29
  };
37
30
  /**
38
31
  * Where to build the Actors from. Defaults to the `origin` remote, which is then checked against each
39
32
  * Actor's default version. Passing it explicitly skips that check (see assertRepoUrlMatchesDefaultVersion).
40
33
  */
41
- const repoUrlOptions = (y) => {
42
- return y.option('repo-url', {
43
- type: 'string',
44
- });
34
+ const repoUrlOptions = {
35
+ 'repo-url': { type: 'string' },
45
36
  };
46
37
  /**
47
38
  * Actor-selection flags, applied to every command that reads the actor config so a caller can
48
39
  * narrow the set it operates on (e.g. two-stage releases: `--ignore X`, then `--actors X`).
49
- * Kept separate from `buildOptions` so the read-only git commands don't advertise flags they ignore.
40
+ * Kept separate from `gitRangeOptions` so the read-only git commands don't advertise flags they ignore.
50
41
  */
51
- export const actorSelectionOptions = (y) => {
52
- return y
53
- .option('actors', {
54
- type: 'string',
55
- array: true,
56
- default: [],
57
- })
58
- .option('ignore', {
59
- type: 'string',
60
- array: true,
61
- default: [],
62
- });
42
+ const actorSelectionOptions = {
43
+ actors: { type: 'string', array: true, default: [] },
44
+ ignore: { type: 'string', array: true, default: [] },
45
+ };
46
+ /** Flags for commands that trigger Apify builds. */
47
+ const buildOptions = {
48
+ 'use-docker-cache': { type: 'boolean', default: false },
49
+ };
50
+ /** Global flags, available to every command. */
51
+ const globalOptions = {
52
+ 'dry-run': { type: 'boolean', default: false },
53
+ workspace: { type: 'string' },
63
54
  };
64
55
  const resolveChangedActors = async (config, { isLatest }) => {
65
56
  const actorConfigs = await readConfigFile(config);
@@ -91,48 +82,39 @@ const resolveChangedActors = async (config, { isLatest }) => {
91
82
  };
92
83
  await yargs()
93
84
  .scriptName('public-actors-utils')
94
- .option('dry-run', {
95
- type: 'boolean',
96
- default: false,
97
- })
98
- .option('workspace', {
99
- type: 'string',
100
- })
85
+ .options(globalOptions)
101
86
  .middleware(middlewares)
102
- .command('get-commits', '', buildOptions, (args) => {
87
+ .command('get-commits', '', (y) => y.options(gitRangeOptions), (args) => {
103
88
  const commits = getCommits(args);
104
89
  console.log(JSON.stringify(commits));
105
90
  })
106
- .command('get-latest-commit', '', buildOptions, (args) => {
91
+ .command('get-latest-commit', '', (y) => y.options(gitRangeOptions), (args) => {
107
92
  const commits = getCommits(args);
108
93
  if (commits.length > 0) {
109
94
  console.log(JSON.stringify(commits[commits.length - 1]));
110
95
  }
111
96
  })
112
- .command('get-changed-files', '', buildOptions, (args) => {
97
+ .command('get-changed-files', '', (y) => y.options(gitRangeOptions), (args) => {
113
98
  const commits = getCommits(args);
114
99
  const changedFiles = getChangedFiles(commits);
115
100
  console.log(JSON.stringify(changedFiles));
116
101
  })
117
- .command('get-actor-configs', '', actorSelectionOptions, async ({ actors, ignore }) => {
102
+ .command('get-actor-configs', '', (y) => y.options(actorSelectionOptions), async ({ actors, ignore }) => {
118
103
  const actorConfigs = await readConfigFile({ actors, ignore });
119
104
  console.log(JSON.stringify(actorConfigs));
120
105
  })
121
- .command('get-affected-actors', '', (args) => actorSelectionOptions(buildOptions(args)), async (config) => {
106
+ .command('get-affected-actors', '', (y) => y.options(gitRangeOptions).options(actorSelectionOptions), async (config) => {
122
107
  const actorsChanged = await resolveChangedActors(config, { isLatest: false });
123
108
  console.log(JSON.stringify(actorsChanged));
124
109
  })
125
- .command('report-tests', '', (args) => args
110
+ .command('report-tests', '', (y) => y
126
111
  .option('report-file', { type: 'string', demandOption: true })
127
112
  .option('report-slack-channel', { type: 'string' })
128
113
  .option('job-url', { type: 'string' })
129
114
  .option('workflow-name', { type: 'string' }), async (args) => {
130
115
  await reportTestResults(args);
131
116
  })
132
- .command('build', '', (args) => repoUrlOptions(actorSelectionOptions(buildOptions(args))).option('dry-run', {
133
- type: 'boolean',
134
- default: false,
135
- }), async (config) => {
117
+ .command('build', '', (y) => y.options(gitRangeOptions).options(actorSelectionOptions).options(buildOptions).options(repoUrlOptions), async (config) => {
136
118
  const actorsChanged = await resolveChangedActors(config, { isLatest: false });
137
119
  const builds = await runBuilds({
138
120
  ...resolveRepoUrl(config.repoUrl),
@@ -143,14 +125,15 @@ await yargs()
143
125
  });
144
126
  console.log(JSON.stringify(builds));
145
127
  })
146
- .command('release', '', (args) => repoUrlOptions(actorSelectionOptions(args))
128
+ .command('release', '', (y) => y
129
+ .options(actorSelectionOptions)
130
+ .options(buildOptions)
131
+ .options(repoUrlOptions)
147
132
  // The last commit that is already released, everything after it up to HEAD gets released.
148
133
  // Required, see the README section "Releasing Actors" for how to set it for each merge strategy.
149
134
  .option('base-commit', { type: 'string', demandOption: true })
150
- .option('dry-run', { type: 'boolean', default: false })
151
135
  .option('report-slack-channel', { type: 'string' })
152
- .option('release-slack-channel', { type: 'string' })
153
- .option('use-docker-cache', { type: 'boolean', default: false }), async (args) => {
136
+ .option('release-slack-channel', { type: 'string' }), async (args) => {
154
137
  const baseSha = resolveReleaseBaseCommit(args.baseCommit);
155
138
  const branch = getCurrentBranch();
156
139
  const changes = getReleaseChanges(baseSha);
@@ -191,12 +174,12 @@ await yargs()
191
174
  releaseSlackChannel,
192
175
  });
193
176
  })
194
- .command('build-from-local', '', (args) => actorSelectionOptions(args).option('dry-run', { type: 'boolean', default: false }), async ({ actors, ignore, dryRun }) => {
177
+ .command('build-from-local', '', (y) => y.options(actorSelectionOptions), async ({ actors, ignore, dryRun }) => {
195
178
  const actorConfigs = await readConfigFile({ actors, ignore });
196
179
  const builds = await runBuildsFromLocal({ actorConfigs, dryRun });
197
180
  console.log(JSON.stringify(builds));
198
181
  })
199
- .command('delete-old-builds', '', actorSelectionOptions, async ({ actors, ignore }) => {
182
+ .command('delete-old-builds', '', (y) => y.options(actorSelectionOptions), async ({ actors, ignore }) => {
200
183
  const actorConfigs = await readConfigFile({ actors, ignore });
201
184
  await deleteOldBuilds(actorConfigs);
202
185
  })
@@ -1 +1 @@
1
- {"version":3,"file":"main.js","sourceRoot":"","sources":["../../bin/main.ts"],"names":[],"mappings":";AAEA,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,OAAO,KAAoB,MAAM,OAAO,CAAC;AACzC,gFAAgF;AAChF,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EACH,yBAAyB,EACzB,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,wBAAwB,EACxB,cAAc,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAE/D;;GAEG;AACH,MAAM,WAAW,GAAG,CAAC,MAAM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