look-ui 1.2.4 → 1.2.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
 
2
2
 
3
+ ## [1.2.6](http://192.168.0.66/font-end/look-ui/compare/1.2.5...1.2.6) (2023-12-26)
4
+
5
+ ## [1.2.5](http://192.168.0.66/font-end/look-ui/compare/1.2.4...1.2.5) (2023-12-26)
6
+
7
+
8
+ ### Features
9
+
10
+ * 添加脚本-自动将日志合并到README ([dec855a](http://192.168.0.66/font-end/look-ui/commits/dec855a414e223173ba8bbbaf4e0a41e08252d27))
11
+
3
12
  ## [1.2.4](http://192.168.0.66/font-end/look-ui/compare/1.2.3...1.2.4) (2023-12-25)
4
13
 
5
14
 
package/README.md CHANGED
@@ -44,4 +44,3 @@
44
44
  1. 先在 look-ui 项目中执行 npm link(执行完毕后, 会在全局的 node_modules 文件夹里生成一个 look-ui 的软连接, 指向实际的 look-ui)
45
45
  2. 在 A 项目里执行 npm link look-ui(执行完毕后, 会在 A 项目里的 node_modules 文件夹里生成一个 look-ui 的软连接, 指向实际的 look-ui) 即可
46
46
 
47
-
package/changelog.js ADDED
@@ -0,0 +1,8 @@
1
+ const fs = require('fs');
2
+
3
+ const changelog = fs.readFileSync('CHANGELOG.md', 'utf-8');
4
+ const readme = fs.readFileSync('README.md', 'utf-8');
5
+
6
+ const updatedReadme = readme + changelog;
7
+
8
+ fs.writeFileSync('README.md', updatedReadme);