Skip to content

Commit

Permalink
Merge branch 'main' into feat/remove-devtools-config
Browse files Browse the repository at this point in the history
  • Loading branch information
Asuka109 authored Dec 5, 2024
2 parents d4a0d5c + 5fc95f7 commit de2313a
Show file tree
Hide file tree
Showing 336 changed files with 10,184 additions and 3,069 deletions.
7 changes: 7 additions & 0 deletions .changeset/afraid-socks-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@modern-js/app-tools': patch
'@modern-js/uni-builder': patch
'@modern-js/utils': patch
---

feat(app-tools): enable Rsbuild CLI shortcuts
8 changes: 8 additions & 0 deletions .changeset/quick-cows-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@modern-js/plugin-server': patch
'@modern-js/types': patch
'@modern-js/server-core': patch
---

feat: add route info into unstable_middleware context
feat: 添加路由信息到 unstable_middleware 上下文中
5 changes: 5 additions & 0 deletions .changeset/shiny-hairs-wink.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@modern-js/uni-builder': patch
---

feat(uni-builder): support environment tools.babel config
7 changes: 7 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@
"groupName": "actions",
"groupSlug": "actions",
},
{
"matchPackageNames": [
"@modern-js/**",
],
"groupName": "modern",
"groupSlug": "modern",
},
],
"ignoreDeps": [
// manually update some packages
Expand Down
6 changes: 4 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"packages/generator/sandpack-react/src/templates/**",
"tests/integration/swc/fixtures/minify-css/src/bootstrap.css",
"tests/integration/swc/fixtures/config-function/src/bootstrap.css",
"packages/runtime/plugin-garfish/type.d.ts"
"packages/runtime/plugin-garfish/type.d.ts",
"packages/runtime/plugin-runtime/static/**"
]
},
"css": {
Expand Down Expand Up @@ -112,7 +113,8 @@
"tests/integration/ssr/fixtures/preload/**/*",
"tests/integration/swc/fixtures/transform-fail/src/App.jsx",
"tests/integration/module/plugins/vue/**/*",
"packages/module/plugin-module-node-polyfill/src/globals.js"
"packages/module/plugin-module-node-polyfill/src/globals.js",
"packages/runtime/plugin-runtime/static/**"
]
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"cross-env": "^7.0.3",
"esbuild": "0.17.19",
"husky": "^8.0.0",
"lint-staged": "~13.1.0",
"lint-staged": "~13.3.0",
"nx": "^17.0.1",
"rimraf": "^6.0.1",
"vitest": "0.33.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/babel-preset/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@modern-js/babel-preset",
"version": "2.61.0",
"version": "2.63.1",
"description": "The babel config of Modern.js.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -61,7 +61,7 @@
"@babel/preset-typescript": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@babel/types": "^7.26.0",
"@rsbuild/plugin-babel": "~1.0.1",
"@rsbuild/plugin-babel": "1.0.3",
"@swc/helpers": "0.5.13",
"@types/babel__core": "^7.20.5",
"babel-plugin-dynamic-import-node": "2.3.3",
Expand Down
32 changes: 32 additions & 0 deletions packages/cli/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @modern-js/core

## 2.63.1

### Patch Changes

- @modern-js/node-bundle-require@2.63.1
- @modern-js/plugin@2.63.1
- @modern-js/utils@2.63.1

## 2.63.0

### Patch Changes

- @modern-js/node-bundle-require@2.63.0
- @modern-js/plugin@2.63.0
- @modern-js/utils@2.63.0

## 2.62.1

### Patch Changes

- @modern-js/node-bundle-require@2.62.1
- @modern-js/plugin@2.62.1
- @modern-js/utils@2.62.1

## 2.62.0

### Patch Changes

- @modern-js/node-bundle-require@2.62.0
- @modern-js/plugin@2.62.0
- @modern-js/utils@2.62.0

## 2.61.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"modern",
"modern.js"
],
"version": "2.61.0",
"version": "2.63.1",
"jsnext:source": "./src/index.ts",
"types": "./src/index.ts",
"main": "./dist/index.js",
Expand Down
40 changes: 40 additions & 0 deletions packages/cli/plugin-bff/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @modern-js/plugin-bff

## 2.63.1

### Patch Changes

- @modern-js/bff-core@2.63.1
- @modern-js/server-core@2.63.1
- @modern-js/create-request@2.63.1
- @modern-js/server-utils@2.63.1
- @modern-js/utils@2.63.1

## 2.63.0

### Patch Changes

- @modern-js/bff-core@2.63.0
- @modern-js/server-core@2.63.0
- @modern-js/create-request@2.63.0
- @modern-js/server-utils@2.63.0
- @modern-js/utils@2.63.0

## 2.62.1

