GithubHelp home page GithubHelp logo

modyqyw / uni-helper Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 1.0 14.37 MB

uni-helper 旨在增强 uni-app 系列产品的体验。

Home Page: https://modyqyw.github.io/uni-helper/

License: MIT License

JavaScript 1.50% Shell 0.07% TypeScript 98.43%

uni-helper's Introduction

Hi there. I'm ModyQyW. 👋🏻

I'm a front-end developer using Vue and React (mostly Vue 😝). I'm also a TypeScript full-stack developer (mostly CRUD 🤣). I keep learning to make myself better. You can check out my GitHub profile, my website, or my resume to learn more about me.

Please consider sponsor me if you think my work are valuable. 🤩

Please consider hire me for your project and pay me by the hour if you find some of my work experience may do a great help. 🥹

ModyQyW's github stats ModyQyW's Top Langs

uni-helper's People

Contributors

11ze avatar modyqyw avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

torns

uni-helper's Issues

uni-app-network tests

目前基于 vue 生态圈中首推的 vitest,但 uni-app 官方未提供相关说明。如果你觉得有必要,请到 这个 issue 点 👍🏻。

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/docs.yml
  • actions/checkout v3
  • pnpm/action-setup v2
  • actions/setup-node v3
  • peaceiris/actions-gh-pages v3
  • wearerequired/git-mirror-action v1
.github/workflows/stale.yml
  • actions/stale v6
.github/workflows/sync.yml
npm
package.json
  • @babel/core ^7.20.2
  • @babel/eslint-parser ^7.19.1
  • @commitlint/cli ^17.2.0
  • @commitlint/config-conventional ^17.2.0
  • @commitlint/prompt ^17.2.0
  • @dcloudio/types 3.0.15
  • @modyqyw/fabric ^5.11.0
  • @swc/core ^1.3.14
  • @tsconfig/node18 ^1.0.1
  • @types/babel__core ^7.1.19
  • @types/eslint ^8.4.10
  • @types/node ^18.11.9
  • @typescript-eslint/eslint-plugin ^5.42.0
  • @typescript-eslint/parser ^5.42.0
  • @vitest/coverage-c8 ^0.24.5
  • @vitest/ui ^0.24.5
  • c8 ^7.12.0
  • commitizen ^4.2.5
  • eslint ^8.26.0
  • husky ^8.0.1
  • is-ci ^3.0.1
  • lint-staged ^13.0.3
  • markdownlint-cli ^0.32.2
  • npm-run-all ^4.1.5
  • ovsx ^0.5.2
  • prettier ^2.7.1
  • release-it ^15.5.0
  • rimraf ^3.0.2
  • stylelint ^14.14.1
  • ts-node ^10.9.1
  • tsup ^6.4.0
  • tsx ^3.11.0
  • typescript ^4.8.4
  • vitest ^0.24.5
  • vsce ^2.13.0
  • node >=14.16
packages/docs/package.json
  • vitepress ^1.0.0-alpha.27
  • vue ^3.2.41
  • node >=14.16
packages/uni-app-deploy/package.json
  • @types/lodash ^4.14.188
  • @types/lodash-es ^4.17.6
  • bundle-require ^3.1.2
  • commander ^9.4.1
  • esbuild ^0.15.13
  • globby ^13.1.2
  • got ^12.5.2
  • joycon ^3.1.1
  • lodash ^4.17.21
  • lodash-es ^4.17.21
  • lodash-unified ^1.0.3
  • minidev ^1.6.1
  • miniprogram-ci ^1.8.35
  • p-retry ^5.1.1
  • picocolors ^1.0.0
  • pino ^8.7.0
  • pino-pretty ^9.1.1
  • strip-json-comments ^5.0.0
  • node >=14.16
packages/uni-app-network/package.json
  • @dcloudio/types 3.0.15
  • @types/qs ^6.9.7
  • @types/ramda ^0.28.18
  • @types/statuses ^2.0.0
  • qs ^6.11.0
  • ramda ^0.28.0
  • statuses ^2.0.1
  • @types/ungap__url-search-params ^0.1.0
  • @ungap/url-search-params ^0.2.2
  • node >=14.16
packages/uni-app-promises/package.json
  • @dcloudio/types 3.0.15
  • vue ^3.2.41
  • vue ^3.0.0
  • node >=14.16
packages/uni-app-types/package.json
  • @dcloudio/types 3.0.15
  • vue3 ^3.2.41
  • node >=14.16
packages/uni-app-use/package.json
  • @dcloudio/types 3.0.15
  • @dcloudio/uni-app 3.0.0-alpha-3060820221027002
  • @vueuse/core ^9.4.0
  • immer ^9.0.16
  • vue ^3.2.41
  • vue ^3.0.0
  • node >=14.16
packages/uni-cloud-types/package.json
  • @dcloudio/types 3.0.15
  • vue3 ^3.2.41
  • node >=14.16
packages/uni-ui-types/package.json
  • @dcloudio/types 3.0.15
  • vue3 ^3.2.41
  • node >=14.16
packages/vite-plugin-uni-app-tailwind/package.json
  • @babel/core ^7.20.2
  • @vivaxy/wxml ^2.1.0
  • postcss ^8.4.18
  • tailwindcss ^3.2.2
  • vite ^3.2.2
  • tailwindcss ^3.0.0
  • vite ^2.0.0 || ^3.0.0
  • node >=12.2
packages/vscode-uni-app-schemas/package.json
  • vscode ^1.40.0
packages/vscode-uni-app-snippets/package.json
  • vscode ^1.40.0
packages/vscode-uni-cloud-snippets/package.json
  • vscode ^1.40.0
packages/vscode-uni-helper/package.json
  • vscode ^1.40.0
