Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(notifications): Add babel plugins to devDependencies #11414

Merged
merged 2 commits into from
May 26, 2023

Conversation

cshfang
Copy link
Contributor

@cshfang cshfang commented May 26, 2023

Description of changes

With the release of babel 7.22.0, the preset no longer ships with certain plugins as dev dependencies:

  • @babel/plugin-proposal-class-properties
  • @babel/plugin-proposal-private-methods
  • @babel/plugin-proposal-private-property-in-object

As of 7.22.1 they've added

  • @babel/plugin-proposal-private-property-in-object

But we are still missing the other two. This PR adds all three as explicit devDependencies of the notifications package.

Description of how you validated changes

yarn build

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cshfang cshfang requested a review from a team as a code owner May 26, 2023 18:29
@jimblanc jimblanc merged commit a009ce8 into aws-amplify:main May 26, 2023
2 checks passed
@cshfang cshfang deleted the fix-babel-dependencies branch May 26, 2023 19:33
erinleigh90 added a commit that referenced this pull request May 26, 2023
* chore(release): Publish [ci skip]

 - aws-amplify@5.2.3
 - @aws-amplify/datastore-storage-adapter@2.0.33
 - @aws-amplify/datastore@4.4.0
 - @aws-amplify/predictions@5.2.0
 - @aws-amplify/storage@5.3.0

* chore(release): update API docs [ci skip]

* fix(notifications): Add babel plugins to devDependencies (#11414)

* fix(storage): make getProperties param optional (#11413)

* Revert "fix(storage): make getProperties param optional (#11413)"

This reverts commit 5d00b1f.

* Revert "feat(storage): getProperties API (#11378)"

This reverts commit 3bed12b.

---------

Co-authored-by: israx <70438514+israx@users.noreply.github.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com>
Co-authored-by: Jim Blanchard <jablanch@amazon.com>
Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com>
erinleigh90 added a commit that referenced this pull request May 29, 2023
* chore(release): Publish [ci skip]

 - aws-amplify@5.2.3
 - @aws-amplify/datastore-storage-adapter@2.0.33
 - @aws-amplify/datastore@4.4.0
 - @aws-amplify/predictions@5.2.0
 - @aws-amplify/storage@5.3.0

* chore(release): update API docs [ci skip]

* fix(notifications): Add babel plugins to devDependencies (#11414)

* fix(storage): make getProperties param optional (#11413)

* Revert "fix(storage): make getProperties param optional (#11413)"

This reverts commit 5d00b1f.

* Revert "feat(storage): getProperties API (#11378)"

This reverts commit 3bed12b.

* fix(core): bundle react-native-url-polyfill to unblock jest test failure (#11422)

* fix(core): bundle react-native-url-polyfill to unblock jest test failure

* Revert "test(notification): unblock unit test failure of rn url polyfill"

This reverts commit dbacebc.

* chore: remove unused code

* chore: remove unused polyfills/URL/package.json

* chore(release): Publish [ci skip]

 - @aws-amplify/analytics@6.1.1
 - @aws-amplify/api-graphql@3.2.1
 - @aws-amplify/api-rest@3.1.1
 - @aws-amplify/api@5.1.1
 - @aws-amplify/auth@5.3.7
 - aws-amplify@5.2.4
 - @aws-amplify/cache@5.0.33
 - @aws-amplify/core@5.3.1
 - @aws-amplify/datastore-storage-adapter@2.0.34
 - @aws-amplify/datastore@4.4.1
 - @aws-amplify/geo@2.0.33
 - @aws-amplify/interactions@5.0.33
 - @aws-amplify/notifications@1.1.7
 - @aws-amplify/predictions@5.2.1
 - @aws-amplify/pubsub@5.1.16
 - @aws-amplify/pushnotification@5.0.33
 - @aws-amplify/storage@5.3.1

* chore(release): update API docs [ci skip]

---------

Co-authored-by: israx <70438514+israx@users.noreply.github.com>
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Chris F <5827964+cshfang@users.noreply.github.com>
Co-authored-by: Jim Blanchard <jablanch@amazon.com>
Co-authored-by: Jim Blanchard <jim.l.blanchard@gmail.com>
Co-authored-by: AllanZhengYP <zheallan@amazon.com>
israx pushed a commit to israx/amplify-js that referenced this pull request May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants