Skip to content

Commit

Permalink
chore: upgrade to ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
slowbackspace committed Jul 27, 2023
1 parent 140b4a9 commit ba7a317
Show file tree
Hide file tree
Showing 73 changed files with 653 additions and 395 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ module.exports = {
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
'prettier',
'plugin:unicorn/recommended',
],
Expand All @@ -21,7 +22,9 @@ module.exports = {
'arrow-parens': [2, 'as-needed'],
'prettier/prettier': 2,
eqeqeq: ['error', 'always'],
'unicorn/prefer-module': 0,
'unicorn/prevent-abbreviations': 'off',
'unicorn/prefer-node-protocol': 0,
'import/extensions': ['error', 'always'],
'import/no-unresolved': 'off',
},
};
184 changes: 143 additions & 41 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/got-npm-11.8.5-787b5e3116-2de8a1bbda.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- process exits after health check fails for more than `HEALTHCHECK_FAIL_THRESHOLD_MS` (default 60s)
- upgrade codebase to ESM
- bump Blockfrost SDK (memory leak in deriveAddress) and other dependencies

## [2.0.0] - 2023-04-05
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"date-fns": "^2.30.0",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"got": "^11.8.3",
"got": "^13.0.0",
"memoizee": "^0.4.15",
"p-queue": "^6.6.2",
"serialize-error": "^8.1.0",
"p-queue": "^7.3.4",
"serialize-error": "^11.0.0",
"uuid": "^9.0.0",
"ws": "^8.13.0"
},
Expand Down Expand Up @@ -59,5 +59,7 @@
"engines": {
"node": ">=16"
},
"type": "module",
"main": "dist/src/server.js",
"packageManager": "[email protected]"
}
Loading

0 comments on commit ba7a317

Please sign in to comment.