Files
Matthieu Riegler cd13f72dfb build: update integration tests to jasmine 7
Update Jasmine dependencies (`jasmine`, `jasmine-core`, and `@types/jasmine`) across
`integration/*` packages to v7 and update the integration test suites accordingly:

- Configure `e2e/` directories as native Node ESM (`{"type": "module"}`), remove
  `"jsLoader": "require"` from `jasmine.json`, and drop `ts-node` registration
  in favor of Node's built-in TypeScript support, since Jasmine 7 removed
  `jsLoader` and always loads helpers and specs via `import()`.
- Update `e2e/` imports and TypeScript code for Node ESM compatibility (explicit
  `.ts` / `.js` extensions, `type` imports, and explicit class fields instead of
  constructor parameter properties).
- Move top-level `stopSpecOnExpectationFailure` and `random` options under `env`
  in `integration/animations/e2e/jasmine.json`.
- Remove unused `zone.js/testing` from `angular.json` Karma test polyfills where
  `patchJasmine` fails against Jasmine 7's frozen environment.
2026-10-26 07:10:42 -07:00

172 lines
5.5 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ngmodule": {
"projectType": "application",
"schematics": {},
"root": "projects/ngmodule",
"sourceRoot": "projects/ngmodule/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"namedChunks": true,
"outputPath": "dist/ngmodule",
"index": "projects/ngmodule/src/index.html",
"browser": "projects/ngmodule/src/main.ts",
"server": "projects/ngmodule/src/main.server.ts",
"ssr": {
"entry": "projects/ngmodule/server.ts"
},
"progress": false,
"preserveSymlinks": true,
"externalDependencies": ["express", "xhr2"],
"polyfills": ["zone.js"],
"tsConfig": "projects/ngmodule/tsconfig.app.json",
"assets": ["projects/ngmodule/src/favicon.ico", "projects/ngmodule/src/assets"],
"styles": ["projects/ngmodule/src/styles.css"],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "ngmodule:build:production"
},
"development": {
"buildTarget": "ngmodule:build:development"
}
},
"defaultConfiguration": "development"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"progress": false,
"polyfills": ["zone.js"],
"tsConfig": "projects/ngmodule/tsconfig.spec.json",
"assets": ["projects/ngmodule/src/favicon.ico", "projects/ngmodule/src/assets"],
"styles": ["projects/ngmodule/src/styles.css"],
"scripts": []
}
}
}
},
"standalone": {
"projectType": "application",
"schematics": {},
"root": "projects/standalone",
"sourceRoot": "projects/standalone/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"namedChunks": true,
"outputPath": "dist/standalone",
"index": "projects/standalone/src/index.html",
"browser": "projects/standalone/src/main.ts",
"server": "projects/standalone/src/main.server.ts",
"polyfills": ["zone.js"],
"ssr": {
"entry": "projects/standalone/server.ts"
},
"tsConfig": "projects/standalone/tsconfig.app.json",
"assets": ["projects/standalone/src/favicon.ico", "projects/standalone/src/assets"],
"styles": ["projects/standalone/src/styles.css"],
"progress": false,
"preserveSymlinks": true,
"externalDependencies": ["express", "xhr2"],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "standalone:build:production"
},
"development": {
"buildTarget": "standalone:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n",
"options": {
"buildTarget": "standalone:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"progress": false,
"polyfills": ["zone.js"],
"tsConfig": "projects/standalone/tsconfig.spec.json",
"assets": ["projects/standalone/src/favicon.ico", "projects/standalone/src/assets"],
"styles": ["projects/standalone/src/styles.css"],
"scripts": []
}
}
}
}
},
"cli": {
"analytics": false,
"cache": {
"enabled": false
}
}
}