Skip to content

Commit

Permalink
chore: upgrade to Angular 17 from 16 (#20)
Browse files Browse the repository at this point in the history
chore: upgrade zone.js, typescript versions

chore: upgrade typescript to 5.2.2

chore: upgrade to angular 17 from 16

chore: fix typescript version

fix: lint checks

chore: prettier formatter
  • Loading branch information
cherylchen2 authored Feb 12, 2024
1 parent 7445ab1 commit fcb4a40
Show file tree
Hide file tree
Showing 7 changed files with 3,298 additions and 3,099 deletions.
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,18 @@
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "ngx-turnstile-demo:build:production"
"buildTarget": "ngx-turnstile-demo:build:production"
},
"development": {
"browserTarget": "ngx-turnstile-demo:build:development"
"buildTarget": "ngx-turnstile-demo:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-turnstile-demo:build"
"buildTarget": "ngx-turnstile-demo:build"
}
},
"test": {
Expand Down
44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,40 @@
},
"private": true,
"dependencies": {
"@angular/animations": "^16.0.4",
"@angular/common": "^16.0.4",
"@angular/compiler": "^16.0.4",
"@angular/core": "^16.0.4",
"@angular/forms": "^16.0.4",
"@angular/platform-browser": "^16.0.4",
"@angular/platform-browser-dynamic": "^16.0.4",
"@angular/router": "^16.0.4",
"@angular/animations": "^17.0.8",
"@angular/common": "^17.0.8",
"@angular/compiler": "^17.0.8",
"@angular/core": "^17.0.8",
"@angular/forms": "^17.0.8",
"@angular/platform-browser": "^17.0.8",
"@angular/platform-browser-dynamic": "^17.0.8",
"@angular/router": "^17.0.8",
"rxjs": "~7.8.1",
"tslib": "^2.5.2",
"zone.js": "~0.13.0"
"zone.js": "0.14.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^16.0.4",
"@angular-eslint/builder": "14.1.2",
"@angular-eslint/eslint-plugin": "14.1.2",
"@angular-eslint/eslint-plugin-template": "14.1.2",
"@angular-eslint/schematics": "16.0.3",
"@angular-eslint/template-parser": "16.0.3",
"@angular/cli": "~16.0.4",
"@angular/compiler-cli": "^16.0.4",
"@angular-devkit/build-angular": "^17.0.8",
"@angular-eslint/builder": "17.1.1",
"@angular-eslint/eslint-plugin": "17.1.1",
"@angular-eslint/eslint-plugin-template": "17.1.1",
"@angular-eslint/schematics": "17.1.1",
"@angular-eslint/template-parser": "17.1.1",
"@angular/cli": "~17.0.8",
"@angular/compiler-cli": "^17.0.8",
"@types/jasmine": "~4.3.2",
"@typescript-eslint/eslint-plugin": "5.59.8",
"@typescript-eslint/parser": "5.59.8",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"cypress": "^12.17.4",
"eslint": "^8.23.1",
"eslint": "^8.53.0",
"jasmine-core": "~5.0.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"ng-packagr": "^16.0.1",
"ng-packagr": "^17.0.3",
"prettier": "^3.0.3",
"typescript": "~5.0.4"
"typescript": "~5.2.2"
}
}
2 changes: 1 addition & 1 deletion projects/ngx-turnstile-demo/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"types": []
},
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"]
"include": ["src/**/*.d.ts", "src/test.ts"]
}
7 changes: 6 additions & 1 deletion projects/ngx-turnstile-demo/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
"outDir": "../../out-tsc/spec",
"types": ["jasmine"]
},
"include": ["src/**/*.spec.ts", "src/**/*.d.ts"]
"include": [
"src/**/*.spec.ts",
"src/**/*.d.ts",
"src/test.ts",
"src/**/environment.prod.ts"
]
}
3 changes: 2 additions & 1 deletion projects/ngx-turnstile/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"inlineSources": true,
"types": []
},
"exclude": ["src/test.ts", "**/*.spec.ts"]
"include": ["src/test.ts", "src/lib/**/*.ts", "src/public-api.ts"],
"exclude": ["**/*.spec.ts"]
}
2 changes: 1 addition & 1 deletion projects/ngx-turnstile/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"outDir": "../../out-tsc/spec",
"types": ["jasmine"]
},
"include": ["**/*.spec.ts", "**/*.d.ts"]
"include": ["**/*.spec.ts", "**/*.d.ts", "src/test.ts"]
}
Loading

0 comments on commit fcb4a40

Please sign in to comment.