mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
[ts] Release 4.2.52
This commit is contained in:
parent
1df497e1e7
commit
2942a661b5
43
spine-ts/package-lock.json
generated
43
spine-ts/package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-ts",
|
"name": "@esotericsoftware/spine-ts",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@esotericsoftware/spine-ts",
|
"name": "@esotericsoftware/spine-ts",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"spine-core",
|
"spine-core",
|
||||||
@ -3031,18 +3031,18 @@
|
|||||||
},
|
},
|
||||||
"spine-canvas": {
|
"spine-canvas": {
|
||||||
"name": "@esotericsoftware/spine-canvas",
|
"name": "@esotericsoftware/spine-canvas",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-canvaskit": {
|
"spine-canvaskit": {
|
||||||
"name": "@esotericsoftware/spine-canvaskit",
|
"name": "@esotericsoftware/spine-canvaskit",
|
||||||
"version": "4.2.49",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.48",
|
"@esotericsoftware/spine-core": "4.2.52",
|
||||||
"canvaskit-wasm": "0.39.1"
|
"canvaskit-wasm": "0.39.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -3050,32 +3050,27 @@
|
|||||||
"@types/node": "20.14.9"
|
"@types/node": "20.14.9"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-canvaskit/node_modules/@esotericsoftware/spine-core": {
|
|
||||||
"version": "4.2.48",
|
|
||||||
"resolved": "https://registry.npmjs.org/@esotericsoftware/spine-core/-/spine-core-4.2.48.tgz",
|
|
||||||
"integrity": "sha512-ccSrcNhTCSNUinPReiPlJ4wCCh2ovcyJRmFzaRtEhyA966/3gVfC69B1cegWcxdWtJz4Dtc0pmUztEs9lHn7qQ=="
|
|
||||||
},
|
|
||||||
"spine-core": {
|
"spine-core": {
|
||||||
"name": "@esotericsoftware/spine-core",
|
"name": "@esotericsoftware/spine-core",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE"
|
"license": "LicenseRef-LICENSE"
|
||||||
},
|
},
|
||||||
"spine-phaser": {
|
"spine-phaser": {
|
||||||
"name": "@esotericsoftware/spine-phaser",
|
"name": "@esotericsoftware/spine-phaser",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-canvas": "4.2.50",
|
"@esotericsoftware/spine-canvas": "4.2.52",
|
||||||
"@esotericsoftware/spine-core": "4.2.50",
|
"@esotericsoftware/spine-core": "4.2.52",
|
||||||
"@esotericsoftware/spine-webgl": "4.2.50"
|
"@esotericsoftware/spine-webgl": "4.2.52"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-pixi": {
|
"spine-pixi": {
|
||||||
"name": "@esotericsoftware/spine-pixi",
|
"name": "@esotericsoftware/spine-pixi",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@pixi/assets": "^7.2.4",
|
"@pixi/assets": "^7.2.4",
|
||||||
@ -3088,26 +3083,26 @@
|
|||||||
},
|
},
|
||||||
"spine-player": {
|
"spine-player": {
|
||||||
"name": "@esotericsoftware/spine-player",
|
"name": "@esotericsoftware/spine-player",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-webgl": "4.2.50"
|
"@esotericsoftware/spine-webgl": "4.2.52"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-threejs": {
|
"spine-threejs": {
|
||||||
"name": "@esotericsoftware/spine-threejs",
|
"name": "@esotericsoftware/spine-threejs",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-webgl": {
|
"spine-webgl": {
|
||||||
"name": "@esotericsoftware/spine-webgl",
|
"name": "@esotericsoftware/spine-webgl",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-ts",
|
"name": "@esotericsoftware/spine-ts",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"files": [
|
"files": [
|
||||||
|
|||||||
@ -24,4 +24,4 @@ sed -i '' "s/$lastVersion/$newVersion/" spine-webgl/package.json
|
|||||||
rm package-lock.json
|
rm package-lock.json
|
||||||
rm -rf node_modules/@esotericsoftware
|
rm -rf node_modules/@esotericsoftware
|
||||||
npm install --workspaces
|
npm install --workspaces
|
||||||
npm publish --access public --workspaces
|
# npm publish --access public --workspaces
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-canvas",
|
"name": "@esotericsoftware/spine-canvas",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -31,6 +31,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-canvaskit",
|
"name": "@esotericsoftware/spine-canvaskit",
|
||||||
"version": "4.2.49",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for CanvasKit for NodeJS",
|
"description": "The official Spine Runtimes for CanvasKit for NodeJS",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -31,7 +31,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.48",
|
"@esotericsoftware/spine-core": "4.2.52",
|
||||||
"canvaskit-wasm": "0.39.1"
|
"canvaskit-wasm": "0.39.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
@ -73,9 +73,9 @@ function bufferToUtf8String(buffer: any) {
|
|||||||
export async function loadTextureAtlas(ck: CanvasKit, atlasFile: string, readFile: (path: string) => Promise<Buffer>): Promise<TextureAtlas> {
|
export async function loadTextureAtlas(ck: CanvasKit, atlasFile: string, readFile: (path: string) => Promise<Buffer>): Promise<TextureAtlas> {
|
||||||
const atlas = new TextureAtlas(bufferToUtf8String(await readFile(atlasFile)));
|
const atlas = new TextureAtlas(bufferToUtf8String(await readFile(atlasFile)));
|
||||||
const slashIndex = atlasFile.lastIndexOf("/");
|
const slashIndex = atlasFile.lastIndexOf("/");
|
||||||
const parentDir = slashIndex >= 0 ? atlasFile.substring(0, slashIndex + 1) : "";
|
const parentDir = slashIndex >= 0 ? atlasFile.substring(0, slashIndex + 1) + "/" : "";
|
||||||
for (const page of atlas.pages) {
|
for (const page of atlas.pages) {
|
||||||
const texture = await CanvasKitTexture.fromFile(ck, parentDir + "/" + page.name, readFile);
|
const texture = await CanvasKitTexture.fromFile(ck, parentDir + page.name, readFile);
|
||||||
page.setTexture(texture);
|
page.setTexture(texture);
|
||||||
}
|
}
|
||||||
return atlas;
|
return atlas;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-core",
|
"name": "@esotericsoftware/spine-core",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-phaser",
|
"name": "@esotericsoftware/spine-phaser",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the Phaser.",
|
"description": "The official Spine Runtimes for the Phaser.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -31,8 +31,8 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50",
|
"@esotericsoftware/spine-core": "4.2.52",
|
||||||
"@esotericsoftware/spine-webgl": "4.2.50",
|
"@esotericsoftware/spine-webgl": "4.2.52",
|
||||||
"@esotericsoftware/spine-canvas": "4.2.50"
|
"@esotericsoftware/spine-canvas": "4.2.52"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-pixi",
|
"name": "@esotericsoftware/spine-pixi",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -31,7 +31,7 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@pixi/core": "^7.2.4",
|
"@pixi/core": "^7.2.4",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-player",
|
"name": "@esotericsoftware/spine-player",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -31,6 +31,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-webgl": "4.2.50"
|
"@esotericsoftware/spine-webgl": "4.2.52"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-threejs",
|
"name": "@esotericsoftware/spine-threejs",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -31,6 +31,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@esotericsoftware/spine-webgl",
|
"name": "@esotericsoftware/spine-webgl",
|
||||||
"version": "4.2.50",
|
"version": "4.2.52",
|
||||||
"description": "The official Spine Runtimes for the web.",
|
"description": "The official Spine Runtimes for the web.",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -31,6 +31,6 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
"homepage": "https://github.com/esotericsoftware/spine-runtimes#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@esotericsoftware/spine-core": "4.2.50"
|
"@esotericsoftware/spine-core": "4.2.52"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user