@xunlei-open/create-miniapp 0.1.1-beta.8 → 0.1.1-beta.9
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/templates/react/manifest.json +1 -2
- package/templates/react-ts/manifest.json +1 -2
- package/templates/vanilla/manifest.json +1 -2
- package/templates/vanilla-ts/manifest.json +1 -2
- package/templates/vue/manifest.json +1 -2
- package/templates/vue-ts/manifest.json +1 -2
package/README.md
CHANGED
|
@@ -29,6 +29,6 @@ npm run package
|
|
|
29
29
|
|
|
30
30
|
开发时在迅雷客户端中加载本地应用的目录,保持 dev server 运行。打包结果位于 `output/`。
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
生成项目包含创建下载任务的页面示例。所有模板使用 `900 × 600` 的窗口内容尺寸;`entry.type` 省略,使用默认的 `miniapp` 入口。应用信息和权限在 `manifest.json` 中配置,开发与构建配置使用 `miniapp.config.ts` 或 `.js`。
|
|
33
33
|
|
|
34
34
|
[项目入口](https://github.com/xunlei-open/miniapp-devkit#readme) · [官方文档](https://open.xunlei.com/doc/miniapp/introduction)
|
package/dist/index.mjs
CHANGED
|
@@ -9,7 +9,7 @@ import fs from "fs-extra";
|
|
|
9
9
|
import validate from "validate-npm-package-name";
|
|
10
10
|
import { checkbox, confirm, input, select } from "@inquirer/prompts";
|
|
11
11
|
//#region package.json
|
|
12
|
-
var version = "0.1.1-beta.
|
|
12
|
+
var version = "0.1.1-beta.9";
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/utils.ts
|
|
15
15
|
function toPackageName(input) {
|
package/package.json
CHANGED