mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
nx
This commit is contained in:
parent
a84d26e8a3
commit
9bc8c0207f
6 changed files with 2547 additions and 294 deletions
5
src/Ombi/ClientApp/.gitignore
vendored
5
src/Ombi/ClientApp/.gitignore
vendored
|
@ -39,3 +39,8 @@ testem.log
|
||||||
# System Files
|
# System Files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
Thumbs.db
|
Thumbs.db
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.nx/cache
|
||||||
|
.nx/workspace-data
|
|
@ -1,121 +0,0 @@
|
||||||
{
|
|
||||||
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
||||||
"version": 1,
|
|
||||||
"newProjectRoot": "projects",
|
|
||||||
"projects": {
|
|
||||||
"ombi": {
|
|
||||||
"root": "",
|
|
||||||
"sourceRoot": "src",
|
|
||||||
"projectType": "application",
|
|
||||||
"prefix": "app",
|
|
||||||
"schematics": {
|
|
||||||
"@schematics/angular:component": {
|
|
||||||
"style": "scss"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"architect": {
|
|
||||||
"build": {
|
|
||||||
"builder": "@angular-devkit/build-angular:browser",
|
|
||||||
"options": {
|
|
||||||
"outputPath": "dist",
|
|
||||||
"index": "src/index.html",
|
|
||||||
"main": "src/main.ts",
|
|
||||||
"polyfills": ["zone.js"],
|
|
||||||
"tsConfig": "src/tsconfig.json",
|
|
||||||
"assets": [
|
|
||||||
"src/assets"
|
|
||||||
],
|
|
||||||
"styles": [
|
|
||||||
"node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
|
||||||
"src/styles/_imports.scss",
|
|
||||||
"node_modules/bootstrap/scss/bootstrap.scss",
|
|
||||||
"node_modules/primeng/resources/themes/md-dark-deeppurple/theme.css",
|
|
||||||
"node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
|
|
||||||
"node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
|
|
||||||
"node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
|
|
||||||
"node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
|
|
||||||
"node_modules/primeng/resources/primeng.min.css",
|
|
||||||
"node_modules/primeicons/primeicons.css"
|
|
||||||
],
|
|
||||||
"scripts": [
|
|
||||||
"node_modules/jquery/dist/jquery.min.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"production": {
|
|
||||||
"budgets": [
|
|
||||||
{
|
|
||||||
"type": "anyComponentStyle",
|
|
||||||
"maximumWarning": "6kb"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fileReplacements": [
|
|
||||||
{
|
|
||||||
"replace": "src/environments/environment.ts",
|
|
||||||
"with": "src/environments/environment.prod.ts"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outputHashing": "all"
|
|
||||||
},
|
|
||||||
"hmr": {
|
|
||||||
"budgets": [
|
|
||||||
{
|
|
||||||
"type": "anyComponentStyle",
|
|
||||||
"maximumWarning": "6kb"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fileReplacements": [
|
|
||||||
{
|
|
||||||
"replace": "src/environments/environment.ts",
|
|
||||||
"with": "src/environments/environment.hmr.ts"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"buildOptimizer": false,
|
|
||||||
"optimization": false,
|
|
||||||
"vendorChunk": true,
|
|
||||||
"extractLicenses": false,
|
|
||||||
"sourceMap": true,
|
|
||||||
"namedChunks": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"serve": {
|
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
|
||||||
"options": {
|
|
||||||
"buildTarget": "ombi:build"
|
|
||||||
},
|
|
||||||
"configurations": {
|
|
||||||
"production": {
|
|
||||||
"buildTarget": "ombi:build:production"
|
|
||||||
},
|
|
||||||
"hmr": {
|
|
||||||
"hmr": true,
|
|
||||||
"buildTarget": "ombi:build:hmr"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"extract-i18n": {
|
|
||||||
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
||||||
"options": {
|
|
||||||
"buildTarget": "ombi:build"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"lint": {
|
|
||||||
"builder": "@angular-devkit/build-angular:tslint",
|
|
||||||
"options": {
|
|
||||||
"tsConfig": [
|
|
||||||
"src/tsconfig.json"
|
|
||||||
"src/tsconfig.json"
|
|
||||||
],
|
|
||||||
"exclude": [
|
|
||||||
"**/node_modules/**"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"cli": {
|
|
||||||
"analytics": false
|
|
||||||
}
|
|
||||||
}
|
|
33
src/Ombi/ClientApp/nx.json
Normal file
33
src/Ombi/ClientApp/nx.json
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
||||||
|
"targetDefaults": {
|
||||||
|
"build": {
|
||||||
|
"cache": true,
|
||||||
|
"dependsOn": [
|
||||||
|
"^build"
|
||||||
|
],
|
||||||
|
"inputs": [
|
||||||
|
"production",
|
||||||
|
"^production"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"lint": {
|
||||||
|
"cache": true,
|
||||||
|
"inputs": [
|
||||||
|
"default"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"defaultBase": "develop",
|
||||||
|
"namedInputs": {
|
||||||
|
"sharedGlobals": [],
|
||||||
|
"default": [
|
||||||
|
"{projectRoot}/**/*",
|
||||||
|
"sharedGlobals"
|
||||||
|
],
|
||||||
|
"production": [
|
||||||
|
"default"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nxCloudAccessToken": "OGYzMTc4MTgtY2ZmNC00ODY1LWI5MTgtNjljYmQ5MzZhNjdkfHJlYWQtd3JpdGU="
|
||||||
|
}
|
|
@ -1,71 +1,77 @@
|
||||||
{
|
{
|
||||||
"name": "ombi",
|
"name": "ombi",
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve --port 3578 --configuration hmr",
|
"start": "nx serve --port 3578 --configuration hmr",
|
||||||
"build": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build -c production",
|
"build": "node --max_old_space_size=6144 node_modules/@angular/cli/bin/ng build -c production",
|
||||||
"lint": "ng lint",
|
"lint": "nx lint",
|
||||||
"docs:json": "compodoc -p ./tsconfig.json -e json -d .",
|
"docs:json": "compodoc -p ./tsconfig.json -e json -d .",
|
||||||
"storybook": "start-storybook -p 6006",
|
"storybook": "start-storybook -p 6006",
|
||||||
"chromatic": "chromatic --exit-zero-on-changes",
|
"chromatic": "chromatic --exit-zero-on-changes",
|
||||||
"storybookbuild": "yarn build-storybook"
|
"storybookbuild": "yarn build-storybook"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^17.3.11",
|
"@angular/animations": "^17.3.11",
|
||||||
"@angular/cdk": "16.2.14",
|
"@angular/cdk": "16.2.14",
|
||||||
"@angular/common": "^17.3.11",
|
"@angular/common": "^17.3.11",
|
||||||
"@angular/compiler": "^17.3.11",
|
"@angular/compiler": "^17.3.11",
|
||||||
"@angular/core": "^17.3.11",
|
"@angular/core": "^17.3.11",
|
||||||
"@angular/forms": "^17.3.11",
|
"@angular/forms": "^17.3.11",
|
||||||
"@angular/material": "^14.2.7",
|
"@angular/material": "^14.2.7",
|
||||||
"@angular/platform-browser": "^17.3.11",
|
"@angular/platform-browser": "^17.3.11",
|
||||||
"@angular/platform-browser-dynamic": "^17.3.11",
|
"@angular/platform-browser-dynamic": "^17.3.11",
|
||||||
"@angular/platform-server": "^17.3.11",
|
"@angular/platform-server": "^17.3.11",
|
||||||
"@angular/router": "^17.3.11",
|
"@angular/router": "^17.3.11",
|
||||||
"@angularclass/hmr": "^3.0.0",
|
"@angularclass/hmr": "^3.0.0",
|
||||||
"@auth0/angular-jwt": "^5.0.2",
|
"@auth0/angular-jwt": "^5.0.2",
|
||||||
"@fortawesome/fontawesome-free": "^6.6.0",
|
"@fortawesome/fontawesome-free": "^6.6.0",
|
||||||
"@microsoft/signalr": "^6.0.23",
|
"@microsoft/signalr": "^6.0.23",
|
||||||
"@ngx-translate/core": "^15.0.0",
|
"@ngx-translate/core": "^15.0.0",
|
||||||
"@ngx-translate/http-loader": "^8.0.0",
|
"@ngx-translate/http-loader": "^8.0.0",
|
||||||
"@ngxs/devtools-plugin": "3.8.2",
|
"@ngxs/devtools-plugin": "3.8.2",
|
||||||
"@ngxs/store": "3.8.2",
|
"@ngxs/store": "3.8.2",
|
||||||
"@types/jquery": "^3.5.30",
|
"@types/jquery": "^3.5.30",
|
||||||
"@yellowspot/ng-truncate": "^2.0.0",
|
"@yellowspot/ng-truncate": "^2.0.0",
|
||||||
"angularx-qrcode": "^16.0.0",
|
"angularx-qrcode": "^16.0.0",
|
||||||
"bootstrap": "^4.2.1",
|
"bootstrap": "^4.2.1",
|
||||||
"core-js": "^2.5.4",
|
"core-js": "^2.5.4",
|
||||||
"date-fns": "3.3.1",
|
"date-fns": "3.3.1",
|
||||||
"jquery": "3.7.1",
|
"jquery": "3.7.1",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"ng2-cookies": "^1.0.12",
|
"ng2-cookies": "^1.0.12",
|
||||||
"ngx-clipboard": "^16.0.0",
|
"ngx-clipboard": "^16.0.0",
|
||||||
"ngx-date-fns": "^11.0.0",
|
"ngx-date-fns": "^11.0.0",
|
||||||
"ngx-infinite-scroll": "^17.0.1",
|
"ngx-infinite-scroll": "^17.0.1",
|
||||||
"popper.js": "^1.14.3",
|
"popper.js": "^1.14.3",
|
||||||
"primeicons": "^6.0.1",
|
"primeicons": "^6.0.1",
|
||||||
"primeng": "^17.11.0",
|
"primeng": "^17.11.0",
|
||||||
"rxjs": "^7.5.4",
|
"rxjs": "^7.5.4",
|
||||||
"ts-md5": "^1.2.7",
|
"ts-md5": "^1.2.7",
|
||||||
"zone.js": "0.14.7"
|
"zone.js": "0.14.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@angular-devkit/build-angular": "^17.1.3",
|
"@angular-devkit/build-angular": "^17.1.3",
|
||||||
"@angular/cli": "^17.1.3",
|
"@angular-devkit/core": "^17.1.3",
|
||||||
"@angular/compiler-cli": "^17.1.3",
|
"@angular-devkit/schematics": "^17.1.3",
|
||||||
"@babel/core": "^7.18.9",
|
"@angular/cli": "^17.1.3",
|
||||||
"@compodoc/compodoc": "^1.1.19",
|
"@angular/compiler-cli": "^17.1.3",
|
||||||
"@storybook/angular": "7.6.14",
|
"@babel/core": "^7.18.9",
|
||||||
"@types/node": "^20.11.17",
|
"@compodoc/compodoc": "^1.1.19",
|
||||||
"chromatic": "^6.7.1",
|
"@nx/angular": "19.6.2",
|
||||||
"typescript": "5.2.2"
|
"@nx/workspace": "19.6.2",
|
||||||
},
|
"@schematics/angular": "^17.1.3",
|
||||||
"optionalDependencies": {
|
"@storybook/angular": "7.6.14",
|
||||||
"protractor": "~5.4.0",
|
"@types/node": "^20.11.17",
|
||||||
"ts-node": "~5.0.1",
|
"chromatic": "^6.7.1",
|
||||||
"tslint": "^5.12.0"
|
"nx": "19.6.2",
|
||||||
}
|
"typescript": "5.2.2"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"protractor": "~5.4.0",
|
||||||
|
"ts-node": "~5.0.1",
|
||||||
|
"tslint": "^5.12.0"
|
||||||
|
}
|
||||||
}
|
}
|
116
src/Ombi/ClientApp/project.json
Normal file
116
src/Ombi/ClientApp/project.json
Normal file
|
@ -0,0 +1,116 @@
|
||||||
|
{
|
||||||
|
"$schema": "node_modules/nx/schemas/project-schema.json",
|
||||||
|
"name": "ombi",
|
||||||
|
"sourceRoot": "src",
|
||||||
|
"projectType": "application",
|
||||||
|
"prefix": "app",
|
||||||
|
"generators": {
|
||||||
|
"@schematics/angular:component": {
|
||||||
|
"style": "scss"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"targets": {
|
||||||
|
"build": {
|
||||||
|
"executor": "@angular-devkit/build-angular:browser",
|
||||||
|
"options": {
|
||||||
|
"outputPath": "dist",
|
||||||
|
"index": "src/index.html",
|
||||||
|
"main": "src/main.ts",
|
||||||
|
"polyfills": [
|
||||||
|
"zone.js"
|
||||||
|
],
|
||||||
|
"tsConfig": "src/tsconfig.json",
|
||||||
|
"assets": [
|
||||||
|
"src/assets"
|
||||||
|
],
|
||||||
|
"styles": [
|
||||||
|
"node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
|
||||||
|
"src/styles/_imports.scss",
|
||||||
|
"node_modules/bootstrap/scss/bootstrap.scss",
|
||||||
|
"node_modules/primeng/resources/themes/md-dark-deeppurple/theme.css",
|
||||||
|
"node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss",
|
||||||
|
"node_modules/@fortawesome/fontawesome-free/scss/regular.scss",
|
||||||
|
"node_modules/@fortawesome/fontawesome-free/scss/solid.scss",
|
||||||
|
"node_modules/@fortawesome/fontawesome-free/scss/brands.scss",
|
||||||
|
"node_modules/primeng/resources/primeng.min.css",
|
||||||
|
"node_modules/primeicons/primeicons.css"
|
||||||
|
],
|
||||||
|
"scripts": [
|
||||||
|
"node_modules/jquery/dist/jquery.min.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"production": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "src/environments/environment.ts",
|
||||||
|
"with": "src/environments/environment.prod.ts"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"outputHashing": "all"
|
||||||
|
},
|
||||||
|
"hmr": {
|
||||||
|
"budgets": [
|
||||||
|
{
|
||||||
|
"type": "anyComponentStyle",
|
||||||
|
"maximumWarning": "6kb"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "src/environments/environment.ts",
|
||||||
|
"with": "src/environments/environment.hmr.ts"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"buildOptimizer": false,
|
||||||
|
"optimization": false,
|
||||||
|
"vendorChunk": true,
|
||||||
|
"extractLicenses": false,
|
||||||
|
"sourceMap": true,
|
||||||
|
"namedChunks": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"outputs": [
|
||||||
|
"{options.outputPath}"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"serve": {
|
||||||
|
"executor": "@angular-devkit/build-angular:dev-server",
|
||||||
|
"options": {
|
||||||
|
"buildTarget": "ombi:build"
|
||||||
|
},
|
||||||
|
"configurations": {
|
||||||
|
"production": {
|
||||||
|
"buildTarget": "ombi:build:production"
|
||||||
|
},
|
||||||
|
"hmr": {
|
||||||
|
"hmr": true,
|
||||||
|
"buildTarget": "ombi:build:hmr"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"extract-i18n": {
|
||||||
|
"executor": "@angular-devkit/build-angular:extract-i18n",
|
||||||
|
"options": {
|
||||||
|
"buildTarget": "ombi:build"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"lint": {
|
||||||
|
"executor": "@angular-devkit/build-angular:tslint",
|
||||||
|
"options": {
|
||||||
|
"tsConfig": [
|
||||||
|
"src/tsconfig.json"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"**/node_modules/**"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue