mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Move c3-lib inside c3 runtime.
This commit is contained in:
parent
c175c1c5d0
commit
21c2166fcb
13
spine-ts/package-lock.json
generated
13
spine-ts/package-lock.json
generated
@ -13,7 +13,7 @@
|
|||||||
"spine-canvas",
|
"spine-canvas",
|
||||||
"spine-canvaskit",
|
"spine-canvaskit",
|
||||||
"spine-construct3",
|
"spine-construct3",
|
||||||
"spine-construct3-lib",
|
"spine-construct3/spine-construct3-lib",
|
||||||
"spine-phaser-v3",
|
"spine-phaser-v3",
|
||||||
"spine-phaser-v4",
|
"spine-phaser-v4",
|
||||||
"spine-player",
|
"spine-player",
|
||||||
@ -655,7 +655,7 @@
|
|||||||
"link": true
|
"link": true
|
||||||
},
|
},
|
||||||
"node_modules/@esotericsoftware/spine-construct3-lib": {
|
"node_modules/@esotericsoftware/spine-construct3-lib": {
|
||||||
"resolved": "spine-construct3-lib",
|
"resolved": "spine-construct3/spine-construct3-lib",
|
||||||
"link": true
|
"link": true
|
||||||
},
|
},
|
||||||
"node_modules/@esotericsoftware/spine-core": {
|
"node_modules/@esotericsoftware/spine-core": {
|
||||||
@ -3653,6 +3653,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"spine-construct3-lib": {
|
"spine-construct3-lib": {
|
||||||
|
"name": "@esotericsoftware/spine-construct3-lib",
|
||||||
|
"version": "4.2.82",
|
||||||
|
"extraneous": true,
|
||||||
|
"license": "LicenseRef-LICENSE",
|
||||||
|
"dependencies": {
|
||||||
|
"@esotericsoftware/spine-core": "4.2.82"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"spine-construct3/spine-construct3-lib": {
|
||||||
"name": "@esotericsoftware/spine-construct3-lib",
|
"name": "@esotericsoftware/spine-construct3-lib",
|
||||||
"version": "4.2.82",
|
"version": "4.2.82",
|
||||||
"license": "LicenseRef-LICENSE",
|
"license": "LicenseRef-LICENSE",
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "npm run clean && npm run build",
|
"prepublish": "npm run clean && npm run build",
|
||||||
"clean": "npx rimraf spine-core/dist spine-canvas/dist spine-canvaskit/dist spine-webgl/dist spine-phaser-v3/dist spine-phaser-v4/dist spine-player/dist spine-threejs/dist spine-pixi-v7/dist spine-pixi-v8/dist spine-webcomponents/dist spine-construct3/dist spine-construct3-lib/dist",
|
"clean": "npx rimraf spine-core/dist spine-canvas/dist spine-canvaskit/dist spine-webgl/dist spine-phaser-v3/dist spine-phaser-v4/dist spine-player/dist spine-threejs/dist spine-pixi-v7/dist spine-pixi-v8/dist spine-webcomponents/dist spine-construct3/dist spine-construct3/spine-construct3-lib/dist",
|
||||||
"build": "npm run clean && npm run build:modules && concurrently 'npm run build:core:iife' 'npm run build:core:esm' 'npm run build:canvas:iife' 'npm run build:canvas:esm' 'npm run build:canvaskit:iife' 'npm run build:canvaskit:esm' 'npm run build:webgl:iife' 'npm run build:webgl:esm' 'npm run build:phaser-v3:iife' 'npm run build:phaser-v4:iife' 'npm run build:phaser-v3:esm' 'npm run build:phaser-v4:esm' 'npm run build:player:iife' 'npm run build:player:esm' 'npm run build:player:css' 'npm run build:threejs:iife' 'npm run build:threejs:esm' 'npm run build:pixi-v7:iife' 'npm run build:pixi-v7:esm' 'npm run build:pixi-v8:iife' 'npm run build:pixi-v8:esm' 'npm run build:webcomponents:iife' 'npm run build:webcomponents:esm' 'npm run build:construct3' 'npm run build:construct3-lib'",
|
"build": "npm run clean && npm run build:modules && concurrently 'npm run build:core:iife' 'npm run build:core:esm' 'npm run build:canvas:iife' 'npm run build:canvas:esm' 'npm run build:canvaskit:iife' 'npm run build:canvaskit:esm' 'npm run build:webgl:iife' 'npm run build:webgl:esm' 'npm run build:phaser-v3:iife' 'npm run build:phaser-v4:iife' 'npm run build:phaser-v3:esm' 'npm run build:phaser-v4:esm' 'npm run build:player:iife' 'npm run build:player:esm' 'npm run build:player:css' 'npm run build:threejs:iife' 'npm run build:threejs:esm' 'npm run build:pixi-v7:iife' 'npm run build:pixi-v7:esm' 'npm run build:pixi-v8:iife' 'npm run build:pixi-v8:esm' 'npm run build:webcomponents:iife' 'npm run build:webcomponents:esm' 'npm run build:construct3' 'npm run build:construct3-lib'",
|
||||||
"format": "npx -y tsx scripts/format.ts",
|
"format": "npx -y tsx scripts/format.ts",
|
||||||
"lint": "npx biome lint .",
|
"lint": "npx biome lint .",
|
||||||
@ -17,8 +17,8 @@
|
|||||||
"build:core:iife": "npx esbuild --bundle spine-core/src/index.ts --tsconfig=spine-core/tsconfig.json --sourcemap --outfile=spine-core/dist/iife/spine-core.js --format=iife --global-name=spine",
|
"build:core:iife": "npx esbuild --bundle spine-core/src/index.ts --tsconfig=spine-core/tsconfig.json --sourcemap --outfile=spine-core/dist/iife/spine-core.js --format=iife --global-name=spine",
|
||||||
"build:core:esm": "npx esbuild --bundle spine-core/src/index.ts --tsconfig=spine-core/tsconfig.json --sourcemap --outfile=spine-core/dist/esm/spine-core.mjs --format=esm --global-name=spine",
|
"build:core:esm": "npx esbuild --bundle spine-core/src/index.ts --tsconfig=spine-core/tsconfig.json --sourcemap --outfile=spine-core/dist/esm/spine-core.mjs --format=esm --global-name=spine",
|
||||||
"build:construct3": "npx tsc --project spine-construct3/tsconfig.json && npm run build:construct3:copy-assets",
|
"build:construct3": "npx tsc --project spine-construct3/tsconfig.json && npm run build:construct3:copy-assets",
|
||||||
"build:construct3:copy-assets": "npx copyfiles -u 2 \"spine-construct3/src/**/*.json\" \"spine-construct3/src/**/*.svg\" spine-construct3/dist/ && npx copyfiles -u 3 spine-construct3-lib/dist/iife/spine-construct3-lib.js spine-construct3/dist/c3runtime",
|
"build:construct3:copy-assets": "npx copyfiles -u 2 \"spine-construct3/src/**/*.json\" \"spine-construct3/src/**/*.svg\" spine-construct3/dist/ && npx copyfiles -u 4 spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js spine-construct3/dist/c3runtime",
|
||||||
"build:construct3-lib": "npx esbuild --bundle spine-construct3-lib/src/index.ts --tsconfig=spine-construct3-lib/tsconfig.json --sourcemap --outfile=spine-construct3-lib/dist/iife/spine-construct3-lib.js --format=iife --global-name=spine --footer:js='if(!globalThis.spine)globalThis.spine=spine;'",
|
"build:construct3-lib": "npx esbuild --bundle spine-construct3/spine-construct3-lib/src/index.ts --tsconfig=spine-construct3/spine-construct3-lib/tsconfig.json --sourcemap --outfile=spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js --format=iife --global-name=spine --footer:js='if(!globalThis.spine)globalThis.spine=spine;'",
|
||||||
"build:canvas:iife": "npx esbuild --bundle spine-canvas/src/index.ts --tsconfig=spine-canvas/tsconfig.json --sourcemap --outfile=spine-canvas/dist/iife/spine-canvas.js --format=iife --global-name=spine",
|
"build:canvas:iife": "npx esbuild --bundle spine-canvas/src/index.ts --tsconfig=spine-canvas/tsconfig.json --sourcemap --outfile=spine-canvas/dist/iife/spine-canvas.js --format=iife --global-name=spine",
|
||||||
"build:canvas:esm": "npx esbuild --bundle spine-canvas/src/index.ts --tsconfig=spine-canvas/tsconfig.json --sourcemap --outfile=spine-canvas/dist/esm/spine-canvas.mjs --format=esm --global-name=spine",
|
"build:canvas:esm": "npx esbuild --bundle spine-canvas/src/index.ts --tsconfig=spine-canvas/tsconfig.json --sourcemap --outfile=spine-canvas/dist/esm/spine-canvas.mjs --format=esm --global-name=spine",
|
||||||
"build:canvaskit:iife": "npx esbuild --bundle spine-canvaskit/src/index.ts --tsconfig=spine-canvaskit/tsconfig.json --sourcemap --outfile=spine-canvaskit/dist/iife/spine-canvaskit.js --external:canvaskit-wasm --format=iife --global-name=spine",
|
"build:canvaskit:iife": "npx esbuild --bundle spine-canvaskit/src/index.ts --tsconfig=spine-canvaskit/tsconfig.json --sourcemap --outfile=spine-canvaskit/dist/iife/spine-canvaskit.js --external:canvaskit-wasm --format=iife --global-name=spine",
|
||||||
@ -80,7 +80,7 @@
|
|||||||
"spine-canvas",
|
"spine-canvas",
|
||||||
"spine-canvaskit",
|
"spine-canvaskit",
|
||||||
"spine-construct3",
|
"spine-construct3",
|
||||||
"spine-construct3-lib",
|
"spine-construct3/spine-construct3-lib",
|
||||||
"spine-phaser-v3",
|
"spine-phaser-v3",
|
||||||
"spine-phaser-v4",
|
"spine-phaser-v4",
|
||||||
"spine-player",
|
"spine-player",
|
||||||
|
|||||||
@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "../tsconfig.base.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"baseUrl": ".",
|
|
||||||
"rootDir": "./src",
|
|
||||||
"outDir": "./dist",
|
|
||||||
"paths": {
|
|
||||||
"@esotericsoftware/spine-core": ["../spine-core/src"]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"include": ["**/*.ts", "../spine-construct3/ts-defs/**/*.d.ts"],
|
|
||||||
"exclude": ["dist/**/*.d.ts", "example/**/*.ts"],
|
|
||||||
"references": [
|
|
||||||
{
|
|
||||||
"path": "../spine-core"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
38
spine-ts/spine-construct3/spine-construct3-lib/dist/AssetLoader.d.ts
vendored
Normal file
38
spine-ts/spine-construct3/spine-construct3-lib/dist/AssetLoader.d.ts
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
* Spine Runtimes License Agreement
|
||||||
|
* Last updated April 5, 2025. Replaces all prior versions.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013-2025, Esoteric Software LLC
|
||||||
|
*
|
||||||
|
* Integration of the Spine Runtimes into software or otherwise creating
|
||||||
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
||||||
|
* conditions of Section 2 of the Spine Editor License Agreement:
|
||||||
|
* http://esotericsoftware.com/spine-editor-license
|
||||||
|
*
|
||||||
|
* Otherwise, it is permitted to integrate the Spine Runtimes into software
|
||||||
|
* or otherwise create derivative works of the Spine Runtimes (collectively,
|
||||||
|
* "Products"), provided that each user of the Products must obtain their own
|
||||||
|
* Spine Editor license and redistribution of the Products in any form must
|
||||||
|
* include this license and copyright notice.
|
||||||
|
*
|
||||||
|
* THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
|
||||||
|
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
|
||||||
|
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
|
||||||
|
* BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
|
||||||
|
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
|
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*****************************************************************************/
|
||||||
|
import { TextureAtlas } from "@esotericsoftware/spine-core";
|
||||||
|
export declare class AssetLoader {
|
||||||
|
loadSkeletonEditor(sid: number, textureAtlas: TextureAtlas, scale: number | undefined, instance: SDK.IWorldInstance): Promise<import("@esotericsoftware/spine-core").SkeletonData | null>;
|
||||||
|
loadAtlasEditor(sid: number, instance: SDK.IWorldInstance, renderer: SDK.Gfx.IWebGLRenderer): Promise<TextureAtlas | null>;
|
||||||
|
loadSpineTextureEditor(pageName: string, pma: boolean | undefined, instance: SDK.IWorldInstance): Promise<ImageBitmap | null>;
|
||||||
|
loadSkeletonRuntime(path: string, textureAtlas: TextureAtlas, scale: number | undefined, instance: IRuntime): Promise<import("@esotericsoftware/spine-core").SkeletonData | null>;
|
||||||
|
loadAtlasRuntime(path: string, instance: IRuntime, renderer: IRenderer): Promise<TextureAtlas | null>;
|
||||||
|
loadSpineTextureRuntime(pageName: string, pma: boolean | undefined, instance: IRuntime): Promise<ImageBitmap | null>;
|
||||||
|
static createImageBitmapFromBlob(blob: Blob, pma: boolean): Promise<ImageBitmap | null>;
|
||||||
|
}
|
||||||
137
spine-ts/spine-construct3/spine-construct3-lib/dist/AssetLoader.js
vendored
Normal file
137
spine-ts/spine-construct3/spine-construct3-lib/dist/AssetLoader.js
vendored
Normal file
File diff suppressed because one or more lines are too long
46
spine-ts/spine-construct3/spine-construct3-lib/dist/C3Texture.d.ts
vendored
Normal file
46
spine-ts/spine-construct3/spine-construct3-lib/dist/C3Texture.d.ts
vendored
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
/******************************************************************************
|
||||||
|
* Spine Runtimes License Agreement
|
||||||
|
* Last updated April 5, 2025. Replaces all prior versions.
|
||||||
|
*
|
||||||
|
* Copyright (c) 2013-2025, Esoteric Software LLC
|
||||||
|
*
|
||||||
|
* Integration of the Spine Runtimes into software or otherwise creating
|
||||||
|
* derivative works of the Spine Runtimes is permitted under the terms and
|
||||||
|
* conditions of Section 2 of the Spine Editor License Agreement:
|
||||||
|
* http://esotericsoftware.com/spine-editor-license
|
||||||
|
*
|
||||||
|
* Otherwise, it is permitted to integrate the Spine Runtimes into software
|
||||||
|
* or otherwise create derivative works of the Spine Runtimes (collectively,
|
||||||
|
* "Products"), provided that each user of the Products must obtain their own
|
||||||
|
* Spine Editor license and redistribution of the Products in any form must
|
||||||
|
* include this license and copyright notice.
|
||||||
|
*
|
||||||
|
* THE SPINE RUNTIMES ARE PROVIDED BY ESOTERIC SOFTWARE LLC "AS IS" AND ANY
|
||||||
|
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL ESOTERIC SOFTWARE LLC BE LIABLE FOR ANY
|
||||||
|
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
|
||||||
|
* BUSINESS INTERRUPTION, OR LOSS OF USE, DATA, OR PROFITS) HOWEVER CAUSED AND
|
||||||
|
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
|
* THE SPINE RUNTIMES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*****************************************************************************/
|
||||||
|
import { BlendMode, Texture, type TextureAtlasPage } from "@esotericsoftware/spine-core";
|
||||||
|
export declare class C3TextureEditor extends Texture {
|
||||||
|
texture: SDK.Gfx.IWebGLTexture;
|
||||||
|
renderer: SDK.Gfx.IWebGLRenderer;
|
||||||
|
constructor(image: HTMLImageElement | ImageBitmap, renderer: SDK.Gfx.IWebGLRenderer, page: TextureAtlasPage);
|
||||||
|
setFilters(): void;
|
||||||
|
setWraps(): void;
|
||||||
|
dispose(): void;
|
||||||
|
}
|
||||||
|
export declare class C3Texture extends Texture {
|
||||||
|
texture: ITexture;
|
||||||
|
renderer: IRenderer;
|
||||||
|
constructor(image: HTMLImageElement | ImageBitmap, renderer: IRenderer, page: TextureAtlasPage);
|
||||||
|
setFilters(): void;
|
||||||
|
setWraps(): void;
|
||||||
|
dispose(): void;
|
||||||
|
}
|
||||||
|
export declare const BlendingModeSpineToC3: Record<BlendMode, BlendModeParameter>;
|
||||||
126
spine-ts/spine-construct3/spine-construct3-lib/dist/C3Texture.js
vendored
Normal file
126
spine-ts/spine-construct3/spine-construct3-lib/dist/C3Texture.js
vendored
Normal file
File diff suppressed because one or more lines are too long
61
spine-ts/spine-construct3/spine-construct3-lib/dist/SpineBoundsProvider.d.ts
vendored
Normal file
61
spine-ts/spine-construct3/spine-construct3-lib/dist/SpineBoundsProvider.d.ts
vendored
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
import { AnimationState, Skeleton } from "@esotericsoftware/spine-core";
|
||||||
|
interface Rectangle {
|
||||||
|
x: number;
|
||||||
|
y: number;
|
||||||
|
width: number;
|
||||||
|
height: number;
|
||||||
|
}
|
||||||
|
interface GameObject {
|
||||||
|
skeleton?: Skeleton;
|
||||||
|
state?: AnimationState;
|
||||||
|
}
|
||||||
|
export interface SpineBoundsProvider {
|
||||||
|
/** Returns the bounding box for the skeleton, in skeleton space. */
|
||||||
|
calculateBounds(gameObject: GameObject): Rectangle;
|
||||||
|
}
|
||||||
|
export declare class AABBRectangleBoundsProvider implements SpineBoundsProvider {
|
||||||
|
private x;
|
||||||
|
private y;
|
||||||
|
private width;
|
||||||
|
private height;
|
||||||
|
constructor(x: number, y: number, width: number, height: number);
|
||||||
|
calculateBounds(): {
|
||||||
|
x: number;
|
||||||
|
y: number;
|
||||||
|
width: number;
|
||||||
|
height: number;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export declare class SetupPoseBoundsProvider implements SpineBoundsProvider {
|
||||||
|
private clipping;
|
||||||
|
/**
|
||||||
|
* @param clipping If true, clipping attachments are used to compute the bounds. False, by default.
|
||||||
|
*/
|
||||||
|
constructor(clipping?: boolean);
|
||||||
|
calculateBounds(gameObject: GameObject): {
|
||||||
|
x: number;
|
||||||
|
y: number;
|
||||||
|
width: number;
|
||||||
|
height: number;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export declare class SkinsAndAnimationBoundsProvider implements SpineBoundsProvider {
|
||||||
|
private animation?;
|
||||||
|
private skins;
|
||||||
|
private timeStep;
|
||||||
|
private clipping;
|
||||||
|
/**
|
||||||
|
* @param animation The animation to use for calculating the bounds. If null, the setup pose is used.
|
||||||
|
* @param skins The skins to use for calculating the bounds. If empty, the default skin is used.
|
||||||
|
* @param timeStep The time step to use for calculating the bounds. A smaller time step means more precision, but slower calculation.
|
||||||
|
* @param clipping If true, clipping attachments are used to compute the bounds. False, by default.
|
||||||
|
*/
|
||||||
|
constructor(animation?: string | undefined, skins?: string[], timeStep?: number, clipping?: boolean);
|
||||||
|
calculateBounds(gameObject: GameObject): {
|
||||||
|
x: number;
|
||||||
|
y: number;
|
||||||
|
width: number;
|
||||||
|
height: number;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export {};
|
||||||
115
spine-ts/spine-construct3/spine-construct3-lib/dist/SpineBoundsProvider.js
vendored
Normal file
115
spine-ts/spine-construct3/spine-construct3-lib/dist/SpineBoundsProvider.js
vendored
Normal file
File diff suppressed because one or more lines are too long
12721
spine-ts/spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js
vendored
Normal file
12721
spine-ts/spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
spine-ts/spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js.map
vendored
Normal file
7
spine-ts/spine-construct3/spine-construct3-lib/dist/iife/spine-construct3-lib.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
5
spine-ts/spine-construct3/spine-construct3-lib/dist/index.js
vendored
Normal file
5
spine-ts/spine-construct3/spine-construct3-lib/dist/index.js
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
export * from "@esotericsoftware/spine-core";
|
||||||
|
export * from './AssetLoader.js';
|
||||||
|
export * from './C3Texture.js';
|
||||||
|
export * from './SpineBoundsProvider.js';
|
||||||
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCJAZXNvdGVyaWNzb2Z0d2FyZS9zcGluZS1jb3JlXCI7XG5leHBvcnQgKiBmcm9tICcuL0Fzc2V0TG9hZGVyLmpzJztcbmV4cG9ydCAqIGZyb20gJy4vQzNUZXh0dXJlLmpzJztcbmV4cG9ydCAqIGZyb20gJy4vU3BpbmVCb3VuZHNQcm92aWRlci5qcyc7XG4iXX0=
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
export * from "@esotericsoftware/spine-core";
|
||||||
|
export * from './AssetLoader.js';
|
||||||
|
export * from './C3Texture.js';
|
||||||
|
export * from './SpineBoundsProvider.js';
|
||||||
19
spine-ts/spine-construct3/spine-construct3-lib/tsconfig.json
Normal file
19
spine-ts/spine-construct3/spine-construct3-lib/tsconfig.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": ".",
|
||||||
|
"rootDir": "./src",
|
||||||
|
"outDir": "./dist",
|
||||||
|
"composite": true,
|
||||||
|
"paths": {
|
||||||
|
"@esotericsoftware/spine-core": ["../../spine-core/src"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"include": ["**/*.ts", "../ts-defs/**/*.d.ts"],
|
||||||
|
"exclude": ["dist/**/*.d.ts", "example/**/*.ts"],
|
||||||
|
"references": [
|
||||||
|
{
|
||||||
|
"path": "../../spine-core"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@ -22,13 +22,13 @@
|
|||||||
"strict": true
|
"strict": true
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.ts", "ts-defs/**/*.d.ts", "spine.d.ts"],
|
"include": ["src/**/*.ts", "ts-defs/**/*.d.ts", "spine.d.ts"],
|
||||||
"exclude": ["dist/**/*.d.ts"],
|
"exclude": ["dist/**/*.d.ts", "spine-construct3-lib/**/*"],
|
||||||
"references": [
|
"references": [
|
||||||
{
|
{
|
||||||
"path": "../spine-core"
|
"path": "../spine-core"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "../spine-construct3-lib"
|
"path": "./spine-construct3-lib"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
"path": "./spine-construct3"
|
"path": "./spine-construct3"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "./spine-construct3-lib"
|
"path": "./spine-construct3/spine-construct3-lib"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "./spine-webgl"
|
"path": "./spine-webgl"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user