Skip to content

Commit

Permalink
chore: PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Lazar committed Oct 14, 2022
1 parent 8475eaf commit a867eaf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 22 deletions.
13 changes: 1 addition & 12 deletions packages/amplify-category-analytics/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {
import { $TSContext, $TSAny, , amplifyFaultWithTroubleshootingLink } from 'amplify-cli-core';
$TSContext, $TSAny,
} from 'amplify-cli-core';
import * as path from 'path';
Expand All @@ -7,7 +7,6 @@ import { printer } from 'amplify-prompts';
import * as pinpointHelper from './utils/pinpoint-helper';
import * as kinesisHelper from './utils/kinesis-helper';
import { migrationCheck } from './migrations';
import { amplifyFaultWithTroubleshootingLink } from '../../amplify-cli-core/src/errors/amplify-fault';

export { migrate } from './provider-utils/awscloudformation/service-walkthroughs/pinpoint-walkthrough';

Expand All @@ -21,16 +20,6 @@ export {
analyticsPluginAPIPush,
} from './analytics-resource-api';

export { migrate } from './provider-utils/awscloudformation/service-walkthroughs/pinpoint-walkthrough';

export {
analyticsPluginAPIGetResources,
analyticsPluginAPICreateResource,
analyticsPluginAPIToggleNotificationChannel,
analyticsPluginAPIPostPush,
analyticsPluginAPIPush,
} from './analytics-resource-api';

const category = 'analytics';

/**
Expand Down
3 changes: 1 addition & 2 deletions packages/amplify-category-auth/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ const {
const { AuthInputState } = require('./provider-utils/awscloudformation/auth-inputs-manager/auth-input-state');
const { privateKeys } = require('./provider-utils/awscloudformation/constants');
const { checkAuthResourceMigration } = require('./provider-utils/awscloudformation/utils/check-for-auth-migration');

import { run as authRunPush } from './commands/auth/push';
const { run: authRunPush } = require('./commands/auth/push');

// this function is being kept for temporary compatability.
async function add(context, skipNextSteps = false) {
Expand Down
6 changes: 0 additions & 6 deletions packages/amplify-category-notifications/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ export {
notificationsAPIGetAvailableChannelNames,
} from './plugin-provider-api-notifications';

export {
notificationsPluginAPIGetResource,
notificationsPluginAPIRemoveApp,
notificationsAPIGetAvailableChannelNames,
} from './plugin-provider-api-notifications';

const category = 'notifications';

/**
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10224,9 +10224,9 @@ amdefine@>=0.0.4:
resolved "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5"
integrity sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=

amplify-codegen@^3.2.0:
amplify-codegen@^3.1.0:
version "3.2.0"
resolved "https://registry.npmjs.org/amplify-codegen/-/amplify-codegen-3.2.0.tgz#d159d5cdc1091ba8c1aca15468e46191fb006d27"
resolved "https://registry.yarnpkg.com/amplify-codegen/-/amplify-codegen-3.2.0.tgz#d159d5cdc1091ba8c1aca15468e46191fb006d27"
integrity sha512-C/T7hDj4hQUMR4M+3yYp7LHSd3EVYHGhu9FPAs6rIaKwWpKsRCW7TkzrJuD1PA2B0OqdNl9PcQ/XqIGWxqryRA==
dependencies:
"@aws-amplify/appsync-modelgen-plugin" "2.2.0"
Expand Down

0 comments on commit a867eaf

Please sign in to comment.