Commit Graph

641 Commits

Author SHA1 Message Date
Jeshurun Hembd 1a7c59a4e5 Update rimraf 2023-02-01 10:18:14 -05:00
Jeshurun Hembd 71908d4195 Update mkdirp 2023-02-01 10:14:40 -05:00
Jeshurun Hembd 8f0a65f844 Update markdownlint-cli 2023-02-01 10:12:00 -05:00
Gabby Getz 8f8b95bf23 Merge branch 'main' into readme-revision 2023-01-20 13:19:57 -05:00
Gabby Getz 563476d178 Updates for 1.101 release 2023-01-02 13:32:21 -05:00
Gabby Getz 9f7c5b1160 Rollback rollup for compatability with plugins 2022-12-16 11:17:12 -05:00
Gabby Getz e481f61488 Update aws sdk 2022-12-16 10:40:55 -05:00
Gabby Getz 37c81d44a9 Update esbuild 2022-12-16 10:39:46 -05:00
Gabby Getz 148e213cfb update globby 2022-12-16 10:31:41 -05:00
Gabby Getz bb4eb6f5ac Update husky 2022-12-16 10:18:43 -05:00
Gabby Getz c13b728a1d Update eslint 2022-12-16 10:16:39 -05:00
Gabby Getz 6219c4e344 Update typescript 2022-12-16 10:14:19 -05:00
Gabby Getz 65fed36e18 Update karma runners 2022-12-16 10:11:22 -05:00
Gabby Getz 570ac8692f Update markdowncli 2022-12-16 09:44:47 -05:00
Gabby Getz eeb73c310b Update rollup 2022-12-16 09:22:25 -05:00
Gabby Getz 7047efe78a Cleanup images, spelling 2022-12-14 09:55:08 -05:00
Gabby Getz 8f80885186 markdownlint 2022-12-09 12:54:34 -05:00
Sanjeet Suhag 6f55de9bab Ion.js, CHANGES.md and package.json changes for 1.100 2022-12-01 09:53:00 -05:00
Gabby Getz 93e5ba061b README updates 2022-11-09 14:01:29 -05:00
Sanjeet Suhag aaf6bd8a5c Adds engine and widgets workspaces 2022-11-01 15:39:57 -04:00
Gabby Getz d3d2755ebc Updates for 1.99 release 2022-11-01 10:24:44 -04:00
Gabby Getz 75c9646e76 Unify cesium.com and development deployment code 2022-10-05 12:31:17 -04:00
Sanjeet Suhag d9eeb18af9 Updates package version to 1.98.1 2022-10-03 15:31:00 -04:00
Sanjeet Suhag 99149a9d68 Updates for 1.98 release 2022-10-03 12:29:58 -04:00
Gabby Getz 7d781ea6c6 Update packages, cjs -> esm 2022-09-08 12:43:28 -04:00
Gabby Getz aef65946f6 Update npm dependencies 2022-09-06 09:17:44 -04:00
Gabby Getz 1997a57c1d dependency updates 2022-09-02 13:07:51 -04:00
Gabby Getz e0500309b8 Updates for 1.97 release 2022-09-01 10:48:00 -04:00
Gabby Getz 82f31d7833
Merge branch 'main' into export-non-js 2022-08-31 09:34:21 -07:00
Gabby Getz 06fa2e10b9 Include Specs in sideEffects for esbuild 2022-08-23 13:19:48 -04:00
Gabby Getz 57bf2efe40 Add sideEffects field to package.json 2022-08-22 16:14:53 -04:00
Gabby Getz 6706e1bb4e Allow imports of non-js static files 2022-08-22 14:06:16 -04:00
Gabby Getz aef4d38e5c Fix for NodeJS with ESM modules 2022-08-16 15:51:23 -04:00
Janine Liu fc4f4e4111 Rename / remove animation classes 2022-08-04 15:59:58 -04:00
Gabby Getz b173c1be0f Update deprecated tween usage 2022-08-02 14:58:26 -04:00
Sanjeet Suhag bac00332b0 Updates package.json, Ion.js and CHANGES.md for version 1.96.0 2022-08-01 15:29:54 -04:00
Sanjeet Suhag 4b0245eec8 Update earcut version to latest 2022-07-25 13:31:19 -04:00
Sam Suhag 47f82fc1b0
Merge pull request #10583 from CesiumGS/scripts
Pare down build scripts; naming consistancy
2022-07-22 14:52:27 -04:00
Sanjeet Suhag d60be6f043 Adds markdown files to pre-commit prettier hook 2022-07-22 13:21:33 -04:00
Gabby Getz eba8a84f81 Merge branch 'main' into build-scripts 2022-07-21 09:47:58 -04:00
Gabby Getz 37146f49bc Pare down build scripts; naming consistancy 2022-07-21 09:18:22 -04:00
Gabby Getz 513a14e728
Merge branch 'main' into protobuf-7-0-0 2022-07-20 08:59:35 -04:00
Gabby Getz ee169eb971 Mark true dependencies as such, update CHANGES.md with explicit bundler requirement 2022-07-19 15:59:51 -04:00
Sanjeet Suhag d19bf5d8d8 Updates protobuf version to 7.0.0 2022-07-18 18:20:29 -04:00
Gabby Getz 0a19ae3601 Merge branch 'main' into build 2022-07-13 13:50:38 -04:00
Gabby Getz 747a4adf1c Just-in-time build 2022-07-11 15:39:36 -04:00
Gabby Getz 5f1cac325d Merge branch 'main' into build-scripts 2022-07-08 15:45:38 -04:00
Sanjeet Suhag a03aa5c01b Updates eslint version 2022-07-06 14:33:38 -04:00
Sanjeet Suhag 48601acb56 Merge branch 'main' of https://github.com/CesiumGS/cesium into eslint-test 2022-07-06 12:30:21 -04:00
Gabby Getz 8bc8355d6f Remove worker changes 2022-07-06 11:25:36 -04:00
Gabby Getz e6b37c16dc Update ThirdParty.json to reflect new version 2022-07-01 11:28:14 -04:00
Gabby Getz b669757da4 Updates for 1.95 release 2022-07-01 09:48:18 -04:00
Sanjeet Suhag 2c16bda9b8 Updates to latest eslint-config-cesium 2022-06-24 09:43:03 -04:00
Gabby Getz 213cdfcb34 Rollback script naming changes 2022-06-22 15:33:04 -04:00
Gabby Getz 9905c123f4 Merge branch 'main' into build 2022-06-22 11:34:12 -04:00
Jeshurun Hembd 36be7b412b Import prism files from npm 2022-06-16 14:13:05 -04:00
Gabby Getz 8d7faae3f3 Merge branch 'main' into build 2022-06-15 14:50:52 -04:00
Gabby Getz 318c276c45 Cleanup rollup dependencies 2022-06-14 10:34:59 -04:00
Gabby Getz 4b0b31bb20 Merge branch '1.94.3-release' into main 2022-06-13 09:24:09 -04:00
Gabby Getz 2d96f0e272 Updates for 1.94.3 release 2022-06-10 15:56:44 -04:00
Janine Liu 86ca4b3056 Merge with main 2022-06-08 16:21:13 -04:00
Sanjeet Suhag 9428c2a2fc Changes lint-staged command to prettier instead of pretty-quick 2022-06-08 10:21:02 -04:00
Janine Liu 5ae753463e Merge with main 2022-06-07 15:06:33 -04:00
Gabby Getz 1f99b624e9 Cleanup 2022-06-06 12:28:27 -04:00
Gabby Getz 867ab1acdd Cleanup documentation 2022-06-06 11:47:09 -04:00
Gabby Getz 4ecefb5973 Merge branch 'main' into build 2022-06-06 11:34:36 -04:00
Gabby Getz 634f0f6c6e
Merge pull request #10428 from CesiumGS/lint-hooks
Adds eslint and markdownlint to pre-commit hook
2022-06-06 10:27:39 -04:00
Sanjeet Suhag 36327923a1 Runs eslint before prettier in pre-commit hook 2022-06-06 10:11:20 -04:00
Gabby Getz 74dac36b6b Merge branch '1.94.2-release' into main 2022-06-03 15:07:58 -04:00
Gabby Getz 3a28262bbb Update for 1.94.2 release 2022-06-03 15:00:39 -04:00
Sanjeet Suhag 7594421ce7 Utilizes lint-staged for pre-commit hook 2022-06-03 14:31:13 -04:00
Gabby Getz 445744e3f9
Merge pull request #10411 from CesiumGS/markdown-lint
Adds markdownlint
2022-06-03 14:03:25 -04:00
Gabby Getz bfa1479ac3 1.94.1 updates 2022-06-03 13:33:23 -04:00
Sanjeet Suhag 79562ba016 Merge branch 'main' of https://github.com/CesiumGS/cesium into markdown-lint 2022-06-03 11:05:09 -04:00
Gabby Getz f409126287
Merge pull request #10412 from CesiumGS/karma-config-upgrade
Upgrade to Karma v6.3.20
2022-06-02 12:31:18 -04:00
Gabby Getz 7ac3fd09e0 coverage 2022-06-02 11:24:07 -04:00
Sanjeet Suhag 9ddf451a83 Upgrades package.json to version 1.94.0, updates Ion token for 1.94.0 release. 2022-06-01 12:10:45 -04:00
Sanjeet Suhag 64cd0cd468 Enables markdownlint on root files except README, CHANGES and LICENSE 2022-05-31 16:51:18 -04:00
Sanjeet Suhag 8990cf4c45 Upgrades to Karma v6.3.20 2022-05-31 12:53:20 -04:00
Sanjeet Suhag 39164357e0 Adds markdownlint 2022-05-31 09:50:32 -04:00
Gabby Getz 44b9610b40 karma specs and coverage 2022-05-27 10:42:45 -04:00
Gabby Getz f6cf110957 clean up gulp tasks and naming 2022-05-25 14:35:38 -04:00
Gabby Getz eb60fbf46a cleanup build tasks 2022-05-25 14:20:47 -04:00
Gabby Getz 355dd42838 Updated build process 2022-05-24 08:54:14 -04:00
Gabby Getz ff559c7109 build workers, third party, and combine with eslint 2022-05-11 16:53:41 -04:00
Sam Suhag 50752a47b1
Merge pull request #10295 from CesiumGS/third-party
ThirdParty.json
2022-05-05 09:57:49 -04:00
Gabby Getz 2eda8540f0 Add build-third-party task 2022-05-04 16:13:18 -04:00
Gabby Getz e8598a0f4a 1.93 release updates 2022-05-02 09:16:48 -04:00
Eli Bogomolny bc9e834b2c Remove customEqualityTester arguments 2022-04-05 13:35:51 -04:00
Sanjeet Suhag a02b1a0762 Updates to version 1.92.0 2022-04-01 16:01:14 -04:00
Gabby Getz 31c154a299 Remove when.js and replace with native promises
There were a few areas in Source where a function was assumed to be executed synchronously when a function was resolved. Native Promises however, by spec, will resolve at the end of a frame. There were also some strange handling of promise rejection in imagery providers that I cleaned up a bit in order to make them testable.

