Skip to content

Commit

Permalink
chore: import from clodform-types instead of cloudform (aws-amplify#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolk authored and akshbhu committed Apr 17, 2023
1 parent 7fb99ee commit 07b5ef1
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion packages/amplify-provider-awscloudformation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"aws-sdk": "^2.1233.0",
"bottleneck": "2.19.5",
"chalk": "^4.1.1",
"cloudform": "^4.2.0",
"cloudform-types": "^4.2.0",
"columnify": "^1.5.4",
"constructs": "^10.0.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { diff as getDiffs } from 'deep-diff';
import { DynamoDB } from 'cloudform';
import { DynamoDB } from 'cloudform-types';
import { $TSAny } from 'amplify-cli-core';
import * as gsiTestHelper from './gsi-test-helpers';
import { DiffableProject } from '../../graphql-resource-manager/utils';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DynamoDB } from 'cloudform';
import { DynamoDB } from 'cloudform-types';
import { GlobalSecondaryIndex, AttributeDefinition } from 'cloudform-types/types/dynamoDb/table';

export type GSIDefinition = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AttributeDefinition, GlobalSecondaryIndex, KeySchema } from 'cloudform-types/types/dynamoDb/table';
import { DynamoDB, IntrinsicFunction } from 'cloudform';
import { DynamoDB, IntrinsicFunction } from 'cloudform-types';

import _ from 'lodash';
import { AmplifyError, AMPLIFY_SUPPORT_DOCS } from 'amplify-cli-core';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as _ from 'lodash';

import { DynamoDB, IntrinsicFunction } from 'cloudform';
import { DynamoDB, IntrinsicFunction } from 'cloudform-types';

import { GlobalSecondaryIndex } from 'cloudform-types/types/dynamoDb/table';
import { diff as getDiffs } from 'deep-diff';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'fs-extra';
import * as path from 'path';
import { JSONUtilities } from 'amplify-cli-core';
import { Template } from 'cloudform';
import { Template } from 'cloudform-types';
import { Diff, diff as getDiffs } from 'deep-diff';

const ROOT_STACK_FILE_NAME = 'cloudformation-template.json';
Expand Down

0 comments on commit 07b5ef1

Please sign in to comment.