@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/dist/3d-tiles-attributes-worker.js +2 -2
- package/dist/3d-tiles-attributes-worker.js.map +3 -3
- package/dist/converter.min.js +2956 -178
- package/dist/deps-installer/deps-installer.d.ts.map +1 -1
- package/dist/deps-installer/deps-installer.js +4 -1
- package/dist/dist.min.js +12752 -10556
- package/dist/es5/3d-tiles-attributes-worker.js +1 -1
- package/dist/es5/deps-installer/deps-installer.js +2 -2
- package/dist/es5/deps-installer/deps-installer.js.map +1 -1
- package/dist/es5/i3s-attributes-worker.js +1 -1
- package/dist/es5/pgm-loader.js +1 -1
- package/dist/esm/3d-tiles-attributes-worker.js +1 -1
- package/dist/esm/deps-installer/deps-installer.js +2 -2
- package/dist/esm/deps-installer/deps-installer.js.map +1 -1
- package/dist/esm/i3s-attributes-worker.js +1 -1
- package/dist/esm/pgm-loader.js +1 -1
- package/dist/i3s-attributes-worker.js +2 -2
- package/dist/i3s-attributes-worker.js.map +2 -2
- package/package.json +20 -19
- package/src/deps-installer/deps-installer.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loaders.gl/tile-converter",
|
|
3
|
-
"version": "3.4.0-alpha.
|
|
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": "
|
|
42
|
-
"build-i3s-attributes-worker": "esbuild src/workers/i3s-attributes-worker.ts --outfile=dist/i3s-attributes-worker.js --platform=node --target=esnext,
|
|
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,
|
|
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.
|
|
47
|
-
"@loaders.gl/crypto": "3.4.0-alpha.
|
|
48
|
-
"@loaders.gl/draco": "3.4.0-alpha.
|
|
49
|
-
"@loaders.gl/gltf": "3.4.0-alpha.
|
|
50
|
-
"@loaders.gl/i3s": "3.4.0-alpha.
|
|
51
|
-
"@loaders.gl/images": "3.4.0-alpha.
|
|
52
|
-
"@loaders.gl/loader-utils": "3.4.0-alpha.
|
|
53
|
-
"@loaders.gl/polyfills": "3.4.0-alpha.
|
|
54
|
-
"@loaders.gl/schema": "3.4.0-alpha.
|
|
55
|
-
"@loaders.gl/textures": "3.4.0-alpha.
|
|
56
|
-
"@loaders.gl/tiles": "3.4.0-alpha.
|
|
57
|
-
"@loaders.gl/worker-utils": "3.4.0-alpha.
|
|
58
|
-
"@loaders.gl/zip": "3.4.0-alpha.
|
|
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": "
|
|
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
|
-
|
|
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
|
|