mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-12-19 05:19:42 +08:00
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> Angular 18 will be releases ~ May 20th. Ionic Framework does not currently have test infrastructure to check if the RC is compatible with Ionic Framework. ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Adds an Angular 18 test app to the test infrastructure - Added tech debt tickets for additional investigation and removing the `--legacy-peer-deps` arg after v18 GA. ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change: 1. Describe the impact and migration path for existing applications below. 2. Update the BREAKING.md file with the breaking change. 3. Add "BREAKING CHANGE: [...]" to the commit description when merging. See https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#footer for more information. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
157 lines
4.6 KiB
JSON
157 lines
4.6 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"test-app": {
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"projectType": "application",
|
|
"prefix": "app",
|
|
"schematics": {},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/test-app/browser",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"buildOptimizer": true,
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "assets"
|
|
},
|
|
{
|
|
"glob": "**/*.svg",
|
|
"input": "node_modules/ionicons/dist/ionicons/svg",
|
|
"output": "./svg"
|
|
}
|
|
],
|
|
"styles": ["src/styles.css"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"aot": true,
|
|
"progress": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb"
|
|
}
|
|
]
|
|
},
|
|
"development": {
|
|
"buildOptimizer": false,
|
|
"optimization": false,
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"buildTarget": "test-app:build"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "test-app:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "test-app:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "test-app:build"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
|
}
|
|
},
|
|
"server": {
|
|
"builder": "@angular-devkit/build-angular:server",
|
|
"options": {
|
|
"outputPath": "dist/test-app/server",
|
|
"main": "server.ts",
|
|
"tsConfig": "tsconfig.server.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"outputHashing": "media",
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"sourceMap": false,
|
|
"optimization": true
|
|
}
|
|
}
|
|
},
|
|
"serve-ssr": {
|
|
"builder": "@angular-devkit/build-angular:ssr-dev-server",
|
|
"options": {
|
|
"browserTarget": "test-app:build",
|
|
"serverTarget": "test-app:server"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "test-app:build:production",
|
|
"serverTarget": "test-app:server:production"
|
|
}
|
|
}
|
|
},
|
|
"prerender": {
|
|
"builder": "@angular-devkit/build-angular:prerender",
|
|
"options": {
|
|
"browserTarget": "test-app:build:production",
|
|
"serverTarget": "test-app:server:production",
|
|
"routes": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"schematicCollections": ["@angular-eslint/schematics"],
|
|
"cache": {
|
|
"enabled": false
|
|
}
|
|
}
|
|
}
|