@loaders.gl/tile-converter 3.4.0-alpha.1 → 3.4.0-alpha.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/tile-converter",
3
- "version": "3.4.0-alpha.1",
3
+ "version": "3.4.0-alpha.2",
4
4
  "description": "Converter",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -33,29 +33,30 @@
33
33
  "fs": false,
34
34
  "path": false,
35
35
  "process": false,
36
- "archiver": false
36
+ "archiver": false,
37
+ "join-images": false
37
38
  },
38
39
  "scripts": {
39
40
  "pre-build": "npm run build-bundle && npm run build-converter-bundle && npm run build-i3s-attributes-worker && npm run build-3d-tiles-attributes-worker",
40
41
  "build-bundle": "esbuild ./src/index.ts --bundle --outfile=dist/dist.min.js --platform=node --external:join-images",
41
- "build-converter-bundle": "webpack --display errors-only --config ./converter-webpack/bundle.js",
42
- "build-i3s-attributes-worker": "esbuild src/workers/i3s-attributes-worker.ts --outfile=dist/i3s-attributes-worker.js --platform=node --target=esnext,node12 --external:join-images --minify --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"",
43
- "build-3d-tiles-attributes-worker": "esbuild src/workers/3d-tiles-attributes-worker.ts --outfile=dist/3d-tiles-attributes-worker.js --platform=node --target=esnext,node12 --external:join-images --minify --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\""
42
+ "build-converter-bundle": "esbuild src/converter-cli.ts --outfile=dist/converter.min.js --platform=node --target=esnext,node14 --external:join-images --minify --bundle --define:__VERSION__=\\\"$npm_package_version\\\"",
43
+ "build-i3s-attributes-worker": "esbuild src/workers/i3s-attributes-worker.ts --outfile=dist/i3s-attributes-worker.js --platform=node --target=esnext,node14 --external:join-images --minify --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\"",
44
+ "build-3d-tiles-attributes-worker": "esbuild src/workers/3d-tiles-attributes-worker.ts --outfile=dist/3d-tiles-attributes-worker.js --platform=node --target=esnext,node14 --external:join-images --minify --bundle --sourcemap --define:__VERSION__=\\\"$npm_package_version\\\""
44
45
  },
45
46
  "dependencies": {
46
- "@loaders.gl/3d-tiles": "3.4.0-alpha.1",
47
- "@loaders.gl/crypto": "3.4.0-alpha.1",
48
- "@loaders.gl/draco": "3.4.0-alpha.1",
49
- "@loaders.gl/gltf": "3.4.0-alpha.1",
50
- "@loaders.gl/i3s": "3.4.0-alpha.1",
51
- "@loaders.gl/images": "3.4.0-alpha.1",
52
- "@loaders.gl/loader-utils": "3.4.0-alpha.1",
53
- "@loaders.gl/polyfills": "3.4.0-alpha.1",
54
- "@loaders.gl/schema": "3.4.0-alpha.1",
55
- "@loaders.gl/textures": "3.4.0-alpha.1",
56
- "@loaders.gl/tiles": "3.4.0-alpha.1",
57
- "@loaders.gl/worker-utils": "3.4.0-alpha.1",
58
- "@loaders.gl/zip": "3.4.0-alpha.1",
47
+ "@loaders.gl/3d-tiles": "3.4.0-alpha.2",
48
+ "@loaders.gl/crypto": "3.4.0-alpha.2",
49
+ "@loaders.gl/draco": "3.4.0-alpha.2",
50
+ "@loaders.gl/gltf": "3.4.0-alpha.2",
51
+ "@loaders.gl/i3s": "3.4.0-alpha.2",
52
+ "@loaders.gl/images": "3.4.0-alpha.2",
53
+ "@loaders.gl/loader-utils": "3.4.0-alpha.2",
54
+ "@loaders.gl/polyfills": "3.4.0-alpha.2",
55
+ "@loaders.gl/schema": "3.4.0-alpha.2",
56
+ "@loaders.gl/textures": "3.4.0-alpha.2",
57
+ "@loaders.gl/tiles": "3.4.0-alpha.2",
58
+ "@loaders.gl/worker-utils": "3.4.0-alpha.2",
59
+ "@loaders.gl/zip": "3.4.0-alpha.2",
59
60
  "@luma.gl/engine": "^8.5.4",
60
61
  "@math.gl/core": "^3.5.1",
61
62
  "@math.gl/culling": "^3.5.1",
@@ -79,5 +80,5 @@
79
80
  "join-images": "^1.1.3",
80
81
  "sharp": "^0.31.3"
81
82
  },
82
- "gitHead": "4085b0323050e4361614471319a1fb4729547bbf"
83
+ "gitHead": "f1c00c124d8d0c41a138ff40afb0d1a00711bf2e"
83
84
  }
@@ -47,7 +47,10 @@ export class DepsInstaller {
47
47
  const childProcess = new ChildProcessProxy();
48
48
  await childProcess.start({
49
49
  command: 'npm',
50
- arguments: ['install', 'sharp', 'join-images'],
50
+ // `npm install sharp join-images` works unstable. It fails because installed `sharp` version
51
+ // may be different from the version required by `join-images`. Pointing to specific versions
52
+ // resolve this issue
53
+ arguments: ['install', 'sharp@^0.30.4', 'join-images@^1.1.3'],
51
54
  wait: 0
52
55
  });
53
56