Commit Graph

347 Commits

Author SHA1 Message Date
James Chen 00cb328bee Add CocosRuntime platform config (#18395) 2025-03-03 14:08:54 +08:00
Max cc31bcc64e move @types/jest to dependencies (#18379)
Co-authored-by: zhiming.wu <zhiming.wu@cocos.com>
2025-02-26 18:46:41 +08:00
James Chen 905eb374dd Update ccbuild to 2.3.13 which supports to override constant values in feature definition. (#18319)
* Update ccbuild to 2.3.12 which supports to override constant values in feature definition.

* Update ccbuild to 2.3.13
2025-02-12 14:07:12 +08:00
James Chen 43053879e9 Update ccbuild to 2.3.10 (#18270) 2025-02-05 14:27:22 +08:00
James Chen 5428475dd8 [v3.8.6] Optimize code for optional chaining (#18219) 2025-01-21 10:17:41 +08:00
James Chen 11bc19fd1c [v3.8.6] Support to mangle static private properties (#18203) 2025-01-16 17:28:12 +08:00
James Chen 63ebf5ce20 [v3.8.6] Fix node._getUITransformComp not found on native platforms. (#18191)
* [v3.8.6] Fix node._getUITransformComp not found on native platforms.

* Update ccbuild to 2.3.5
2025-01-14 18:44:40 +08:00
James Chen 70d53ac9ca issue #18056: [v3.8.6] Support to mangle private properties. (#18087) 2024-12-27 18:54:22 +08:00
minggo 06ca5f5434 Update version (#17891)
* update version
2024-11-20 14:33:39 +08:00
James Chen d5556d5a52 Update ccbuild to 2.2.19 (#17870) 2024-11-18 11:41:37 +08:00
James Chen e4f317462b [v3.8.5] Fix wrong head commit id in web-interface-check.yml ci script. (#17827) 2024-11-08 18:38:58 +08:00
James Chen 75c9870fff [ci] Check package size for Pull Requests (#17739) 2024-10-18 17:53:58 +08:00
James Chen f4ccf3a8bb [v3.8.5] Support inline enum and mangle private variables to reduce engine size. (#17703) 2024-10-15 10:17:16 +08:00
James Chen a173cd6166 Revert "Bump rollup and @cocos/ccbuild (#17664)" (#17695)
This reverts commit 9fdf0fa316.
2024-10-10 14:38:00 +08:00
dependabot[bot] 9fdf0fa316 Bump rollup and @cocos/ccbuild (#17664)
Bumps [rollup](https://github.com/rollup/rollup) to 3.29.5 and updates ancestor dependency [@cocos/ccbuild](https://github.com/cocos/cocos-ccbuild). These dependencies need to be updated together.


Updates `rollup` from 2.79.1 to 3.29.5
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v3.29.5)

Updates `@cocos/ccbuild` from 2.2.11 to 2.2.13
- [Release notes](https://github.com/cocos/cocos-ccbuild/releases)
- [Changelog](https://github.com/cocos/cocos-ccbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cocos/cocos-ccbuild/compare/2.2.11...2.2.13)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
- dependency-name: "@cocos/ccbuild"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-10 13:57:46 +08:00
James Chen e2396b89c0 Update version to 3.8.5 (#17603) 2024-09-04 16:59:22 +08:00
媛媛 ecbcd20cb0 add dependentScripts to buitin-pipeline (#17379) 2024-07-17 16:08:44 +08:00
minggo 2f1ab9d90c change version to v3.8.4 (#17332) 2024-07-08 18:27:43 +08:00
James Chen 3520efd7b9 Remove typedoc-plugin (#17053) 2024-05-28 17:59:15 +08:00
James Chen 163d0e1d99 [v3.8.5] [Bug] Fix some definition errors, cherry-pick from #16471 (#17008)
* [Bug] Fix some definition errors

# Conflicts:
#	cocos/spine/lib/spine-core.d.ts
#	package.json

---------

Co-authored-by: Sijie <devhacker520@hotmail.com>
Co-authored-by: SijieWang <itharbors@outlook.com>
2024-05-20 14:05:26 +08:00
minggo 80294f7f78 Fix pool shrink (#16941)
* update engine version

* fix shrink logic error
2024-05-06 14:23:45 +08:00
James Chen 340e30d18c fixed #16594: getComponent() can't support abstract class. (#16917) 2024-04-22 16:41:40 +08:00
James Chen 7db7b125f8 fixed #16831: Error information is printed forever if there is an error is triggered in timer callback (#16833) 2024-03-28 11:42:17 +08:00
James Chen 75e6ea0cbf Update ccbuild to 2.2.9 (#16772) 2024-03-06 11:33:52 +08:00
James Chen bcd2669f83 Update ccbuild to 2.2.8 (#16767) 2024-03-04 16:14:53 +08:00
James Chen c32c66c511 Remove "@cocos/build-engine" module, its functionality was moved to "@cocos/ccbuild". (#16755)
* Remove "@cocos/build-engine" module, its functionality was moved to "@cocos/ccbuild".

* Remove scripts/build-engine directory.

* Update package.json

* Remove unused run-build-engine.yml file
2024-02-23 14:31:26 +08:00
James Chen 4db86876dd Update ccbuild to 2.2.3 and some minor fixes (#16698)
* Update ccbuild to 2.2.3 and some minor fixes

* Update package-lock.json
2024-01-23 16:19:34 +08:00
James Chen 75c6f6d16d fixed #16248: .wasm / .asm.js files are both downloaded on web platform (#16679) 2024-01-11 15:30:05 +08:00
James Chen 16382fa9e9 Fix wasm loading and remove unused code (#16676)
* Fix wasm loading and remove unused code

* Update package.json
2024-01-10 10:29:48 +08:00
minggo cc3a3d005a update engine version (#16590) 2023-12-12 10:19:06 +08:00
SijieWang c41807c4f6 [Optimize] Simplify workflow (#16503)
* [Optimize] Simplify workflow
2023-11-13 09:31:40 +08:00
SijieWang 09acafa72a [Optimize] Delete redundant workflow scripts (#16500) 2023-11-10 17:52:23 +08:00
James Chen ac83d7ebfc [v3.8.2] Update package.json, upgrade @cocos/build-engine to 4.4.3 (#16499)
Fix https://github.com/cocos/cocos-engine/issues/14801
2023-11-10 16:58:41 +08:00
James Chen daf1699b72 Update ccbuild to 2.0.3-alpha.18 (#16463) 2023-11-06 09:50:38 +08:00
SijieWang 88c3fdf082 Optimize workflow - typedoc and filename (#16455) 2023-10-31 15:41:36 +08:00
PP f7cf786e83 fix: gulp-build-h5-source (#16277)
* fix: gulp-build-h5-source

* update lock
2023-09-20 09:47:19 +08:00
PP 9daf2c663c upgrade nodejs to 18.17.0 (#15899)
* upgrade nodejs to 18.17.0

fix compile-native-ts

fix type

fix eslint

fix node version on native-binding

test native ci

fix eslint

fix jest version

upgrade ts-jest

fix

reduce EXPECTED_CAPACITY

update ccbuidl

Revert "test native ci"

This reverts commit 795c8c68cf7ff7f2561db4414689ad3f6aa5c1f7.

# Conflicts:
#	scripts/native-pack-tool/package-lock.json

* detect node version

# Conflicts:
#	package.json

* use engine-strict option

* Update .nvmrc

* Update pal/input/web/accelerometer-input.ts

* fix conflict

* fix compile native ts

* download external in compile native ts

* fix
2023-08-28 15:52:24 +08:00
mmyduckx 95acc35ab9 add some native feature for videoplayer (#16096)
* add some native feature for videoplayer

* fix review&clang-tidy

* update version
2023-08-25 14:23:37 +08:00
江战 9ce02b54aa use boost-bcp to reduce external size (#15770) 2023-07-20 10:21:41 +08:00
Leslie Leigh (李的序) f26e2c4326 Upgrade eslint, relax eslint rule explicit-function-return-type (#15723)
* Upgrade eslint, relax explicit-function-return-type

* Update .eslintrc.yaml

Co-authored-by: PP <chinese1236@qq.com>

---------

Co-authored-by: PP <chinese1236@qq.com>
2023-07-14 13:42:14 +08:00
PP 509d73b27d merge branch v3.8.0-aot (#15421)
* PR1: add explicit function return type (#15311)

* PR4: add explicit function return type (#15314)

* [ci skip][AUTO]: Automated code generating update: 8843bfe54cd3f8e6f84432948716c8d130ecb233  (#15314) (#15357)

Co-authored-by: cocos-robot <cocos-robot@cocos.com>

* add function return type

* fix version checking

* fix return type

---------

Co-authored-by: Cocos Robot <48829427+cocos-robot@users.noreply.github.com>
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-13 18:08:45 +08:00
Yiwen 78c87a09d2 add new features to 3d hinge constraint (#14447)
* add new features to 3d hinge constraint
1. angular limit
2. angular drive

* add missing file

* fix native and bullet parameter error, tune parameters

* clean code

* update package and package lock

* stage

* update

* fix interface

* fix api, improve perf

* fix unit conversion

* fix unit conversion

* sync physx behavior
2023-05-18 16:36:23 +08:00
PP 4811334259 fix: wasm loading in editor native engine && fix gulp build (#15012)
* fix: wasm loading in editor native engine

* fix: gulp build workflow
2023-05-10 13:46:45 +08:00
PP 0b353b6e14 feat: support general WASM module in engine (#14974)
* support pal/wasm module

pal/wasm

* support sys.Feature.WASM and WASM_SUPPORT_MODE

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

* optimize bullet module


* update physx module

update

* revert tsconfig

* optimize WebGPU wasm import

* fix native wasm instantiate

* support wasm in EDITOR and PREVIEW

* optimize variable name

* update comment

* optimize code

* Update cocos/misc/webassembly-support.ts

* add physx wasm (#11) by yiwenxue

* add physx wasm

* update physx wasm instantiate.

* update, rename, etc.

* download external in CI

* fix physX wasm init

* move out external wasm type

* update external-config.json

* expand node max-old-space-size

* use console.debug

---------

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2023-05-08 18:02:17 +08:00
mmyduckx 986adb6414 [Feature] workflow add clear-cache.js (#14924)
* add clear-cache.js

* delete from .gitignore file
2023-05-06 19:06:38 +08:00
PP 55dde0c1d7 support native ts build on CI to detect native type (#14629)
* support native ts build

* ban noImplicitAny
2023-03-22 15:40:02 +08:00
pandamicro 89a7f644cf Merge branch 'v3.7.2' into develop
# Conflicts:
#	cocos/core/global-exports.ts
#	cocos/core/math/quat.ts
#	native/cocos/cocos-version.h
#	package.json
2023-02-13 18:00:41 +08:00
minggo f74ab840b9 update package description (#14128) 2023-02-02 14:34:21 +08:00
minggo 05dd06d337 update engine version (#14127) 2023-02-02 14:17:12 +08:00
pandamicro 897e35b3e0 Remove legacy cocos2d changelog and fix ui image in readme (#14090)
* Remove legacy cocos2d changelog and fix ui image in readme

* Bump to 3.8
2023-01-18 16:46:03 +08:00