mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 17:42:41 +08:00
7ef995b655
Conflicts: cocos/3d/lights/spot-light-component.ts cocos/animation/event/event-emitter.ts cocos/physics-2d/box2d/physics-contact.ts cocos/physics-2d/box2d/physics-world.ts cocos/physics-2d/box2d/platform/physics-contact-listener.ts cocos/physics-2d/builtin/builtin-world.ts cocos/physics/framework/components/constraints/configurable-constraint.ts cocos/spine/assembler/simple.ts cocos/spine/skeleton.ts native/cocos/editor-support/spine-wasm/spine-model.cpp native/cocos/editor-support/spine-wasm/spine-model.h native/cocos/editor-support/spine-wasm/spine-skeleton-instance.cpp native/cocos/editor-support/spine-wasm/spine-skeleton-instance.h native/cocos/editor-support/spine-wasm/spine-type-export.cpp native/external-config.json
compatibility-info.json
This file is used to declare the compatibility of template files with previous versions.
Example:
{
// include all supported native platforms, such as windows, ios, android, mac etc.
"native": // required
{
"default": ">=3.6.0", // required, applied if any specific platform value is not provided
"windows": VERSION_RANGE // optional, supported version for Windows
"mac": VERSION_RANGE // optional, supported version for Mac
"ios": VERSION_RANGE // optional, supported version for iOS
"android": VERSION_RANGE // optional, supported version for Android
}
}
The VERSION_RANGE syntax examples
Simple conditions
>=3.6.0>3.5.1<3.5.1<=3.5.13.3.2, specify version!3.5.0, excluded version
Composite conditions
The space is the 'AND' operation, and the '||' is the 'OR' operation
>=3.6.0 <3.7.03.4.2 || >= 3.6.0>=3.4.0 !3.4.2 <3.5.0 || 3.6.0
Wildcard conditions
3.xis equivalent to>=3.0.0 <4.0.03.4.xis equivalent to `>= 3.4.0 <3.5.0