forked from openshift/console
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# frontend dev | ||
|
||
前端架构: | ||
- react | ||
- patternfly | ||
|
||
## build | ||
打包逻辑: | ||
- yarn run build | ||
- yarn clean | ||
- yarn generate(编译 plugin sdk) | ||
- yarn generate-graphql(`graphql-codegen --config graphql-codegen.yml`) | ||
- yarn build-plugin-sdk(`yarn --cwd packages/console-dynamic-plugin-sdk build`) | ||
- yarn clean && yarn validate && yarn compile && yarn generate | ||
- yarn build-console-plugin-shared(`yarn --cwd packages/console-plugin-shared build`) | ||
- yarn ts-node ./node_modules/.bin/webpack(编译主包) | ||
|
||
优化: | ||
- type check | ||
- SWC | ||
|
||
## entrypoint | ||
|
||
## console extensions | ||
console 插件: | ||
- static plugin(`package.json.consolePlugin.entry`) | ||
- dynamic plugin(`console-extensions.json`) | ||
|
||
|
||
- 核心模块`@console/app`,项目工程[位于](../frontend/packages/console-app) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters