Skip to content

Commit 0b5460b

Browse files
committed
feat: add npmrc info to component schema info
1 parent a48fb5c commit 0b5460b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/src/main/java/com/tinyengine/it/service/app/impl/v1/AppV1ServiceImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ private List<Map<String, Object>> getComponentSchema(List<Component> components)
513513
schema.put("exportName", npm.get("exportName"));
514514
schema.put("destructuring", npm.get("destructuring") != null ? npm.get("destructuring") : false);
515515
schema.put("version", npm.get("version") != null ? npm.get("version") : "");
516+
schema.put("npmrc", npm.get("npmrc") != null ? npm.get("npmrc") : null);
516517

517518
schemas.add(schema);
518519
}

0 commit comments

Comments
 (0)