Skip to content

Commit

Permalink
feat(structure): combine frontend and backend in one monorepo via Nx
Browse files Browse the repository at this point in the history
  • Loading branch information
dr460nf1r3 committed Jun 11, 2024
1 parent c93bbb5 commit 4373b2d
Show file tree
Hide file tree
Showing 164 changed files with 50,546 additions and 2,599 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
42 changes: 42 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
},
{
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
"env": {
"jest": true
},
"rules": {}
}
]
}
34 changes: 18 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,44 @@
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Compiled output
/dist
/tmp
# compiled output
dist
tmp
/out-tsc
/bazel-out

# Node
/node_modules
npm-debug.log
yarn-error.log
# dependencies
node_modules

# IDEs and editors
.idea/
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System files
# System Files
.DS_Store
Thumbs.db

.nx/cache
.nx/workspace-data

.angular
3 changes: 0 additions & 3 deletions .husky/pre-commit

This file was deleted.

13 changes: 8 additions & 5 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/*.yml
/.github
/coverage
# Add files here to ignore them from prettier formatting
/dist
/public/aizawa
node_modules
/coverage
/.nx/cache
/.nx/workspace-data
.angular
/*.yml
/frontend/public/aizawa
/node_modules
pnpm-lock.yaml
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"htmlWhitespaceSensitivity": "strict",
"plugins": ["prettier-plugin-organize-imports"],
"proseWrap": "always",
"semi": false,
"tabWidth": 4
}
3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
"recommendations": ["angular.ng-template"]
"recommendations": ["nrwl.angular-console", "esbenp.prettier-vscode", "firsttris.vscode-jest-runner"]
}
20 changes: 0 additions & 20 deletions .vscode/launch.json

This file was deleted.

42 changes: 0 additions & 42 deletions .vscode/tasks.json

This file was deleted.

Loading

0 comments on commit 4373b2d

Please sign in to comment.