Compare commits

...

6 Commits

Author SHA1 Message Date
Anton Lavrenov
3dd73e724c Merge pull request #1974 from aswind7/master
Some checks failed
Test Browser / build (20.x) (push) Has been cancelled
Test NodeJS / build (23.x) (push) Has been cancelled
fix typo
2025-09-16 07:19:56 -05:00
aswind7
84c1c7eff7 fix typo 2025-09-16 14:11:02 +08:00
Anton Lavrenov
9a9bd00cd3 Merge pull request #1973 from aswind7/patch-2
support run in windows
2025-09-12 10:18:07 -05:00
Anton Lavrenov
c33366e97d Merge pull request #1972 from aswind7/patch-1
fix: konva logo
2025-09-12 10:17:09 -05:00
aswind7
ab14636f62 support run in windows 2025-09-12 16:03:12 +08:00
aswind7
7930b95667 fix: konva logo 2025-09-12 13:45:36 +08:00
3 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<p align="center">
<img src="https://konvajs.org/android-chrome-192x192.png" alt="Konva logo" height="180" />
<img src="https://konvajs.org/img/icon.png" alt="Konva logo" height="60" />
</p>
<h1 align="center">Konva</h1>

View File

@@ -44,13 +44,13 @@
"test": "npm run test:browser && npm run test:node && npm run test:import",
"test:build": "PARCEL_WORKER_BACKEND=process parcel build ./test/unit-tests.html --dist-dir ./test-build --target none --public-url ./ --no-source-maps",
"test:browser": "npm run test:build && mocha-headless-chrome -f ./test-build/unit-tests.html -a disable-web-security -a no-sandbox -a disable-setuid-sandbox",
"test:watch": "rm -rf ./.parcel-cache && PARCEL_WORKERS=0 parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html ./test/text-paths.html ./test/bunnies.html",
"test:watch": "rimraf ./.parcel-cache && PARCEL_WORKERS=0 parcel serve ./test/unit-tests.html ./test/manual-tests.html ./test/sandbox.html ./test/text-paths.html ./test/bunnies.html",
"test:node:canvas": "mocha -r tsx -r ./test/node-canvas-global-setup.mjs --extension ts --recursive './test/unit/' --exit",
"test:node:skia": "mocha -r tsx -r ./test/node-skia-global-setup.mjs --extension ts --recursive './test/unit/' --exit",
"test:node": "npm run test:node:canvas && npm run test:node:skia",
"tsc": "tsc --removeComments",
"rollup": "rollup -c",
"clean": "rm -rf ./lib && rm -rf ./types && rm -rf ./cmj && rm -rf ./test-build",
"clean": "rimraf ./lib && rimraf ./types && rimraf ./cmj && rimraf ./test-build",
"watch": "rollup -c -w",
"size": "size-limit"
},
@@ -107,6 +107,7 @@
"parcel": "2.15.4",
"prettier": "^3.6.2",
"process": "^0.11.10",
"rimraf": "^6.0.1",
"rollup": "^4.48.0",
"rollup-plugin-typescript2": "^0.36.0",
"size-limit": "^11.2.0",

View File

@@ -196,7 +196,7 @@ export const Konva = {
_injectGlobal(Konva) {
if (typeof glob.Konva !== 'undefined') {
console.error(
'Severa Konva instances detected. It is not recommended to use multiple Konva instances in the same environment.'
'Several Konva instances detected. It is not recommended to use multiple Konva instances in the same environment.'
);
}
glob.Konva = Konva;