Yang Mingshan

Results 13 issues of Yang Mingshan

It would be nice if this plugin can be upgrade to PostCSS 8 new API. https://github.com/postcss/postcss/releases/tag/8.0.0

### Describe the bug 之前注释掉 `packages/tools` 中的内联测试就可以单独 build,最新代码不行。应该是升级 unbuild 导致的,经测试 unbuild v0.7.4 是最后一个可以正常工作的版本。 ### Reproduction 注释掉 `packages/tools` 中的内联测试,然后 cd packages/tools & pnpm build ### System Info ```Shell macos, node v16.16.0,...

Fixes #97 考虑到 `optionalTypes`,observer 函数的参数类型可能很难推断出来,所以我将其设置为了 `any`。如果你有可行方案就拒绝这个 PR 吧。 另外,`ShortProperty` 与 `PropertyType` 是重复的,所以我删除了 `ShortProperty`,全部使用 `PropertyType`。

**When** Current location is `http://localhost?a=a#b` **Do** ```js history.push('/'); // OR history.replace('/'); ``` **Expect** Location change to `http://localhost` **Actual** Location still is `http://localhost?a=a#b`

补全了一些缺失的类型。 Fixes #235 #302 #303 #304

`Page` 和 `Component` 的实例都新增了 `renderer` 属性,其值为 `webview` 或 `skyline` https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/migration/compatibility.html#:~:text=%E6%94%AF%E6%8C%81%E4%B8%8E%E5%B7%AE%E5%BC%82-,%E6%A0%B9%E6%8D%AE%E4%B8%8D%E5%90%8C%20renderer%20%E5%85%BC%E5%AE%B9,-%E6%9C%89%E6%97%B6%EF%BC%8C%E5%8D%95%E7%BA%AF%E7%94%A8

https://developers.weixin.qq.com/miniprogram/dev/reference/api/Component.html#applyAnimatedStyle-%E5%8F%82%E6%95%B0%E5%AE%9A%E4%B9%89 https://developers.weixin.qq.com/miniprogram/dev/reference/api/Component.html#clearAnimatedStyle-%E5%8F%82%E6%95%B0%E5%AE%9A%E4%B9%89

https://developers.weixin.qq.com/miniprogram/dev/reference/api/Component.html#:~:text=createMediaQueryObserver

This issue proposes to improve API Extractor's analysis to handle augmented types, as illustrated in this repro from @manrueda: https://github.com/manrueda/api-extractor-module-augmentation In TypeScript, types can get "[augmented](https://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation)" when the original declaration...

enhancement
repro confirmed

On the [Quick Start](https://vuejs.org/guide/quick-start.html) page, `yarn create vue@latest` is one of the recommended ways to creating a Vue application. But yarn classic doesn't support appending `@tag` to the `create` command....