-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update dependencies that needed to switch to ESM syntax
Some packages were updated to versions that now use ECMAScript modules, so this repo was updated to use ES modules using Node.js built-in support. Update was done using the great guide from @sindresorhus: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
- Loading branch information
Showing
17 changed files
with
10,737 additions
and
20,148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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", | ||
"node/no-unsupported-features/es-syntax": "off", | ||
"import/extensions": [ | ||
"error", | ||
{ | ||
"js": "always" | ||
} | ||
] | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"packageFiles": ["package.json"], | ||
"bumpFiles": [ | ||
"package.json", | ||
"package-lock.json", | ||
{ | ||
"filename": "action.yml", | ||
"updater": "./.github/tasks/actionYamlUpdater.cjs" | ||
} | ||
], | ||
"releaseCommitMessageFormat": "chore(release): publish {{currentTag}} [skip-ci]" | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
module.exports = { | ||
export default { | ||
// Automatically clear mock calls and instances between every test | ||
clearMocks: true, | ||
testEnvironment: '@commitlint/test-environment', | ||
transform: {}, | ||
} |
Oops, something went wrong.