Skip to content

Commit

Permalink
Merge pull request #29 from ctinnovation/fix/28/konva-core-import
Browse files Browse the repository at this point in the history
Fix/28/konva core import
  • Loading branch information
giovanni-bertoncelli authored Mar 18, 2024
2 parents 9e2e554 + ef86820 commit 1bf036e
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .changescriberc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"generate": {
"fromPackageJson": true,
"excludeTaskList": true
"taskUrlTemplate": "https://github.com/ctinnovation/ngx-konva/issues/{taskCode}"
}
}
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@angular/platform-browser": "^16.2.0",
"@angular/platform-browser-dynamic": "^16.2.0",
"@angular/router": "^16.2.0",
"konva": "^9.2.3",
"konva": "^9.3.6",
"lodash": "^4.17.21",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-konva/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Supported Angular version: `16`.
## Installation

```bash
npm install ngx-konva konva@9.2.3
npm install ngx-konva konva
```

Simply import `NgxKonvaModule` inside any module you need to use it in:
Expand Down
4 changes: 2 additions & 2 deletions projects/ngx-konva/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"peerDependencies": {
"@angular/common": "^16.2.0",
"@angular/core": "^16.2.0",
"konva": "^9.2.3"
"konva": "^9.3.6"
},
"dependencies": {
"lodash": "^4.17.21",
"tslib": "^2.3.0",
"uuid": "^9.0.1"
},
"sideEffects": false
}
}
1 change: 1 addition & 0 deletions projects/ngx-konva/src/lib/ngx-konva.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import 'konva/lib/Core';
import { KoGroupComponent } from './components/ko-group.component';
import { KoImageComponent } from './components/ko-image.component';
import { KoLabelComponent } from './components/ko-label.component';
Expand Down
7 changes: 7 additions & 0 deletions unreleased/28.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Changed

- Bump `[email protected]`

## Fixed

- Fixed isDragging error by importing `konva/lib/Core` inside `NgxKonvaModule` for initialization

0 comments on commit 1bf036e

Please sign in to comment.