Skip to content

Commit

Permalink
chore: rename packages to final name schemes before launch
Browse files Browse the repository at this point in the history
  • Loading branch information
alharris-at committed Nov 16, 2021
1 parent d3e097b commit d6d3532
Show file tree
Hide file tree
Showing 140 changed files with 851 additions and 951 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module.exports = {
'jest.config.js',
'.eslintrc.js',
'commitlint.config.js',
'packages/amplify-ui-codegen-schema',
'packages/integration-test',
'ui-components',
'*.md',
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- name: Checkout Studio Codegen
uses: actions/checkout@v2
with:
path: amplify-codegen-ui-staging
path: amplify-codegen-ui
- name: Checkout Amplify CLI Studio Category
uses: actions/checkout@v2
with:
Expand All @@ -67,26 +67,26 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: lts/*
- name: Install amplify-codegen-ui-staging dependencies
working-directory: amplify-codegen-ui-staging
- name: Install amplify-codegen-ui dependencies
working-directory: amplify-codegen-ui
run: npm ci
- name: Lerna bootstrap amplify-codegen-ui-staging
working-directory: amplify-codegen-ui-staging
- name: Lerna bootstrap amplify-codegen-ui
working-directory: amplify-codegen-ui
run: lerna bootstrap
- name: Build amplify-codegen-ui-staging
working-directory: amplify-codegen-ui-staging
- name: Build amplify-codegen-ui
working-directory: amplify-codegen-ui
run: npm run build
- name: Package amplify-codegen-ui-staging
working-directory: amplify-codegen-ui-staging
- name: Package amplify-codegen-ui
working-directory: amplify-codegen-ui
run: lerna exec npm pack
- name: Install amplify-category-studio
working-directory: amplify-category-studio
run: |
npm install
npm install amplify-provider-awscloudformation
npm install aws-sdk.tgz
npm install ../amplify-codegen-ui-staging/packages/studio-ui-codegen/amzn-studio-ui-codegen-*.tgz
npm install ../amplify-codegen-ui-staging/packages/studio-ui-codegen-react/amzn-studio-ui-codegen-react-*.tgz
npm install ../amplify-codegen-ui/packages/codegen-ui/aws-amplify-codegen-ui-*.tgz
npm install ../amplify-codegen-ui/packages/codegen-ui-react/aws-amplify-codegen-ui-react-*.tgz
- name: Test amplify-category-studio
working-directory: amplify-category-studio
run: npm test
Expand Down
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.husky
packages/ui-react-types
packages/amplify-ui-codegen-schema
ui-components
797 changes: 383 additions & 414 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ There are 3 keys steps, first you need to create a new tagged release version of
1. Squash and merge PR after approval.
Ensure the commit message follows the pattern: `chore(release): v{version_number}`.
The Release GitHub workflow will not work if the commit message is not formated correctly.
1. Wait for the [Release GithHub workflow](https://github.com/aws-amplify/amplify-codegen-ui-staging/actions/workflows/release.yml) to complete.
1. Wait for the [Release GithHub workflow](https://github.com/aws-amplify/amplify-codegen-ui/actions/workflows/release.yml) to complete.

\*\*N.B. Ensure that your release has a tag, manually creating if necessary. Only major/minor updates seem to automatically generate tags, but you can create one yourself with the [git-tag](https://git-scm.com/docs/git-tag) command.

Expand Down
12 changes: 3 additions & 9 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,9 @@ module.exports = {
verbose: true,
testRunner: 'jest-circus/runner',
testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
testPathIgnorePatterns: [
'**/*.d.ts',
'**/__e2e__/',
'**/__integration__/'
],
testPathIgnorePatterns: ['**/*.d.ts', '**/__e2e__/', '**/__integration__/'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'core', 'node'],
collectCoverage: true,
collectCoverageFrom: ['src/**/.(ts|tsx|js|jsx)$', '!src/**/*.test.(ts|tsx|js|jsx)$', '!src/**/*.d.ts'],
projects: [
'<rootDir>/packages/studio-ui-codegen-react',
],
};
projects: ['<rootDir>/packages/codegen-ui-react'],
};
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@amzn/amplify-uicodegen",
"name": "@aws-amplify/amplify-codegen-ui",
"version": "0.1.0",
"description": "",
"author": "Amazon Web Services",
Expand Down
Loading

0 comments on commit d6d3532

Please sign in to comment.