mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
* add v8 support to spine! * Renamed examples folder for consistency. * Gitignore dist. * Tsconfig. * Package json. * Modification due to strictNullChecks=true. * Run tsfmt. * Use clipper.clipTriangles not deprecated version. * Aligned example to spine-pixi (v7). * Fix clipping dark tint wrong param. * Removed useless clipper. * Push texture issue repro example * fix attachment.uvs by copying them * SlotObject alpha connected to skeleton and slot alpha. * add topology for future v8 release * Dark tint rendered is enabled if at least one slot has dark tint, or by configuration. Fixed clipping while using dark tint. * Optimized clipping by using clipTrianglesUnpacked. * Repro example for clipping issue. * Aligned constructor and from signature of spine-pixi(-v7) to v8. Deprecated old signatures. * Removed useless function. * Fixed clipping issue flagging attachment as dirty if indices change. * Clipping attachments clip slot object through Pixi Graphics masks. * Add autoUpdate in SpineFromOptions * Added javadoc to pixiv8 * Updated pixi7 examples to use SpineFromOptions interface * Aligned atlas loader to use texturePreference for bundles. * Add pool to manage slot objects masks * Fixed minor issues with SpineDebugRenderer * Aligned spine-pixi-v8 with latest spine-core * Updated build and publish script --------- Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
28 lines
1.1 KiB
Bash
Executable File
28 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
currentVersion=$(grep -o '"version": "[^"]*' package.json | grep -o '[^"]*$')
|
|
major=$(echo "$currentVersion" | cut -d. -f1)
|
|
minor=$(echo "$currentVersion" | cut -d. -f2)
|
|
patch=$(echo "$currentVersion" | cut -d. -f3)
|
|
newPatch=$((patch + 1))
|
|
newVersion="$major.$minor.$newPatch"
|
|
|
|
echo "current version: $currentVersion"
|
|
echo "new version: $newVersion"
|
|
|
|
sed -i '' "s/$currentVersion/$newVersion/" package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-canvas/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-canvaskit/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-core/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-phaser/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-pixi/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-pixi-v8/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-player/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-threejs/package.json
|
|
sed -i '' "s/$currentVersion/$newVersion/" spine-webgl/package.json
|
|
|
|
rm package-lock.json
|
|
rm -rf node_modules/@esotericsoftware
|
|
npm install --workspaces
|
|
npm publish --access public --workspaces |