- In LabelCollection and EntityCluster, order of execution adjustment where made.
- Added TextureAtlas.addImageSync to support the order of execution fix in LabelCollection
- ArcGisMapServerImageryProvider.readyPromise will not reject if there is a failure unless the request cannot be retried.
- SingleTileImageryProvider.readyPromise will not reject if there is a failure unless the request cannot be retried.

The majority of the changes lie in the Specs, where unresolved promises weren’t being awaited before finishing executions, and where resolved promises are assumed to be synchronous all over the place and needed a good amount of fixes. Another issue which came up was calling Promise.reject in the body of a spec can cause node to halt execution when running via the command line.
2022-03-16 09:38:39 -04:00
Eli Bogomolny 999ee4e6b8 1.91 release updates 2022-03-01 10:02:44 -05:00
Eli Bogomolny c497cdb4d2 Add back quantization 2022-02-22 17:01:42 -05:00
Gabby Getz a11b14cab7 1.90 release updates 2022-02-01 13:57:02 -05:00
Gabby Getz 87fe04415e
Merge pull request #9774 from yukinoda/ci/husky-upgrade
ci: Husky Upgrade from `4.3.8` to `7.0.2`
2022-01-20 09:49:46 -05:00
Eli Bogomolny 3ff462d550
Revert "Lock colors to 1.4.0" 2022-01-10 16:01:26 -05:00
Eli Bogomolny bb660e8cc5 Lock colors to 1.4.0 2022-01-10 12:26:18 -05:00
Eli Bogomolny 12bf7f83f6 Update for 1.89 release 2022-01-03 15:37:40 -05:00
Sanjeet Suhag fbc3f975b6 1.88 package.json 2021-12-01 14:15:52 -05:00
Sanjeet Suhag 185c6effa9 1.88 package and Ion token update 2021-12-01 14:14:48 -05:00
Sanjeet Suhag c199b8bde3 Revert "Upgrades package to 1.88.0, updates Ion token"
This reverts commit e190e8aa0f.
2021-12-01 13:46:51 -05:00
Sanjeet Suhag e190e8aa0f Upgrades package to 1.88.0, updates Ion token 2021-12-01 12:44:28 -05:00
Eli Bogomolny 9ebeea21ac Update package.json version 2021-11-09 13:39:24 -05:00
Eli Bogomolny 3831cb9ff1 Update for 1.87 release 2021-11-01 14:39:24 -04:00
Eli Bogomolny 51e724f962 Update to 2.3.12 2021-10-27 15:13:46 -04:00
Eli Bogomolny e6b2793b25 1.86.1 package.json and CHANGES.md updates 2021-10-15 11:35:01 -04:00
Eli Bogomolny 56ac035357
Merge pull request #9828 from CesiumGS/terser
Switch from uglify to terser
2021-10-05 19:07:35 -04:00
Eli Bogomolny cd144b360c Update Ion.js token, CHANGES.md, and package.json for 1.86.0 release 2021-10-01 11:26:27 -04:00
Eli Bogomolny 53d112e271 use prepare instead of postinstall 2021-10-01 09:56:16 -04:00
Eli Bogomolny 811584e7ff postinstall to copy files from node_modules 2021-09-28 13:36:57 -04:00
Matthew Amato 4fc197f62e Switch from uglify to terser 2021-09-24 08:02:13 -04:00
yukinoda bc03fe0eeb Revert "executed npm audit fix"
This reverts commit 73e8c2cbe3.
2021-09-22 17:25:43 +09:00
yukinoda 73e8c2cbe3 executed npm audit fix 2021-09-22 16:57:11 +09:00
yukinoda d934f151bc upgrade husky version 2021-09-22 16:55:46 +09:00
yukinoda 6f64ca2642 fix CI issue with duplicated prepare script 2021-09-03 13:55:28 +09:00
Yuki Noda bf6b1ca5e7
Merge branch 'main' into ci/husky-upgrade 2021-09-03 12:03:28 +09:00
Peter Gagliardi a020656976 Merge branch 'main' of github.com:CesiumGS/cesium into main 2021-09-01 16:25:27 -04:00
ebogo1 b0625508fb PR feedback 2021-09-01 15:01:13 -04:00
ebogo1 26716a82e1 Merge remote-tracking branch 'origin/main' into draco-prepare 2021-09-01 13:40:40 -04:00
Peter Gagliardi c0c0017862 Merge branch 'main' of github.com:CesiumGS/cesium into main 2021-09-01 13:15:04 -04:00
ebogo1 a1441494f6 First pass with npm prepare 2021-09-01 09:04:06 -04:00
Peter Gagliardi 2688bae4b6 Update Ion.js, CHANGES.md and package.json 2021-09-01 08:52:23 -04:00
yukinoda 9b8e4e96a6 husky upgrade 2021-08-31 21:24:57 +09:00
ebogo1 4ed739465e Merge remote-tracking branch 'origin/main' into uri-js 2021-08-29 11:51:13 -04:00
ebogo1 edefb597b3 add meshoptimizer npm module 2021-08-27 11:13:34 -04:00
ebogo1 0d2b579786 Merge remote-tracking branch 'origin/npm-third-party-staging' into uri-js 2021-08-23 13:05:59 -04:00
Matthew Amato 974bb42a99 Use protobufjs from npm
Locked to version 6.7.0 since that is the version we are already using and
updating it requires additinal work because of the use of util.lazyResolve
in the GoogleEarthEnterpriceMetadata root parser code.
2021-08-22 15:08:43 -04:00
ebogo1 a5d7070f26 first pass 2021-08-18 23:18:11 -04:00
Sean Lilley 2ccf0fdb2f
Merge branch 'main' into npm-third-party-staging 2021-08-02 21:13:17 -04:00
srothst1 ffcc025a9e updated CHANGES.md, ion.js, and package.json 2021-08-02 13:38:42 -04:00
ebogo1 74b874a73f Merge remote-tracking branch 'origin/main' into npm-third-party-staging 2021-08-01 12:00:17 -04:00
ebogo1 65f59241e3 zip.js in exportKml 2021-07-26 17:05:12 -04:00
ebogo1 4012e2e6bb ktx-parse to npm 2021-07-23 16:34:05 -04:00
ebogo1 e1228598c8 add npm packages pt 1 2021-07-20 17:15:17 -04:00
Sean Lilley fe8fec2d51 master -> main 2021-07-16 19:01:30 -04:00
ebogo1 73e00e1e91 Merge remote-tracking branch 'origin/master' into npm-third-party-staging 2021-07-15 11:31:02 -04:00
ebogo1 52ed1012bc Update Ion token, CHANGES.md, and package.json version 2021-07-01 17:54:56 -04:00
Sean Lilley 61559cd2ac Downgrade husky 2021-06-23 09:19:56 -04:00
Sean Lilley 931593c801 Downgrade karma 2021-06-22 13:54:30 -04:00
Sean Lilley 22b347b0a3 Update husky from 4 to 6 2021-06-21 22:46:59 -04:00
Sean Lilley 8dfd3f1258 Update packages 2021-06-21 22:34:56 -04:00
Matthew Amato 540cac6a58 Bump version to 1.82.1 to fix improperly published 1.82.0
Also fix bad version for loadCRN/loadKTX deprecations.
2021-06-01 18:03:38 -04:00
Samuel Vargas 80ceefef2e
Update Ion token, update version to 1.82 2021-06-01 15:34:12 -04:00
Matthew Amato 829ca79d38 Update version, ion token, and CHANGES for 1.81 release. 2021-05-03 09:33:50 -04:00
Matthew Amato f594b3c99b Start of replacing submitted third party libraries with npm modules
Rather than submit libraries to Source/ThirdParty, which always end up
being modified for our build system and quickly go out of date, this
change starts to use libraries via npm instead. Currently Autolinker,
earcut, when, tween.js, rbush, kdbush, quickselect, and topojson are
ported.

