Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v3' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed May 24, 2024
2 parents 7df6b34 + 4e473ac commit b355ada
Show file tree
Hide file tree
Showing 85 changed files with 1,559 additions and 202 deletions.
80 changes: 80 additions & 0 deletions bricks/e2e/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,86 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.3.23](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.22...@next-bricks/e2e@0.3.23) (2024-05-22)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.22](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.21...@next-bricks/e2e@0.3.22) (2024-05-21)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.21](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.20...@next-bricks/e2e@0.3.21) (2024-05-21)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.20](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.19...@next-bricks/e2e@0.3.20) (2024-05-17)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.19](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.18...@next-bricks/e2e@0.3.19) (2024-05-17)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.18](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.17...@next-bricks/e2e@0.3.18) (2024-05-17)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.17](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.16...@next-bricks/e2e@0.3.17) (2024-05-16)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.16](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.15...@next-bricks/e2e@0.3.16) (2024-05-15)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.15](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.14...@next-bricks/e2e@0.3.15) (2024-05-14)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.14](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.13...@next-bricks/e2e@0.3.14) (2024-05-10)

**Note:** Version bump only for package @next-bricks/e2e





## [0.3.13](https://github.com/easyops-cn/next-core/compare/@next-bricks/e2e@0.3.12...@next-bricks/e2e@0.3.13) (2024-05-09)

**Note:** Version bump only for package @next-bricks/e2e
Expand Down
20 changes: 10 additions & 10 deletions bricks/e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next-bricks/e2e",
"version": "0.3.13",
"version": "0.3.23",
"private": true,
"homepage": "https://github.com/easyops-cn/next-core/tree/v3/bricks/e2e",
"repository": {
Expand Down Expand Up @@ -35,17 +35,17 @@
"build": "cross-env NODE_ENV=production build-next-bricks"
},
"dependencies": {
"@next-core/element": "^1.2.6",
"@next-core/i18n": "^1.0.43",
"@next-core/react-element": "^1.0.25",
"@next-core/react-runtime": "^1.4.8",
"@next-core/runtime": "^1.41.1",
"@next-core/types": "^1.10.0",
"@next-core/utils": "^1.7.1",
"@next-core/element": "^1.2.7",
"@next-core/i18n": "^1.0.47",
"@next-core/react-element": "^1.0.26",
"@next-core/react-runtime": "^1.5.2",
"@next-core/runtime": "^1.44.2",
"@next-core/types": "^1.11.0",
"@next-core/utils": "^1.7.5",
"react": "0.0.0-experimental-ee8509801-20230117"
},
"devDependencies": {
"@next-core/build-next-bricks": "^1.20.8",
"@next-core/test-next": "^1.1.0"
"@next-core/build-next-bricks": "^1.21.0",
"@next-core/test-next": "^1.1.1"
}
}
9 changes: 8 additions & 1 deletion etc/runtime.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ import type { SlotConfOfRoutes } from '@next-core/types';
import type { StaticMenuConf } from '@next-core/types';
import type { Storyboard } from '@next-core/types';
import { StoryboardFunction } from '@next-core/types';
import type { UseProviderResolveConf } from '@next-core/types';
import type { UseSingleBrickConf } from '@next-core/types';

