Skip to content

Upgrade to new maintance rules #197

New issue

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

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

Already on GitHub? # to your account

Merged
merged 19 commits into from
Feb 27, 2020
Merged

Upgrade to new maintance rules #197

merged 19 commits into from
Feb 27, 2020

Conversation

medikoo
Copy link
Contributor

@medikoo medikoo commented Feb 26, 2020

  • Fix CI to actually run tests
  • Bring back Node.js v6 support (accidentally removed with v2.3.3)
  • Rely on @serverless/eslint-config
  • Enforce Prettier formatting
  • Update style in all files to conform to newly introduced rules
  • Enforce semantic commit messages
  • Introduce semi-automated release process
  • Update Travis CI with release automation
  • Remove Node.js v4 from CI setup (it was not supported for very long time)
  • Cleanup .gitignore
  • Remove configuration files specific to developer environment

@medikoo medikoo requested a review from pmuens February 26, 2020 19:54
Copy link
Contributor

@pmuens pmuens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good stuff! 🙏 Thanks @medikoo 👍

I just added one comment regarding a core dependency (we might want to double check if the plugin still works).

"chalk": "^2.4.2",
"fs-extra": "^8.1.0",
"googleapis": "^41.0.1",
"googleapis": "^39.2.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this breaking since it's a downgrade?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so. All tests pass.

Also upgrade from v32 to v41 was made without any extra changes to code: https://github.com/serverless/serverless-google-cloudfunctions/pull/176/files

And that was actually breaking (as it dropped Node.js v6 support, CI didn't pick that as its setup was broken - just lint was run, no tests).

So this is an attempt to bring back support for Node.js v6 in v2 scope, which we will drop with v3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Thanks for the clarification 👍

@medikoo medikoo merged commit 3229c49 into master Feb 27, 2020
@medikoo medikoo deleted the cleanup branch February 27, 2020 22:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants