Skip to content

Commit 7820d66

Browse files
authored
chore: flip to use @aws-amplify namespace for private packages to avoid collision with improperly published packages (#442)
1 parent 6cd7581 commit 7820d66

29 files changed

+30
-30
lines changed

packages/amplify-codegen-e2e-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "amplify-codegen-e2e-core",
2+
"name": "@aws-amplify/amplify-codegen-e2e-core",
33
"version": "1.1.6",
44
"description": "",
55
"repository": {

packages/amplify-codegen-e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "amplify-codegen-e2e-tests",
2+
"name": "@aws-amplify/amplify-codegen-e2e-tests",
33
"version": "2.39.10",
44
"description": "",
55
"repository": {
@@ -22,7 +22,7 @@
2222
"clean-e2e-resources": "ts-node ./src/cleanup-e2e-resources.ts"
2323
},
2424
"dependencies": {
25-
"amplify-codegen-e2e-core": "1.1.6",
25+
"@aws-amplify/amplify-codegen-e2e-core": "1.1.6",
2626
"aws-amplify": "^3.0.8",
2727
"aws-appsync": "^4.0.3",
2828
"aws-sdk": "^2.845.0",

packages/amplify-codegen-e2e-tests/src/__tests__/feature-flags.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as fs from 'fs-extra';
2-
import { initJSProjectWithProfile, createNewProjectDir, deleteProject, deleteProjectDir } from 'amplify-codegen-e2e-core';
2+
import { initJSProjectWithProfile, createNewProjectDir, deleteProject, deleteProjectDir } from '@aws-amplify/amplify-codegen-e2e-core';
33
import { pathManager } from 'amplify-cli-core';
44

55
const codegenFeatureFlags = {

packages/amplify-codegen-e2e-tests/src/amplify-app-helpers/amplify-app-setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { nspawn as spawn, KEY_DOWN_ARROW, isCI } from 'amplify-codegen-e2e-core';
1+
import { nspawn as spawn, KEY_DOWN_ARROW, isCI } from '@aws-amplify/amplify-codegen-e2e-core';
22
import * as fs from 'fs-extra';
33
import * as path from 'path';
44

packages/amplify-codegen-e2e-tests/src/cleanup-e2e-resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as aws from 'aws-sdk';
55
import _ from 'lodash';
66
import fs from 'fs-extra';
77
import path from 'path';
8-
import { deleteS3Bucket } from 'amplify-codegen-e2e-core';
8+
import { deleteS3Bucket } from '@aws-amplify/amplify-codegen-e2e-core';
99

1010
// Ensure to update scripts/split-e2e-tests.ts is also updated this gets updated
1111
const AWS_REGIONS_TO_RUN_TESTS = [

packages/amplify-codegen-e2e-tests/src/configure_tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { amplifyConfigure as configure, isCI } from 'amplify-codegen-e2e-core';
1+
import { amplifyConfigure as configure, isCI } from '@aws-amplify/amplify-codegen-e2e-core';
22

33
async function setupAmplify() {
44
if (isCI()) {

packages/amplify-codegen-e2e-tests/src/environment/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { nspawn as spawn, getCLIPath, getSocialProviders } from 'amplify-codegen-e2e-core';
1+
import { nspawn as spawn, getCLIPath, getSocialProviders } from '@aws-amplify/amplify-codegen-e2e-core';
22

33
export function addEnvironment(cwd: string, settings: { envName: string; numLayers?: number }): Promise<void> {
44
return new Promise((resolve, reject) => {

packages/amplify-codegen-e2e-tests/src/import-helpers/expects.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import _ from 'lodash';
2-
import { getProjectMeta, getBackendAmplifyMeta, getTeamProviderInfo, getBackendConfig } from 'amplify-codegen-e2e-core';
2+
import { getProjectMeta, getBackendAmplifyMeta, getTeamProviderInfo, getBackendConfig } from '@aws-amplify/amplify-codegen-e2e-core';
33
import { AuthProjectDetails, DynamoDBProjectDetails, readRootStack, StorageProjectDetails } from '.';
44

55
export const expectAuthProjectDetailsMatch = (projectDetails: AuthProjectDetails, ogProjectDetails: AuthProjectDetails) => {

packages/amplify-codegen-e2e-tests/src/import-helpers/settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
AddAuthIdentityPoolAndUserPoolWithOAuthSettings,
55
AddStorageSettings,
66
AddDynamoDBSettings,
7-
} from 'amplify-codegen-e2e-core';
7+
} from '@aws-amplify/amplify-codegen-e2e-core';
88

99
export const createNoOAuthSettings = (projectPrefix: string, shortId: string): AddAuthUserPoolOnlyNoOAuthSettings => {
1010
return {

packages/amplify-codegen-e2e-tests/src/import-helpers/utilities.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as path from 'path';
44
import { $TSObject, JSONUtilities } from 'amplify-cli-core';
55
import { AppClientSettings, DynamoDBProjectDetails } from './types';
66
import { AuthProjectDetails, StorageProjectDetails } from '.';
7-
import { getBackendAmplifyMeta, getProjectMeta, getTeamProviderInfo } from 'amplify-codegen-e2e-core';
7+
import { getBackendAmplifyMeta, getProjectMeta, getTeamProviderInfo } from '@aws-amplify/amplify-codegen-e2e-core';
88

99
import _ from 'lodash';
1010
import { v4 as uuid } from 'uuid';

0 commit comments

Comments
 (0)