Skip to content

Commit cb336a6

Browse files
authored
Merge pull request #564 from aws-amplify/main
chore(codegen): trigger release pipeline
2 parents 333c24e + a52338e commit cb336a6

32 files changed

+1438
-1455
lines changed

.circleci/config.base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ install_cli_with_local_codegen: &install_cli
5858
startLocalRegistry "$(pwd)/.circleci/verdaccio.yaml"
5959
setNpmRegistryUrlToLocal
6060
changeNpmGlobalPath
61-
npm install -g @aws-amplify/cli-internal@11.0.0-rc.e5f00c392.0
61+
npm install -g @aws-amplify/cli-internal
6262
amplify -v
6363
npm list --global --depth=1
6464
unsetNpmRegistryUrl

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ install_cli_with_local_codegen: &ref_3
5454
startLocalRegistry "$(pwd)/.circleci/verdaccio.yaml"
5555
setNpmRegistryUrlToLocal
5656
changeNpmGlobalPath
57-
npm install -g @aws-amplify/cli-internal@11.0.0-rc.e5f00c392.0
57+
npm install -g @aws-amplify/cli-internal
5858
amplify -v
5959
npm list --global --depth=1
6060
unsetNpmRegistryUrl

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ $ yarn setup-dev
3636

3737
> NOTE: The `amplify-dev` binary is built based on the latest amplify cli from npm registry and your local codegen packages. All your local changes from codegen can be reflected (typescript files need to be build by `tsc`). In addition, if you are a developer of cli repo, you can run the same command to override the `amplify-dev` binary.
3838
39+
5. Ensure `amplify-dev` exists on your path.
40+
41+
```sh
42+
$ yarn global bin # retrieve yarn path
43+
```
44+
45+
Update your `$PATH` to include this directory.
46+
3947
### Architecture of the codebase
4048

4149
Amplify Codegen is a monorepo built with [Yarn Workspaces](https://yarnpkg.com/features/workspaces) and [Lerna](https://github.com/lerna/lerna). All packages live within the `packages/` directory in the root. Each category inside packages has its own `src/` and `package.json`.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@
5959
"packages/*"
6060
],
6161
"devDependencies": {
62+
"@aws-amplify/amplify-cli-core": "^4.0.0",
6263
"@commitlint/cli": "^17.0.3",
6364
"@commitlint/config-conventional": "^17.0.3",
6465
"@commitlint/config-lerna-scopes": "^17.0.2",
6566
"@types/jest": "^27.0.0",
6667
"@types/js-yaml": "^4.0.0",
6768
"@typescript-eslint/eslint-plugin": "^4.0.0",
6869
"@typescript-eslint/parser": "^4.0.0",
70+
"amplify-headless-interface": "^1.13.1",
6971
"cmd-shim": "^3.0.3",
7072
"codecov": "^3.7.0",
7173
"commitizen": "^4.2.4",
@@ -83,6 +85,7 @@
8385
"eslint-plugin-react": "^7.21.5",
8486
"eslint-plugin-spellcheck": "^0.0.17",
8587
"glob": "^7.1.6",
88+
"graphql-transformer-core": "^8.0.0",
8689
"husky": "^3.0.3",
8790
"jest": "^27.0.0",
8891
"jest-circus": "^27.0.0",
@@ -95,10 +98,7 @@
9598
"rimraf": "^3.0.0",
9699
"ts-jest": "^27.0.0",
97100
"ts-node": "^8.10.1",
98-
"typescript": "4.7.4",
99-
"amplify-cli-core": "4.0.0-rc.e5f00c392.0",
100-
"graphql-transformer-core": "^8.0.0",
101-
"amplify-headless-interface": "^1.13.1"
101+
"typescript": "4.7.4"
102102
},
103103
"resolutions": {
104104
"minimist": "^1.2.6",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"uuid": "7.0.1"
3636
},
3737
"peerDependencies": {
38-
"amplify-cli-core": "4.0.0-rc.e5f00c392.0",
38+
"@aws-amplify/amplify-cli-core": "^4.0.0",
3939
"amplify-headless-interface": "^1.13.1",
4040
"graphql-transformer-core": "^8.0.0"
4141
}

packages/amplify-codegen-e2e-core/src/categories/lambda-layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as fs from 'fs-extra';
22
import * as path from 'path';
33
import _ from 'lodash';
4-
import { JSONUtilities } from 'amplify-cli-core';
4+
import { JSONUtilities } from '@aws-amplify/amplify-cli-core';
55
import { nspawn as spawn, ExecutionContext, getCLIPath, KEY_DOWN_ARROW } from '..';
66
import { getLayerVersion, listVersions } from '../utils/sdk-calls';
77
import { multiSelect } from '../utils/selectors';

packages/amplify-codegen-e2e-core/src/utils/add-circleci-tags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { stateManager } from 'amplify-cli-core';
1+
import { stateManager } from '@aws-amplify/amplify-cli-core';
22

33
declare global {
44
namespace NodeJS {

packages/amplify-codegen-e2e-core/src/utils/feature-flags.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 { pathManager, FeatureFlagsEntry, JSONUtilities } from 'amplify-cli-core';
2+
import { pathManager, FeatureFlagsEntry, JSONUtilities } from '@aws-amplify/amplify-cli-core';
33

44
type FeatureFlagData = { features: FeatureFlagsEntry };
55
const getFeatureFlagFilePath = (projectRoot: string) => {

packages/amplify-codegen-e2e-core/src/utils/projectMeta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as path from 'path';
22
import * as os from 'os';
33
import * as fs from 'fs-extra';
44
import _ from 'lodash';
5-
import { JSONUtilities } from 'amplify-cli-core';
5+
import { JSONUtilities } from '@aws-amplify/amplify-cli-core';
66

77
function getAWSConfigAndroidPath(projRoot: string): string {
88
return path.join(projRoot, 'app', 'src', 'main', 'res', 'raw', 'awsconfiguration.json');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"ts-node": "^8.10.1"
4242
},
4343
"peerDependencies": {
44-
"amplify-cli-core": "4.0.0-rc.e5f00c392.0",
44+
"@aws-amplify/amplify-cli-core": "^4.0.0",
4545
"graphql-transformer-core": "^8.0.0"
4646
},
4747
"jest": {

0 commit comments

Comments
 (0)