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

chore: upgrade dependencies #189

Merged
merged 4 commits into from Jul 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
21 changes: 20 additions & 1 deletion .eslintrc.json
@@ -1,10 +1,29 @@
{
"extends": ["airbnb-base", "prettier", "plugin:node/recommended"],
"plugins": ["prettier"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js"]
}
}
},
"rules": {
"prettier/prettier": "error",
"no-console": "off",
"no-process-exit": "off",
"node/no-unpublished-require": "off"
"node/no-unpublished-require": "off",
"node/no-unpublished-import": "off",
Copy link
Owner Author

Choose a reason for hiding this comment

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

Needed to disable this and ES syntax rules for now, they're not fully supporting ESM syntax yet. From docs:

⚠️ ECMAScript 2015 (ES6) does not define the lookup logic and Node does not support modules yet. So this rule spec might be changed in future.

"node/no-unsupported-features/es-syntax": "off",
"import/extensions": [
"error",
{
"js": "always"
}
]
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion .husky/.gitignore
@@ -1 +1 @@
_
_
File renamed without changes.
15 changes: 0 additions & 15 deletions .versionrc.js

This file was deleted.

12 changes: 12 additions & 0 deletions .versionrc.json
@@ -0,0 +1,12 @@
{
Copy link
Owner Author

Choose a reason for hiding this comment

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

standard-version doesn't support .cjs yet, so I updated to use the .json version instead

"packageFiles": ["package.json"],
"bumpFiles": [
"package.json",
"package-lock.json",
{
"filename": "action.yml",
"updater": "./.github/tasks/actionYamlUpdater.cjs"
}
],
"releaseCommitMessageFormat": "chore(release): publish {{currentTag}} [skip-ci]"
}
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM node:12-alpine3.9
FROM node:16-alpine3.13

RUN apk --no-cache add git

Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion jest.config.js
@@ -1,5 +1,6 @@
module.exports = {
export default {
// Automatically clear mock calls and instances between every test
clearMocks: true,
testEnvironment: '@commitlint/test-environment',
transform: {},
}