create-fcdev 0.3.0 → 0.3.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/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -130,7 +130,7 @@ export async function runCreate(argv, context) {
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
const relative = path.relative(context.cwd, directory);
|
|
133
|
-
context.stdout.write(`\n下一步:\n${relative === '' ? '' : ` cd ${relative}\n`}${args.install ? '' : ' npm install
|
|
133
|
+
context.stdout.write(`\n下一步:\n${relative === '' ? '' : ` cd ${relative}\n`}${args.install ? '' : ' npm install 安装依赖\n npm run sync 生成 IDE 配置\n'}`);
|
|
134
134
|
for (const note of template.notes) context.stdout.write(`${note}\n`);
|
|
135
135
|
return 0;
|
|
136
136
|
} catch (error) {
|
|
@@ -6,8 +6,10 @@
|
|
|
6
6
|
"disk": "fcdev disk src"
|
|
7
7
|
},
|
|
8
8
|
"notes": [
|
|
9
|
+
" npm run build 生成 build/sb2000/HELLO.EXE",
|
|
9
10
|
" npm run disk 生成软盘镜像 build/sb2000/HELLO.img",
|
|
10
11
|
" npm start 在模拟器里运行(只支持 Windows):先在 fcdev.json 里用 firmware 指定 SB2000 的 BIOS 文件,",
|
|
11
|
-
" DOS 启动后按两次回车跳过日期与时间,再输入 hello"
|
|
12
|
+
" DOS 启动后按两次回车跳过日期与时间,再输入 hello",
|
|
13
|
+
" npx fcdev docs 查开发文档"
|
|
12
14
|
]
|
|
13
15
|
}
|
|
@@ -6,8 +6,11 @@
|
|
|
6
6
|
"disk": "fcdev disk src"
|
|
7
7
|
},
|
|
8
8
|
"notes": [
|
|
9
|
+
" npm run build 生成 build/sb2000/HELLO.EXE",
|
|
9
10
|
" npm run disk 生成软盘镜像 build/sb2000/HELLO.img",
|
|
10
11
|
" npm start 在模拟器里运行(只支持 Windows):先在 fcdev.json 里用 firmware 指定 SB2000 的 BIOS 文件,",
|
|
11
|
-
" DOS 启动后按两次回车跳过日期与时间,再输入 hello"
|
|
12
|
+
" DOS 启动后按两次回车跳过日期与时间,再输入 hello",
|
|
13
|
+
" npx fcdev docs 查开发文档",
|
|
14
|
+
" npx fcdev api 查 SB2000 的 C 函数接口"
|
|
12
15
|
]
|
|
13
16
|
}
|