@zhnyfe/zhnyfe_xnom 0.0.0-alpha.1
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/README.md +26 -0
- package/dist/assets/17094eba52722bdefd71.png +0 -0
- package/dist/assets/213070deae5738d6509b.png +0 -0
- package/dist/assets/2a84d048717fc397253c.png +0 -0
- package/dist/assets/46ac1bfe350f7f38e22c.png +0 -0
- package/dist/assets/50157e3bd0227aa82a75.png +0 -0
- package/dist/assets/92c3faa3acd2054d984b.png +0 -0
- package/dist/sdk.common.js +44 -0
- package/dist/sdk.esm.js +111429 -0
- package/package.json +94 -0
package/README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# xnsk_fe_xnom 先农数科前端团队openlayers功能相关的SDK
|
|
2
|
+
|
|
3
|
+
## 项目初始化
|
|
4
|
+
|
|
5
|
+
- node 版本 v14.21.3
|
|
6
|
+
|
|
7
|
+
## 项目搭建与运行
|
|
8
|
+
```bash
|
|
9
|
+
# 安装依赖
|
|
10
|
+
$ yarn install
|
|
11
|
+
|
|
12
|
+
# 运行项目(开发)
|
|
13
|
+
$ yarn serve
|
|
14
|
+
|
|
15
|
+
# 编译部署
|
|
16
|
+
$ yarn build
|
|
17
|
+
|
|
18
|
+
# eslint
|
|
19
|
+
$ yarn lint
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## 提交修改
|
|
24
|
+
项目的**changelog**是基于**commit message**生成,```git commit```时message信息需要遵循[Angular规范](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#heading=h.greljkmo14y0),项目内置了[commitlint](https://github.com/conventional-changelog/commitlint)会在每次进行git commit时对message信息进行校验,格式不符合规范将中止提交。
|
|
25
|
+
推荐全局安装[commitizen](https://github.com/conventional-changelog/commitlint)来快速创建符合规范的commit message
|
|
26
|
+
如果使用vscode进行开发,强烈推荐安装[commitizen插件](https://marketplace.visualstudio.com/items?itemName=KnisterPeter.vscode-commitizen)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|