Skip to content

Commit

Permalink
chore: bump angular 15 to 16 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
cipchk authored Jun 4, 2023
1 parent b86a8a3 commit 93d8ff9
Show file tree
Hide file tree
Showing 7 changed files with 2,813 additions and 2,326 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

Expand All @@ -23,7 +23,7 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

Expand All @@ -40,21 +40,21 @@ jobs:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

- name: run
run: |
yarn run lint
- uses: borales/actions-yarn@v4
with:
cmd: lint

site:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master

- uses: borales/actions-yarn@v3.0.0
- uses: borales/actions-yarn@v4
with:
cmd: install

Expand Down
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
}
}
},
"defaultProject": "ngx-filesaver",
"cli": {
"schematicCollections": [
"@angular-eslint/schematics"
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-filesaver",
"version": "15.0.1",
"version": "16.0.0",
"description": "Simple file save with FileSaver.js",
"keywords": [
"angular",
Expand Down
2 changes: 1 addition & 1 deletion lib/src/filesaver.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class FileSaverDirective implements OnInit, OnDestroy {
@Input() http?: Observable<HttpResponse<Blob>>;
@Input() query: any;
@Input() header: any;
@Input() url!: string;
@Input({ required: true }) url!: string;
@Input() fileName?: string;
@Input() fsOptions?: FileSaverOptions;
@Output() readonly success = new EventEmitter<HttpResponse<Blob>>();
Expand Down
52 changes: 26 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngx-filesaver",
"version": "15.0.1",
"version": "16.0.0",
"description": "Simple file save with FileSaver.js",
"repository": {
"type": "git",
Expand Down Expand Up @@ -30,40 +30,40 @@
"release": "npm run build && cd publish && npm publish --access public"
},
"dependencies": {
"@angular/animations": "^15.0.0",
"@angular/common": "^15.0.0",
"@angular/compiler": "^15.0.0",
"@angular/core": "^15.0.0",
"@angular/forms": "^15.0.0",
"@angular/platform-browser": "^15.0.0",
"@angular/platform-browser-dynamic": "^15.0.0",
"@angular/router": "^15.0.0",
"rxjs": "~7.5.0",
"@angular/animations": "^16.0.0",
"@angular/common": "^16.0.0",
"@angular/compiler": "^16.0.0",
"@angular/core": "^16.0.0",
"@angular/forms": "^16.0.0",
"@angular/platform-browser": "^16.0.0",
"@angular/platform-browser-dynamic": "^16.0.0",
"@angular/router": "^16.0.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.12.0"
"zone.js": "~0.13.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.0.4",
"@angular/cli": "~15.0.4",
"@angular/compiler-cli": "^15.0.0",
"@angular-devkit/build-angular": "^16.0.3",
"@angular/cli": "~16.0.3",
"@angular/compiler-cli": "^16.0.0",
"@types/jasmine": "~4.3.0",
"jasmine-core": "~4.5.0",
"jasmine-core": "~4.6.0",
"karma": "~6.4.0",
"karma-chrome-launcher": "~3.1.0",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~4.8.2",
"@angular-eslint/builder": "^15.1.0",
"@angular-eslint/eslint-plugin": "^15.1.0",
"@angular-eslint/eslint-plugin-template": "^15.1.0",
"@angular-eslint/schematics": "^15.1.0",
"@angular-eslint/template-parser": "^15.1.0",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"@typescript-eslint/parser": "^5.47.1",
"typescript": "~5.0.2",
"@angular-eslint/builder": "^16.0.3",
"@angular-eslint/eslint-plugin": "^16.0.3",
"@angular-eslint/eslint-plugin-template": "^16.0.3",
"@angular-eslint/schematics": "^16.0.3",
"@angular-eslint/template-parser": "^16.0.3",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"codecov": "^3.8.3",
"eslint": "^8.31.0",
"ng-packagr": "^15.0.3",
"eslint": "^8.42.0",
"ng-packagr": "^16.0.1",
"@types/file-saver": "^2.0.5",
"file-saver": "^2.0.5"
}
Expand Down
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"moduleResolution": "node",
"importHelpers": true,
"target": "ES2022",
"module": "es2020",
"module": "ES2022",
"useDefineForClassFields": false,
"lib": [
"es2020",
"ES2022",
"dom"
],
"paths": {
"ngx-filesaver": ["lib/index"]
},
"useDefineForClassFields": false
}
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
Expand Down
Loading

0 comments on commit 93d8ff9

Please sign in to comment.