desi77-cli 0.1.28 → 0.1.30
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/desi77-cli.js +110 -142
- package/package.json +16 -14
package/dist/desi77-cli.js
CHANGED
|
@@ -1,148 +1,116 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
// src/desi77-cli.ts
|
|
4
2
|
import { geom_cli } from "geomcli";
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import { bridgeDef, capsuleDef, cylinderDef, door1arcDef, doubleBoneDef, factoryDef, heliostatDef, houseDef, minifootDef, minihelioDef, minimirDef, pcarDef, plugTorqueDef, rccarDef, singleBoneDef, springIntDef, springOneDef, springSideDef, springTorqueADef, springTorqueBDef, springTorqueCDef, springWormDef, squareDef, stoneTowerDef, trackXYDef, trackXZDef, triangleDef, tunnelDef } from "desi77";
|
|
4
|
+
//#region package.json
|
|
7
5
|
var package_default = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
typescript: "^6.0.3",
|
|
82
|
-
"typescript-eslint": "^8.59.4",
|
|
83
|
-
vitest: "^4.1.7"
|
|
84
|
-
}
|
|
6
|
+
name: "desi77-cli",
|
|
7
|
+
description: "The cli-frontend for desi77",
|
|
8
|
+
version: "0.1.30",
|
|
9
|
+
"private": false,
|
|
10
|
+
repository: {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/charlyoleg2/parame77.git"
|
|
13
|
+
},
|
|
14
|
+
homepage: "https://charlyoleg2.github.io/parame77/",
|
|
15
|
+
author: "charlyoleg2",
|
|
16
|
+
license: "ISC",
|
|
17
|
+
keywords: [
|
|
18
|
+
"parametrix",
|
|
19
|
+
"3D",
|
|
20
|
+
"CAD"
|
|
21
|
+
],
|
|
22
|
+
type: "module",
|
|
23
|
+
exports: { ".": {
|
|
24
|
+
"types": "./dist/desi77-cli.d.ts",
|
|
25
|
+
"default": "./dist/desi77-cli.js"
|
|
26
|
+
} },
|
|
27
|
+
bin: { "desi77-cli": "dist/desi77-cli.js" },
|
|
28
|
+
files: [
|
|
29
|
+
"dist/",
|
|
30
|
+
"!dist/**/*.d.ts",
|
|
31
|
+
"!dist/**/*.map",
|
|
32
|
+
"!dist/**/*.test.*",
|
|
33
|
+
"!dist/**/*.spec.*"
|
|
34
|
+
],
|
|
35
|
+
tsdown: {
|
|
36
|
+
"entry": ["src/desi77-cli.ts"],
|
|
37
|
+
"format": "esm",
|
|
38
|
+
"target": "esnext",
|
|
39
|
+
"fixedExtension": false,
|
|
40
|
+
"splitting": false,
|
|
41
|
+
"dts": false,
|
|
42
|
+
"sourcemap": false,
|
|
43
|
+
"clean": true
|
|
44
|
+
},
|
|
45
|
+
scripts: {
|
|
46
|
+
"dev": "tsdown --watch",
|
|
47
|
+
"build": "tsdown",
|
|
48
|
+
"check": "tsc --noEmit",
|
|
49
|
+
"pretty": "prettier --check .",
|
|
50
|
+
"format": "prettier --write .",
|
|
51
|
+
"lint": "eslint .",
|
|
52
|
+
"test:unit": "vitest",
|
|
53
|
+
"test:unit:once": "vitest --run",
|
|
54
|
+
"test:bats": "bats test/test1.bats",
|
|
55
|
+
"ci": "run-s check build pretty lint test:unit:once test:bats",
|
|
56
|
+
"run": "dist/desi77-cli.js",
|
|
57
|
+
"clean": "rimraf build dist node_modules"
|
|
58
|
+
},
|
|
59
|
+
dependencies: {
|
|
60
|
+
"desi77": "^0.1.28",
|
|
61
|
+
"geomcli": "^1.0.41",
|
|
62
|
+
"geometrix": "^1.0.41"
|
|
63
|
+
},
|
|
64
|
+
devDependencies: {
|
|
65
|
+
"@eslint/js": "^10.0.1",
|
|
66
|
+
"@types/eslint__js": "^8.42.3",
|
|
67
|
+
"@types/node": "^26.6.5",
|
|
68
|
+
"bats": "^1.13.0",
|
|
69
|
+
"eslint": "^10.13.0",
|
|
70
|
+
"eslint-config-prettier": "^10.1.8",
|
|
71
|
+
"npm-run-all2": "^9.0.3",
|
|
72
|
+
"prettier": "^3.9.10",
|
|
73
|
+
"rimraf": "^6.1.3",
|
|
74
|
+
"tsdown": "^0.23.1",
|
|
75
|
+
"typescript": "^6.0.3",
|
|
76
|
+
"typescript-eslint": "^8.71.2",
|
|
77
|
+
"vitest": "^5.0.5"
|
|
78
|
+
}
|
|
85
79
|
};
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"desi77/door1arc": door1arcDef,
|
|
118
|
-
"desi77/stoneTower": stoneTowerDef,
|
|
119
|
-
"desi77/house": houseDef,
|
|
120
|
-
"desi77/factory": factoryDef,
|
|
121
|
-
"desi77/springTorqueA": springTorqueADef,
|
|
122
|
-
"desi77/plugTorque": plugTorqueDef,
|
|
123
|
-
"desi77/springTorqueB": springTorqueBDef,
|
|
124
|
-
"desi77/springTorqueC": springTorqueCDef,
|
|
125
|
-
"desi77/springWorm": springWormDef,
|
|
126
|
-
"desi77/springOne": springOneDef,
|
|
127
|
-
"desi77/springSide": springSideDef,
|
|
128
|
-
"desi77/springInt": springIntDef,
|
|
129
|
-
"desi77/heliostat": heliostatDef,
|
|
130
|
-
"desi77/minifoot": minifootDef,
|
|
131
|
-
"desi77/minihelio": minihelioDef,
|
|
132
|
-
"desi77/minimir": minimirDef,
|
|
133
|
-
"desi77/rccar": rccarDef,
|
|
134
|
-
"desi77/singleBone": singleBoneDef,
|
|
135
|
-
"desi77/doubleBone": doubleBoneDef,
|
|
136
|
-
"desi77/pcar": pcarDef,
|
|
137
|
-
"desi77/capsule": capsuleDef,
|
|
138
|
-
"desi77/tunnel": tunnelDef,
|
|
139
|
-
"desi77/bridge": bridgeDef,
|
|
140
|
-
"desi77/trackXY": trackXYDef,
|
|
141
|
-
"desi77/trackXZ": trackXZDef,
|
|
142
|
-
"desi77/square": squareDef,
|
|
143
|
-
"desi77/triangle": triangleDef,
|
|
144
|
-
"desi77/cylinder": cylinderDef
|
|
80
|
+
//#endregion
|
|
81
|
+
//#region src/designList.ts
|
|
82
|
+
const designList = {
|
|
83
|
+
"desi77/door1arc": door1arcDef,
|
|
84
|
+
"desi77/stoneTower": stoneTowerDef,
|
|
85
|
+
"desi77/house": houseDef,
|
|
86
|
+
"desi77/factory": factoryDef,
|
|
87
|
+
"desi77/springTorqueA": springTorqueADef,
|
|
88
|
+
"desi77/plugTorque": plugTorqueDef,
|
|
89
|
+
"desi77/springTorqueB": springTorqueBDef,
|
|
90
|
+
"desi77/springTorqueC": springTorqueCDef,
|
|
91
|
+
"desi77/springWorm": springWormDef,
|
|
92
|
+
"desi77/springOne": springOneDef,
|
|
93
|
+
"desi77/springSide": springSideDef,
|
|
94
|
+
"desi77/springInt": springIntDef,
|
|
95
|
+
"desi77/heliostat": heliostatDef,
|
|
96
|
+
"desi77/minifoot": minifootDef,
|
|
97
|
+
"desi77/minihelio": minihelioDef,
|
|
98
|
+
"desi77/minimir": minimirDef,
|
|
99
|
+
"desi77/rccar": rccarDef,
|
|
100
|
+
"desi77/singleBone": singleBoneDef,
|
|
101
|
+
"desi77/doubleBone": doubleBoneDef,
|
|
102
|
+
"desi77/pcar": pcarDef,
|
|
103
|
+
"desi77/capsule": capsuleDef,
|
|
104
|
+
"desi77/tunnel": tunnelDef,
|
|
105
|
+
"desi77/bridge": bridgeDef,
|
|
106
|
+
"desi77/trackXY": trackXYDef,
|
|
107
|
+
"desi77/trackXZ": trackXZDef,
|
|
108
|
+
"desi77/square": squareDef,
|
|
109
|
+
"desi77/triangle": triangleDef,
|
|
110
|
+
"desi77/cylinder": cylinderDef
|
|
145
111
|
};
|
|
146
|
-
|
|
147
|
-
|
|
112
|
+
//#endregion
|
|
113
|
+
//#region src/desi77-cli.ts
|
|
148
114
|
await geom_cli(process.argv, designList, package_default, "output");
|
|
115
|
+
//#endregion
|
|
116
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "desi77-cli",
|
|
3
3
|
"description": "The cli-frontend for desi77",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.30",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -32,19 +32,21 @@
|
|
|
32
32
|
"!dist/**/*.test.*",
|
|
33
33
|
"!dist/**/*.spec.*"
|
|
34
34
|
],
|
|
35
|
-
"
|
|
35
|
+
"tsdown": {
|
|
36
36
|
"entry": [
|
|
37
37
|
"src/desi77-cli.ts"
|
|
38
38
|
],
|
|
39
39
|
"format": "esm",
|
|
40
|
+
"target": "esnext",
|
|
41
|
+
"fixedExtension": false,
|
|
40
42
|
"splitting": false,
|
|
41
43
|
"dts": false,
|
|
42
44
|
"sourcemap": false,
|
|
43
45
|
"clean": true
|
|
44
46
|
},
|
|
45
47
|
"scripts": {
|
|
46
|
-
"dev": "
|
|
47
|
-
"build": "
|
|
48
|
+
"dev": "tsdown --watch",
|
|
49
|
+
"build": "tsdown",
|
|
48
50
|
"check": "tsc --noEmit",
|
|
49
51
|
"pretty": "prettier --check .",
|
|
50
52
|
"format": "prettier --write .",
|
|
@@ -57,23 +59,23 @@
|
|
|
57
59
|
"clean": "rimraf build dist node_modules"
|
|
58
60
|
},
|
|
59
61
|
"dependencies": {
|
|
60
|
-
"desi77": "^0.1.
|
|
61
|
-
"geomcli": "^1.0.
|
|
62
|
-
"geometrix": "^1.0.
|
|
62
|
+
"desi77": "^0.1.28",
|
|
63
|
+
"geomcli": "^1.0.41",
|
|
64
|
+
"geometrix": "^1.0.41"
|
|
63
65
|
},
|
|
64
66
|
"devDependencies": {
|
|
65
67
|
"@eslint/js": "^10.0.1",
|
|
66
68
|
"@types/eslint__js": "^8.42.3",
|
|
67
|
-
"@types/node": "^
|
|
69
|
+
"@types/node": "^26.6.5",
|
|
68
70
|
"bats": "^1.13.0",
|
|
69
|
-
"eslint": "^10.
|
|
71
|
+
"eslint": "^10.13.0",
|
|
70
72
|
"eslint-config-prettier": "^10.1.8",
|
|
71
|
-
"npm-run-all2": "^9.0.
|
|
72
|
-
"prettier": "^3.
|
|
73
|
+
"npm-run-all2": "^9.0.3",
|
|
74
|
+
"prettier": "^3.9.10",
|
|
73
75
|
"rimraf": "^6.1.3",
|
|
74
|
-
"
|
|
76
|
+
"tsdown": "^0.23.1",
|
|
75
77
|
"typescript": "^6.0.3",
|
|
76
|
-
"typescript-eslint": "^8.
|
|
77
|
-
"vitest": "^
|
|
78
|
+
"typescript-eslint": "^8.71.2",
|
|
79
|
+
"vitest": "^5.0.5"
|
|
78
80
|
}
|
|
79
81
|
}
|