-
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 remote-tracking branch 'origin/main' into visual-fog-density
- Loading branch information
Showing
19 changed files
with
290 additions
and
24 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
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,98 @@ | ||
{ | ||
"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", | ||
"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
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
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
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
Oops, something went wrong.