uni-helper / create-uni

🛠️快速创建uni-app项目
https://uni-helper.js.org/create-uni
MIT License
83 stars 7 forks source link

npx create-uni --info 输出需要处理 #35

Closed ModyQyW closed 6 months ago

ModyQyW commented 6 months ago

描述问题

➜  ~/Documents/uni-helper/vitesse-uni-app git:(main) npx create-uni@latest --info              
✔ 请选择需要反馈的依赖 › @uni-helper/eslint-config, @uni-helper/uni-app-types, @uni-helper/uni-env, @uni-helper/unocss-preset-uni, @uni-helper/vite-plugin-uni-components, @uni-helper/vite-plugin-uni-layouts, @uni-helper/vite-plugin-uni-manifest, @uni-helper/vite-plugin-uni-pages, @uni-helper/volar-service-uni-pages
✔ 请选择需要反馈的vscode插件 › uni-highlight-vscode
----------------------------------------------

基础环境信息:
- os: `macOS 14.4.1`
- node: `20.12.1`
- vscode: `1.88.1`
- volar: `2.0.12`

基础依赖信息:
- vue: `[object Object]`
- vite: `[object Object]`
- @dcloudio/uni-app: `[object Object]`

uni-helper依赖信息:
- @uni-helper/eslint-config: `0.0.6`
- @uni-helper/uni-app-types: `0.5.12`
- @uni-helper/uni-env: `0.1.1`
- @uni-helper/unocss-preset-uni: `0.2.6`
- @uni-helper/vite-plugin-uni-components: `0.0.8`
- @uni-helper/vite-plugin-uni-layouts: `0.1.7`
- @uni-helper/vite-plugin-uni-manifest: `0.2.3`
- @uni-helper/vite-plugin-uni-pages: `0.2.14`
- @uni-helper/volar-service-uni-pages: `0.2.14`

uni-helper插件信息:
- uni-highlight-vscode: `0.3.10`

----------------------------------------------
感谢使用uni-helper,请提供以上信息以便我们排查问题。

👉 uni-help官网: https://uni-helper.js.org/
👉 改进建议: https://github.com/uni-helper/create-uni/issues/new/choose

复现

git clone git@github.com:uni-helper/vitesse-uni-app.git
cd vitesse-uni-app
pnpm install
npx create-uni --info

系统信息

➜  ~/Documents/uni-helper/vitesse-uni-app git:(main) npx envinfo --system --binaries --browsers
Need to install the following packages:
envinfo@7.12.0
Ok to proceed? (y) 

  System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 145.48 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.1 - ~/Library/Caches/fnm_multishells/95798_1713148680213/bin/node
    npm: 10.5.0 - ~/Library/Caches/fnm_multishells/95798_1713148680213/bin/npm
    pnpm: 8.14.1 - ~/Library/Caches/fnm_multishells/95798_1713148680213/bin/pnpm
    bun: 1.1.3 - /opt/homebrew/bin/bun
    Watchman: 2024.04.08.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 123.0.6312.122
    Edge: 123.0.2420.97
    Safari: 17.4.1

使用的包管理器

pnpm

核对

FliPPeDround commented 6 months ago

基础依赖信息显示不正确(显示出 [object Object] 而不是实际的版本号) 已修复,待发布 使用antfu/local-pkg获取node_modules里的版本信息