Skip to content

Commit

Permalink
Merge pull request #23 from cypress-io/chore/update_angular_to_18
Browse files Browse the repository at this point in the history
chore: update angular to 18
  • Loading branch information
jennifer-shehane authored Jul 2, 2024
2 parents a4f620d + bceed12 commit 6180fab
Show file tree
Hide file tree
Showing 28 changed files with 5,193 additions and 14,597 deletions.
2 changes: 1 addition & 1 deletion angular-standalone/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
Expand Down
4 changes: 2 additions & 2 deletions angular-standalone/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AngularStandalone

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.0.2.

## Development server

Expand All @@ -24,4 +24,4 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
58 changes: 25 additions & 33 deletions angular-standalone/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,28 @@
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/angular-standalone",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
Expand All @@ -40,30 +41,21 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
"maximumWarning": "2kB",
"maximumError": "4kB"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
"sourceMap": true
}
},
"defaultConfiguration": "production"
Expand All @@ -72,31 +64,31 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "angular-standalone:build:production"
"buildTarget": "angular-standalone:build:production"
},
"development": {
"browserTarget": "angular-standalone:build:development"
"buildTarget": "angular-standalone:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "angular-standalone:build"
}
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
Expand Down
2 changes: 1 addition & 1 deletion angular-standalone/cypress/support/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import './commands'
// Alternatively you can use CommonJS syntax:
// require('./commands')

import { mount } from 'cypress/angular'
import { mount } from 'cypress/angular-signals'

// Augment the Cypress namespace to include type definitions for
// your custom command.
Expand Down
44 changes: 0 additions & 44 deletions angular-standalone/karma.conf.js

This file was deleted.

Loading

0 comments on commit 6180fab

Please sign in to comment.