packages/vscode-uni-ui-snippets/package.json
  • vscode ^1.40.0
nvm
.nvmrc

  • Check this box to trigger a request for Renovate to run again on this repository

只有驼峰组件才有提示

Describe the bug

描述问题

不在@vue/runtime-dom.d.ts中定义的组件,能正常识别类型,并且标签会是绿色的颜色
<uni-badge text="1"></uni-badge>
<cover-view></cover-view>

如果组件存在@vue/runtime-dom.d.ts中,则会走这里的定义,并且标签是蓝色的颜色
<button type="primary">test</button>
这个时候 type 就没有 primary 这个属性,虽然运行不会报错,但是ts会提示。

然后我尝试把组件名称大写,就是会是正常的,但是运行却不行,提示 [Vue warn]: Failed to resolve component: Button
<Button type="primary">test</Button>

Reproduction

复现

<template> <View class="content"> <Button type="primary>test</Button> <button>test</button> </View> </template>

System Info

系统信息

System:
    OS: macOS 12.3.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 3.94 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.1 - ~/.nvm/versions/node/v16.13.1/bin/node
    Yarn: 1.22.19 - ~/.nvm/versions/node/v16.13.1/bin/yarn
    npm: 8.1.2 - ~/.nvm/versions/node/v16.13.1/bin/npm
  Browsers:
    Chrome: 105.0.5195.125
    Firefox: 98.0.2
    Safari: 15.4

Used Package Manager

使用的包管理器

pnpm

Validations

核对

  • Follow our Code of Conduct
    遵循我们的 行为准则

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
    检查是否已经有一个报告相同错误的问题,以避免重复创建。

  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
    这是一个具体的错误。如有疑问,请开启 GitHub 讨论。

  • The provided reproduction is a minimal reproducible of the bug.
    所提供的复现是这个问题的 最小复现

templete中大写可以识别,小写不行

Describe the bug

描述问题

小写才能识别,但是小写页面上才能正常显示。
image
image
image

image

Reproduction

复现

安装正常使用,vscode 编辑模式下查看

System Info

系统信息

vscode + volar

Used Package Manager

使用的包管理器

yarn

Validations

核对

  • Follow our Code of Conduct
    遵循我们的 行为准则

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
    检查是否已经有一个报告相同错误的问题,以避免重复创建。

  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
    这是一个具体的错误。如有疑问,请开启 GitHub 讨论。

  • The provided reproduction is a minimal reproducible of the bug.
    所提供的复现是这个问题的 最小复现

uni-app-schemas展示内联颜色修饰器和颜色选取器

Clear and concise description of the problem

对问题的清晰和简明的描述

扩展的现状

Snipaste_2022-09-21_22-31-45

Suggested solution

推荐的解决方案

在vscode json.schemas中,像这样配置规则

Snipaste_2022-09-21_22-34-37

即可达到这样的效果

Snipaste_2022-09-21_22-35-40

Alternative

替代方案

No response

Additional context

额外上下文

No response

Validations

检查

  • Follow our Code of Conduct
    遵循我们的 行为准则

  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
    检查是否已经有一个要求相同功能的问题,以避免重复创建。

Atom plugin

I use VSCode mostly and know little about Atom. Also, I have no more time to learn about Atom plugin. Welcome PR. :)

subNVues 类型出错

Describe the bug

描述问题

官网文档中 虽然subNVues 标明是一个Object 类型,但是实际上需要传的是Array<Object>, 可以参考官网的具体示例
https://uniapp.dcloud.net.cn/collocation/pages.html#app-subnvues

"subNVues":[{//侧滑菜单
	"id": "drawer", //subNVue 的 id,可通过 uni.getSubNVueById('drawer') 获取
	"path": "pages/index/drawer.nvue", // nvue 路径
	"style": { //webview style 子集,文档可暂时开放出来位置,大小相关配置
		"position": "popup", //除 popup 外,其他值域参考 5+ webview position 文档
		"width": "50%"
	}

}, {//弹出层
	"id": "popup",
	"path": "pages/index/popup",
	"style": {
		"position": "popup",
		"margin":"auto",
		"width": "150px",
		"height": "150px"
	}

}, {//自定义头
	"id": "nav",
	"path": "pages/index/nav",
	"style": {
		"position": "dock",
		"height": "44px"
	}

}]

Reproduction

复现

, 虽然只是个警告 但是逼死强迫症

System Info

系统信息

Used Package Manager

使用的包管理器

yarn

Validations

核对

  • Follow our Code of Conduct
    遵循我们的 行为准则

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
    检查是否已经有一个报告相同错误的问题,以避免重复创建。

  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
    这是一个具体的错误。如有疑问,请开启 GitHub 讨论。

  • The provided reproduction is a minimal reproducible of the bug.
    所提供的复现是这个问题的 最小复现

uni-ui-types 类型提示未生效

描述问题

安装uni-ui-types,在vscode中uni-ui组件的属性没有类型提示
image
image

复现

安装uni-ui-types,在vscode中调用uni-ui组件时,组件属性没有显示具体的类型提示

系统信息

System:
    OS: Windows 10 10.0.22000
    CPU: (12) x64 AMD Ryzen 5 5600H with Radeon Graphics
    Memory: 2.35 GB / 15.37 GB
  Binaries:
    Node: 14.19.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.18 - C:\Program Files\nodejs\yarn.CMD
    npm: 6.14.16 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (106.0.1370.52)
    Internet Explorer: 11.0.22000.120

使用的包管理器

yarn

核对

  • 遵循我们的 行为准则
  • 检查是否已经有一个报告相同错误的问题,以避免重复创建。
  • 这是一个具体的错误。请开启 GitHub 讨论你的疑问。
  • 所提供的复现是这个问题的 最小复现

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.