### Patch Changes

- @modern-js/bff-core@2.62.1
- @modern-js/server-core@2.62.1
- @modern-js/create-request@2.62.1
- @modern-js/server-utils@2.62.1
- @modern-js/utils@2.62.1

## 2.62.0

### Patch Changes

- @modern-js/bff-core@2.62.0
- @modern-js/server-core@2.62.0
- @modern-js/create-request@2.62.0
- @modern-js/server-utils@2.62.0
- @modern-js/utils@2.62.0

## 2.61.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-bff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"modern",
"modern.js"
],
"version": "2.61.0",
"version": "2.63.1",
"jsnext:source": "./src/cli.ts",
"types": "./src/cli.ts",
"main": "./dist/cjs/cli.js",
Expand Down
28 changes: 28 additions & 0 deletions packages/cli/plugin-changeset/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @modern-js/plugin-changeset

## 2.63.1

### Patch Changes

- @modern-js/plugin-i18n@2.63.1
- @modern-js/utils@2.63.1

## 2.63.0

### Patch Changes

- @modern-js/plugin-i18n@2.63.0
- @modern-js/utils@2.63.0

## 2.62.1

### Patch Changes

- @modern-js/plugin-i18n@2.62.1
- @modern-js/utils@2.62.1

## 2.62.0

### Patch Changes

- @modern-js/plugin-i18n@2.62.0
- @modern-js/utils@2.62.0

## 2.61.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-changeset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"modern",
"modern.js"
],
"version": "2.61.0",
"version": "2.63.1",
"jsnext:source": "./src/index.ts",
"types": "./src/index.ts",
"main": "./dist/cjs/index.js",
Expand Down
31 changes: 31 additions & 0 deletions packages/cli/plugin-data-loader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# @modern-js/plugin-data-loader

## 2.63.1

### Patch Changes

- @modern-js/runtime-utils@2.63.1
- @modern-js/utils@2.63.1

## 2.63.0

### Patch Changes

- @modern-js/runtime-utils@2.63.0
- @modern-js/utils@2.63.0

## 2.62.1

### Patch Changes

- 86213ae: chore: add a server directory for universal server utils
chore: 添加一个 server 目录用于存放通用的服务端工具函数
- Updated dependencies [86213ae]
- @modern-js/runtime-utils@2.62.1
- @modern-js/utils@2.62.1

## 2.62.0

### Patch Changes

- @modern-js/runtime-utils@2.62.0
- @modern-js/utils@2.62.0

## 2.61.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-data-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"modern",
"modern.js"
],
"version": "2.61.0",
"version": "2.63.1",
"engines": {
"node": ">=16.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-data-loader/src/runtime/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { transformNestedRoutes } from '@modern-js/runtime-utils/browser';
import {
createRequestContext,
matchEntry,
reporterCtx,
} from '@modern-js/runtime-utils/node';
import {
Expand All @@ -11,6 +10,7 @@ import {
isRouteErrorResponse,
json,
} from '@modern-js/runtime-utils/remix-router';
import { matchEntry } from '@modern-js/runtime-utils/server';
import { time } from '@modern-js/runtime-utils/time';
import type { NestedRoute, Reporter, ServerRoute } from '@modern-js/types';
import { isPlainObject } from '@modern-js/utils/lodash';
Expand Down
24 changes: 24 additions & 0 deletions packages/cli/plugin-i18n/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @modern-js/plugin-i18n

## 2.63.1

### Patch Changes

- @modern-js/utils@2.63.1

## 2.63.0

### Patch Changes

- @modern-js/utils@2.63.0

## 2.62.1

### Patch Changes

- @modern-js/utils@2.62.1

## 2.62.0

### Patch Changes

- @modern-js/utils@2.62.0

## 2.61.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"modern",
"modern.js"
],
"version": "2.61.0",
"version": "2.63.1",
"jsnext:source": "./src/index.ts",
"types": "./src/index.ts",
"main": "./dist/cjs/index.js",
Expand Down
24 changes: 24 additions & 0 deletions packages/cli/plugin-proxy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @modern-js/plugin-proxy

## 2.63.1

### Patch Changes

- @modern-js/utils@2.63.1

## 2.63.0

### Patch Changes

- @modern-js/utils@2.63.0

## 2.62.1

### Patch Changes

- @modern-js/utils@2.62.1

## 2.62.0

### Patch Changes

- @modern-js/utils@2.62.0

## 2.61.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/plugin-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"modern",
"modern.js"
],
"version": "2.61.0",
"version": "2.63.1",
"jsnext:source": "./src/index.ts",
"types": "./src/index.ts",
"main": "./dist/cjs/index.js",
Expand Down
Loading

0 comments on commit de2313a

Please sign in to comment.