The main hurdle that prevented us from doing this sooner was the fact that
Cesium has a long history of not requiring a build step after every code
change and has a goal of writing valid JS code, unlike many libraries today
 that mandate a bundler to turn invalid JS code into valid code.

Rather than mandate a bundler during development, this initial step adds a
"buildThirdyParty" function to the current "build" step. This function runs
third party libraries (defined in the ThirdParty/npm/ folder) through
RollUp and creates an equivalent file in `Source/ThirdPartyNpm`.

The change to end users will be non-existent, especially since the combined
Cesium.js will still re-export any third party modules as part of the
private API just like it used to.

This doesn't prevent code duplication for users using some of the same
third party libraries as Cesium. This is just an improvement as to how
depend on third party libraries internally.

I think Cesium's days of being "bundler free" are probably limited long
term, performance is the main hurdle and newer tools like esbuild may make
that no longer a problem. But that's outside the scope of this initial
goal.
2021-04-11 15:02:36 -04:00
hpinkos fc926f5a0d update for release 2021-04-01 15:42:32 -04:00
Kevin Ring c5db0d038f Bump version to 1.79.1. 2021-03-02 10:25:58 +11:00
Kevin Ring 528813ceb3 Updates for 1.79 release. 2021-03-01 18:02:07 +11:00
Kevin Ring 25585356e8 Merge remote-tracking branch 'origin/master' into eslint-gulpfile 2021-03-01 08:57:44 +11:00
Ian Lilley 85d9e19be0 prepare for 1.78 release 2021-02-01 12:43:21 -05:00