modern.js

Modern.js is a web engineering system, including a web framework and a npm package solution.

MIT License

Downloads
1.7M
Stars
4.2K
Committers
117

Bot releases are visible (Hide)

modern.js - v2.28.0

Published by caohuilin about 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.27.0

Published by caohuilin over 1 year ago

What's Changed

Performance Improvements ⚡

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

性能优化 ⚡

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.26.0

Published by caohuilin over 1 year ago

What's Changed

Performance Improvements ⚡

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

性能优化 ⚡

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - v2.25.2

Published by caohuilin over 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.25.1

Published by caohuilin over 1 year ago

What's Changed

Bug Fixes 🐞

Other Changes

更新内容

Bug 修复 🐞

其他变更

modern.js - v2.25.0

Published by caohuilin over 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.24.0

Published by caohuilin over 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - V2.23.1

Published by chenjiahan over 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

其他变更

modern.js - V2.23.0

Published by caohuilin over 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.22.1

Published by github-actions[bot] over 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.22.0

Published by github-actions[bot] over 1 year ago

What's Changed

New Features 🎉

Bug Fixes 🐞

Docs update 📄

Other Changes

更新内容

新特性 🎉

Bug 修复 🐞

文档更新 📄

其他变更

modern.js - v2.21.1

Published by github-actions[bot] over 1 year ago

Bug Fix:

  • #3762

    fix(prod-server): worker ssr should pass baseUrl & url by request.

    fix(prod-server): worker ssr 通过 request 应该传递 baseUrl & url .

  • #3765

    fix(builder): fix the misalignment of the dependencies version that fork-ts-checker-webpack-plugin and autoprefixer depends on

    fix(builder): 修复 fork-ts-checker-webpack-plugin 和 autoprefixer 的依赖版本错位问题

  • #3761

    fix(plugin-esbuild): set minify format to iife when target is web

    fix(plugin-esbuild): 当 target 为 web 时,将压缩的 format 设置为 iife

  • #3760

    fix(prod-server): the ssr render maybe get invalid url, like http:///

    fix(prod-server): ssr 渲染函数可能获得非法 url, 类似 http:///

  • #3756

    fix(doc-core): mdx flatten path resolve

    fix(doc-core): mdx 文件扁平化过程中路径解析错误

modern.js - v2.21.0

Published by github-actions[bot] over 1 year ago

Features:

  • #3735

    feat: ssr mode support async entry

    feat: ssr 模式支持异步入口

  • #3741

    fix(builder): output.copy not work in Rspack

    fix(builder): output.copy 在 Rspack 构建时不生效

  • #3741

    feat(builder): update rspack to 0.1.12

    feat(builder): 升级 rspack 到 0.1.12 版本

  • #3685

    feat(rspack-provider): support security.checkSyntax in Rspack

    feat(rspack-provider): 在使用 Rspack 构建时支持 security.checkSyntax 配置项

  • #3724

    refactor: guard react-router version consistency

    refactor: 保证 react-router 相关包的版本一致性

  • #3753

    feat(doc-core): add routes for addPages hook

    feat(doc-core): 在 addPages 钩子中增加路由入参

  • #3718

    chore: bump typescript to v5 in devDependencies

    chore: 升级 devDependencies 中的 typescript 版本到 v5

  • #3713

    feat: the runtime package export loadable_bundler_plugin

    feat: runtime 包导出 loadable_bundler_plugin

  • #3748

    feat(app-tools): add isFirstCompile param to afterDev hook

    feat(app-tools): 为 afterDev 钩子增加 isFirstCompile 参数

  • #3723

    feat(dev-server): enable gzip compression, add devServer.compress config

    feat(dev-server): 默认启用 gzip 压缩,新增 devServer.compress 配置项

  • #3751

    feat(builder): support output.disableTsChecker in Rspack

    feat(builder): 在使用 Rspack 构建时支持 output.disableTsChecker 配置项

  • #3738

    feat: update codesmith version

    feat: 更新 codesmith 版本

  • #3750

    chore: update reduck

    chore: 更新 reduck

  • #3744

    feat(doc-core): support space in code title

    feat(doc-core): 代码块标题支持空格

  • #3721

    feat(builder): support output.enableAssetManifest in Rspack

    feat(builder): 在使用 Rspack 构建时支持 output.enableAssetManifest 配置项

  • #3716

    feat: add doc medium-zoom plugin

    feat: 增加 medium-zoom 插件

  • #3725

    feat: support security.nonce for add nonce attribute on script tag

    feat: 支持 security.nonce 配置,为 script 标签添加 nonce 属性

  • #3714

    chore(deps): bump babel-related dependencies to latest version

    chore(deps): 升级 babel 相关依赖到最新版本

Bug Fix:

  • #3749

    fix: the proxy should not recreated when exists

    fix: proxy server 不应该被重新创建当存在时

  • #3739

    fix: generator get modern plugin version error

    fix: 修复生成器获取插件版本错误

  • #3745

    fix(doc-tools): src not found in medium-zoom plugin

    fix(doc-tools): medium-zoom 插件中 src 找不到

  • #3717

    fix(core): toolsType is overridden when install multiple solutions

    fix(core): 修复安装多个 solutions 时 toolsType 被覆盖的问题

  • #3746

    fix(builder): should not print file size of LICENSE.text

    fix(builder): 打印文件体积时忽略 LICENSE.text

  • #3715

    fix: remove micro generator bebel runtime dependencies

    fix: 移除微生成器模板中的 bebel runtime 依赖

  • #3709

    hotfix(rspack-provider): update Rspack and fix upgrade error

    hotfix(rspack-provider): 升级 Rspack 并处理升级问题

  • #3731

    fix(doc-core): sidebar link i18n

    fix(doc-core): 修复侧边栏链接国际化问题

  • #3712

    fix(plugin-sass): pollute the global.location object

    fix(plugin-sass): 污染全局对象 global.location

  • #3726

    fix(doc-tools): medium-zoom plugin error in windows

    fix(doc-tools): medium-zoom 插件在 windows 下报错

  • #3755

    fix(dev-server): adjust hmr connection log level

    fix(dev-server): 调整 hmr 连接的日志级别

  • #3742

    fix: should only watch file-based routes changes

    fix: 只有基于文件的路由(约定式路由)需要被监听变化

  • #3727

    fix(builder): failed to disable html via htmlPlugin: false

    fix(builder): 修复通过 htmlPlugin: false 无法禁用 html 的问题

  • #3719

    fix(plugin-runtime): streaming ssr split chunk so that can't match SHELL_STREAM_END_MARK

    fix(plugin-runtime): streaming ssr chunk 进行分割导致无法匹配 SHELL_STREAM_END_MARK

  • #3733

    fix: fix @modern-js/utils subpath exports

    fix: 修复 @modern-js/utils 子路径导出

modern.js - v2.20.0

Published by github-actions[bot] over 1 year ago

Features:

  • #3678

    chore(utils): move generateMetaTags method to builder-shared

    chore(utils): 移动 generateMetaTags 方法到 builder-shared

  • #3696

    feat(rspack-provider): update rspack to 0.1.11

    feat(rspack-provider): 升级 rspack 相关依赖到 0.1.11

  • #3683

    docs(main): optimize mobile adaptation

    docs(main): 优化移动端适配

  • #3674

    chore: optimize bundle size

    chore: 优化打包体积

  • #3674

    chore: remove @babel/runtime. add @swc/helper and enable externalHelper config.

    chore: 移除 @babel/runtime 依赖. 增加 @swc/helpers 依赖并且开启 externalHelpers 配置

  • #3674

    feat: update internal build configs

    feat: 更新内部构建配置

  • #3699

    feat(app-tools): route.json add isStream field.

    feat(app-tools): route.json 添加 isStream 字段.

  • #3692

    chore: add root and ensure vm path

    chore: 添加root和确认虚拟模块路径

  • #3695

    feat(mwa-generator): add a default browserslist config for new projects

    feat(mwa-generator): 为新项目增加默认的 browserslist 配置

  • #3706

    feat: 添加 output.tempDir 配置,支持单项目多配置同时启动

    feat: add output.tempDir configuration, supports launching project with multiple config at the same time

Bug Fix:

  • #3689

    fix(doc-core): external link normalize

    fix(doc-core): 修复外部链接不规范的问题

  • #3700

    fix(doc-core): link error when base url exsits

    fix(doc-core): 修复存在 base url 时链接错误的问题

  • #3702

    fix(tailwindcss): avoid unnecessary rebuild when running dev

    fix(tailwindcss): 修复 dev 模式下不必要的重新构建

  • #3694

    fix: worker ssr context lack some fields & worker ssr must have routerManifest.json

    fix: worker ssr 上下文缺少一些字段,worker ssr 必须有 routerManifest.json 文件

  • #3697

    fix: remove duplicate addRuntimeExports hook in @modern-js/core

    fix: 删除 @modern-js/core 中重复的 addRuntimeExports hook

  • #3688

    fix(app-tools): SVG default export type

    fix(app-tools): 修复 SVG 默认导出的类型错误

modern.js - v2.19.1

Published by github-actions[bot] over 1 year ago

Bug Fix:

  • #3676

    fix(builder): failed to print file size in some cases

    fix(builder): 修复部分情况下输出产物体积失败的问题

modern.js - v2.19.0

Published by github-actions[bot] over 1 year ago

Features:

  • #3668

    chore(deps): bump webpack from 5.76.2 to 5.82.1

    chore(deps): 将 webpack 从 5.76.2 升级至 5.82.1

  • #3661

    feat(doc-core): reduce 80% time of ssg

    feat(doc-core): 减少 80% 的 ssg 时间

  • #3666

    feat: support modifyRoutes hook for router v5

    feat: 为 router v5 支持 modifyRoutes hook

Bug Fix:

  • #3662

    fix(doc-core): make sidebar font-weight consistent

    fix(doc-core): 使 sidebar 的 font-weight 保持一致

  • #3670

    fix: config hook can't get nomarlized config

    fix: config hook 不能拿到固定后的 config

  • #3663

    fix(doc-core): props.children error in code component

    fix(doc-core): 修复 code 组件中 props.children 不存在的错误

  • #3655

    fix: packages generator overrides field when use npm

    fix: 修复当使用 npm 安装依赖时 packages-generator overrides 字段

modern.js - v2.18.1

Published by github-actions[bot] over 1 year ago

Features:

  • #3650

    fix: replace route id correctly

    fix: 正确地替换 route id

  • #3651

    feat(doc-core): add time logs for page rendering

    feat(doc-core): 增加页面渲染的耗时日志

  • #3652

    feat(doc-core): support react 17

    feat(doc-core): 支持 react 17

  • #3644

    feat(doc-core): use prism for code highlight

    feat(doc-core): 代码高亮使用 prism

  • #3642

    feat: code block support scroll,dark mode and improve the experience

    feat: 代码块区域支持滚动以及暗黑模式并且提升开发体验

  • #3636

    feat(rspack-provider): support tools.pug configuration when Rspack build

    feat(rspack-provider): 在使用 Rspack 构建时支持 tools.pug 配置项

  • #3649

    perf(builder): reduce map.get calls in tsconfigPathsPlugin

    perf(builder): 减少 tsconfigPathsPlugin 中的 map.get 调用

  • #3639

    feat: bump codesmith packages version

    feat: 升级 codesmith 包版本

  • #3648

    chore: fix libuild version

    chore: 锁定 libuild 版本号

  • #3646

    perf(builder): optimize stats.toJson performance

    perf(builder): 优化 stats.toJson 性能

  • #3645

    feat(rspack-provider): support legalComments linked and none configuration items when building with Rspack

    feat(rspack-provider): 在使用 Rspack 构建时,支持 legalComments linkednone 配置项

  • #3647

    feat: bump codesmith version

    feat: 升级 codesmith 版本

  • #3643

    feat(rspack-provider): update Rspack to 0.1.10

    feat(rspack-provider): 升级 Rspack 相关依赖到 0.1.10

Bug Fix:

  • #3638

    fix(module-tools, plugin-tailwindcss): fix style.tailwindcss config name and merge logic

    fix(module-tools, plugin-tailwindcss): 修复 style.tailwindcss 错误的配置名和合并逻辑

  • #3654

    fix(builder): incorrect dynamicImportMode when target is web-worker

    fix(builder): 修复 target 为 web-worker 时 dynamicImportMode 错误的问题

modern.js - v2.18.0

Published by github-actions[bot] over 1 year ago

Features:

  • #3611

    feat(doc-core): doc support nav postion

    feat(doc-core): doc 支持顶部菜单独立配置定位

  • #3567

    refactor(node-polyfill): using Rspack builtins to provide global variables

    refactor(node-polyfill): 通过 Rspack 内置的 provide 注入全局变量

  • #3619

    chore: improve entry docs, fix ssg docs

    chore: 优化入口文档,修复 ssg 文档

  • #3612

    feat: rspack-provider support modern.js ssr mode

    feat: rspack-provider 支持 modern.js ssr 模式

  • #3627

    chore: update libuild version

    chore: 更新 libuild 版本

  • #3159

    feat(plugin-garfish): support garfish plugin in Rspack

    feat(plugin-garfish): 在使用 Rspack 构建时支持 garfish 插件

  • #3617

    feat(doc-plugin-auto-sidebar): allow to set collapsible option

    feat(doc-plugin-auto-sidebar): 支持设置 collapsible 选项

Bug Fix:

  • #3625

    fix(doc-core): none nav bar

    fix(doc-core): 导航栏消失

modern.js - v2.17.1

Published by github-actions[bot] over 1 year ago

Release v2.17.1

Features:

  • #3595

    feat: add new modern.js doc support edit this page on github (#3527)

    feat: 添加新的 modern.js 文档支持在 Github 上编辑此页面 (#3527)。

  • #3601

    feat(doc-core): doc plugin system doc optimization

    feat(doc-core): 文档框架插件机制文档优化

  • #3607

    chore: comment the doc for runtime and server plugin hooks

    chore: 注释 runtime 和 server 插件钩子文档

  • #3599

    fix(doc-core): Nav top menu style issue (#3598)

    fix(doc-core): Nav顶部菜单样式问题 (#3598)

  • #3605

    fix(doc-core): alias react-dom

    fix(doc-core): 内置 react-dom 别名

  • #3601

    fix: code line highlight in js compiler

    fix: js 版本编译器中代码行高亮问题

Bug Fix:

  • #3586

    fix: fix runtime feature of Storybook

    fix: 修复 Storybook 的 runtime 功能

  • #3606

    fix: typo isFileExist

    fix: isFileExist 拼写错误

  • #3603

    fix(doc-tools): edit link should open a new tab

    fix(doc-tools): edit link 应该打开一个新窗口

  • #3608

    fix(doc-core): sidebar title not correct in dev

    fix(doc-core): 开发环境下,侧边栏标题不正确

  • #3608

    fix(doc-core): avoid ssg marker transform

    fix(doc-core): 避免某些特殊字符转换为 marker 字符

  • #3610

    fix: use dynamic import doc-core

    fix: 使用动态引用 doc-core

  • #3591

    fix(doc-core): The 960px-1440px and 1440px center container widths do not include the width of the scroll bar to avoid horizontal scroll bars

    fix(doc-core): 960px-1440px和1440px版心容器宽度不包含滚动条宽度,避免出现横向滚动条

  • #3600

    fix: use mergeDocConfig to merge modern doc config

    fix: 支持 mergeDocConfig 合并 modern doc的配置

modern.js - v2.17.0

Published by github-actions[bot] over 1 year ago

Release v2.17.0

Features:

  • #3585

    feat(doc-core): auto i18n

    feat(doc-core): 自动化 i18n

  • #3589

    feat: generator plugin support ejs template

    feat: 生成器插件支持 ejs 模板

Bug Fix:

  • #3575

    fix: replace line in table content and optimize error treatment,log info

    fix: 替换表格里的竖线并且优化错误处理和输出信息

  • #3588

    fix: optimize alias for plugin-express & export useBlocker

    fix: 优化 plugin-express 的 alias 的实现 & 导出 useBlocker

  • #3587

    fix: code line highlight in js compiler

    fix: js 版本编译器中代码行高亮问题

Package Rankings
Top 1.49% on Npmjs.org
Related Projects