@rainbow-robotics/muscat-plugin-kit 0.1.2-dev.36 → 0.1.2-dev.37
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/cli/bin/muscat-pk.mjs +1 -1
- package/cli/src/ros2.mjs +2 -0
- package/package.json +2 -2
package/cli/bin/muscat-pk.mjs
CHANGED
|
@@ -21,7 +21,7 @@ Usage: muscat-pk <command> [options]
|
|
|
21
21
|
Commands:
|
|
22
22
|
new [dir] Scaffold a new plugin project (prompts: author, email, description, type, front-package-manager)
|
|
23
23
|
type change Switch backend type (python | cpp | ros2-python | ros2-cpp)
|
|
24
|
-
build Build + lock deps + vendor wheels + zip (--no-zip: skip zip, --no-lock: skip python lock/vendor, --arch
|
|
24
|
+
build Build + lock deps + vendor wheels + zip (--no-zip: skip zip, --no-lock: skip python lock/vendor, --arch amd64|arm64|both)
|
|
25
25
|
dev Run Socket.IO bridge, dev:ui, and dev:back together
|
|
26
26
|
dev:ui Preview the plugin in a mini-Muscat (preview-host)
|
|
27
27
|
dev:back Run the plugin back end (python: watchfiles reload / ros2: Docker)
|
package/cli/src/ros2.mjs
CHANGED
|
@@ -76,6 +76,8 @@ export function colconBuild(root, { image = ROS2_DEV_IMAGE, symlink = false, arc
|
|
|
76
76
|
const script = [
|
|
77
77
|
"pip install -r requirements.txt --break-system-packages --ignore-installed -q || true",
|
|
78
78
|
"cd ros2_ws",
|
|
79
|
+
// ponytail: rm only on cross-arch; same-arch dev rebuilds keep the cache
|
|
80
|
+
...(arch ? ["rm -rf build"] : []),
|
|
79
81
|
`colcon build ${flag} --install-base ${installBase}`.trim(),
|
|
80
82
|
].join(" && ");
|
|
81
83
|
const label = arch
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rainbow-robotics/muscat-plugin-kit",
|
|
3
|
-
"version": "0.1.2-dev.
|
|
3
|
+
"version": "0.1.2-dev.37",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@types/react-dom": "^19.0.4"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@rainbow-robotics/preview-host": "0.1.2-dev.
|
|
34
|
+
"@rainbow-robotics/preview-host": "0.1.2-dev.37",
|
|
35
35
|
"socket.io": "^4.8.1"
|
|
36
36
|
},
|
|
37
37
|
"optionalDependencies": {
|