openxiangda 1.0.232 → 1.0.233

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.
@@ -215,6 +215,7 @@ function sourceHashForCategory(files, category) {
215
215
  }
216
216
 
217
217
  function discoverResourceInventory(workspaceRoot, files) {
218
+ const sourcePaths = new Set(files.map(file => file.relativePath));
218
219
  const inventory = {
219
220
  forms: new Set(),
220
221
  functions: new Set(),
@@ -238,8 +239,19 @@ function discoverResourceInventory(workspaceRoot, files) {
238
239
  ['src/workflows/', inventory.workflows],
239
240
  ]) {
240
241
  if (relative.startsWith(prefix)) {
241
- const code = relative.slice(prefix.length).split('/')[0];
242
- if (code && !code.startsWith('.')) bucket.add(code);
242
+ const segments = relative.slice(prefix.length).split('/');
243
+ const code = segments[0];
244
+ // Resource source lives under src/<kind>/<code>/... . Files directly
245
+ // under src/forms (for example member-common.ts) are shared helpers,
246
+ // not deployable resources.
247
+ if (!code || code.startsWith('.') || segments.length < 2) continue;
248
+ if (
249
+ prefix === 'src/forms/' &&
250
+ !sourcePaths.has(`src/forms/${code}/schema.ts`)
251
+ ) {
252
+ continue;
253
+ }
254
+ bucket.add(code);
243
255
  }
244
256
  }
245
257
  if (!relative.endsWith('.json')) continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openxiangda",
3
- "version": "1.0.232",
3
+ "version": "1.0.233",
4
4
  "description": "OpenXiangda CLI, workspace build tools, runtime SDK, and form components.",
5
5
  "private": false,
6
6
  "bin": {