create-ifc-lite 1.14.10 → 1.14.12

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/README.md CHANGED
@@ -54,6 +54,6 @@ Each template ships with a `README.md` documenting what it does and how to exten
54
54
 
55
55
  ## Learn more
56
56
 
57
- - [IFClite docs](https://ltplus-ag.github.io/ifc-lite/)
57
+ - [IFClite docs](https://ifclite.dev/docs/)
58
58
  - [GitHub repo](https://github.com/LTplus-AG/ifc-lite)
59
- - [Quick Start guide](https://ltplus-ag.github.io/ifc-lite/guide/quickstart/)
59
+ - [Quick Start guide](https://ifclite.dev/docs/guide/quickstart/)
@@ -263,6 +263,6 @@ Open http://localhost:3000 and drop an IFC file.
263
263
 
264
264
  ## Learn More
265
265
 
266
- - [IFC-Lite Documentation](https://ltplus-ag.github.io/ifc-lite/)
266
+ - [IFC-Lite Documentation](https://ifclite.dev/docs/)
267
267
  `);
268
268
  }
@@ -98,7 +98,7 @@ npm run parse ./your-model.ifc
98
98
 
99
99
  ## Learn More
100
100
 
101
- - [IFC-Lite Documentation](https://ltplus-ag.github.io/ifc-lite/)
102
- - [API Reference](https://ltplus-ag.github.io/ifc-lite/api/)
101
+ - [IFC-Lite Documentation](https://ifclite.dev/docs/)
102
+ - [API Reference](https://ifclite.dev/docs/api/)
103
103
  `);
104
104
  }
@@ -239,7 +239,10 @@ export default function App() {
239
239
  try {
240
240
  const processor = new GeometryProcessor();
241
241
  await processor.init();
242
- if (cancelled || initId !== loadIdRef.current) return;
242
+ if (cancelled || initId !== loadIdRef.current) {
243
+ processor.dispose();
244
+ return;
245
+ }
243
246
 
244
247
  processorRef.current = processor;
245
248
  const viewer = await createViewer(canvasRef.current);
@@ -266,6 +269,8 @@ export default function App() {
266
269
  loadIdRef.current += 1;
267
270
  viewerRef.current?.destroy();
268
271
  viewerRef.current = null;
272
+ processorRef.current?.dispose();
273
+ processorRef.current = null;
269
274
  };
270
275
  }, []);
271
276
 
@@ -573,8 +578,8 @@ Open the app in your browser and drop an IFC file onto the viewport.
573
578
 
574
579
  ## Learn More
575
580
 
576
- - [IFC-Lite Documentation](https://ltplus-ag.github.io/ifc-lite/)
577
- - [Rendering Guide](https://ltplus-ag.github.io/ifc-lite/guide/rendering/)
578
- - [Geometry Guide](https://ltplus-ag.github.io/ifc-lite/guide/geometry/)
581
+ - [IFC-Lite Documentation](https://ifclite.dev/docs/)
582
+ - [Rendering Guide](https://ifclite.dev/docs/guide/rendering/)
583
+ - [Geometry Guide](https://ifclite.dev/docs/guide/geometry/)
579
584
  `);
580
585
  }
@@ -401,7 +401,7 @@ npx create-ifc-lite my-app --template server
401
401
 
402
402
  ## Learn More
403
403
 
404
- - [IFC-Lite Documentation](https://ltplus-ag.github.io/ifc-lite/)
404
+ - [IFC-Lite Documentation](https://ifclite.dev/docs/)
405
405
  - [GitHub Repository](https://github.com/LTplus-AG/ifc-lite)
406
406
  `);
407
407
  console.log(' Created package.json');
@@ -603,8 +603,8 @@ RUST_LOG=info
603
603
 
604
604
  ## Learn More
605
605
 
606
- - [IFC-Lite Documentation](https://ltplus-ag.github.io/ifc-lite/)
607
- - [Server API Reference](https://ltplus-ag.github.io/ifc-lite/api/server/)
606
+ - [IFC-Lite Documentation](https://ifclite.dev/docs/)
607
+ - [Server API Reference](https://ifclite.dev/docs/api/server/)
608
608
  - [GitHub Repository](https://github.com/LTplus-AG/ifc-lite)
609
609
  `);
610
610
  console.log(' Created docker-compose.yml');
@@ -282,7 +282,7 @@ Open http://localhost:3000 and drop an IFC file.
282
282
 
283
283
  ## Learn More
284
284
 
285
- - [Three.js Integration Guide](https://ltplus-ag.github.io/ifc-lite/tutorials/threejs-integration/)
286
- - [IFC-Lite Documentation](https://ltplus-ag.github.io/ifc-lite/)
285
+ - [Three.js Integration Guide](https://ifclite.dev/docs/tutorials/threejs-integration/)
286
+ - [IFC-Lite Documentation](https://ifclite.dev/docs/)
287
287
  `);
288
288
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ifc-lite",
3
- "version": "1.14.10",
3
+ "version": "1.14.12",
4
4
  "description": "Create IFC-Lite projects with one command",
5
5
  "type": "module",
6
6
  "bin": {
@@ -31,10 +31,10 @@
31
31
  "node": ">=18.0.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@types/node": "^26.1.0",
34
+ "@types/node": "^26.1.2",
35
35
  "typescript": "^5.3.0"
36
36
  },
37
- "homepage": "https://ltplus-ag.github.io/ifc-lite/",
37
+ "homepage": "https://ifclite.dev/docs/",
38
38
  "bugs": "https://github.com/LTplus-AG/ifc-lite/issues",
39
39
  "scripts": {
40
40
  "build": "pnpm exec tsc",