@weaxs/openclaw-stock-analysis 0.1.8 → 0.1.9
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/package.json +1 -1
- package/scripts/sync-version.sh +3 -2
package/package.json
CHANGED
package/scripts/sync-version.sh
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
# - package.json (npm root package)
|
|
11
11
|
# - package-lock.json (kept in lockstep so `npm publish` doesn't warn)
|
|
12
12
|
# - openclaw/package.json (OpenClaw npm package version)
|
|
13
|
+
# - dsh/package.json (dsh npm package version)
|
|
13
14
|
#
|
|
14
15
|
# Idempotent: running twice with the same tag is a no-op.
|
|
15
16
|
set -euo pipefail
|
|
@@ -42,10 +43,10 @@ p.write_text(new)
|
|
|
42
43
|
print(f" pyproject.toml: {n} substitution(s)")
|
|
43
44
|
PY
|
|
44
45
|
|
|
45
|
-
# npm root and
|
|
46
|
+
# npm root and host sub-packages
|
|
46
47
|
# `npm version` refuses in a workspace unless we bypass with --no-git-tag-version
|
|
47
48
|
# --allow-same-version keeps it idempotent when the tag already matches.
|
|
48
|
-
for dir in "." "openclaw"; do
|
|
49
|
+
for dir in "." "openclaw" "dsh"; do
|
|
49
50
|
if [[ -f "$dir/package.json" ]]; then
|
|
50
51
|
(cd "$dir" && npm version "$VERSION" --no-git-tag-version --allow-same-version) >/dev/null
|
|
51
52
|
echo " $dir/package.json: bumped"
|