agora-app-builder-cli 1.3.0 → 1.4.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ import {installFPE} from 'fpe-api/install';
2
+ /* Custom imports
3
+ import NewCustomLayout from './pages/NewCustomLayout';
4
+ import ChatBubble from './components/ChatBubble';
5
+ */
6
+
7
+ const userCustomization = installFPE({
8
+ // components: {
9
+ // videoCall: {
10
+ // # Pass a function that returns an array of layout objects to override available layouts
11
+ // customLayout: (defaultLayouts) => {
12
+ // return [...defaultLayouts, {
13
+ // label: 'Vertical',
14
+ // name: 'vertical_pinned',
15
+ // iconName: 'screenshare'
16
+ // component: NewCustomLayout;
17
+ // }];
18
+ // },
19
+ // # Pass custom components here to override default components
20
+ // componentOverrides: {
21
+ // chatBubble: ChatBubble,
22
+ // },
23
+ // },
24
+ // },
25
+ });
26
+
27
+ export default userCustomization;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-app-builder-cli",
3
- "version": "1.3.0",
3
+ "version": "1.4.0-beta.2",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "bin": "dist/cli.js",
@@ -8,7 +8,8 @@
8
8
  "node": ">=10 <=16"
9
9
  },
10
10
  "files": [
11
- "dist/cli.js"
11
+ "dist/cli.js",
12
+ "fpe_boilerplate"
12
13
  ],
13
14
  "scripts": {
14
15
  "build": "cross-env NODE_ENV=production webpack",
@@ -32,11 +33,13 @@
32
33
  "ink-select-input": "4.2.0",
33
34
  "ink-select-input-horizontal": "4.5.1",
34
35
  "ink-spinner": "4.0.3",
36
+ "latest-version": "5.1.0",
35
37
  "lodash.pick": "4.4.0",
36
38
  "meow": "9.0.0",
37
39
  "open": "8.4.0",
38
40
  "react": "16.14.0",
39
41
  "react-router": "5.2.0",
42
+ "semver": "7.3.5",
40
43
  "spinnies": "0.5.1",
41
44
  "xmlbuilder2": "2.4.0"
42
45
  },