Skip to content

Commit

Permalink
Configure project repository settings (#64)
Browse files Browse the repository at this point in the history
* chore: update yarn config

* docs: change the project's license
  • Loading branch information
tericcabrel committed Apr 27, 2024
1 parent 2d2c44c commit a0546e9
Show file tree
Hide file tree
Showing 7 changed files with 2,397 additions and 1,745 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"sort-destructure-keys/sort-destructure-keys": 2,
"sort-destructure-keys/sort-destructure-keys": "error",
"@typescript-eslint/member-ordering": "warn",
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/consistent-type-definitions": ["warn", "type"],
Expand Down
11 changes: 11 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1,12 @@
nodeLinker: node-modules

compressionLevel: mixed

httpRetry: 30

# yarnPath: .yarn/releases/yarn-4.1.1.cjs

npmRegistries:
//registry.yarnpkg.com:
npmAuthToken: '$(NPM_TOKEN-}'

682 changes: 661 additions & 21 deletions LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is the core backend of Snipcode. All the business logic behind this applica

## Prerequisites
Make sure you have this tools installed before running the project
* Node.js 16+
* Node.js 20+
* NPM or Yarn
* Docker
* AWS CLI v2
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
],
"lint-staged": {
"**/*.ts?(x)": [
"prettier --write"
"prettier --write",
"eslint --fix"
]
},
"husky": {
Expand Down
6 changes: 3 additions & 3 deletions packages/domain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ This package contains all the business logic of the project

## Tech Stack
* Node.js
* Typescript
* TypeScript

## Prerequisites
Make sure you have this tools installed before running the project
* Node.js 18+
* Node.js 20+
* Yarn
* Docker

Expand Down Expand Up @@ -52,7 +52,7 @@ There are three command to run tests where each command has a specific purpose:
- `yarn test:unit`: use this command when you want to test unit functions with no external dependencies (db, message broker, etc...)


- `yarn test`: use this command to run functions that require database or not. Everytime you run a test, the migration will be executed against the database
- `yarn test`: use this command to run functions that require database or not. Every time you run a test, the migration will be executed against the database
(in the jest global setup) which add 5-10 seconds on test execution time. This command runs inside the CI Pipeline.


Expand Down
3,436 changes: 1,718 additions & 1,718 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit a0546e9

Please sign in to comment.