@databrainhq/plugin 0.11.14 → 0.11.16

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.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@databrainhq/plugin",
3
- "version": "0.11.14",
3
+ "version": "0.11.16",
4
4
  "description": "Databrain app ui plugin.",
5
5
  "author": "",
6
6
  "license": "MIT",
7
7
  "repository": "databrainhq/plugin",
8
+ "main": "src/index.ts",
8
9
  "source": "index.ts",
9
- "main": "./dist/index.umd.js",
10
10
  "module": "./dist/index.es.js",
11
11
  "types": "./dist/index.d.ts",
12
12
  "exports": {
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "scripts": {
26
26
  "start:repl": "vite --host 0.0.0.0",
27
- "serve": "vite --port 3005",
27
+ "start": "vite --port 3005",
28
28
  "build:css": "tailwindcss build -i src/index.css -o dist/index.css",
29
29
  "build:react": "cross-env ENTRY_NAME=react tsc && vite build",
30
30
  "build:web": "cross-env ENTRY_NAME=web vite build --config vite.config.web.ts",
@@ -118,4 +118,4 @@
118
118
  "react": "^18.2.0",
119
119
  "react-dom": "^18.2.0"
120
120
  }
121
- }
121
+ }
package/src/index.ts ADDED
@@ -0,0 +1,7 @@
1
+ export * from './containers';
2
+ export * as utils from './utils';
3
+ export * as consts from './consts';
4
+ export * as helpers from './helpers';
5
+ export * as hooks from './hooks';
6
+ export * as types from './types';
7
+ export * as Ui from './components';