-
Notifications
You must be signed in to change notification settings - Fork 211
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
75 changed files
with
6,283 additions
and
1,662 deletions.
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,14 @@ | ||
## 0.0.1 (2021-02-20) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* modify the licence to Apache-2.0 ([b349299](https://github.com/bytedance/garfish/commit/b349299a2f565e16dd0c40d52aa523379152c648)) | ||
|
||
|
||
### Features | ||
|
||
* init project ([d6a1b5e](https://github.com/bytedance/garfish/commit/d6a1b5eb18184ac88a3490bc12106edd706bc88e)) | ||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,38 @@ | ||
## 简介 | ||
Garfish是字节跳动内部自研的微前端框架,提供了从开发调试、服务注册和发现、部署上线、运行的完整解决方案,主要用于解决多团队协作的大型单体应用维护困难的问题。 | ||
<br><br> | ||
目前在字节跳动内部有超过60个团队,300个项目使用Garfish。 | ||
<h1 align="center"> | ||
Garfish | ||
</h1> | ||
|
||
[![npm version](https://badge.fury.io/js/%40garfish%2Fcore.svg)](https://badge.fury.io/js/%40garfish%2Fcore) | ||
|
||
<p align="center"> | ||
<img src="http://tosv.byted.org/obj/garfish/Garfish.png" width="150" alt="garfish" /> | ||
</p> | ||
|
||
`Garfish` 是字节跳动内部自研的微前端框架,提供了从开发调试、服务注册和发现、部署上线、运行的完整解决方案,主要用于解决多团队协作的大型单体应用维护困难的问题。 | ||
> 目前在字节跳动内部有超过 60 个团队,300 个项目使用 Garfish。 | ||
## 安装 | ||
npm i @garfish/core | ||
`$ npm i @garfish/core` | ||
|
||
## 快速开始 | ||
todo | ||
```js | ||
import Garfish from '@garfish/core'; | ||
|
||
Garfish.run({ | ||
domGetter: '#AppContainer', | ||
apps: [ | ||
{ | ||
name: 'app', | ||
entry: 'xx.html', | ||
activeWhen: '/index', | ||
}, | ||
], | ||
}) | ||
``` | ||
|
||
## 文档 | ||
* [API文档](https://github.com/bytedance/garfish/wiki/API) | ||
* [Build](https://github.com/bytedance/garfish/wiki/Build) | ||
+ [API](https://github.com/bytedance/garfish/wiki/API) | ||
+ [Build](https://github.com/bytedance/garfish/wiki/Build) | ||
|
||
## LICENSE | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. | ||
Garfish is released under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
}, | ||
"bootstrap": { | ||
"ignore": "component-*", | ||
"hoist": true, | ||
"npmClientArgs": [ | ||
"--no-package-lock" | ||
] | ||
|
Oops, something went wrong.