alibaba / alibaba/lowcode-engine

物料协议中npm属性问题

Open
#2,454 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

引擎版本:1.1.10。
现在在物料协议文档中npm.package定义不同。协议中不是必填,代码中是必填
![image](https://github.com/alibaba/lowcode-engine/assets/27946984/a33b3e06-f76a-4a03-978a-a7c095f1ae87)
![cfde56a2a1cb16b1d0a5c1568f81f03](https://github.com/alibaba/lowcode-engine/assets/27946984/6923785e-0f68-4766-be9b-26f84b85dbfd)
1. 这个是必填还是非必填?
2. 这个npm.package的含义是指什么?
npm.package中的名称是写我自己物料包的名,还是antd这种被低代码化组件包的名。测试中发现是我自己物料的包名,并且这个包名必须和这个物料的package.json中的名字保持一致,不然拖到画布上找不到物料,而npm.version就不需要保持一致。
如果说是自己物料的包名,其实就没必要写吧,在这个物料项目的package.json中控制就好吧。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the material protocol documentation with the implementation behavior described for npm.package and npm.version in engine 1.1.10. Verify whether npm.package is required, what it identifies, and whether its value must match the material package.json name. Done means the requirement and meaning are decided and the documentation and implementation agree.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.