sorrycc
Repos
201
Followers
12963
Following
75

A framework in react community ✨

13353
2358

🌱 React and redux based, lightweight and elm-style framework. (Inspired by elm and choo)

16097
3170

💡

4492
332

🐷 Cli tool for creating react apps, configurable version of create-react-app.

2715
348

Modularly import plugin for babel.

3016
292

🐢 A collection of awesome browser-side JavaScript libraries, resources and shiny things.

29286
3828

Events

Created at 6 hours ago
push

fix(preset-umi): do not need to run chmod on windows (#9879)

Created at 18 hours ago
closed issue
[Bug] windows 上 Precommit 配置生成器 执行命令失败

问题描述

windows 上对 shell 脚本的权限赋予失败。

Discussed in https://github.com/umijs/umi/discussions/9824

Originally posted by xxxxue November 21, 2022 系统: windows 11 NodeJS: v18.12.1 VSCode: 1.17.2

相关文档

Precommit 配置生成器 执行命令失败 : pnpx umi g precommit

info  - Write package.json
info  - Update package.json for scripts
info  - Write .lintstagedrc
info  - Create .husky
info  - Write commit-msg
fatal - Error: Command failed with exit code 1: chmod +x .husky/commit-msg
'chmod' is not recognized as an internal or external command,
operable program or batch file.
```</div>
                                    
Created at 18 hours ago
pull request closed
fix(preset-umi): do not need to run chmod on windows

windows 系统下不需要执行 chmod Close #9828

Created at 18 hours ago
push

feat: support callback for browser render (#9862)

  • feat: support callback for browser render

  • refactor(plugins): re-support onHistoryInit for qiankun slave

Created at 18 hours ago
pull request closed
feat: support callback for browser render
  1. 重新支持 render callback,用于支持 qiankun MicroApponHistoryInit 回调函数
  2. 将 qiankun slave lifecycle 中的 callback 触发方式改回原样,实现精准触发
  3. 将 qiankun slave lifecycle 中的 onHistoryInit 回调重新启用,实现子应用 history 回传,在海兔场景下需要它控制子应用页面切换
Created at 18 hours ago
push

feat: upgrade father version to support sourcemap (#9877)

  • feat: upgrade father version to support sourcemap

  • fix: 不使用阿里内网仓库进行更新

  • chore: update lock file

Co-authored-by: fz6m 59400654+fz6m@users.noreply.github.com

Created at 18 hours ago
closed issue
[Feature Request] father版本过低,不支持sourcemap,不利于调试源代码

Background

image father版本锁定在4.0.4,无法开启sourcemap通过ts源代码调试umi源码

Proposal

将pnpm.lock以及package.json文件中的father版本升级为没有breakchanges并支持sourcemap的4.1.0版本

Additional context

Add any other context or screenshots about the feature request here.

Created at 18 hours ago
pull request closed
feat: upgrade father version to support sourcemap
  • fix #9876
Created at 18 hours ago
closed issue
[Bug] umi-scripts: postinstall会在路径含有空格时报错

What happens?

umi-scripts: postinstall

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/youniverse/Personal' imported from /Users/youniverse/Personal Code/umi/

Mini Showcase Repository(REQUIRED)

与我的fork仓库无关,是与本地路径相关的问题。 ...这机器人是一定要我提供一个仓库地址吗 https://github.com/FriedRiceNoodles/umi

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

How To Reproduce

我的本地路径是:/Users/youniverse/Personal Code/umi/ 报错:Cannot find module '/Users/youniverse/Personal' imported from /Users/youniverse/Personal Code/umi/

Context

  • Umi Version: 4.0.33
  • Node Version: 16.15.0
  • Platform: MacOS
Created at 3 days ago
push

chore(script): script path may contain space (#9868)

Created at 3 days ago
pull request closed
fix(script): script path may contain space

修复脚本路径可能含有空格被分割

fix #9865

Created at 3 days ago
push

fix(plugins): string history not working in qiankun slave (#9860)

Created at 3 days ago
pull request closed
fix(plugins): string history not working in qiankun slave

修复用 qiankun MircroApp 传入字符串 history 时,子应用没有转换导致 history 参数异常的问题

该转换在 Umi 3 时是支持的,改回去以解决父/子应用 history 类型不相同时渲染异常的问题

Created at 3 days ago
Created at 3 days ago
Created at 4 days ago
started
Created at 4 days ago
started
Created at 4 days ago