From 362155e2110bcae5ad605f8af01850949b7ab90e Mon Sep 17 00:00:00 2001 From: Nathan Bierema Date: Mon, 16 Sep 2024 23:10:28 -0400 Subject: [PATCH] Remove non-built declarations --- src-testing/create-src.js | 36 ++---------------------------------- src-testing/declarations.js | 2 +- 2 files changed, 3 insertions(+), 35 deletions(-) diff --git a/src-testing/create-src.js b/src-testing/create-src.js index 750819fb4..f3d5af31f 100644 --- a/src-testing/create-src.js +++ b/src-testing/create-src.js @@ -4,46 +4,24 @@ import * as path from 'node:path'; import prettier from 'prettier'; const files = [ - 'materials/nodes/NodeMaterial', 'nodes/accessors/BufferAttributeNode', - 'nodes/accessors/TextureNode', - 'nodes/code/CodeNode', - 'nodes/code/FunctionNode', 'nodes/core/constants', - 'nodes/core/ContextNode', - 'nodes/core/InputNode', 'nodes/core/Node', 'nodes/core/NodeAttribute', - 'nodes/core/NodeBuilder', 'nodes/core/NodeCache', - 'nodes/core/NodeCode', - 'nodes/core/NodeFrame', - 'nodes/core/NodeFunction', 'nodes/core/NodeParser', 'nodes/core/NodeUniform', - 'nodes/core/NodeUtils', 'nodes/core/NodeVar', 'nodes/core/NodeVarying', - 'nodes/core/StackNode', 'nodes/core/StructTypeNode', - 'nodes/core/UniformGroupNode', 'nodes/core/UniformNode', - 'nodes/fog/FogNode', - 'nodes/gpgpu/ComputeNode', - 'nodes/lighting/EnvironmentNode', - 'nodes/lighting/LightingContextNode', - 'nodes/lighting/LightsNode', - 'nodes/tsl/TSLCore', - 'nodes/Nodes', - 'renderers/common/extras/PMREMGenerator', 'renderers/common/nodes/NodeBuilderState', 'renderers/common/nodes/NodeLibrary', + 'renderers/common/nodes/Nodes', 'renderers/common/nodes/NodeUniform', 'renderers/common/nodes/NodeUniformsGroup', - 'renderers/common/nodes/Nodes', 'renderers/common/Animation', 'renderers/common/Attributes', - 'renderers/common/Backend', 'renderers/common/Background', 'renderers/common/BindGroup', 'renderers/common/Binding', @@ -67,28 +45,18 @@ const files = [ 'renderers/common/RenderBundles', 'renderers/common/RenderContext', 'renderers/common/RenderContexts', + 'renderers/common/Renderer', 'renderers/common/RenderList', 'renderers/common/RenderLists', - 'renderers/common/Renderer', 'renderers/common/RenderObject', 'renderers/common/RenderObjects', 'renderers/common/RenderPipeline', - 'renderers/common/SampledTexture', - 'renderers/common/Sampler', - 'renderers/common/StorageBuffer', 'renderers/common/Textures', 'renderers/common/Uniform', 'renderers/common/UniformBuffer', 'renderers/common/UniformsGroup', - 'renderers/webgl-fallback/nodes/GLSLNodeBuilder', - 'renderers/webgl-fallback/WebGLBackend', 'renderers/webgpu/nodes/BasicNodeLibrary', 'renderers/webgpu/nodes/StandardNodeLibrary', - 'renderers/webgpu/nodes/WGSLNodeBuilder', - 'renderers/webgpu/nodes/WGSLNodeFunction', - 'renderers/webgpu/nodes/WGSLNodeParser', - 'renderers/webgpu/WebGPUBackend', - 'renderers/webgpu/WebGPURenderer', ]; const javascriptInDir = '../three.js/src'; diff --git a/src-testing/declarations.js b/src-testing/declarations.js index b9bb98719..cf3457cea 100644 --- a/src-testing/declarations.js +++ b/src-testing/declarations.js @@ -15,8 +15,8 @@ const files = [ 'nodes/core/StructTypeNode', 'nodes/core/UniformNode', 'renderers/common/nodes/NodeBuilderState', - 'renderers/common/nodes/Nodes', 'renderers/common/nodes/NodeLibrary', + 'renderers/common/nodes/Nodes', 'renderers/common/nodes/NodeUniform', 'renderers/common/nodes/NodeUniformsGroup', 'renderers/common/Animation',