-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: set up standalone
/shared
root folder for clean sharing of ty…
…pes and utils (#2322) * build: set up separate shared package with its own node_modules this allows for true independence and allows typescript build orchestration * build: set up tooling to handle new shared root folder * ref: collapse types into single file * feat: correct types used in document types * feat: use shared types in client * chore: update mongoose to v5.13.2 allows some new inference of types for instance/static methods * feat(shared): add more Dto and Base types for Agency * feat(agency): use new shared types as base for backend types * build: revert alias tooling This partially reverts commit 089eee5. Not going to bother for now, backend build somehow keeps failing with aliases * fix: correct built server file path changed due to inclusion of a new shared folder in the compilation step * feat: remove unused types/api files agency and user.ts have been superseded by their new shared/types files * feat: update _id type for UserBase Co-authored-by: Antariksh Mahajan <[email protected]> Co-authored-by: Antariksh Mahajan <[email protected]>
- Loading branch information
1 parent
2bf0f50
commit c3a329b
Showing
23 changed files
with
724 additions
and
133 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,20 @@ | ||
{ | ||
"root": true, | ||
"plugins": ["import", "simple-import-sort", "prettier"], | ||
"extends": ["eslint:recommended", "plugin:prettier/recommended"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"extends": ["plugin:@typescript-eslint/recommended"], | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"@typescript-eslint/no-unused-vars": "error" | ||
} | ||
} | ||
], | ||
"env": { "es6": true }, | ||
"parserOptions": { | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
} | ||
} |
Oops, something went wrong.