Skip to content

Commit

Permalink
put demo project in separate nx project directory
Browse files Browse the repository at this point in the history
  • Loading branch information
davi01100100 committed Jun 23, 2023
1 parent 2f3d04d commit a748c1e
Show file tree
Hide file tree
Showing 31 changed files with 20 additions and 31 deletions.
34 changes: 17 additions & 17 deletions project.json → ...ects/ngx-image-compress-demo/project.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{
"$schema": "node_modules/nx/schemas/project-schema.json",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"name": "ngx-image-compress-demo",
"projectType": "application",
"generators": {
"@schematics/angular:component": {
"style": "scss"
}
},
"sourceRoot": "src",
"sourceRoot": "projects/ngx-image-compress-demo/src",
"prefix": "app",
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/ngx-image-compress-demo",
"index": "src/index.html",
"main": "src/main.ts",
"outputPath": "{workspaceRoot}/dist/ngx-image-compress-demo",
"index": "projects/ngx-image-compress-demo/src/index.html",
"main": "projects/ngx-image-compress-demo/src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"tsConfig": "projects/ngx-image-compress-demo/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/assets/favicons/favicon.ico",
"src/assets"
"projects/ngx-image-compress-demo/src/assets/favicons/favicon.ico",
"projects/ngx-image-compress-demo/src/assets"
],
"styles": [
"src/styles.scss"
"projects/ngx-image-compress-demo/src/styles.scss"
],
"scripts": []
},
Expand All @@ -46,8 +46,8 @@
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
"replace": "projects/ngx-image-compress-demo/src/environments/environment.ts",
"with": "projects/ngx-image-compress-demo/src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
Expand Down Expand Up @@ -91,14 +91,14 @@
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"tsConfig": "{workspaceRoot}/tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/assets/favicons/favicon.ico",
"src/assets"
"projects/ngx-image-compress-demo/src/assets/favicons/favicon.ico",
"projects/ngx-image-compress-demo/src/assets"
],
"styles": [
"src/styles.scss"
"projects/ngx-image-compress-demo/src/styles.scss"
],
"scripts": []
}
Expand All @@ -107,8 +107,8 @@
"executor": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
"projects/ngx-image-compress-demo/src/**/*.ts",
"projects/ngx-image-compress-demo/src/**/*.html"
]
},
"outputs": [
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"outDir": "../../out-tsc/app",
"types": []
},
"files": [
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-image-compress/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"zone.js",
"zone.js/testing"
],
"tsConfig": "projects/ngx-image-compress/tsconfig.spec.json"
"tsConfig": "{workspaceRoot}/tsconfig.spec.json"
}
},
"lint": {
Expand Down
11 changes: 0 additions & 11 deletions projects/ngx-image-compress/tsconfig.spec.json

This file was deleted.

0 comments on commit a748c1e

Please sign in to comment.