Skip to content

Commit

Permalink
Cleaned up dependencies and updated packages to latest versions
Browse files Browse the repository at this point in the history
Added also some links to GraphQL
  • Loading branch information
oskardudycz committed Feb 10, 2024
1 parent 50b1628 commit dc865ca
Show file tree
Hide file tree
Showing 22 changed files with 844 additions and 2,855 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"env": {
"es2022": true,
"es2023": true,
"node": true
},
"plugins": ["@typescript-eslint"],
Expand All @@ -12,7 +12,7 @@
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 13,
"ecmaVersion": 2023,
"sourceType": "module",
"project": "./tsconfig.json"
},
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.10.0
9 changes: 6 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"editor.formatOnSave": true,

"editor.codeActionsOnSave": {
// For ESLint
"source.fixAll.eslint": true
"source.organizeImports": "explicit",
"source.fixAll.eslint": "explicit",
"source.addMissingImports": "always"
},

"editor.tabSize": 2,
Expand All @@ -14,5 +15,7 @@
"node_modules/": true,
"dist/": true
},
"files.eol": "\n"
"files.eol": "\n",

"typescript.preferences.importModuleSpecifier": "relative"
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Twitter Follow](https://img.shields.io/twitter/follow/oskar_at_net?style=social)](https://twitter.com/oskar_at_net) [![Github Sponsors](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&link=https://github.com/sponsors/oskardudycz/)](https://github.com/sponsors/oskardudycz/) [![blog](https://img.shields.io/badge/blog-event--driven.io-brightgreen)](https://event-driven.io/?utm_source=event_sourcing_nodejs) [![blog](https://img.shields.io/badge/%F0%9F%9A%80-Architecture%20Weekly-important)](https://www.architecture-weekly.com/?utm_source=event_sourcing_nodejs)
[<img src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white" height="20px" />](https://www.linkedin.com/in/oskardudycz/) [![Github Sponsors](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&link=https://github.com/sponsors/oskardudycz/)](https://github.com/sponsors/oskardudycz/) [![blog](https://img.shields.io/badge/blog-event--driven.io-brightgreen)](https://event-driven.io/?utm_source=event_sourcing_nodejs) [![blog](https://img.shields.io/badge/%F0%9F%9A%80-Architecture%20Weekly-important)](https://www.architecture-weekly.com/?utm_source=event_sourcing_nodejs)

# Emmett - a Node.js Event Store

Expand Down
6 changes: 6 additions & 0 deletions ReferenceMaterials.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ I put here links that either are useful or may be useful for my implementation.
- [Rising Stack - HTTP/2 Server Push with Node.js](https://blog.risingstack.com/node-js-http-2-push/)
- [Sohan Kamani - A Complete Guide to HTTP/2 in Node.js (With Example Code)](https://www.sohamkamani.com/nodejs/http2/)

## GraphQL
- [GraphQL - Running an Express GraphQL Server](https://graphql.org/graphql-js/running-an-express-graphql-server/)
- [LogRocket - Build a GraphQL app in Node.js with TypeScript and graphql-request](https://blog.logrocket.com/build-graphql-app-node-js-typescript-graphql-request/)
- [LogRocket - How to integrate TypeScript with GraphQL using TypeGraphQL](https://blog.logrocket.com/integrate-typescript-graphql-typegraphql)
- [Ben Awad - Benchmarks for different Node.js GraphQL Servers](https://github.com/benawad/node-graphql-benchmarks)

## Websockets

- [LogRocket - WebSockets tutorial: How to go real-time with Node and React](https://blog.logrocket.com/websocket-tutorial-real-time-node-react/)
Expand Down
13 changes: 7 additions & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@ module.exports = {
testEnvironment: 'node',
roots: ['<rootDir>/src'],
transform: {
'^.+\\.(ts|tsx)$': 'ts-jest',
'^.+\\.(ts|tsx)$': [
'ts-jest',
{
tsconfig: './tsconfig.json',
},
],
},
setupFilesAfterEnv: ['./jest.setup.js'],
moduleNameMapper: {
'#core/(.*)': '<rootDir>/src/core/$1',
'#config': '<rootDir>/config.ts',
'#testing/(.*)': '<rootDir>/src/testing/$1',
},
globals: {
'ts-jest': {
tsconfig: './tsconfig.json',
},
},
};
Loading

0 comments on commit dc865ca

Please sign in to comment.