Commit Graph

48 Commits

Author SHA1 Message Date
Jeshurun Hembd 308e9c73d1
Merge branch 'core-math' into core-math-cleanup 2025-12-16 14:50:31 -05:00
Jeshurun Hembd 97536394de Clean up build scripts and exports 2025-12-16 14:24:30 -05:00
Don McCurdy 35cdbb614c fix 'npm run build-docs' 2025-12-16 14:20:29 -05:00
Don McCurdy aff91d0700 Fix missing entries in core-math and core-utils index.js generation 2025-12-16 13:50:08 -05:00
jdehorty 9d42bd969c Add externalResolvePlugin to bundleSpecs for proper import resolution
deploy / deploy (push) Has been cancelled Details
- Integrated externalResolvePlugin in the build process for spec-main.js and karma-main.js to handle imports from @cesium/* packages.
- Ensured that the plugin is also applied when bundling the main spec list file.
2025-12-16 12:35:00 -05:00
Jeshurun Hembd 059de096c0
Merge branch 'core-math' into justin/core-math 2025-12-16 11:50:49 -05:00
Jeshurun Hembd 47ba703cd5 Fix build for new packages 2025-12-16 11:44:25 -05:00
jdehorty bfc3f4f951 Merge core-utils package and refactor imports
Merge upstream/core-math branch to introduce @cesium/core-utils package
and update all imports to use the new package structure.

Changes:
- Add @cesium/core-utils package with utility types:
  Check, defined, DeveloperError, Frozen, RuntimeError
- Update @cesium/core-math to depend on @cesium/core-utils
- Migrate 775 files in engine package to import from @cesium/core-utils
- Update build.js to re-export core-utils types in engine and Cesium bundles
- Fix Source/index.js exports in both packages to use named exports

Test results:
- core-math: 1112 tests passed
- engine: 14614 tests passed

This completes Track 1.5 (core-utils merge) of Project Buildology.
2025-12-16 11:39:26 -05:00
jdehorty 2877dbfebb Integrate core-math package with engine build system
Update build infrastructure to support the new @cesium/core-math package
as a workspace dependency of @cesium/engine.

Build system changes (scripts/build.js):
- Add core-math re-exports to engine's generated index.js
- Add core-math exports to Source/Cesium.js for test bundling
- Add buildCoreMath function for workspace-specific builds

Engine integration:
- Add @cesium/core-math as workspace dependency
- Migrate 350+ import statements from relative paths to @cesium/core-math
- Update test specs to import engine types (Quaternion, HeadingPitchRoll)

Migration tooling:
- Add scripts/migrate-core-math-imports.js for automated import updates

Gulpfile updates for workspace-aware build tasks.
2025-12-16 11:09:38 -05:00
jjspace 841a4cf12a
better tsc path and fix globby paths for windows 2025-11-07 17:20:46 -05:00
jjspace 26bb7275c3
build gallery to Build dir for production deployments 2025-11-03 14:48:24 -05:00
jjspace 22df371dda
extract gulp tasks to help avoid dynamic imports 2025-10-27 14:13:45 -04:00
jjspace 8b212bd7b5
rebuild package bundles in dev server 2025-10-27 12:12:33 -04:00
jjspace b478c3fb63
rename arguments and functions for clarity 2025-10-24 15:26:49 -04:00
jjspace ba045e7e77
convert to options params for clarity 2025-10-23 13:22:55 -04:00
jjspace da2dd8a942
update function names 2025-10-20 17:22:15 -04:00
jjspace aaf4ae1bd1
move and trim build config 2025-10-07 13:15:20 -04:00
jjspace c708661860
Merge remote-tracking branch 'origin/main' into sandcastle-build-updates 2025-10-03 13:04:58 -04:00
jjspace 1bd41e93cc
further isolate sandcastle build process 2025-09-29 16:08:45 -04:00
Marco Zhan 467cbacc23 fix removePragmas command line argument and honour removePragmas in the bundleWorker flow 2025-09-26 12:50:13 +08:00
jjspace 5630ccf954
Use proper URLs for import statements 2025-09-23 16:25:50 -04:00
jjspace 2fcefac82f
make sure imports are strings 2025-09-23 16:16:23 -04:00
Marco Hutter 4aab5650d9 Use proper URLs for import statements 2025-09-23 21:47:06 +02:00
jjspace f490f639ad
central sandcastle build function, bundle esm packages 2025-09-19 11:29:55 -04:00
Gabby Getz 4565c79daf
Update scripts/build.js
Co-authored-by: jjspace <8007967+jjspace@users.noreply.github.com>
2025-09-17 17:08:37 -04:00
ggetz 98af371581 Sandcastle gallery build path fix 2025-09-04 17:13:07 -04:00
ggetz 027b6352fb Fixup makezip build 2025-09-02 20:49:57 -04:00
ggetz 150fc4a42c Build from root 2025-08-28 23:15:59 -04:00
jjspace 567d92ee70
merge gallery build scripts 2025-07-21 16:17:40 -04:00
jjspace 7381646229
document gallery structure, support development only sandcastles 2025-06-13 12:26:53 -04:00
jjspace 11d39ee584
relocate gallery 2025-06-06 17:59:46 -04:00
jjspace 1dcbbd9c16
integrate gallery build script more 2025-06-06 15:49:32 -04:00
jjspace 55d6daebae
we only care about GH CI 2025-05-08 11:57:17 -04:00
jjspace 0e4f033c24
only set up playwright when not in CI 2025-05-07 13:52:05 -04:00
jjspace 8427f4bec2
run prettier on scripts 2025-04-25 14:17:23 -04:00
ggetz 30f592eb78 Handle added files on dev server, don't crash server on error 2024-10-09 11:32:25 -04:00
Gabby Getz 3b5d30b306 Merge branch 'main' into update-eslint 2024-05-28 12:51:36 -04:00
Gabby Getz 50663838c1 encoding: false 2024-05-14 10:58:38 -04:00
Gabby Getz 849ac88f2f Update to gulp 5 2024-05-03 13:08:26 -04:00
Gabby Getz 07948fbbd2 Update to eslint 9 and cesium-config-eslint 11 2024-05-02 14:20:39 -04:00
Josh 1b6f3cdd42
don't copy .d.ts files with other assets 2024-04-17 10:41:37 -04:00
Josh d9f437b66b remove externals from build scripts 2024-01-19 12:11:32 -05:00
Gabby Getz bc979f7ec3 Merge branch 'main' into github-actions 2023-10-24 13:17:39 -04:00
Gabby Getz c45b4c21b7 Merge branch 'main' into worker-inline 2023-09-28 10:02:25 -04:00
Gabby Getz 879fd30f9a Cleanup server.js 2023-09-14 15:56:25 -04:00
Gabby Getz 75c9646e76 Unify cesium.com and development deployment code 2022-10-05 12:31:17 -04:00
Sanjeet Suhag feaa1b896e Sets deploy.sh as executable from macOS 2022-10-03 11:31:04 -04:00
Sanjeet Suhag b4cf26cbe6 Moves deploy scripts to separate repository 2022-10-03 11:14:17 -04:00