declare namespace __secret_internals {
Expand All @@ -57,6 +58,7 @@ declare namespace __secret_internals {
loadBricks,
getRenderId,
getAddedContracts,
debugDataValue,
DataValueOption,
RuntimeContext,
symbolForRootRuntimeContext,
Expand Down Expand Up @@ -131,6 +133,11 @@ interface DataValueOption {
tplStateStoreId?: string;
}

// Warning: (ae-forgotten-export) The symbol "DebugDataValue" needs to be exported by the entry point index.d.ts
//
// @public (undocumented)
function debugDataValue(debugData: DebugDataValue, { tplStateStoreId }: DataValueOption): Promise<any>;

// @public (undocumented)
export const Dialog: Readonly<{
show: typeof show_2;
Expand Down Expand Up @@ -326,7 +333,7 @@ export interface RenderOptions {
}

// @public (undocumented)
function renderUseBrick(useBrick: RuntimeUseBrickConfWithRootSymbols, data: unknown): Promise<RenderUseBrickResult>;
function renderUseBrick(useBrick: RuntimeUseBrickConfWithRootSymbols, data: unknown, errorBoundary?: boolean): Promise<RenderUseBrickResult>;

// @public (undocumented)
interface RenderUseBrickResult {
Expand Down
8 changes: 8 additions & 0 deletions packages/babel-preset-next/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.0.16](https://github.com/easyops-cn/next-core/compare/@next-core/babel-preset-next@1.0.15...@next-core/babel-preset-next@1.0.16) (2024-05-10)

**Note:** Version bump only for package @next-core/babel-preset-next





## [1.0.15](https://github.com/easyops-cn/next-core/compare/@next-core/babel-preset-next@1.0.14...@next-core/babel-preset-next@1.0.15) (2024-04-16)


Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-next/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next-core/babel-preset-next",
"version": "1.0.15",
"version": "1.0.16",
"description": "babel preset for brick-next related packages",
"homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/babel-preset-next",
"license": "GPL-3.0",
Expand Down
108 changes: 108 additions & 0 deletions packages/brick-container/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,114 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.16.8](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.7...@next-core/brick-container@3.16.8) (2024-05-22)


### Bug Fixes

* fix size check by each brick ([6381f46](https://github.com/easyops-cn/next-core/commit/6381f469aa9d7862bc70073c58bf5fde51ef1b48))





## [3.16.7](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.6...@next-core/brick-container@3.16.7) (2024-05-22)


### Bug Fixes

* allow brick repo to customize size check filter ([8bd7d4b](https://github.com/easyops-cn/next-core/commit/8bd7d4b3c7a3a9690c256a671751bce72f955fc8))





## [3.16.6](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.5...@next-core/brick-container@3.16.6) (2024-05-21)

**Note:** Version bump only for package @next-core/brick-container





## [3.16.5](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.4...@next-core/brick-container@3.16.5) (2024-05-21)


### Bug Fixes

* use local preview pages ([28e7ef2](https://github.com/easyops-cn/next-core/commit/28e7ef28c6da53a9fcb73ea5f83da5040bbe2f64))





## [3.16.4](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.3...@next-core/brick-container@3.16.4) (2024-05-21)

**Note:** Version bump only for package @next-core/brick-container





## [3.16.3](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.2...@next-core/brick-container@3.16.3) (2024-05-17)

**Note:** Version bump only for package @next-core/brick-container





## [3.16.2](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.1...@next-core/brick-container@3.16.2) (2024-05-17)

**Note:** Version bump only for package @next-core/brick-container





## [3.16.1](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.16.0...@next-core/brick-container@3.16.1) (2024-05-17)

**Note:** Version bump only for package @next-core/brick-container





# [3.16.0](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.15.12...@next-core/brick-container@3.16.0) (2024-05-16)


### Features

* serve as https, use partitioned cookie ([4c4e9cc](https://github.com/easyops-cn/next-core/commit/4c4e9cc3a8f6dd301bd2f54e203a4a251d3c4c4a))





## [3.15.12](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.15.11...@next-core/brick-container@3.15.12) (2024-05-15)

**Note:** Version bump only for package @next-core/brick-container





## [3.15.11](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.15.10...@next-core/brick-container@3.15.11) (2024-05-14)

**Note:** Version bump only for package @next-core/brick-container





## [3.15.10](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.15.9...@next-core/brick-container@3.15.10) (2024-05-10)

**Note:** Version bump only for package @next-core/brick-container





## [3.15.9](https://github.com/easyops-cn/next-core/compare/@next-core/brick-container@3.15.8...@next-core/brick-container@3.15.9) (2024-05-09)

**Note:** Version bump only for package @next-core/brick-container
Expand Down
23 changes: 23 additions & 0 deletions packages/brick-container/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,24 @@ export interface DevConfig {
*/
userConfigByApps?: UserConfigByApps;

/**
* 启用 https
*
* @example
* ```js
* export default {
* https: {
* key: readFileSync("./localhost.key.pem", "utf-8"),
* cert: readFileSync("./localhost.cert.pem", "utf-8"),
* },
* }
* ```
*/
https?: {
key: string;
cert: string;
};

/**
* API mocks
*
Expand All @@ -78,6 +96,11 @@ export interface DevConfig {
* ```
*/
mocks?: RequestHandler[];

/**
* 过滤需要进行 size-check 的构件。
*/
sizeCheckFilter?: (brick: string, pkgId?: string) => boolean;
}

interface Settings {
Expand Down
20 changes: 10 additions & 10 deletions packages/brick-container/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next-core/brick-container",
"version": "3.15.9",
"version": "3.16.8",
"description": "Brick Container Server",
"homepage": "https://github.com/easyops-cn/next-core/tree/v3/packages/brick-container",
"license": "GPL-3.0",
Expand Down Expand Up @@ -51,16 +51,16 @@
"devDependencies": {
"@next-api-sdk/api-gateway-sdk": "^1.1.0",
"@next-api-sdk/micro-app-standalone-sdk": "^1.1.0",
"@next-core/build-next-bricks": "^1.20.8",
"@next-core/easyops-runtime": "^0.9.0",
"@next-core/http": "^1.2.1",
"@next-core/i18n": "^1.0.43",
"@next-core/loader": "^1.5.7",
"@next-core/preview": "^0.4.3",
"@next-core/runtime": "^1.41.1",
"@next-core/test-next": "^1.1.0",
"@next-core/build-next-bricks": "^1.21.0",
"@next-core/easyops-runtime": "^0.10.6",
"@next-core/http": "^1.2.2",
"@next-core/i18n": "^1.0.47",
"@next-core/loader": "^1.5.8",
"@next-core/preview": "^0.6.3",
"@next-core/runtime": "^1.44.2",
"@next-core/test-next": "^1.1.1",
"@next-core/theme": "^1.5.0",
"@next-core/types": "^1.10.0",
"@next-core/types": "^1.11.0",
"broadcast-channel": "^7.0.0",
"copy-webpack-plugin": "^12.0.2",
"core-js": "^3.37.1",
Expand Down
Loading

0 comments on commit b355ada

Please sign in to comment.