Skip to content

Commit

Permalink
Remove non-built declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Sep 17, 2024
1 parent be37e1d commit 362155e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 35 deletions.
36 changes: 2 additions & 34 deletions src-testing/create-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion src-testing/declarations.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 362155e

Please sign in to comment.