@needle-tools/gltf-build-pipeline 2.11.0-next.88b7fed → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli/index.js CHANGED
@@ -138,6 +138,7 @@ Each version will be compressed and written to the output directory.
138
138
  debug,
139
139
  verbose,
140
140
  useCache,
141
+ logger,
141
142
  }).catch(err => {
142
143
  logger.error(err);
143
144
  process.exit(ERROR_CODES.PROGRESSIVE_FAILED);
@@ -9,6 +9,7 @@ declare interface ProgressiveOptions {
9
9
  debug?: boolean;
10
10
  verbose?: boolean;
11
11
  useCache?: boolean;
12
+ logger: ILogger;
12
13
  }
13
14
  export declare function make_progressive(opts: ProgressiveOptions): Promise<boolean>;
14
15
  export declare function createTransform(name: string, fn: Transform): Transform;
@@ -22,7 +22,7 @@ export async function make_progressive(opts) {
22
22
  }
23
23
  // Don't re-process files that are already LODs
24
24
  if (isMeshLOD(f) || isImageLOD(f)) {
25
- console.log(`Progressive Transform: Ignore existing LOD file at ${f}`);
25
+ opts.logger.info(`Progressive Transform: Ignore existing LOD file at ${f}`);
26
26
  return;
27
27
  }
28
28
  const res = await onProcess(f, opts);
@@ -1 +1 @@
1
- export declare const version = "2.11.0-next.88b7fed";
1
+ export declare const version = "2.11.0";
@@ -1 +1 @@
1
- export const version = "2.11.0-next.88b7fed";
1
+ export const version = "2.11.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@needle-tools/gltf-build-pipeline",
3
- "version": "2.11.0-next.88b7fed",
3
+ "version": "2.11.0",
4
4
  "description": "Pipeline and tools for optimizing gltf files using gltf-transform and compression settings within glTF extensions",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",