Skip to content

Commit

Permalink
Merge pull request #5243 from aws-amplify/modularization
Browse files Browse the repository at this point in the history
Modularization release
  • Loading branch information
Amplifiyer committed Mar 31, 2020
2 parents a105664 + 9f2800d commit b4b40aa
Show file tree
Hide file tree
Showing 333 changed files with 13,622 additions and 8,483 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
steps:
- checkout
- run: yarn config set workspaces-experimental true
- run: yarn
- run: yarn bootstrap
- run: yarn build
- run: yarn --frozen-lockfile
- run: yarn run bootstrap
- run: yarn run build

- save_cache:
key: amplify-ssh-deps-{{ .Branch }}
Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: to-be-reproduced
assignees: ''

---

**Describe the bug**
Expand Down Expand Up @@ -32,13 +31,13 @@ If applicable, add screenshots to help explain your problem.
<summary><strong>Environment</strong></summary>

<!-- Please run the following command inside your project and copy/paste the output into the codeblock: -->

```
npx envinfo --system --binaries --browsers --npmPackages --npmGlobalPackages
```

</details>


**Smartphone (please complete the following information):**

- Device: [e.g. iPhone6]
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: feature-request
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
10 changes: 4 additions & 6 deletions .github/ISSUE_TEMPLATE/rfc.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
---

name: Request For Comments (RFC)
about: Gather community feedback regarding a proposed change to the library
title: 'RFC: PROPOSAL HEADLINE'
labels: feature-request
assignees: ''

---

_This issue is a Request For Comments (RFC). It is intended to elicit community feedback regarding a proposed change to the library. Please feel free to post comments or questions here._
---_This issue is a Request For Comments (RFC). It is intended to elicit community feedback regarding a proposed change to the library. Please feel free to post comments or questions here._

## Summary

In one or two sentences, why should this change exist?

## Motivation

Why is this RFC needed? What will happen if accepted? And what would happen if it *isn't* accepted?
Why is this RFC needed? What will happen if accepted? And what would happen if it _isn't_ accepted?

## Basic Example

If the RFC involves a new or changed API, include a basic code example. (Omit if not applicable)

## Detailed Design

Provide enough detail on *how* this should be implemented such that someone other than yourself could build it.
Provide enough detail on _how_ this should be implemented such that someone other than yourself could build it.
Include examples of how the implementation is used

## Drawbacks
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/usage-question.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Ask a question about AWS Amplify usage
title: ''
labels: question
assignees: ''

---

** Which Category is your question related to? **
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ packages/**/lib/
packages/**/lib-esm/
packages/**/dist/
packages/**/es/
packages/**/esm/
packages/**/cjs/
.DS_Store
.vscode
.idea
*.log
.npm/
packages/**/cypress/videos/
package-lock.json
yarn.lock
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
**/node_modules
**/dist
**/docs
**/vscode
**/package.json
**/yarn.lock
**/package-lock.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint": "lerna run lint",
"link-all": "yarn unlink-all && lerna exec --no-bail --parallel yarn link",
"unlink-all": "lerna exec --no-bail --parallel -- yarn unlink; exit 0",
"publish:master": "lerna publish --canary --force-publish \"*\" --yes --dist-tag=unstable --preid=unstable --exact",
"publish:master": "lerna publish --conventional-commits --force-publish \"*\" --yes --dist-tag=unstable --preid=unstable --exact",
"publish:beta": "lerna publish --canary --force-publish \"*\" --yes --dist-tag=beta --preid=beta --exact",
"publish:release": "lerna publish --conventional-commits --yes --message 'chore(release): Publish [ci skip]'",
"publish:1.0-stable": "lerna publish --conventional-commits --yes --dist-tag=stable-1.0 --message 'chore(release): Publish [ci skip]'"
Expand Down
20 changes: 10 additions & 10 deletions packages/amazon-cognito-identity-js/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
root: true
extends:
- airbnb-base
- prettier
- airbnb-base
- prettier
env:
browser: true
settings:
Expand All @@ -11,17 +11,17 @@ rules:
linebreak-style: off
# sjcl hmac breaks new-cap
new-cap:
- error
- newIsCapExceptions:
- sjcl.misc.hmac
- error
- newIsCapExceptions:
- sjcl.misc.hmac
# Check JSDocs
valid-jsdoc: error
require-jsdoc:
- error
- require:
FunctionDeclaration: true
ClassDeclaration: true
MethodDefinition: true
- error
- require:
FunctionDeclaration: true
ClassDeclaration: true
MethodDefinition: true
# Seems this doesn't use import/resolver? import/no-unresolved catches most of these anyway.
# https://github.com/benmosher/eslint-plugin-import/issues/496
import/no-extraneous-dependencies: off
52 changes: 4 additions & 48 deletions packages/amazon-cognito-identity-js/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,95 +7,51 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

