Skip to content

Commit 2942a66

Browse files
committed
[ts] Release 4.2.52
1 parent 1df497e commit 2942a66

File tree

12 files changed

+40
-45
lines changed

12 files changed

+40
-45
lines changed

spine-ts/package-lock.json

+19-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spine-ts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-ts",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the web.",
55
"type": "module",
66
"files": [

spine-ts/publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ sed -i '' "s/$lastVersion/$newVersion/" spine-webgl/package.json
2424
rm package-lock.json
2525
rm -rf node_modules/@esotericsoftware
2626
npm install --workspaces
27-
npm publish --access public --workspaces
27+
# npm publish --access public --workspaces

spine-ts/spine-canvas/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-canvas",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the web.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -31,6 +31,6 @@
3131
},
3232
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
3333
"dependencies": {
34-
"@esotericsoftware/spine-core": "4.2.50"
34+
"@esotericsoftware/spine-core": "4.2.52"
3535
}
3636
}

spine-ts/spine-canvaskit/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-canvaskit",
3-
"version": "4.2.49",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for CanvasKit for NodeJS",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -31,7 +31,7 @@
3131
},
3232
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
3333
"dependencies": {
34-
"@esotericsoftware/spine-core": "4.2.48",
34+
"@esotericsoftware/spine-core": "4.2.52",
3535
"canvaskit-wasm": "0.39.1"
3636
},
3737
"devDependencies": {

spine-ts/spine-canvaskit/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ function bufferToUtf8String(buffer: any) {
7373
export async function loadTextureAtlas(ck: CanvasKit, atlasFile: string, readFile: (path: string) => Promise<Buffer>): Promise<TextureAtlas> {
7474
const atlas = new TextureAtlas(bufferToUtf8String(await readFile(atlasFile)));
7575
const slashIndex = atlasFile.lastIndexOf("/");
76-
const parentDir = slashIndex >= 0 ? atlasFile.substring(0, slashIndex + 1) : "";
76+
const parentDir = slashIndex >= 0 ? atlasFile.substring(0, slashIndex + 1) + "/" : "";
7777
for (const page of atlas.pages) {
78-
const texture = await CanvasKitTexture.fromFile(ck, parentDir + "/" + page.name, readFile);
78+
const texture = await CanvasKitTexture.fromFile(ck, parentDir + page.name, readFile);
7979
page.setTexture(texture);
8080
}
8181
return atlas;

spine-ts/spine-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-core",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the web.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

spine-ts/spine-phaser/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-phaser",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the Phaser.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -31,8 +31,8 @@
3131
},
3232
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
3333
"dependencies": {
34-
"@esotericsoftware/spine-core": "4.2.50",
35-
"@esotericsoftware/spine-webgl": "4.2.50",
36-
"@esotericsoftware/spine-canvas": "4.2.50"
34+
"@esotericsoftware/spine-core": "4.2.52",
35+
"@esotericsoftware/spine-webgl": "4.2.52",
36+
"@esotericsoftware/spine-canvas": "4.2.52"
3737
}
3838
}

spine-ts/spine-pixi/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-pixi",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the web.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -31,7 +31,7 @@
3131
},
3232
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
3333
"dependencies": {
34-
"@esotericsoftware/spine-core": "4.2.50"
34+
"@esotericsoftware/spine-core": "4.2.52"
3535
},
3636
"peerDependencies": {
3737
"@pixi/core": "^7.2.4",

spine-ts/spine-player/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-player",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the web.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -31,6 +31,6 @@
3131
},
3232
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
3333
"dependencies": {
34-
"@esotericsoftware/spine-webgl": "4.2.50"
34+
"@esotericsoftware/spine-webgl": "4.2.52"
3535
}
3636
}

spine-ts/spine-threejs/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-threejs",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the web.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -31,6 +31,6 @@
3131
},
3232
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
3333
"dependencies": {
34-
"@esotericsoftware/spine-core": "4.2.50"
34+
"@esotericsoftware/spine-core": "4.2.52"
3535
}
3636
}

spine-ts/spine-webgl/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esotericsoftware/spine-webgl",
3-
"version": "4.2.50",
3+
"version": "4.2.52",
44
"description": "The official Spine Runtimes for the web.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -31,6 +31,6 @@
3131
},
3232
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
3333
"dependencies": {
34-
"@esotericsoftware/spine-core": "4.2.50"
34+
"@esotericsoftware/spine-core": "4.2.52"
3535
}
3636
}

0 commit comments

Comments
 (0)