@bldrs-ai/conway 0.18.886 → 0.18.902

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.
Files changed (33) hide show
  1. package/compiled/examples/browser-bundled.js +4 -4
  2. package/compiled/examples/validator-bundled.js +4 -4
  3. package/compiled/src/core/entity_description.d.ts +1 -1
  4. package/compiled/src/core/i_local_id_set.d.ts +27 -0
  5. package/compiled/src/core/i_local_id_set.d.ts.map +1 -0
  6. package/compiled/src/core/i_local_id_set.js +1 -0
  7. package/compiled/src/ifc/ifc_command_line_main.js +17 -3
  8. package/compiled/src/ifc/ifc_geometry_extraction.d.ts +15 -5
  9. package/compiled/src/ifc/ifc_geometry_extraction.d.ts.map +1 -1
  10. package/compiled/src/ifc/ifc_geometry_extraction.js +240 -228
  11. package/compiled/src/indexing/dynamic_single_index_set.d.ts +2 -1
  12. package/compiled/src/indexing/dynamic_single_index_set.d.ts.map +1 -1
  13. package/compiled/src/indexing/multi_index_set.d.ts +2 -2
  14. package/compiled/src/indexing/multi_index_set.d.ts.map +1 -1
  15. package/compiled/src/indexing/multi_index_set.js +3 -3
  16. package/compiled/src/indexing/multi_index_set_cursor_or.d.ts.map +1 -1
  17. package/compiled/src/indexing/search_operations.d.ts.map +1 -1
  18. package/compiled/src/indexing/single_index_set.d.ts +10 -3
  19. package/compiled/src/indexing/single_index_set.d.ts.map +1 -1
  20. package/compiled/src/indexing/single_index_set.js +19 -4
  21. package/compiled/src/indexing/single_index_set.test.js +12 -0
  22. package/compiled/src/loaders/conway_model_loader.d.ts +3 -1
  23. package/compiled/src/loaders/conway_model_loader.d.ts.map +1 -1
  24. package/compiled/src/loaders/conway_model_loader.js +4 -2
  25. package/compiled/src/rendering/threejs/scene_object.d.ts +19 -0
  26. package/compiled/src/rendering/threejs/scene_object.d.ts.map +1 -1
  27. package/compiled/src/rendering/threejs/scene_object.js +64 -10
  28. package/compiled/src/rendering/threejs/simple_viewer_scene.d.ts +34 -0
  29. package/compiled/src/rendering/threejs/simple_viewer_scene.d.ts.map +1 -1
  30. package/compiled/src/rendering/threejs/simple_viewer_scene.js +38 -6
  31. package/compiled/src/version/version.js +1 -1
  32. package/compiled/tsconfig.tsbuildinfo +1 -1
  33. package/package.json +4 -2
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "bldrs.ai datamodel",
4
4
  "author": "bldrs.ai",
5
5
  "license": "AGPL-3.0",
6
- "version": "0.18.886",
6
+ "version": "0.18.902",
7
7
  "repository": "https://github.com/bldrs-ai/conway",
8
8
  "files": [
9
9
  "./compiled/**/*"
@@ -51,6 +51,7 @@
51
51
  "build-node-MT": "yarn clean && yarn update-version && yarn build-all-release-node-MT",
52
52
  "build-and-serve": "yarn build-incremental && yarn build-conway_geom-web && yarn build-conway_geom-web-MT && yarn serve",
53
53
  "serve": "yarn parcel index.html",
54
+ "build-GHA-all": "cd dependencies/conway-geom && chmod +x ../../bin/linux/genie && ../../bin/linux/genie gmake && cd gmake && make config=releaseemscripten ConwayGeomWasmNode ConwayGeomWasmNodeMT ConwayGeomWasmWeb ConwayGeomWasmWebMT && cd .. && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist && cd ../../ && yarn bumpMinor && yarn build-incremental",
54
55
  "build-GHA-MT": "cd dependencies/conway-geom && chmod +x ../../bin/linux/genie && ../../bin/linux/genie gmake && cd gmake && make config=releaseemscripten ConwayGeomWasmNodeMT && cd .. && mkdir -p Dist && cp ./bin/release/* Dist/ && cp ConwayGeomWasm.d.ts Dist/ && mkdir -p ../../compiled/dependencies/conway-geom/Dist && cp ./bin/release/* ../../compiled/dependencies/conway-geom/Dist && cd ../../ && yarn build-incremental",
55
56
  "bundle": "yarn esbuild --bundle --format=esm --platform=node",
56
57
  "bundle-examples": "yarn bundle-browser && yarn bundle-validator && shx chmod +x ./compiled/examples/*-bundled.js",
@@ -108,7 +109,8 @@
108
109
  "test-watch": "jest --watchAll --notify",
109
110
  "update-version": "node ./scripts/updateVersion.mjs",
110
111
  "code-gen-ifc": "node scripts/code-gen.cjs \"make 'OUTDIR=../../src/ifc/ifc4_gen' 'SCHEMA_INPUT=IFC' 'SHORTNAME=Ifc'\"",
111
- "code-gen-ap214": "node scripts/code-gen.cjs \"make 'OUTDIR=../../src/AP214E3_2010/AP214E3_2010_gen' 'SCHEMA_INPUT=AP214E3_2010' 'SHORTNAME=AP214'\""
112
+ "code-gen-ap214": "node scripts/code-gen.cjs \"make 'OUTDIR=../../src/AP214E3_2010/AP214E3_2010_gen' 'SCHEMA_INPUT=AP214E3_2010' 'SHORTNAME=AP214'\"",
113
+ "bumpMinor": "node -e \"const fs = require('fs'); const pkg = JSON.parse(fs.readFileSync('package.json')); let [major, minor, patch] = pkg.version.split('.'); minor = parseInt(minor, 10) + 1; pkg.version = [major, minor, patch].join('.'); fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2)); console.log('New version:', pkg.version);\""
112
114
  },
113
115
  "engines": {
114
116
  "node": ">=16.0.0"