@devtools-ui/plugin 0.4.1--canary.62.3837 → 0.4.1

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.
Files changed (2) hide show
  1. package/README.md +54 -0
  2. package/package.json +22 -22
package/README.md ADDED
@@ -0,0 +1,54 @@
1
+ # @devtools-ui/plugin
2
+
3
+ ## Overview
4
+
5
+ `@devtools-ui/plugin` is a [Player-UI](https://player-ui.github.io/next/plugins) assets plugin.
6
+
7
+ It register the following assets to your React Player instance:
8
+
9
+ - action
10
+ - collection
11
+ - input
12
+ - list
13
+ - navigation
14
+ - object-inspector
15
+ - text
16
+ - stacked-view
17
+ - table
18
+ - console
19
+ - copy-to-clipboard
20
+ - code-editor
21
+ - radio-group
22
+ - toggle
23
+ - flame-graph
24
+
25
+ ## Installation
26
+
27
+ To install `@devtools-ui/plugin`, you can use pnpm or yarn:
28
+
29
+ ```sh
30
+ pnpm i @devtools-ui/plugin
31
+ ```
32
+
33
+ or
34
+
35
+ ```sh
36
+ yarn add @devtools-ui/plugin
37
+ ```
38
+
39
+ ## Usage
40
+
41
+ You can leverage this plugin through the `@devtools-ui/plugin`:
42
+
43
+ ```ts
44
+ import { ReactPlayer } from "@player-ui/react";
45
+ import DevtoolsUIPlugin from "@devtools-ui/plugin";
46
+
47
+ const reactPlayer = new ReactPlayer({
48
+ plugins: [new DevtoolsUIPlugin()],
49
+ });
50
+ ```
51
+
52
+ ## Contributing
53
+
54
+ We welcome contributions to `@devtools-ui/plugin`!
package/package.json CHANGED
@@ -1,24 +1,29 @@
1
1
  {
2
- "name": "@devtools-ui/plugin",
3
- "version": "0.4.1--canary.62.3837",
4
2
  "sideEffects": false,
3
+ "files": [
4
+ "dist",
5
+ "src",
6
+ "types"
7
+ ],
8
+ "name": "@devtools-ui/plugin",
9
+ "version": "0.4.1",
5
10
  "main": "dist/cjs/index.cjs",
6
11
  "dependencies": {
7
- "@devtools-ui/action": "0.4.1--canary.62.3837",
8
- "@devtools-ui/console": "0.4.1--canary.62.3837",
9
- "@devtools-ui/collection": "0.4.1--canary.62.3837",
10
- "@devtools-ui/input": "0.4.1--canary.62.3837",
11
- "@devtools-ui/list": "0.4.1--canary.62.3837",
12
- "@devtools-ui/navigation": "0.4.1--canary.62.3837",
13
- "@devtools-ui/object-inspector": "0.4.1--canary.62.3837",
14
- "@devtools-ui/text": "0.4.1--canary.62.3837",
15
- "@devtools-ui/stacked-view": "0.4.1--canary.62.3837",
16
- "@devtools-ui/table": "0.4.1--canary.62.3837",
17
- "@devtools-ui/copy-to-clipboard": "0.4.1--canary.62.3837",
18
- "@devtools-ui/code-editor": "0.4.1--canary.62.3837",
19
- "@devtools-ui/toggle": "0.4.1--canary.62.3837",
20
- "@devtools-ui/radio-group": "0.4.1--canary.62.3837",
21
- "@devtools-ui/flame-graph": "0.4.1--canary.62.3837",
12
+ "@devtools-ui/action": "0.4.1",
13
+ "@devtools-ui/console": "0.4.1",
14
+ "@devtools-ui/collection": "0.4.1",
15
+ "@devtools-ui/input": "0.4.1",
16
+ "@devtools-ui/list": "0.4.1",
17
+ "@devtools-ui/navigation": "0.4.1",
18
+ "@devtools-ui/object-inspector": "0.4.1",
19
+ "@devtools-ui/text": "0.4.1",
20
+ "@devtools-ui/stacked-view": "0.4.1",
21
+ "@devtools-ui/table": "0.4.1",
22
+ "@devtools-ui/copy-to-clipboard": "0.4.1",
23
+ "@devtools-ui/code-editor": "0.4.1",
24
+ "@devtools-ui/toggle": "0.4.1",
25
+ "@devtools-ui/radio-group": "0.4.1",
26
+ "@devtools-ui/flame-graph": "0.4.1",
22
27
  "@chakra-ui/react": "^2.8.2",
23
28
  "@player-ui/asset-provider-plugin-react": "0.15.5",
24
29
  "@player-ui/asset-transform-plugin": "0.15.5",
@@ -37,11 +42,6 @@
37
42
  "default": "./dist/cjs/index.cjs"
38
43
  }
39
44
  },
40
- "files": [
41
- "dist",
42
- "src",
43
- "types"
44
- ],
45
45
  "peerDependencies": {
46
46
  "@player-ui/player": "0.15.5",
47
47
  "@player-ui/react": "0.15.5"