openxiangda 1.0.183 → 1.0.184

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 (2) hide show
  1. package/lib/cli.js +2 -2
  2. package/package.json +1 -1
package/lib/cli.js CHANGED
@@ -12894,7 +12894,7 @@ function saveRuntimeReleaseState(target, release) {
12894
12894
  updatedAt: new Date().toISOString(),
12895
12895
  };
12896
12896
  target.bound.updatedAt = new Date().toISOString();
12897
- if (target.state.profiles?.[target.profileName]) {
12897
+ if (!target.targetName && target.state.profiles?.[target.profileName]) {
12898
12898
  target.state.profiles[target.profileName] = target.bound;
12899
12899
  }
12900
12900
  saveProjectState(target.state);
@@ -21171,7 +21171,7 @@ function removeStateResource(target, kind, code) {
21171
21171
  if (!bucket || !target.bound.resources?.[bucket]?.[code]) return;
21172
21172
  delete target.bound.resources[bucket][code];
21173
21173
  target.bound.updatedAt = new Date().toISOString();
21174
- if (target.state.profiles?.[target.profileName]) {
21174
+ if (!target.targetName && target.state.profiles?.[target.profileName]) {
21175
21175
  target.state.profiles[target.profileName] = target.bound;
21176
21176
  }
21177
21177
  saveProjectState(target.state);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openxiangda",
3
- "version": "1.0.183",
3
+ "version": "1.0.184",
4
4
  "description": "OpenXiangda CLI, workspace build tools, runtime SDK, and form components.",
5
5
  "private": false,
6
6
  "bin": {