Skip to content

Sandbox#411

Closed
kapelan wants to merge 23 commits intoalibaba:mainfrom
kapelan:sandbox
Closed

Sandbox#411
kapelan wants to merge 23 commits intoalibaba:mainfrom
kapelan:sandbox

Conversation

@kapelan
Copy link
Copy Markdown

@kapelan kapelan commented Jan 26, 2026

Before submitting a pull request, please make sure the following is done...

  • Ensure the pull request title and commit message follow the Commit Specific in English.
  • Fork the repo and create your branch from main.
  • If you've added code that should be tested, add tests!
  • If you've changed APIs, update the documentation.
  • Ensure the test suite passes (npm test).
  • Make sure your code lints (npm run lint) - we've done our best to make sure these rules match our internal linting guidelines.

BREAKING CHANGES:
- React 17 -> 18.3.1
- Antd 4 -> 5.24.0
- @formily/antd -> @formily/antd-v5 ^1.2.0
- TypeScript 4.1 -> 5.8.0
- Webpack 4 -> 5.99.0
- Lerna 4 -> 8.2.0

React 18 fixes:
- Add children?: React.ReactNode to all component interfaces
- Remove .defaultProps (deprecated)
- Change useRef<T>() -> useRef<T>(null)
- Fix Rect vs DOMRect type issues
- Replace React.ReactChild -> React.ReactNode
- Migrate ReactDOM.render -> createRoot

Antd 5 fixes:
- Replace ~antd/lib/style/themes/default.less with local variables.less
- Remove antd CSS import (uses CSS-in-JS)
- Button.Group -> Space.Compact
- Breadcrumb.Item -> items prop
- overlayInnerStyle -> styles={{ body: {} }}
- destroyOnClose -> destroyOnHidden
- null in enum -> '' (empty string)

Webpack 5 fixes:
- [hash] -> [contenthash]
- Update less-loader/postcss-loader options syntax
- Replace file-loader/url-loader with asset modules
- Fix glob v11 API (GlobSync -> globSync)
- Remove externals for React/ReactDOM/antd (no UMD builds)

Other:
- Remove formily/next from workspace (Fusion Design not needed)
- Add check:antd5 script for deprecation detection
- Update monaco-editor to ^0.52.0
- Add missing peer dependencies
- Document rc-collapse children deprecation from @formily/antd-v5
- Document @dnd-kit div in tbody warning from ArrayTable
- Update check-antd5-deprecations.ts with Collapse.Panel pattern
- Add instructions for running deprecation checker
- Rename all packages from @designable/* to @sulesky/*
- Update repository URLs to github.com/kapelan/designable
- Set version to 1.0.0 for initial release
- Update all import statements and dependencies
- Remove zh-CN and ko-KR language options from all playgrounds
- Update GitHub links to kapelan/designable
- Change button labels from Chinese to English
- Update MDN links to English versions
- Enable ci.yml with Node 18.x/20.x, build, test, antd5 check
- Fix commitlint.yml syntax error and update to v5
- Update check-pr-title.yml to use semantic-pull-request v5
- Update package-size.yml with checkout v4
- Remove pr-welcome.yml (unnecessary)
Renamed all packages to indicate modernized/refreshed version:
- @sulesky/core → @sulesky/next-core
- @sulesky/shared → @sulesky/next-shared
- @sulesky/react → @sulesky/next-react
- @sulesky/react-sandbox → @sulesky/next-react-sandbox
- @sulesky/react-settings-form → @sulesky/next-react-settings-form
- @sulesky/formily-antd → @sulesky/next-formily-antd
- @sulesky/formily-setters → @sulesky/next-formily-setters
- @sulesky/formily-transformer → @sulesky/next-formily-transformer
- Replace alicdn.com images with inline SVG/CSS
- Remove new Function() eval in MonacoInput format.ts
- Add CDN whitelist validation in registry.ts (jsdelivr, unpkg, cdnjs, esm.sh, esm.run)
- Replace mocky.io placeholder URLs with empty strings
- Update react-settings-form build to use ES2020 for dynamic import support
- Rename rollup configs to .mjs to fix MODULE_TYPELESS_PACKAGE_JSON warnings
- Add onwarn handler to suppress circular dependency and 'this' warnings in rollup
- Add exprContextCritical: false to webpack to suppress dynamic import warnings
- Add performance: { hints: false } to webpack to suppress bundle size warnings
- Add .npmrc (cosmetic, doesn't fully suppress lerna env warnings)
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 26, 2026

Deploy Preview for designable-fusion failed. Why did it fail? →

Name Link
🔨 Latest commit 08e5ec6
🔍 Latest deploy log https://app.netlify.com/projects/designable-fusion/deploys/6977521fdb3ef40008d739da

@netlify
Copy link
Copy Markdown

netlify bot commented Jan 26, 2026

Deploy Preview for designable-antd failed. Why did it fail? →

Name Link
🔨 Latest commit 08e5ec6
🔍 Latest deploy log https://app.netlify.com/projects/designable-antd/deploys/6977521f77523d0008bbadfd

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@kapelan kapelan closed this Jan 26, 2026
@kapelan kapelan deleted the sandbox branch January 26, 2026 11:38
@kapelan kapelan restored the sandbox branch January 26, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants