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 hidden (Show)

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 - Release v2.14.0

Published by caohuilin over 1 year ago

Features:

  • #3484

    feat: add esbuildOptions to support that change esbuild options directly

    feat: 新增esbuildOptions配置支持直接修改esbuild最终配置

  • #3463

    chore(deps): bump cssnano from v5 to v6

    chore(deps): 将 cssnano 从 v5 升级到 v6

  • #3472

    feat: add doc-tools e2e

    feat: 添加 doc-tools e2e 测试用例

  • #3460

    feat(builder): add convertToRem.inlineRuntime config

    feat(builder): 新增 convertToRem.inlineRuntime 配置项

  • #3462

    chore(generator): make rspack a priority

    chore(generator): 将启用 rspack 作为优先选项

  • #3498

    chore(server): no longer replace globalVars when compiler is babel

    chore(server): 进行 babel compile 时不再替换 globalVars

  • #3492

    feat: adjust server.worker config to deploy.worker.ssr

    feat: 调整 server.worker 为 deploy.worker.ssr

  • #3496

    feat: support Comment component in Document.tsx

    feat: 支持 Comment 组件,可以保留用户的注释到最终的 html 上

  • #3512

    fix: change content padding-bottom from 48px to 72px, equal to header height

    fix: 将内容区域的底部内边距从48px修改为72px,和头部高度保持一致

  • #3459

    feat: add hook modifyRoutes

    feat: 增加 hook modifyRoutes

  • #3485

    feat: adpate rspack copy plugin

    feat: 适配 rspack copy 插件

  • #3481

    chore(rspack-provider): update rspack to 0.1.8

    chore(rspack-provider): 升级 rspack 相关依赖到 0.1.8 版本

  • #3476

    feat: re-export createPath from react-router

    feat: 从 react-router 导出 createPath

  • #3445

    fix(devServer): using current host and port to create HMR connection

    fix(devServer): 建立 HMR 连接时默认使用当前 host 和 port

  • #3475

    feat: support config handle of Route

    feat: 支持配置 Route 的 handle 属性

  • #3448

    feat: add ssr.inlineScript for use inline json instead inline script when ssr

    feat: 添加 ssr.inlineScript 用于在 ssr 模式下使用内联 json 而不是内联脚本

  • #3473

    chore(cli): improve commands descriptions

    chore(cli): 优化命令的描述文案

  • #3501

    feat(builder): source.globalVars support function usage

    feat(builder): source.globalVars 支持函数写法

  • #3480

    feat: support extendPageData hook and last updated time

    feat: 支持 extendPageData 钩子和最后更新时间功能

  • #3469

    feat: add optional dynamic routes docs

    feat: 添加可选动态路由文档

Bug Fix:

  • #3443

    fix: The http://0.0.0.0:port can't visit in windows, we shouldn't set publicPath as //0.0.0.0:${port}/;

    fix: 在 windows 里不能正常访问 http://0.0.0.0:port,我们不应该将 publicPath 设置成 //0.0.0.0:${port}

  • #3497

    fix(app-tools): failed to scan public dir when using Rspack

    fix(app-tools): 修复 Rspack 模式读取 public 目录失败的问题

  • #3427

    fix(utils): the esm format files should be generate for the client

    fix(utils): 应该为客户端使用,生成 esm 格式的文件

  • #3488

    fix(app-tools): can not disable output.cleanDistPath

    fix(app-tools): 修复无法禁用 output.cleanDistPath 的问题

  • #3491

    fix: doc e2e test in windows

    fix: 解决 windows 下 e2e 测试失败的问题

  • #3458

    fix: the streaming ssr may add repeated css assets, because the route-manifets would product all css link

    fix: 因为 route-manifets 会生成所有 css link 信息,导致 streaming ssr 可能添加重复的 css 资源,

  • #3503

    fix: ssr and document integration test error

    fix: 修复 ssr 和 document 的集测错误

  • #3487

    fix(monorepo): ignore unnessary peer deps warning from antd

    fix(monorepo): 忽略由 antd 造成的不必要的 peer deps 警告

  • #3455

    fix(app-tools): should not print all addresses when custom dev.host

    fix(app-tools): 修复自定义 dev.host 时会输出多余的 URL 地址的问题

  • #3477

    fix: router missing App static property

    fix: router 确实 App 的静态属性

  • #3504

    fix: 更新集测 snapshot,修复 document 功能在 node 14 下的错误

    fix: update test snapshot, fix document error in node 14

  • #3470

    fix(generator): README should be written in English

    fix(generator): README 应该使用英文编写

    fix(garfish): pass basename to subApp

    test(garfish): add e2e test for passing basename

  • #3508

    fix(app-tools): failed to validate globalVars in legacy mode

    fix(app-tools): 修复兼容模式下 globalVars 类型校验错误的问题

  • #3500

    fix: ssr stream test case

    fix: 修复 ssr stream 测试用例

  • #3502

    fix(runtime): MODERN_TARGET is not injected when using Rspack

    fix(runtime): 修复 Rspack 模式未注入 MODERN_TARGET 的问题

  • #3494

    fix(builder): update source.alias type when using Rspack

    fix(builder): 更新使用 Rspack 时的 source.alias 类型

  • #3489

    chore: remove plugin-egg and plugin-nest

    chore: 移除 plugin-egg 和 plugin-nest

  • #3499

    fix: set encoding for defered loader

    fix: 为 defer loader 设置 encoding

  • #3465

    fix(doc-core): fix failed to resolve @modern-js/utils/logger

    fix(doc-core): 修复引用 @modern-js/utils/logger 失败的问题

modern.js - v1.21.0

Published by yimingjfe almost 2 years ago

Features:

  • #1869

    feat(builder): support display compile time in progress bar

    feat(builder): 支持在进度条中展示编译时间

  • #1951

    feat: remove node internal package like fs or path which import by ssr runtime

    feat: 删除在 ssr runtime 中引用的 node 内部包

  • #1880

    fix: reduce compile parameters for dev-server

    fix: 减少 dev-server 编译所需参数

  • #1897

    feat: Support disable builder performance.builderCache configuration

    feat: 支持禁用掉 builder performance.buildeCache 配置项

  • #1889

    feat(builder): improve log info of inspectConfig method

    feat(builder): 优化 inspectConfig 方法的日志输出

  • #1888

    feat: new command install not run prepare scripts

    feat: new 命令安装依赖时不执行 prepare 脚本

  • #1880

    chore: reduce parameters for dev-server & update default config value in builder startDevServer

    chore: 缩简 devServer 配置定义 & 更新 builder startDevServer 方法 config 默认值

  • #1922

    feat(webpack): expose HtmlWebpackPlugin instance in tools.webpack

    feat(webpack): 支持在 tools.webpack 中获取到 HtmlWebpackPlugin 实例

  • #1886

    feat(builder): support distPath.server config

    feat(builder): 支持 distPath.server 配置项

Bug Fix:

  • #1896

    fix: new action version when new electron

    fix: 修复启用 Electron 时版本报错

  • #1958

    fix: new testing reference type

    fix: 修复开启测试功能 reference 类型

  • #1830

    fix(bundle-require): should bundle ts or esm files inside node_modules

    fix(bundle-require): 修复无法打包 node_modules 下的 ts 和 esm 文件的问题

  • #1910

    fix: runtime export field

    fix: 修复 runtime 包导出字段

  • #1926

    fix: tools.webpack of Storybook API not work

    fix: 修复 Storybook API tools.webpack 不生效

  • #1910

    fix: state runtime plugin params

    fix: state 插件参数格式

  • #1927

    fix(core): dev.https missing object type

    fix(core): 修复 dev.https 配置项缺少对象类型的问题

  • #1955

    fix: add missing ssr exports from runtime ssr plugin

    fix: 补充 runtime ssr 插件中丢失的 ssr 导出

  • #1891

    fix(plugin): fix return type of Workflow

    fix(plugin): 修复 Workflow 的返回值类型错误

  • #1881

    fix(builder): inlined assets should be deleted after all html generated

    fix(builder): inline 的资源应该在所有 html 生成后被删除

  • #1923

    fix: should not do render if set location header and 302 status in middleware

    fix: 如果在 middleware 中设置了 location 头和 302 状态码,则不应该走渲染逻辑

  • #1907

    fix(prod-server): failed to match URL which ends with ".html"

    fix(prod-server): 修复无法匹配到以 ".html" 结尾的 URL 的问题

  • #1912

    fix: modify the parameters passed to the compile function of server-utils

    fix: 修改传入server-utils的compile函数的参数

  • #1885

    fix(builder): default value of tools.tsChecker config

    fix(builder): 修复 tools.tsChecker 默认值错误的问题

  • #1899

    fix(builder): failed to write stderr messages

    fix(builder): 修复输出 stderr 信息时不展示的问题

  • #1877

    fix(builder): not apply style-loader or extract css when target is node

    fix(builder): 修复 CSS 构建时注册了 style-loader 或 extract css 导致报错的问题

modern.js - v1.20.0

Published by xuchaobei about 2 years ago

Features:

  • #1826

    feat: add afterDev hook

    feat: 添加 afterDev 钩子

  • #1862

    feat: support Webpack profile configuration

    feat: 支持 Webpack profile 配置项

  • #1868

    docs(builder): add docs for inline chunks

    docs(builder): 增加 inline chunks 文档

  • #1839

    feat(devServer): support devServer.setupMiddlewares config

    feat(devServer): 支持 devServer.setupMiddlewares 配置项

  • #1809

    feat: generator plugin support set default config

    feat: 生成器插件支持设置增加问题的默认值

  • #1845

    feat: optimize the logger of @modern-js/utils, remove builder logger

    feat: 优化 @modern-js/utils 的 logger 格式, 移除 builder 内置的 logger

  • #1800

    fix: upgrade tools npmrc content

    fix: 升级工具 npmrc 文件配置

  • #1833

    feat(builder): allow to close dev server

    feat(builder): 支持关闭 dev server

  • #1837

    chore(builder): bump webpack to 5.74.0

    chore(builder): 升级 webpack 到 5.74.0 版本

  • #1820

    feat: support loadable scripts add crossorigin attribute

    feat: SSR 支持 loadable 脚本添加 crossorigin 属性

  • #1842

    chore: move copyTask from bundleless task to build task

    chore: 把copy任务从bundleless任务中移动到build任务中

  • #1825

    feat: allow user config managerWebpack

    feat: 运行用户配置 managerWebpack

  • #1799

    feat: support devServer.historyApiFallback

    feat: 支持 devServer.historyApiFallback 配置项

  • #1828

    chore(builder): move constants and utils to shared package

    chore(builder): 将常量和 utils 移动至 shared 包

  • #1858

    feat: support Webpack resolve.mainFields configuration

    feat: 支持 Webpack resolve.mainFields 配置项

  • #1861

    chore(devServer): get devServer config from this.dev

    chore(devServer): 从 this.dev 上获取 devServer 配置

  • #1845

    fix(core): failed to log validate config errors from plugins

    fix(core): 修复校验 plugin 中的 config 异常时,日志格式不正确的问题

Bug Fix:

  • #1793

    fix: extends path error

    fix: 修复 extends 字段路径的问题

  • #1844

    fix(builder): api.onExit hook not work

    fix(builder): 修复 api.onExit 钩子不生效的问题

  • #1854

    fix(builder): disable resolve.fullySpecified by default

    fix(builder): 默认禁用 resolve.fullySpecified 规则

  • #1843

    fix(app-tools): remove useless logging option

    fix(app-tools): 移除无效的 logging 选项

  • #1840

    fix: ssr runtime plugin need default config

    fix: ssr 运行时插件需要传入默认配置

  • #1865

    fix: generator plugin addHelper api

    fix: 修复生成器插件 addHelper this 指向问题

  • #1829

    fix(builder): should not apply react refresh when dev.hmr is false

    fix(builder): 修复 dev.hmr 为 false 时仍然会注入 react-refresh 的问题

  • #1767

    fix: change preview template

    fix: 修改 preview 模板文件

  • #1866

    fix(utils): failed to resolve execa

    fix(utils): 修复找不到 execa 模块的问题

  • #1860

    fix(builder): add hash for static assets in dev to avoid conflict

    fix(builder): 在开发环境下生成静态资源时,默认添加 hash 以避免文件名冲突

  • #1849

    fix(builder): remove asset file after inlining it into html

    fix(builder): 在 inline 后删除 asset 文件

  • #1844

    fix(webpack): react-refresh-webpack-plugin cause rebuild slow

    fix(webpack): 修复 react-refresh-webpack-plugin 导致重新编译慢的问题

  • #1852

    fix: support monorepo deploy in pnpm 7

    fix: 修复 monorepo deploy 命令在 pnpm 7 下的问题

  • #1587

    fix: console error message if error stack not exist

    fix: 如果错误堆栈不存在,则输出错误信息

modern.js - v1.18.1

Published by caohuilin about 2 years ago

Features:

  • #1729

    chore: electron ts template use electron.config.js

    chore: electron ts 模版使用electron.config.js配置

  • #1678

    feat: support etag in dev server by default

    feat: 开发环境默认支持 etag 功能

  • #1682

    chore: add assets retry plugin

    chore: 增加资源重试插件

  • #1724

    chore(utils): add RULE.JS_DATA_URI to CHAIN_ID

    chore(utils): CHAIN_ID 增加 RULE.JS_DATA_URI 值

  • #1718

    update electron template dep: @modern-js/plugin-electron

    升级 electron 模版中的 @modern-js/plugin-electron 依赖版本

Bug Fix:

  • #1668

    fix: the compaire-version throw error make the supportModern error

    fix: compaire-version 的抛错导致 supportModern 失败

  • #1735

    fix: tools.devServer type missing some properties

    fix: 修复 tools.devServer 类型定义不完整的问题

  • #1725

    fix(plugin): incorrect createManager type in TS 4.8

    fix(plugin): 修复 createManager 在 TS 4.8 下的类型问题

  • #1738

    fix: dev server config should be optional

    fix: devServer 配置项应该是可选配置的

  • #1720

    fix: invoke next() in dev-middleware directly if only api

    fix: 在 api 服务的情况下,直接调用 next(),不执行 dev-middleware

  • #1715

    fix: fix MApp can not pass props to microapp and fix closure causes loadable invalid

    fix: 修复 MApp 无法传递 props 问题,修复 loadable setstate 闭包问题导致 state 更新异常

  • #1676

    fix: alias should take precedence over package name

    fix: 编译时,别名的优先级应该高于包名

  • #1700

    fix: fix the problem that the response header cannot be redirected when setting in ssr

    fix: 修复在 SSR 中设置响应头却无法重定向的问题

  • #1717

    fix: ssr bundle should not be compiled by ts-node

    fix: ts-node 不应该编译 ssr bundle

  • #1719

    fix: fix dev server type error

    fix: 修复 dev server 中的类型错误

  • #1721

    fix: use output.publicPath(default) as webpack-dev-middleware publicPath

    fix: 使用 output.publicPath 作为 webpack-dev-middleware publicPath

modern.js - v1.17.0

Published by caohuilin about 2 years ago

Features:

  • #1588

    feat(utils): add TOML to CHAIN_ID.RULE

    feat(utils): 向 CHAIN_ID.RULE 中增加新常量 TOML

  • #1586

    feat: runtime export utils not write d.ts file

    feat: runtime 生成 export 函数不再支持生成 d.ts 文件

  • #1591

    feat(babel-preset-app): bump core-js version to support more polyfills

    feat(babel-preset-app): 升级默认的 core-js 版本,支持更多 polyfill

  • #1614

    feat: add upgrade tools and command

    feat: 增加升级工具和升级命令

  • #1598

    feat: new command use solution version

    feat: new 命令使用当前工程方案对应版本的插件

  • #1621

    chore(dev-server): no longer depend on @modern-js/webpack

    chore(dev-server): 不再依赖 @modern-js/webpack

  • #1592

    feat(utils): add PUG to CHAIN_ID

    feat(utils): CHAIN_ID 常量新增 PUG 值

  • #1628

    chore: export getAddressUrls method

    chore: 导出 getAddressUrls 方法

  • #1586

    feat: remove .runtime-exports/index.js export

    feat: 移除 .runtime-exports/index.js 导出

  • #1605

    feat(utils): add SVG_ASSET to CHAIN_ID

    feat(utils): CHAIN_ID 常量新增 SVG_ASSET 值

  • #1589

    fix: runtime type

    fix: 修复 runtime 类型定义

  • #1608

    fix: useLoader auto-generated id

    fix: 修复 useLoader 自动生成的 id

  • #1618

    feat: support react 18 ssr

    feat: 支持 React 18 下使用 SSR

  • #1577

    feat(utils): add MODULE_DEPENDENCY_ERROR to CHAIN_ID

    feat(utils): CHAIN_ID 常量新增 MODULE_DEPENDENCY_ERROR 值

  • #1593

    feat(utils): add YAML to CHAIN_ID.RULE

    feat(utils): 向 CHAIN_ID.RULE 中增加新常量 YAML

Bug Fix:

  • #1594

    fix: ignore css when copy in style CompileMode is 'all'

    fix: 当 style 的编译模式为 'all'的时候, 忽略 css 文件的复制

  • #1612

    fix(core): missing BabelConfig type

    fix(core): 修复未导出 BabelConfig 类型的问题

  • #1609

    fix(core): cli -c option not work

    fix(core): 修复命令行中 -c 选项不生效的问题

  • #1596

    fix: add merge check

    fix: 添加合并属性的检查

modern.js - v1.16.1

Published by caohuilin about 2 years ago

Bug Fix:

  • #1578

    fix: check monorepo

    fix: 修改检查 monorepo 的逻辑

  • #1581

    fix: replaceAll not work in node14

    fix: 修复 garfish replaceAll 报错

  • #1579

    fix: runtime type

    fix: 修复 runtime 类型问题

modern.js - v1.16.0

Published by caohuilin about 2 years ago

Features:

  • #1568

    feat: create new project use modern current latest version

    feat: @modern-js/create 创建项目使用 Modern.js 最新依赖版本

  • #1547

    feat(utils): add html-cross-origin to CHAIN_ID

    feat(utils): CHAIN_ID 常量新增 html-cross-origin 值

  • #1481

    chore: support react 18

    chore: 支持 React 18

  • #1532

    feat: add media rule name to CHAIN_ID constant

    feat: 在 CHAIN_ID 常量中新增 media rule

  • #1560

    chore: remove all deploy logic and package

    chore: 删除所有部署相关的逻辑和包

  • #1551

    feat: support frame mode without lambda directories

    feat: 支持无 lambda 目录的框架模式

  • #1565

    feat: update codesmith package

    feat: 升级 codesmith 包版本

Bug Fix:

  • #1574

    fix: check apiOnly while has source.entriesDir

    fix: 当配置 source.entriesDir 存在时,apiOnly 检查错误

  • #1542

    fix: remove helmet regexp's global tag

    fix: 删除 helmet 中正则匹配的全局标记

  • #1563

    fix(dev-server): support enable hmr client by webpack target

    fix(dev-server): 支持通过 webpack target 来判断是否启用 hmr client

  • #1553

    fix: generator schema validate

    fix: 修复生成器问题校验失败

  • #1564

    fix: compatibility issues of dev server in iOS 10

    fix: 修复 dev server 代码在 iOS 10 下的兼容性问题

  • #1569

    fix: fix generator plugin new function MaxListenersExceededWarning

    fix: 修复生成器插件使用开启工程时 MaxListenersExceededWarning

modern.js - v1.15.0

Published by caohuilin about 2 years ago

从该版本开始,Modern.js 将仓库内所有包版本号保持一致,Release Tag 版本即为版本号!!!

Features:

  • #1488

    fix: generator template doc link

    fix: 修复生成器生成项目文档链接问题

  • #1521

    chore: remove @modern-js/plugin-docsite

    chore: 移除 @modern-js/plugin-docsite

  • #1510

    feat: generate SSR bundle sourcemap

    feat: SSR 打包生成 sourcemap

  • #1509

    feat: support afterLambdaRegisted hook

    feat: 支持 afterLambdaRegisted 钩子函数

  • #1504

    chore(utils): add fs-extra to exports fields

    chore(utils): 通过 exports 导出 fs-extra 子路径

  • #1512

    feat: adjust new command dependencies position

    feat: 调整 new 命令添加依赖位置

  • #1492

    feat(webpack): log more detailed error messages

    feat(webpack): 打印详细的错误日志

Bug Fix:

  • #1513

    fix(app-tools): should not modify entry when using disableDefaultEntries

    fix(app-tools): 修复开启 disableDefaultEntries 后 entry 名称被修改的问题

  • #1500

    fix: remove package adapter-helpers and bff runtime export

    fix: 移除 adapter-helpers 包和 BFF runtime 导出

  • #1519

    fix: add server hook and types

    fix: 增加 server hook API

  • #1517

    fix: fix runtime context format bug

    fix: 修复 runtimeContext 数据格式化时的问题

  • #1506

    fix: modify bff-core's types

    fix: 修改 bff-core 的 types

  • #1493

    fix: Adjust createServer logic in bff test plugin

    fix: 调整 BFF 测试中 create server 的逻辑

  • #1528

    fix: bff.proxy and devServer.proxy types

    fix: 修复 bff.proxy 和 devServer.proxy 类型定义不完整的问题

  • #1527

    fix(babel-preset-app): incorrect babel plugin path

    fix(babel-preset-app): 修复 babel 插件路径错误的问题

  • #1520

    fix(webpack): failed to format error message in some cases

    fix(webpack): 修复格式化 webpack 错误信息时报错的问题

  • #1529

    chore: remove cookie in error log

    chore: 删除错误日志中的 cookie 信息

  • #1502

    fix: 修复 SSR 物理降级时,获取不到请求上下文的问题

    fix: should get ssrContext anyway if entry is ssr enable

modern.js - v1.7.4

Published by caohuilin about 2 years ago

Features:

  • #1466

    chore: merge @modern-js/plugin-design-token to @modern-js/plugin-tailwindcss

    chore: 合并 @modern-js/plugin-design-token@modern-js/plugin-tailwindcss

  • #1468

    feat: support runtime router and state type

    feat: 支持在 modern.config.ts 中提示 runtime.router and runtime.state 类型

  • #1468

    feat: mwa template add runtime types

    feat: mwa 生成器模板增加导出 runtime 类型

  • #1469

    feat: support runtime masterApp type

    feat: 支持在 modern.config.ts 中提示 runtime.masterApp 类型

  • #1478

    chore: move pre-bundled ajv to @modern-js/utils

    chore: 预打包的 ajv 产物移动至 @modern-js/utils

  • #1444

    chore(runtime): merge @modern-js/runtime-core to @modern-js/runtime

    chore(runtime): 合并 @modern-js/runtime-core@modern-js/runtime

  • #1475

    feat: support bff zod schema use transform/record/lazy

    feat: 支持 bff 中 zod schema 使用 transform/record/lazy

Bug Fix:

  • #1465

    fix: @modern-js/plugin-multiprocess export fields

    fix: 修复 @modern-js/plugin-multiprocess 导出字段路径

  • #1465

    fix: @modern-js/plugin-esbuild export fields

    fix: 修复 @modern-js/plugin-esbuild 导出字段路径

  • #1467

    chore: adjust @modern-js/plugin-garfish runtime export path

    chore: 调整 @modern-js/plugin-garfish runtime 导出路径

  • #1485

    fix(runtime): router plugin replace error

    fix(runtime): router 插件 replace 报错

  • #1465

    fix: @modern-js/app-tools export fields

    fix: 修复 @modern-js/app-tools 导出字段路径

  • #1463

    fix(webpack): incorrect fallback result

    fix(webpack): 修复 fallback 的编译产物不符合预期的问题

  • #1465

    fix: @modern-js/node-bundle-require export fields

    fix: 修复 @modern-js/node-bundle-require 导出字段路径

  • #1465

    fix: @modern-js/plugin-proxy export fields

    fix: 修复 @modern-js/plugin-proxy 导出字段路径

  • #1473

    fix: storybook plugin type

    fix: 修复 storybook 插件类型

  • #1471

    fix: monorepo-tools deploy need to copy lerna.json

    fix: Monorepo 中生成产物需复制 lerna.json 文件

  • #1465

    fix: @modern-js/plugin-changeset export fields

    fix: 修复 @modern-js/plugin-changeset 导出字段路径

modern.js - v1.7.3

Published by caohuilin about 2 years ago

Features:

  • #1455

    feat(app-tools): start and inspect command support specify config file

    feat(app-tools): start 和 inspect 命令支持指定配置文件

Bug Fix:

  • #1458

    fix: runtime plugin module path

    fix: 修复内置 runtime 插件模块导入路径

  • #1453

    fix(utils): revert schema of unbundle plugin

    fix(utils): 恢复 unbundle 插件相关的 schema 配置

  • #1450

    fix: missing devServer.proxy.cookieDomainRewrite type

    fix: 修复 devServer.proxy.cookieDomainRewrite 类型缺失的问题

modern.js - v1.7.2

Published by caohuilin about 2 years ago

Features:

  • #1440

    feat: package manager support isSubProject params

    feat: 生成器包管理工具选项支持 isSubProject 参数

  • #1438

    chore: lock egg-ts-helper version

    chore: 锁定 egg-ts-helper 版本

  • #1420

    feat: solution schema support isSubProject params

    feat: 生成器工程方案选项支持 isSubProject 参数

  • #1429 fix assets prefix bug in prod env

  • #1446

    feat: storybook generator add react-dom dependence

    feat: storybook 生成器增加 react-dom 依赖

  • #1422 feat: 支持用户定义 externals 模块

  • #1443

    feat: support response headers

    feat: 支持设置响应头

Bug Fix:

  • #1434

    fix: optimize the implentation of pipe

    fix: 优化 Pipe 操作符的实现

  • #1430

    fix(runtime): fix model types for effects

    fix(runtime): 修复因为 runtime 包合并导致的 model effects 类型不生效问题

  • #1428

    fix(core): should keep single function value after merge config

    fix(core): 修复合并配置后,函数类型的配置项变成数组类型的问题

Package Rankings
Top 1.49% on Npmjs.org
Related Projects