You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-8Lines changed: 21 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,19 +7,31 @@
7
7
8
8
Twilio Flex plugins allow you to augment/change the behavior and appearance of a [Twilio Flex](https://www.twilio.com/flex) Contact Center using React.
9
9
10
+
## User Guide
11
+
12
+
*[Creating a new plugin](packages/create-flex-plugin/README.md)
Major changelogs can be found in the [changelog directory](/tree/master/changelog).
18
+
10
19
## Project Structure
11
20
12
-
This project is a monorepo project that is housing three separate packages for the creation of Twilio Flex plugins.
21
+
This is a monorepo project managed by [lerna](https://github.com/lerna/lerna) for creating Twilio Flex plugins.
22
+
23
+
-[create-flex-plugin](packages/create-flex-plugin): The CLI tool to start a new Flex plugin project
24
+
-[flex-plugin](packages/flex-plugin): Runtime dependency for Flex plugins
25
+
-[craco-config-flex-plugin](packages/craco-config-flex-plugin): Config override for [craco](https://github.com/sharegate/craco) used to develop and build Flex plugins
13
26
14
-
-[`create-flex-plugin`](packages/create-flex-plugin) - The CLI tool to start a new Flex plugin project
15
-
-[`flex-plugin`](packages/flex-plugin) - Runtime dependency for Flex plugins
16
-
-[`craco-config-flex-plugin`](packages/craco-config-flex-plugin) - Config override for [`craco`](https://github.com/sharegate/craco) used to develop and build Flex plugins
17
27
18
28
## Contributing
19
29
20
-
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
30
+
This project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
31
+
32
+
By cloning this project, you will be contributing to the plugin-builder itself. If you want to create a plugin instead, please instead use the guide in [creating a new plugin](packages/create-flex-plugin/README.md).
21
33
22
-
### 1. Create a fork of the project
34
+
### 1. Create a Fork of the Project
23
35
24
36
Create a fork of this project for your GitHub user by clicking the `Fork` button at the top of this project
25
37
@@ -32,14 +44,15 @@ npm install
32
44
npx lerna bootstrap
33
45
```
34
46
35
-
### 3. Contributing to a package
47
+
### 3. Contributing to a Package
36
48
37
-
Please refer to the `README.md` of the respective packages in `packages/` for specific guidelines for those projects.
49
+
Refer to the `README.md` of the respective packages in `packages/` for specific guidelines for those projects.
38
50
39
51
### 4. Submitting Changes
40
52
41
53
When you are happy with your changes, make sure to create a new branch with your changes and open a PR with your changes. For more info check out this [page describing the GitHub workflow](https://guides.github.com/introduction/flow/).
42
54
55
+
43
56
## Contributors
44
57
45
58
Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):
[CRACO](https://github.com/sharegate/craco) configuration override to build a Flex plugin.
8
+
9
+
## Installation
10
+
11
+
`craco-config-flex-plugin` dependency is added to your `package.json` when you create a new plugin with [create-flex-plugin](https://github.com/twilio/flex-plugin-builder/tree/master/packages/create-flex-plugin).
12
+
13
+
## Usage
14
+
15
+
You can edit the `craco.config.js` to provide your own configuration. Please visit [craco documentation](https://github.com/sharegate/craco/tree/master/packages/craco#configuration-overview) for more information.
16
+
17
+
## Contributing
18
+
19
+
Make sure to follow the instructions in the [main repository](https://github.com/twilio/flex-plugin-builder#contributing) to setup the project
20
+
21
+
```bash
22
+
# Install dependencies and link local packages with each other
23
+
cd packages/craco-config-flex-plugin
24
+
npx lerna bootstrap
25
+
26
+
# Run tests
27
+
npm test
28
+
29
+
# To use your local package in a different project
30
+
npm link
31
+
# then in a different project
32
+
npm link craco-config-flex-plugin
33
+
```
34
+
35
+
## Contributors
36
+
37
+
Thank you to all the lovely contributors to this project. Please check the main repository to see [all contributors](https://github.com/twilio/flex-plugin-builder#contributors).
0 commit comments