-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve README, format files and add CI for formatting (#49)
* chore: improve README, format files and add CI for formatting * chore: fix ci
- Loading branch information
Showing
45 changed files
with
27,561 additions
and
32,660 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +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": {} | ||
} | ||
] | ||
"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": {} | ||
} | ||
] | ||
} |
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 @@ | ||
apps/ui/src/themes/* linguist-vendored |
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,19 @@ | ||
name: CD | ||
|
||
on: | ||
push: | ||
branches: ['main'] | ||
|
||
env: | ||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./apps/api | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: superfly/flyctl-actions/setup-flyctl@master | ||
- run: flyctl deploy --remote-only |
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,14 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- run: npm install --only=dev | ||
- run: npm run format |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"singleQuote": true, | ||
"tabWidth": 4, | ||
"editor.formatOnSave": true, | ||
"printWidth": 80 | ||
"singleQuote": true, | ||
"tabWidth": 4, | ||
"printWidth": 80 | ||
} |
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 |
---|---|---|
@@ -1,81 +1,65 @@ | ||
{ | ||
"name": "api", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "apps/api/src", | ||
"projectType": "application", | ||
"targets": { | ||
"build": { | ||
"executor": "@nxrocks/nx-spring-boot:build", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": [ | ||
"^install" | ||
], | ||
"outputs": [ | ||
"{workspaceRoot}/apps/api/build" | ||
] | ||
"name": "api", | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "apps/api/src", | ||
"projectType": "application", | ||
"targets": { | ||
"build": { | ||
"executor": "@nxrocks/nx-spring-boot:build", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": ["^install"], | ||
"outputs": ["{workspaceRoot}/apps/api/build"] | ||
}, | ||
"install": { | ||
"executor": "@nxrocks/nx-spring-boot:install", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": ["^install"], | ||
"outputs": ["{workspaceRoot}/apps/api/build"] | ||
}, | ||
"test": { | ||
"executor": "@nxrocks/nx-spring-boot:test", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"outputs": ["{workspaceRoot}/apps/api/build"] | ||
}, | ||
"clean": { | ||
"executor": "@nxrocks/nx-spring-boot:clean", | ||
"options": { | ||
"root": "apps/api" | ||
} | ||
}, | ||
"run": { | ||
"executor": "@nxrocks/nx-spring-boot:run", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": ["^install"] | ||
}, | ||
"serve": { | ||
"executor": "@nxrocks/nx-spring-boot:serve", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": ["^install"] | ||
}, | ||
"build-image": { | ||
"executor": "@nxrocks/nx-spring-boot:build-image", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"outputs": ["{workspaceRoot}/apps/api/build"] | ||
}, | ||
"build-info": { | ||
"executor": "@nxrocks/nx-spring-boot:build-info", | ||
"options": { | ||
"root": "apps/api" | ||
} | ||
} | ||
}, | ||
"install": { | ||
"executor": "@nxrocks/nx-spring-boot:install", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": [ | ||
"^install" | ||
], | ||
"outputs": [ | ||
"{workspaceRoot}/apps/api/build" | ||
] | ||
}, | ||
"test": { | ||
"executor": "@nxrocks/nx-spring-boot:test", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"outputs": [ | ||
"{workspaceRoot}/apps/api/build" | ||
] | ||
}, | ||
"clean": { | ||
"executor": "@nxrocks/nx-spring-boot:clean", | ||
"options": { | ||
"root": "apps/api" | ||
} | ||
}, | ||
"run": { | ||
"executor": "@nxrocks/nx-spring-boot:run", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": [ | ||
"^install" | ||
] | ||
}, | ||
"serve": { | ||
"executor": "@nxrocks/nx-spring-boot:serve", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"dependsOn": [ | ||
"^install" | ||
] | ||
}, | ||
"build-image": { | ||
"executor": "@nxrocks/nx-spring-boot:build-image", | ||
"options": { | ||
"root": "apps/api" | ||
}, | ||
"outputs": [ | ||
"{workspaceRoot}/apps/api/build" | ||
] | ||
}, | ||
"build-info": { | ||
"executor": "@nxrocks/nx-spring-boot:build-info", | ||
"options": { | ||
"root": "apps/api" | ||
} | ||
} | ||
}, | ||
"tags": [] | ||
"tags": [] | ||
} |
Oops, something went wrong.