**Note:** Version bump only for package amazon-cognito-identity-js





## [3.2.6](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.2.5...amazon-cognito-identity-js@3.2.6) (2020-03-25)

**Note:** Version bump only for package amazon-cognito-identity-js





## [3.2.5](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.2.4...amazon-cognito-identity-js@3.2.5) (2020-02-28)

**Note:** Version bump only for package amazon-cognito-identity-js





## [3.2.4](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.2.2...amazon-cognito-identity-js@3.2.4) (2020-02-07)

**Note:** Version bump only for package amazon-cognito-identity-js





## [3.2.2](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.2.1...amazon-cognito-identity-js@3.2.2) (2020-01-10)


### Bug Fixes

* **amazon-cognito-identity-js:** Local & CI tests ([#4616](https://github.com/aws-amplify/amplify-js/issues/4616)) ([bc8ae26](https://github.com/aws-amplify/amplify-js/commit/bc8ae262040d7961a28513a25013c2d306908874))




- **amazon-cognito-identity-js:** Local & CI tests ([#4616](https://github.com/aws-amplify/amplify-js/issues/4616)) ([bc8ae26](https://github.com/aws-amplify/amplify-js/commit/bc8ae262040d7961a28513a25013c2d306908874))

## [3.2.1](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.2.0...amazon-cognito-identity-js@3.2.1) (2019-12-18)

**Note:** Version bump only for package amazon-cognito-identity-js





# [3.2.0](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.1.3...amazon-cognito-identity-js@3.2.0) (2019-10-29)


### Features

* **@aws-amplify/auth:** clientMetadata ([#4149](https://github.com/aws-amplify/amplify-js/issues/4149)) ([ac34816](https://github.com/aws-amplify/amplify-js/commit/ac34816df326331cfe04474fdf35790c52f4a1d3))




- **@aws-amplify/auth:** clientMetadata ([#4149](https://github.com/aws-amplify/amplify-js/issues/4149)) ([ac34816](https://github.com/aws-amplify/amplify-js/commit/ac34816df326331cfe04474fdf35790c52f4a1d3))

## [3.1.3](https://github.com/aws-amplify/amplify-js/compare/amazon-cognito-identity-js@3.1.2...amazon-cognito-identity-js@3.1.3) (2019-10-23)

**Note:** Version bump only for package amazon-cognito-identity-js





## [3.1.2](https://github.com/aws/aws-amplify/compare/amazon-cognito-identity-js@3.1.0...amazon-cognito-identity-js@3.1.2) (2019-10-10)

**Note:** Version bump only for package amazon-cognito-identity-js





# [3.1.0](https://github.com/aws/aws-amplify/compare/amazon-cognito-identity-js@3.0.15...amazon-cognito-identity-js@3.1.0) (2019-10-10)


### Bug Fixes

* **amazon-cognito-identity-js:** linting config ([#4097](https://github.com/aws/aws-amplify/issues/4097)) ([82b1dd8](https://github.com/aws/aws-amplify/commit/82b1dd8acc9b1dc165707945d585ce282fce60ba))

- **amazon-cognito-identity-js:** linting config ([#4097](https://github.com/aws/aws-amplify/issues/4097)) ([82b1dd8](https://github.com/aws/aws-amplify/commit/82b1dd8acc9b1dc165707945d585ce282fce60ba))

### Features

* Added Prettier formatting ([4dfd9aa](https://github.com/aws/aws-amplify/commit/4dfd9aa9ab900307c9d17c68448a6ca4aa08fd5a))




- Added Prettier formatting ([4dfd9aa](https://github.com/aws/aws-amplify/commit/4dfd9aa9ab900307c9d17c68448a6ca4aa08fd5a))

## [3.0.15](https://github.com/aws/aws-amplify/compare/amazon-cognito-identity-js@3.0.14...amazon-cognito-identity-js@3.0.15) (2019-07-30)

Expand Down
Binary file not shown.
Binary file not shown.
Empty file.
Empty file.
17 changes: 17 additions & 0 deletions packages/amazon-cognito-identity-js/android/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>android</name>
<comment>Project android created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
arguments=
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(5.4))
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
java.home=
jvm.arguments=
offline.mode=false
override.workspace.settings=true
show.console.view=true
show.executions.view=true
2 changes: 1 addition & 1 deletion packages/amazon-cognito-identity-js/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 packages/amazon-cognito-identity-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "amazon-cognito-identity-js",
"description": "Amazon Cognito Identity Provider JavaScript SDK",
"version": "3.2.7",
"version": "4.0.0",
"author": {
"name": "Amazon Web Services",
"email": "aws@amazon.com",
Expand Down
4 changes: 2 additions & 2 deletions packages/amazon-cognito-identity-js/src/CognitoUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ import StorageHelper from './StorageHelper';
* @param {bool=} userConfirmationNecessary User must be confirmed.
*/

const isBrowser = typeof navigator !== "undefined";
const userAgent = isBrowser ? navigator.userAgent : "nodejs";
const isBrowser = typeof navigator !== 'undefined';
const userAgent = isBrowser ? navigator.userAgent : 'nodejs';

/** @class */
export default class CognitoUser {
Expand Down
29 changes: 3 additions & 26 deletions packages/amplify-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,52 +5,29 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

## [1.1.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.1.5...@aws-amplify/ui@1.1.6) (2020-03-25)


### Bug Fixes

* **aws-amplify-react:** Fix Federated icons when using React Bo… ([#5073](https://github.com/aws-amplify/amplify-js/issues/5073)) ([49f8bfe](https://github.com/aws-amplify/amplify-js/commit/49f8bfeebea845779ef232d83295bd33ebb22fb2))




- **aws-amplify-react:** Fix Federated icons when using React Bo… ([#5073](https://github.com/aws-amplify/amplify-js/issues/5073)) ([49f8bfe](https://github.com/aws-amplify/amplify-js/commit/49f8bfeebea845779ef232d83295bd33ebb22fb2))

## [1.1.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.1.3...@aws-amplify/ui@1.1.5) (2020-02-07)


### Bug Fixes

* **@aws-amplify/ui:** Add padding to caret for SignUp component ([#4757](https://github.com/aws-amplify/amplify-js/issues/4757)) ([34cdc6c](https://github.com/aws-amplify/amplify-js/commit/34cdc6c9841b48c077eff42b21fa2b3fcc9a80be))




- **@aws-amplify/ui:** Add padding to caret for SignUp component ([#4757](https://github.com/aws-amplify/amplify-js/issues/4757)) ([34cdc6c](https://github.com/aws-amplify/amplify-js/commit/34cdc6c9841b48c077eff42b21fa2b3fcc9a80be))

## [1.1.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.1.2...@aws-amplify/ui@1.1.3) (2019-10-23)

**Note:** Version bump only for package @aws-amplify/ui





## [1.1.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.1.0...@aws-amplify/ui@1.1.2) (2019-10-10)

**Note:** Version bump only for package @aws-amplify/ui





# [1.1.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.0.25...@aws-amplify/ui@1.1.0) (2019-10-10)


### Features

* Added Prettier formatting ([4dfd9aa](https://github.com/aws-amplify/amplify-js/commit/4dfd9aa9ab900307c9d17c68448a6ca4aa08fd5a))




- Added Prettier formatting ([4dfd9aa](https://github.com/aws-amplify/amplify-js/commit/4dfd9aa9ab900307c9d17c68448a6ca4aa08fd5a))

## [1.0.25](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/ui@1.0.23...@aws-amplify/ui@1.0.25) (2019-09-13)

Expand Down
2 changes: 1 addition & 1 deletion packages/amplify-ui/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 packages/amplify-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-amplify/ui",
"version": "1.1.6",
"version": "2.0.0",
"main": "dist/aws-amplify-ui.js",
"types": "lib/index.d.ts",
"publishConfig": {
Expand Down

0 comments on commit b4b40aa

Please sign in to comment.