Skip to content

Commit c0416b4

Browse files
committed
chore: rebase issues
1 parent 2f2ea05 commit c0416b4

Some content is hidden

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

49 files changed

+216
-4747
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default [
8080
'no-restricted-syntax': [
8181
'error',
8282
{
83-
'selector': "CallExpression[callee.object.name='LoginCommand'][callee.property.name='run']",
83+
'selector': "ExpressionStatement[expression.argument.arguments.0.name='LoginCommand']",
8484
'message': 'Use safeLogin() from test/__setup__/hooks/useAuthSetup.ts instead',
8585
},
8686
],

src/commands/_register.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { BuiltApifyCommand } from '../lib/command-framework/apify-command.js';
12
import { ActorIndexCommand } from './actor/_index.js';
23
import { ActorsIndexCommand } from './actors/_index.js';
34
import { BuildsIndexCommand } from './builds/_index.js';
@@ -7,8 +8,8 @@ import { CreateCommand } from './create.js';
78
import { DatasetsIndexCommand } from './datasets/_index.js';
89
import { EditInputSchemaCommand } from './edit-input-schema.js';
910
import { InfoCommand } from './info.js';
10-
import { WrapScrapyCommand } from './init-wrap-scrapy.js';
1111
import { InitCommand } from './init.js';
12+
import { WrapScrapyCommand } from './init-wrap-scrapy.js';
1213
import { KeyValueStoresIndexCommand } from './key-value-stores/_index.js';
1314
import { LoginCommand } from './login.js';
1415
import { LogoutCommand } from './logout.js';
@@ -20,7 +21,6 @@ import { RunsIndexCommand } from './runs/_index.js';
2021
import { SecretsIndexCommand } from './secrets/_index.js';
2122
import { TasksIndexCommand } from './task/_index.js';
2223
import { ValidateInputSchemaCommand } from './validate-schema.js';
23-
import type { BuiltApifyCommand } from '../lib/command-framework/apify-command.js';
2424

2525
export const apifyCommands = [
2626
// namespaces

src/commands/actor/_index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
12
import { ActorChargeCommand } from './charge.js';
23
import { ActorGetInputCommand } from './get-input.js';
34
import { ActorGetPublicUrlCommand } from './get-public-url.js';
45
import { ActorGetValueCommand } from './get-value.js';
56
import { ActorPushDataCommand } from './push-data.js';
67
import { ActorSetValueCommand } from './set-value.js';
7-
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
88

99
export class ActorIndexCommand extends ApifyCommand<typeof ActorIndexCommand> {
1010
static override name = 'actor' as const;

src/commands/actor/charge.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { APIFY_ENV_VARS } from '@apify/consts';
32

43
import { getApifyTokenFromEnvOrAuthFile } from '../../lib/actor.js';

src/commands/actor/get-public-url.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { Args } from '@oclif/core';
2-
31
import { ACTOR_ENV_VARS, APIFY_ENV_VARS } from '@apify/consts';
42
import { createHmacSignature } from '@apify/utilities';
53

src/commands/actors/_index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
12
import { ActorsBuildCommand } from './build.js';
23
import { ActorsCallCommand } from './call.js';
34
import { ActorsInfoCommand } from './info.js';
@@ -6,7 +7,6 @@ import { ActorsPullCommand } from './pull.js';
67
import { ActorsPushCommand } from './push.js';
78
import { ActorsRmCommand } from './rm.js';
89
import { ActorsStartCommand } from './start.js';
9-
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
1010

1111
export class ActorsIndexCommand extends ApifyCommand<typeof ActorsIndexCommand> {
1212
static override name = 'actors' as const;

src/commands/actors/ls.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import chalk from 'chalk';
44

55
import type { ACTOR_JOB_STATUSES } from '@apify/consts';
66

7-
import type { ACTOR_JOB_STATUSES } from '@apify/consts';
8-
97
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
108
import { Flags } from '../../lib/command-framework/flags.js';
119
import { prettyPrintStatus } from '../../lib/commands/pretty-print-status.js';

src/commands/actors/push.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@ import open from 'open';
1010
import { fetchManifest } from '@apify/actor-templates';
1111
import { ACTOR_JOB_STATUSES, ACTOR_SOURCE_TYPES, MAX_MULTIFILE_BYTES } from '@apify/consts';
1212

13-
import { fetchManifest } from '@apify/actor-templates';
14-
import { ACTOR_JOB_STATUSES, ACTOR_SOURCE_TYPES, MAX_MULTIFILE_BYTES } from '@apify/consts';
15-
1613
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
1714
import { Args } from '../../lib/command-framework/args.js';
1815
import { Flags } from '../../lib/command-framework/flags.js';

src/commands/builds/_index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1+
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
12
import { BuildsCreateCommand } from './create.js';
23
import { BuildsInfoCommand } from './info.js';
34
import { BuildsLogCommand } from './log.js';
45
import { BuildsLsCommand } from './ls.js';
56
import { BuildsRmCommand } from './rm.js';
6-
import { ApifyCommand } from '../../lib/command-framework/apify-command.js';
77

88
export class BuildsIndexCommand extends ApifyCommand<typeof BuildsIndexCommand> {
99
static override name = 'builds' as const;

src/commands/create.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import { gte, minVersion } from 'semver';
66

77
import { fetchManifest, manifestUrl } from '@apify/actor-templates';
88

9-
import { fetchManifest, manifestUrl } from '@apify/actor-templates';
10-
119
import { ApifyCommand } from '../lib/command-framework/apify-command.js';
1210
import { Args } from '../lib/command-framework/args.js';
1311
import { Flags } from '../lib/command-framework/flags.js';

0 commit comments

Comments
 (0)