|
| 1 | +{ |
| 2 | + "name": "cockpit-runtimes-aws-strands-angular", |
| 3 | + "$schema": "../../../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "sourceRoot": "cockpit/runtimes/aws-strands/angular/src", |
| 5 | + "projectType": "application", |
| 6 | + "targets": { |
| 7 | + "build": { |
| 8 | + "executor": "@angular/build:application", |
| 9 | + "outputs": [ |
| 10 | + "{options.outputPath.base}" |
| 11 | + ], |
| 12 | + "options": { |
| 13 | + "outputPath": { |
| 14 | + "base": "dist/cockpit/runtimes/aws-strands/angular", |
| 15 | + "browser": "" |
| 16 | + }, |
| 17 | + "browser": "cockpit/runtimes/aws-strands/angular/src/main.ts", |
| 18 | + "tsConfig": "cockpit/runtimes/aws-strands/angular/tsconfig.app.json", |
| 19 | + "styles": [ |
| 20 | + "cockpit/runtimes/aws-strands/angular/src/styles.css" |
| 21 | + ] |
| 22 | + }, |
| 23 | + "configurations": { |
| 24 | + "production": { |
| 25 | + "budgets": [ |
| 26 | + { |
| 27 | + "type": "initial", |
| 28 | + "maximumWarning": "1mb", |
| 29 | + "maximumError": "1.5mb" |
| 30 | + }, |
| 31 | + { |
| 32 | + "type": "anyComponentStyle", |
| 33 | + "maximumWarning": "10kb", |
| 34 | + "maximumError": "16kb" |
| 35 | + } |
| 36 | + ], |
| 37 | + "outputHashing": "none" |
| 38 | + }, |
| 39 | + "development": { |
| 40 | + "optimization": false, |
| 41 | + "extractLicenses": false, |
| 42 | + "sourceMap": true, |
| 43 | + "fileReplacements": [ |
| 44 | + { |
| 45 | + "replace": "cockpit/runtimes/aws-strands/angular/src/environments/environment.ts", |
| 46 | + "with": "cockpit/runtimes/aws-strands/angular/src/environments/environment.development.ts" |
| 47 | + } |
| 48 | + ] |
| 49 | + }, |
| 50 | + "cockpit": { |
| 51 | + "optimization": false, |
| 52 | + "extractLicenses": false, |
| 53 | + "sourceMap": true, |
| 54 | + "fileReplacements": [ |
| 55 | + { |
| 56 | + "replace": "cockpit/runtimes/aws-strands/angular/src/environments/environment.ts", |
| 57 | + "with": "cockpit/runtimes/aws-strands/angular/src/environments/environment.development.ts" |
| 58 | + } |
| 59 | + ], |
| 60 | + "browser": "cockpit/runtimes/aws-strands/angular/src/main.cockpit.ts" |
| 61 | + } |
| 62 | + }, |
| 63 | + "defaultConfiguration": "production" |
| 64 | + }, |
| 65 | + "serve": { |
| 66 | + "continuous": true, |
| 67 | + "executor": "@angular/build:dev-server", |
| 68 | + "configurations": { |
| 69 | + "production": { |
| 70 | + "buildTarget": "cockpit-runtimes-aws-strands-angular:build:production" |
| 71 | + }, |
| 72 | + "development": { |
| 73 | + "buildTarget": "cockpit-runtimes-aws-strands-angular:build:development" |
| 74 | + }, |
| 75 | + "cockpit": { |
| 76 | + "buildTarget": "cockpit-runtimes-aws-strands-angular:build:cockpit" |
| 77 | + } |
| 78 | + }, |
| 79 | + "defaultConfiguration": "development", |
| 80 | + "options": { |
| 81 | + "proxyConfig": "cockpit/runtimes/aws-strands/angular/proxy.conf.mjs" |
| 82 | + } |
| 83 | + }, |
| 84 | + "smoke": { |
| 85 | + "executor": "nx:run-commands", |
| 86 | + "options": { |
| 87 | + "cwd": "cockpit/runtimes/aws-strands/angular", |
| 88 | + "command": "npx tsx -e \"import { runtimesAwsStrandsAngularModule } from './src/index.ts'; const module = runtimesAwsStrandsAngularModule; if (module.id !== 'runtimes-aws-strands-angular' || module.title !== 'Runtimes — AWS Strands (Angular)') { throw new Error('Unexpected module shape for ' + module.id); }\"" |
| 89 | + } |
| 90 | + }, |
| 91 | + "e2e": { |
| 92 | + "executor": "@nx/playwright:playwright", |
| 93 | + "options": { |
| 94 | + "config": "cockpit/runtimes/aws-strands/angular/e2e/playwright.config.ts" |
| 95 | + } |
| 96 | + } |
| 97 | + }, |
| 98 | + "tags": [ |
| 99 | + "scope:cockpit-e2e", |
| 100 | + "scope:cockpit-examples" |
| 101 | + ] |
| 102 | +} |
0 commit comments