Skip to content

Commit

Permalink
feat: add more demo applications (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav authored Dec 22, 2020
1 parent c37fc74 commit 9ed17ec
Show file tree
Hide file tree
Showing 112 changed files with 2,136 additions and 0 deletions.
360 changes: 360 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,366 @@
}
}
}
},
"recursive-routes": {
"projectType": "application",
"schematics": {},
"root": "apps/recursive-routes",
"sourceRoot": "apps/recursive-routes/src",
"prefix": "reactiveangular",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/recursive-routes",
"index": "apps/recursive-routes/src/index.html",
"main": "apps/recursive-routes/src/main.ts",
"polyfills": "apps/recursive-routes/src/polyfills.ts",
"tsConfig": "apps/recursive-routes/tsconfig.app.json",
"aot": true,
"assets": [
"apps/recursive-routes/src/favicon.ico",
"apps/recursive-routes/src/assets"
],
"styles": ["apps/recursive-routes/src/styles.css"],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/recursive-routes/src/environments/environment.ts",
"with": "apps/recursive-routes/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "recursive-routes:build"
},
"configurations": {
"production": {
"browserTarget": "recursive-routes:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "recursive-routes:build"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"apps/recursive-routes/tsconfig.app.json",
"apps/recursive-routes/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**", "!apps/recursive-routes/**/*"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "apps/recursive-routes/jest.config.js",
"tsConfig": "apps/recursive-routes/tsconfig.spec.json",
"passWithNoTests": true,
"setupFile": "apps/recursive-routes/src/test-setup.ts"
}
}
}
},
"recursive-routes-e2e": {
"root": "apps/recursive-routes-e2e",
"sourceRoot": "apps/recursive-routes-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/recursive-routes-e2e/cypress.json",
"tsConfig": "apps/recursive-routes-e2e/tsconfig.e2e.json",
"devServerTarget": "recursive-routes:serve"
},
"configurations": {
"production": {
"devServerTarget": "recursive-routes:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/recursive-routes-e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**", "!apps/recursive-routes-e2e/**/*"]
}
}
}
},
"responsive-app": {
"projectType": "application",
"schematics": {},
"root": "apps/responsive-app",
"sourceRoot": "apps/responsive-app/src",
"prefix": "reactiveangular",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/responsive-app",
"index": "apps/responsive-app/src/index.html",
"main": "apps/responsive-app/src/main.ts",
"polyfills": "apps/responsive-app/src/polyfills.ts",
"tsConfig": "apps/responsive-app/tsconfig.app.json",
"aot": true,
"assets": [
"apps/responsive-app/src/favicon.ico",
"apps/responsive-app/src/assets"
],
"styles": ["apps/responsive-app/src/styles.css"],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/responsive-app/src/environments/environment.ts",
"with": "apps/responsive-app/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "responsive-app:build"
},
"configurations": {
"production": {
"browserTarget": "responsive-app:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "responsive-app:build"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"apps/responsive-app/tsconfig.app.json",
"apps/responsive-app/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**", "!apps/responsive-app/**/*"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "apps/responsive-app/jest.config.js",
"tsConfig": "apps/responsive-app/tsconfig.spec.json",
"passWithNoTests": true,
"setupFile": "apps/responsive-app/src/test-setup.ts"
}
}
}
},
"responsive-app-e2e": {
"root": "apps/responsive-app-e2e",
"sourceRoot": "apps/responsive-app-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/responsive-app-e2e/cypress.json",
"tsConfig": "apps/responsive-app-e2e/tsconfig.e2e.json",
"devServerTarget": "responsive-app:serve"
},
"configurations": {
"production": {
"devServerTarget": "responsive-app:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/responsive-app-e2e/tsconfig.e2e.json"],
"exclude": ["**/node_modules/**", "!apps/responsive-app-e2e/**/*"]
}
}
}
},
"route-restrictions": {
"projectType": "application",
"schematics": {},
"root": "apps/route-restrictions",
"sourceRoot": "apps/route-restrictions/src",
"prefix": "reactiveangular",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/route-restrictions",
"index": "apps/route-restrictions/src/index.html",
"main": "apps/route-restrictions/src/main.ts",
"polyfills": "apps/route-restrictions/src/polyfills.ts",
"tsConfig": "apps/route-restrictions/tsconfig.app.json",
"aot": true,
"assets": [
"apps/route-restrictions/src/favicon.ico",
"apps/route-restrictions/src/assets"
],
"styles": ["apps/route-restrictions/src/styles.css"],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/route-restrictions/src/environments/environment.ts",
"with": "apps/route-restrictions/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "route-restrictions:build"
},
"configurations": {
"production": {
"browserTarget": "route-restrictions:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "route-restrictions:build"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"apps/route-restrictions/tsconfig.app.json",
"apps/route-restrictions/tsconfig.spec.json"
],
"exclude": ["**/node_modules/**", "!apps/route-restrictions/**/*"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"options": {
"jestConfig": "apps/route-restrictions/jest.config.js",
"tsConfig": "apps/route-restrictions/tsconfig.spec.json",
"passWithNoTests": true,
"setupFile": "apps/route-restrictions/src/test-setup.ts"
}
}
}
},
"route-restrictions-e2e": {
"root": "apps/route-restrictions-e2e",
"sourceRoot": "apps/route-restrictions-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/route-restrictions-e2e/cypress.json",
"tsConfig": "apps/route-restrictions-e2e/tsconfig.e2e.json",
"devServerTarget": "route-restrictions:serve"
},
"configurations": {
"production": {
"devServerTarget": "route-restrictions:serve:production"
}
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": ["apps/route-restrictions-e2e/tsconfig.e2e.json"],
"exclude": [
"**/node_modules/**",
"!apps/route-restrictions-e2e/**/*"
]
}
}
}
}
},
"cli": {
Expand Down
12 changes: 12 additions & 0 deletions apps/recursive-routes-e2e/cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"fileServerFolder": ".",
"fixturesFolder": "./src/fixtures",
"integrationFolder": "./src/integration",
"modifyObstructiveCode": false,
"pluginsFile": "./src/plugins/index",
"supportFile": "./src/support/index.ts",
"video": true,
"videosFolder": "../../dist/cypress/apps/recursive-routes-e2e/videos",
"screenshotsFolder": "../../dist/cypress/apps/recursive-routes-e2e/screenshots",
"chromeWebSecurity": false
}
4 changes: 4 additions & 0 deletions apps/recursive-routes-e2e/src/fixtures/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "Using fixtures to represent data",
"email": "[email protected]"
}
Loading

0 comments on commit 9ed17ec

Please sign in to comment.