uxos 1.0.4 → 1.0.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/cli.js +3 -1
- package/package.json +1 -1
- package/workflows/init.md +1 -1
- package/workflows/step1.md +1 -1
- package/workflows/step2.md +1 -1
package/cli.js
CHANGED
|
@@ -4,6 +4,8 @@ const fs = require('fs');
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
|
|
6
6
|
const targetDir = process.cwd();
|
|
7
|
+
const packageJson = require(path.join(__dirname, 'package.json'));
|
|
8
|
+
const version = packageJson.version;
|
|
7
9
|
|
|
8
10
|
// 拷贝所有文件到项目目录
|
|
9
11
|
const copyFiles = [
|
|
@@ -29,4 +31,4 @@ copyFiles.forEach(([src, dest]) => {
|
|
|
29
31
|
});
|
|
30
32
|
|
|
31
33
|
// 纯执行指令,无额外说明
|
|
32
|
-
console.log(
|
|
34
|
+
console.log(`\n[UXOS v${version}] WORKFLOW: workflows/init.md`);
|
package/package.json
CHANGED
package/workflows/init.md
CHANGED
package/workflows/step1.md
CHANGED