Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/project-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ inhouse
pnpmfile
Popconfirm
rsbuild
rsdoctor
rspack
rushstack
rushx
Expand Down
1,011 changes: 613 additions & 398 deletions common/config/subspaces/default/pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions frontend/apps/cozeloop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"sideEffects": false,
"type": "module",
"scripts": {
"analyze": "cross-env BUNDLE_ANALYZE=true rsbuild build",
"analyze": "cross-env RSDOCTOR=true rsbuild build",
"build": "cross-env REGION=cn npm run build:prod",
"build:prod": "rsbuild build",
"build:ts": "tsc -b tsconfig.build.json",
Expand Down Expand Up @@ -61,7 +61,8 @@
"@coze-arch/vitest-config": "workspace:*",
"@cozeloop/rsbuild-config": "workspace:*",
"@cozeloop/tailwind-config": "workspace:*",
"@rsbuild/core": "^1.7.5",
"@rsbuild/core": "^2.0.0",
"@rsdoctor/rspack-plugin": "^1.5.9",
"@types/node": "^24",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
Expand All @@ -72,4 +73,3 @@
"vitest": "~3.0.5"
}
}

12 changes: 8 additions & 4 deletions frontend/apps/cozeloop/rsbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@
// SPDX-License-Identifier: Apache-2.0
import { createRsbuildConfig } from '@cozeloop/rsbuild-config';

export type RsbuildConfig = ReturnType<typeof createRsbuildConfig>;

const port = 8090;

export default createRsbuildConfig({
server: { port },
server: {
port,
cors: {
origin: '*',
},
},
dev: {
lazyCompilation: false,
assetPrefix: `http://localhost:${port}`,
client: {
port: `${port}`,
Expand All @@ -22,4 +26,4 @@ export default createRsbuildConfig({
favicon: './src/assets/images/coze.svg',
crossorigin: 'anonymous',
},
}) as RsbuildConfig;
});
34 changes: 17 additions & 17 deletions frontend/apps/cozeloop/tsconfig.misc.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
{
"extends": "@coze-arch/ts-config/tsconfig.web.json",
"$schema": "https://json.schemastore.org/tsconfig",
"include": [
"__tests__",
"cloud.config.ts",
"rsbuild.config.ts",
"tailwind.config.ts",
"vitest.config.ts",
"rsbuild.cloud.config.ts",
"scripts"
],
"exclude": ["./dist"],
"references": [
{
"path": "./tsconfig.build.json"
}
],
"extends": "@coze-arch/ts-config/tsconfig.web.json",
"compilerOptions": {
"jsx": "preserve",
"paths": {
Expand All @@ -32,5 +17,20 @@
"rootDir": "./",
"outDir": "./dist",
"strict": true
}
},
"include": [
"__tests__",
"cloud.config.ts",
"rsbuild.config.ts",
"tailwind.config.ts",
"vitest.config.ts",
"rsbuild.cloud.config.ts",
"scripts"
],
"exclude": ["./dist"],
"references": [
{
"path": "./tsconfig.build.json"
}
]
}
67 changes: 0 additions & 67 deletions frontend/infra/plugins/subspace-resolve-plugin/README.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

26 changes: 0 additions & 26 deletions frontend/infra/plugins/subspace-resolve-plugin/package.json

This file was deleted.

104 changes: 0 additions & 104 deletions frontend/infra/plugins/subspace-resolve-plugin/src/index.ts

This file was deleted.

Loading
Loading