-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'CesiumGS:main' into main
- Loading branch information
Showing
1,663 changed files
with
68,247 additions
and
60,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
cesium | ||
engine | ||
widgets | ||
playwright | ||
test | ||
chokidar | ||
cloc | ||
compression | ||
esbuild | ||
eslint | ||
config | ||
plugin | ||
html | ||
express | ||
globals | ||
globby | ||
glsl | ||
strip | ||
comments | ||
gulp | ||
clean | ||
css | ||
insert | ||
rename | ||
replace | ||
tap | ||
zip | ||
husky | ||
istanbul | ||
lib | ||
instrument | ||
jasmine | ||
core | ||
jsdoc | ||
karma | ||
chrome | ||
launcher | ||
coverage | ||
detect | ||
browsers | ||
edge | ||
firefox | ||
ie | ||
longest | ||
reporter | ||
safari | ||
sourcemap | ||
loader | ||
spec | ||
markdownlint | ||
cli | ||
merge | ||
stream | ||
mkdirp | ||
node | ||
fetch | ||
open | ||
prettier | ||
prismjs | ||
request | ||
rimraf | ||
sinon | ||
tsd | ||
typescript | ||
yargs | ||
tweenjs | ||
tween | ||
autolinker | ||
bitmap | ||
sdf | ||
dompurify | ||
draco3d | ||
earcut | ||
grapheme | ||
splitter | ||
jsep | ||
kdbush | ||
ktx | ||
parse | ||
lerc | ||
mersenne | ||
twister | ||
meshoptimizer | ||
pako | ||
protobufjs | ||
rbush | ||
topojson | ||
client | ||
urijs | ||
nosleep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { readFileSync, writeFileSync } from "fs"; | ||
import path from "path"; | ||
import { fileURLToPath } from "url"; | ||
|
||
// inspired by code in https://github.com/streetsidesoftware/cspell/issues/3215 | ||
// this file just generates the word list file in this directory that contains | ||
// all our dependecy package names | ||
|
||
const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file | ||
const __dirname = path.dirname(__filename); // get the name of the directory | ||
|
||
const packageJsons = [ | ||
path.join(__dirname, "../package.json"), | ||
path.join(__dirname, "../packages/engine/package.json"), | ||
path.join(__dirname, "../packages/widgets/package.json"), | ||
]; | ||
const words = packageJsons.reduce((acc, packageJsonPath) => { | ||
const packageJson = JSON.parse(readFileSync(packageJsonPath, "utf-8")); | ||
const packageNames = Object.keys(packageJson.dependencies ?? {}).concat( | ||
Object.keys(packageJson.devDependencies ?? {}), | ||
); | ||
// remove the @ org symbol and dashes to get just words in package names | ||
const setOfWords = packageNames | ||
.flatMap((name) => name.replace(/[@]/g, "").split(/\/|\-/)) | ||
.map((word) => word.replace(".js", "")); | ||
setOfWords.forEach((word) => acc.add(word)); | ||
return acc; | ||
}, new Set()); | ||
|
||
// if https://github.com/streetsidesoftware/vscode-spell-checker/issues/3002 | ||
// ever gets addressed this can be used to auto-generate the list of package names | ||
// to pass to cspell directly. Right now it works in the CLI but not in the extension | ||
writeFileSync("./cspell-packages.txt", Array.from(words).join("\n")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
// Place your workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | ||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | ||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | ||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | ||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | ||
// Placeholders with the same ids are connected. | ||
// Example: | ||
// "Print to console": { | ||
// "scope": "javascript,typescript", | ||
// "prefix": "log", | ||
// "body": [ | ||
// "console.log('$1');", | ||
// "$2" | ||
// ], | ||
// "description": "Log output to console" | ||
// } | ||
"Debug Pragma": { | ||
"scope": "javascript", | ||
"prefix": "pragdebug", | ||
"description": "Insert or wrap selection with debug pragma comments", | ||
"body": [ | ||
"//>>includeStart('debug', pragmas.debug);", | ||
"${TM_SELECTED_TEXT}$0", | ||
"//>>includeEnd('debug')" | ||
] | ||
}, | ||
"Check type": { | ||
"prefix": "check", | ||
"body": [ | ||
"Check.typeOf.${2:string}(\"${1:value}\", ${1:value});" | ||
], | ||
"description": "Check Type of a variable" | ||
}, | ||
"Check type if defined": { | ||
"prefix": "checkifdef", | ||
"body": [ | ||
"if (defined(${1:value})) {", | ||
" Check.typeOf.${2:string}(\"${1:value}\", ${1:value});", | ||
"}" | ||
], | ||
"description": "Check type of a variable if it's defined" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"version": "0.2", | ||
"language": "en", | ||
"allowCompoundWords": true, | ||
"caseSensitive": false, | ||
"files": [ | ||
"**/*.js", | ||
"**/*.html", | ||
"**/*.css", | ||
"**/*.md" | ||
], | ||
"ignorePaths": [ | ||
"node_modules/**", | ||
"**/ThirdParty/**", | ||
"**/Build/**", | ||
"Source/**", | ||
"CONTRIBUTORS.md", | ||
"**/LICENSE.md" | ||
], | ||
"useGitignore": true, | ||
"dictionaries": [ | ||
"typescript", | ||
"node", | ||
"html", | ||
"css", | ||
"packages" | ||
], | ||
"dictionaryDefinitions": [ | ||
{ | ||
"name": "packages", | ||
"path": "./.cspell/cspell-packages.txt", | ||
"addWords": false | ||
} | ||
], | ||
"words": [ | ||
"3DTILES", | ||
"aabb", | ||
"Amato", | ||
"bathymetric", | ||
"bitangent", | ||
"bitangents", | ||
"bivariate", | ||
"Bourke", | ||
"brdf", | ||
"cartesians", | ||
"cartographics", | ||
"cesiumjs", | ||
"comms", | ||
"cyclomatic", | ||
"czml", | ||
"dequantize", | ||
"dequantized", | ||
"dequantizes", | ||
"dijit", | ||
"DONT", | ||
"ecef", | ||
"EPSG", | ||
"fxaa", | ||
"glsl", | ||
"gltf", | ||
"iframes", | ||
"iife", | ||
"lerp", | ||
"Lilli", | ||
"maki", | ||
"MAXAR", | ||
"minifiers", | ||
"mipmapped", | ||
"mipmaps", | ||
"msaa", | ||
"noaa", | ||
"Occluder", | ||
"occluders", | ||
"octree", | ||
"octrees", | ||
"OITFS", | ||
"pako", | ||
"phong", | ||
"pjcozzi", | ||
"pnts", | ||
"quantizations", | ||
"reproject", | ||
"tada", | ||
"topo", | ||
"topojson", | ||
"Transitioner", | ||
"tridiagonal", | ||
"tweens", | ||
"uncentered", | ||
"uncompress", | ||
"unminified", | ||
"unproject", | ||
"unregisters", | ||
"unrenderable", | ||
"voxel", | ||
"WEBG", | ||
"xdescribe" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.