@ifc-lite/cli 0.34.0 → 0.38.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/README.md +1 -1
- package/dist/commands/anonymize.d.ts.map +1 -1
- package/dist/commands/anonymize.js +1 -0
- package/dist/commands/anonymize.js.map +1 -1
- package/dist/commands/check.d.ts +2 -0
- package/dist/commands/check.d.ts.map +1 -0
- package/dist/commands/check.js +119 -0
- package/dist/commands/check.js.map +1 -0
- package/dist/commands/convert.d.ts.map +1 -1
- package/dist/commands/convert.js +28 -8
- package/dist/commands/convert.js.map +1 -1
- package/dist/commands/create.d.ts.map +1 -1
- package/dist/commands/create.js +6 -0
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/delivery-checks-rules.d.ts +37 -0
- package/dist/commands/delivery-checks-rules.d.ts.map +1 -0
- package/dist/commands/delivery-checks-rules.js +76 -0
- package/dist/commands/delivery-checks-rules.js.map +1 -0
- package/dist/commands/delivery-checks.d.ts +12 -0
- package/dist/commands/delivery-checks.d.ts.map +1 -1
- package/dist/commands/delivery-checks.js +16 -5
- package/dist/commands/delivery-checks.js.map +1 -1
- package/dist/commands/delivery-recipe.d.ts +13 -2
- package/dist/commands/delivery-recipe.d.ts.map +1 -1
- package/dist/commands/delivery-recipe.js +29 -17
- package/dist/commands/delivery-recipe.js.map +1 -1
- package/dist/commands/delivery-report.d.ts +2 -2
- package/dist/commands/delivery-report.d.ts.map +1 -1
- package/dist/commands/delivery-report.js +14 -4
- package/dist/commands/delivery-report.js.map +1 -1
- package/dist/commands/delivery.d.ts.map +1 -1
- package/dist/commands/delivery.js +17 -5
- package/dist/commands/delivery.js.map +1 -1
- package/dist/commands/diff-engine.js +1 -0
- package/dist/commands/diff-engine.js.map +1 -1
- package/dist/commands/diff-scope.d.ts.map +1 -1
- package/dist/commands/diff-scope.js +2 -0
- package/dist/commands/diff-scope.js.map +1 -1
- package/dist/commands/diff.d.ts.map +1 -1
- package/dist/commands/diff.js +2 -0
- package/dist/commands/diff.js.map +1 -1
- package/dist/commands/export.d.ts.map +1 -1
- package/dist/commands/export.js +13 -0
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/ext.js +26 -10
- package/dist/commands/ext.js.map +1 -1
- package/dist/commands/extract-entities.d.ts.map +1 -1
- package/dist/commands/extract-entities.js +26 -8
- package/dist/commands/extract-entities.js.map +1 -1
- package/dist/commands/flow-host.d.ts +26 -0
- package/dist/commands/flow-host.d.ts.map +1 -0
- package/dist/commands/flow-host.js +29 -0
- package/dist/commands/flow-host.js.map +1 -0
- package/dist/commands/flow-tracking.d.ts +20 -0
- package/dist/commands/flow-tracking.d.ts.map +1 -0
- package/dist/commands/flow-tracking.js +86 -0
- package/dist/commands/flow-tracking.js.map +1 -0
- package/dist/commands/flow.d.ts +2 -0
- package/dist/commands/flow.d.ts.map +1 -0
- package/dist/commands/flow.js +273 -0
- package/dist/commands/flow.js.map +1 -0
- package/dist/commands/gym/channels.d.ts.map +1 -1
- package/dist/commands/gym/channels.js +10 -2
- package/dist/commands/gym/channels.js.map +1 -1
- package/dist/commands/gym.d.ts.map +1 -1
- package/dist/commands/gym.js +5 -1
- package/dist/commands/gym.js.map +1 -1
- package/dist/commands/ids.d.ts.map +1 -1
- package/dist/commands/ids.js +36 -3
- package/dist/commands/ids.js.map +1 -1
- package/dist/commands/info.d.ts.map +1 -1
- package/dist/commands/info.js +20 -5
- package/dist/commands/info.js.map +1 -1
- package/dist/commands/layer-publish.d.ts.map +1 -1
- package/dist/commands/layer-publish.js +6 -0
- package/dist/commands/layer-publish.js.map +1 -1
- package/dist/commands/lod.d.ts.map +1 -1
- package/dist/commands/lod.js +4 -1
- package/dist/commands/lod.js.map +1 -1
- package/dist/commands/mutate-step-record.d.ts +25 -1
- package/dist/commands/mutate-step-record.d.ts.map +1 -1
- package/dist/commands/mutate-step-record.js +17 -22
- package/dist/commands/mutate-step-record.js.map +1 -1
- package/dist/commands/mutate.d.ts +2 -1
- package/dist/commands/mutate.d.ts.map +1 -1
- package/dist/commands/mutate.js +27 -2
- package/dist/commands/mutate.js.map +1 -1
- package/dist/commands/rekey.d.ts.map +1 -1
- package/dist/commands/rekey.js +22 -1
- package/dist/commands/rekey.js.map +1 -1
- package/dist/commands/schema.d.ts.map +1 -1
- package/dist/commands/schema.js +5 -1
- package/dist/commands/schema.js.map +1 -1
- package/dist/commands/simplify.d.ts.map +1 -1
- package/dist/commands/simplify.js +4 -1
- package/dist/commands/simplify.js.map +1 -1
- package/dist/commands/validate.d.ts +5 -14
- package/dist/commands/validate.d.ts.map +1 -1
- package/dist/commands/validate.js +11 -14
- package/dist/commands/validate.js.map +1 -1
- package/dist/headless-backend-store-authoring.d.ts +28 -0
- package/dist/headless-backend-store-authoring.d.ts.map +1 -0
- package/dist/headless-backend-store-authoring.js +34 -0
- package/dist/headless-backend-store-authoring.js.map +1 -0
- package/dist/headless-backend.d.ts +7 -0
- package/dist/headless-backend.d.ts.map +1 -1
- package/dist/headless-backend.js +59 -55
- package/dist/headless-backend.js.map +1 -1
- package/dist/help.d.ts +22 -0
- package/dist/help.d.ts.map +1 -0
- package/dist/help.js +260 -0
- package/dist/help.js.map +1 -0
- package/dist/index.js +41 -189
- package/dist/index.js.map +1 -1
- package/dist/loader.d.ts +12 -0
- package/dist/loader.d.ts.map +1 -1
- package/dist/loader.js +54 -7
- package/dist/loader.js.map +1 -1
- package/dist/out-flag-commands.d.ts +12 -0
- package/dist/out-flag-commands.d.ts.map +1 -0
- package/dist/out-flag-commands.js +19 -0
- package/dist/out-flag-commands.js.map +1 -0
- package/dist/query-overlay-relations.js +1 -1
- package/dist/query-overlay-relations.js.map +1 -1
- package/dist/query-overlay.d.ts +0 -2
- package/dist/query-overlay.d.ts.map +1 -1
- package/dist/query-overlay.js +0 -15
- package/dist/query-overlay.js.map +1 -1
- package/package.json +26 -22
- package/dist/version.d.ts +0 -14
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js +0 -38
- package/dist/version.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ifc-lite/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.38.0",
|
|
4
4
|
"description": "CLI toolkit for IFC files — query, validate, export, create, and script BIM data",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,30 +20,34 @@
|
|
|
20
20
|
"README.md"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@ifc-lite/bcf": "^
|
|
24
|
-
"@ifc-lite/
|
|
25
|
-
"@ifc-lite/create": "^
|
|
26
|
-
"@ifc-lite/
|
|
27
|
-
"@ifc-lite/data": "^
|
|
28
|
-
"@ifc-lite/
|
|
29
|
-
"@ifc-lite/
|
|
30
|
-
"@ifc-lite/
|
|
31
|
-
"@ifc-lite/ids": "^
|
|
32
|
-
"@ifc-lite/
|
|
33
|
-
"@ifc-lite/
|
|
34
|
-
"@ifc-lite/
|
|
35
|
-
"@ifc-lite/
|
|
36
|
-
"@ifc-lite/
|
|
37
|
-
"@ifc-lite/
|
|
38
|
-
"@ifc-lite/
|
|
39
|
-
"@ifc-lite/
|
|
40
|
-
"@ifc-lite/
|
|
41
|
-
"@ifc-lite/
|
|
23
|
+
"@ifc-lite/bcf": "^5.0.0",
|
|
24
|
+
"@ifc-lite/cache": "^3.6.1",
|
|
25
|
+
"@ifc-lite/create": "^3.1.0",
|
|
26
|
+
"@ifc-lite/clash": "^2.4.2",
|
|
27
|
+
"@ifc-lite/data": "^6.0.0",
|
|
28
|
+
"@ifc-lite/diff": "^0.10.0",
|
|
29
|
+
"@ifc-lite/export": "^4.7.4",
|
|
30
|
+
"@ifc-lite/flow-nodes": "^0.5.0",
|
|
31
|
+
"@ifc-lite/ids": "^3.0.3",
|
|
32
|
+
"@ifc-lite/flow": "^0.4.0",
|
|
33
|
+
"@ifc-lite/geometry": "^7.5.2",
|
|
34
|
+
"@ifc-lite/ifcx": "^4.2.1",
|
|
35
|
+
"@ifc-lite/mcp": "^0.22.0",
|
|
36
|
+
"@ifc-lite/mutations": "^2.8.0",
|
|
37
|
+
"@ifc-lite/parser": "^9.0.0",
|
|
38
|
+
"@ifc-lite/query": "^2.5.1",
|
|
39
|
+
"@ifc-lite/extensions": "^0.10.0",
|
|
40
|
+
"@ifc-lite/sandbox": "^2.8.0",
|
|
41
|
+
"@ifc-lite/rules": "^0.4.1",
|
|
42
|
+
"@ifc-lite/sdk": "^7.1.3",
|
|
43
|
+
"@ifc-lite/wasm": "^10.1.2",
|
|
44
|
+
"@ifc-lite/viewer-core": "^0.2.23",
|
|
45
|
+
"@ifc-lite/merge": "^0.4.7"
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
44
|
-
"@types/node": "^26.
|
|
48
|
+
"@types/node": "^26.6.1",
|
|
45
49
|
"typescript": "^6.0.3",
|
|
46
|
-
"vitest": "^
|
|
50
|
+
"vitest": "^5.0.1"
|
|
47
51
|
},
|
|
48
52
|
"engines": {
|
|
49
53
|
"node": ">=18.0.0"
|
package/dist/version.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** Reported when `package.json` can't be read — deliberately not a plausible
|
|
2
|
-
* version number, so a bug report never carries a fabricated one. */
|
|
3
|
-
export declare const UNKNOWN_VERSION = "0.0.0-unknown";
|
|
4
|
-
/**
|
|
5
|
-
* Read `version` from the package manifest at `pkgPath`.
|
|
6
|
-
*
|
|
7
|
-
* A failure here is a broken install (missing/unreadable/corrupt
|
|
8
|
-
* `package.json`), not a normal condition: it used to fall back to a
|
|
9
|
-
* hard-coded `'0.4.0'`, which by 0.22.0 meant `--version` confidently
|
|
10
|
-
* reported a version the binary had not been for eighteen releases. Report
|
|
11
|
-
* the failure on stderr and return a value that reads as unknown.
|
|
12
|
-
*/
|
|
13
|
-
export declare function readCliVersion(pkgPath: string): string;
|
|
14
|
-
//# sourceMappingURL=version.d.ts.map
|
package/dist/version.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAaA;qEACqE;AACrE,eAAO,MAAM,eAAe,kBAAkB,CAAC;AAE/C;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAgBtD"}
|
package/dist/version.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
2
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
3
|
-
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
4
|
-
/**
|
|
5
|
-
* The CLI's own version, read from its `package.json` at startup.
|
|
6
|
-
*
|
|
7
|
-
* Kept out of `index.ts` so the read can be tested without executing the
|
|
8
|
-
* CLI's top-level `main()`.
|
|
9
|
-
*/
|
|
10
|
-
import { readFileSync } from 'node:fs';
|
|
11
|
-
/** Reported when `package.json` can't be read — deliberately not a plausible
|
|
12
|
-
* version number, so a bug report never carries a fabricated one. */
|
|
13
|
-
export const UNKNOWN_VERSION = '0.0.0-unknown';
|
|
14
|
-
/**
|
|
15
|
-
* Read `version` from the package manifest at `pkgPath`.
|
|
16
|
-
*
|
|
17
|
-
* A failure here is a broken install (missing/unreadable/corrupt
|
|
18
|
-
* `package.json`), not a normal condition: it used to fall back to a
|
|
19
|
-
* hard-coded `'0.4.0'`, which by 0.22.0 meant `--version` confidently
|
|
20
|
-
* reported a version the binary had not been for eighteen releases. Report
|
|
21
|
-
* the failure on stderr and return a value that reads as unknown.
|
|
22
|
-
*/
|
|
23
|
-
export function readCliVersion(pkgPath) {
|
|
24
|
-
try {
|
|
25
|
-
const pkg = JSON.parse(readFileSync(pkgPath, 'utf-8'));
|
|
26
|
-
if (typeof pkg.version === 'string' && pkg.version.length > 0)
|
|
27
|
-
return pkg.version;
|
|
28
|
-
process.stderr.write(`Warning: ${pkgPath} declares no "version"; reporting ${UNKNOWN_VERSION}.\n`);
|
|
29
|
-
return UNKNOWN_VERSION;
|
|
30
|
-
}
|
|
31
|
-
catch (err) {
|
|
32
|
-
process.stderr.write(`Warning: could not read the CLI version from ${pkgPath} ` +
|
|
33
|
-
`(${err instanceof Error ? err.message : String(err)}); ` +
|
|
34
|
-
`reporting ${UNKNOWN_VERSION}.\n`);
|
|
35
|
-
return UNKNOWN_VERSION;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
//# sourceMappingURL=version.js.map
|
package/dist/version.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;+DAE+D;AAE/D;;;;;GAKG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvC;qEACqE;AACrE,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;AAE/C;;;;;;;;GAQG;AACH,MAAM,UAAU,cAAc,CAAC,OAAe;IAC5C,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,OAAO,CAAC,CAAyB,CAAC;QAC/E,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ,IAAI,GAAG,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC;YAAE,OAAO,GAAG,CAAC,OAAO,CAAC;QAClF,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,YAAY,OAAO,qCAAqC,eAAe,KAAK,CAC7E,CAAC;QACF,OAAO,eAAe,CAAC;IACzB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,MAAM,CAAC,KAAK,CAClB,gDAAgD,OAAO,GAAG;YACxD,IAAI,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK;YACzD,aAAa,eAAe,KAAK,CACpC,CAAC;QACF,OAAO,eAAe,CAAC;IACzB,CAAC;AACH,CAAC"}
|