@databrainhq/plugin 0.9.1 → 0.9.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.
package/dist/typings.d.ts CHANGED
@@ -1,17 +1,17 @@
1
- /**
2
- * Default CSS definition for typescript,
3
- * will be overridden with file-specific definitions by rollup
4
- */
5
- declare module '*.css' {
6
- const content: Record<string, string>;
7
- export default content;
8
- }
9
-
10
- interface SvgrComponent extends React.FC<React.SVGAttributes<SVGElement>> {}
11
-
12
- declare module '*.svg' {
13
- const svgUrl: string;
14
- const svgComponent: SvgrComponent;
15
- export default svgUrl;
16
- export { svgComponent as ReactComponent };
17
- }
1
+ /**
2
+ * Default CSS definition for typescript,
3
+ * will be overridden with file-specific definitions by rollup
4
+ */
5
+ declare module '*.css' {
6
+ const content: Record<string, string>;
7
+ export default content;
8
+ }
9
+
10
+ interface SvgrComponent extends React.FC<React.SVGAttributes<SVGElement>> {}
11
+
12
+ declare module '*.svg' {
13
+ const svgUrl: string;
14
+ const svgComponent: SvgrComponent;
15
+ export default svgUrl;
16
+ export { svgComponent as ReactComponent };
17
+ }
package/package.json CHANGED
@@ -1,96 +1,96 @@
1
- {
2
- "name": "@databrainhq/plugin",
3
- "version": "0.9.1",
4
- "description": "Databrain app dashboard ui plugin.",
5
- "author": "",
6
- "license": "MIT",
7
- "repository": "databrainhq/plugin",
8
- "source": "src/index.ts",
9
- "main": "./dist/index.umd.js",
10
- "module": "./dist/index.es.js",
11
- "types": "./dist/index.d.ts",
12
- "exports": {
13
- ".": {
14
- "import": "./dist/index.es.js",
15
- "require": "./dist/index.umd.js"
16
- },
17
- "./dist/style.css": "./dist/style.css"
18
- },
19
- "scripts": {
20
- "serve": "vite --port 3005",
21
- "build:css": "tailwindcss build -i src/index.css -o dist/index.css",
22
- "build": "tsc && vite build",
23
- "husky": "husky install",
24
- "predeploy": "cd example && npm install && npm run build",
25
- "lint": "eslint --ext .tsx,.ts --ignore-path .gitignore --fix src",
26
- "codegen": "graphql-codegen --config codegen.yml -r dotenv/config",
27
- "prepare": "npm run build"
28
- },
29
- "devDependencies": {
30
- "@commitlint/cli": "^17.0.3",
31
- "@commitlint/config-conventional": "^17.0.3",
32
- "@graphql-codegen/cli": "^2.16.4",
33
- "@graphql-codegen/introspection": "^2.2.3",
34
- "@graphql-codegen/typescript": "^2.8.7",
35
- "@graphql-codegen/typescript-operations": "^2.5.12",
36
- "@graphql-codegen/typescript-react-apollo": "^3.3.7",
37
- "@graphql-codegen/typescript-react-query": "^3.6.2",
38
- "@iconify/json": "^2.2.6",
39
- "@svgr/core": "^6.5.1",
40
- "@types/node": "^12.12.38",
41
- "@types/react": "^18.0.26",
42
- "@types/react-dom": "^18.0.10",
43
- "@types/react-grid-layout": "^1.3.2",
44
- "@typescript-eslint/eslint-plugin": "^4.31.1",
45
- "@typescript-eslint/parser": "^4.31.1",
46
- "@vitejs/plugin-react": "^1.3.0",
47
- "autoprefixer": "^10.4.7",
48
- "babel-eslint": "^10.0.3",
49
- "cross-env": "^7.0.2",
50
- "eslint": "^7.32.0",
51
- "eslint-config-airbnb": "^18.2.1",
52
- "eslint-config-airbnb-typescript": "^14.0.0",
53
- "eslint-config-prettier": "^8.3.0",
54
- "eslint-plugin-import": "^2.24.2",
55
- "eslint-plugin-jsx-a11y": "^6.6.0",
56
- "eslint-plugin-prettier": "^4.0.0",
57
- "eslint-plugin-react": "^7.30.1",
58
- "eslint-plugin-react-hooks": "^4.6.0",
59
- "eslint-plugin-unicorn": "^36.0.0",
60
- "graphql": "^16.6.0",
61
- "husky": "^8.0.1",
62
- "lint-staged": "^13.0.3",
63
- "postcss": "^8.4.21",
64
- "prettier": "^2.0.4",
65
- "react": "^18.2.0",
66
- "react-dom": "^18.2.0",
67
- "tailwindcss": "^3.2.4",
68
- "ts-node": "^10.9.1",
69
- "typescript": "^4.6.3",
70
- "unplugin-icons": "^0.14.7",
71
- "vite": "^2.9.9",
72
- "vite-plugin-dts": "^1.7.1",
73
- "vite-tsconfig-paths": "^4.0.3"
74
- },
75
- "files": [
76
- "dist"
77
- ],
78
- "dependencies": {
79
- "@headlessui/react": "^1.7.2",
80
- "@tanstack/match-sorter-utils": "^8.8.4",
81
- "@tanstack/react-table": "^8.7.9",
82
- "ace-builds": "^1.17.0",
83
- "classnames": "^2.3.2",
84
- "echarts": "^5.4.1",
85
- "echarts-for-react": "^3.0.2",
86
- "react-ace": "^10.1.0",
87
- "react-error-boundary": "^3.1.4",
88
- "react-grid-layout": "^1.3.4",
89
- "react-hook-form": "^7.33.1",
90
- "react-query": "^3.39.2"
91
- },
92
- "peerDependencies": {
93
- "react": "^18.2.0",
94
- "react-dom": "^18.2.0"
95
- }
96
- }
1
+ {
2
+ "name": "@databrainhq/plugin",
3
+ "version": "0.9.2",
4
+ "description": "Databrain app dashboard ui plugin.",
5
+ "author": "",
6
+ "license": "MIT",
7
+ "repository": "databrainhq/plugin",
8
+ "source": "src/index.ts",
9
+ "main": "./dist/index.umd.js",
10
+ "module": "./dist/index.es.js",
11
+ "types": "./dist/index.d.ts",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/index.es.js",
15
+ "require": "./dist/index.umd.js"
16
+ },
17
+ "./dist/style.css": "./dist/style.css"
18
+ },
19
+ "scripts": {
20
+ "serve": "vite --port 3005",
21
+ "build:css": "tailwindcss build -i src/index.css -o dist/index.css",
22
+ "build": "tsc && vite build",
23
+ "husky": "husky install",
24
+ "predeploy": "cd example && npm install && npm run build",
25
+ "lint": "eslint --ext .tsx,.ts --ignore-path .gitignore --fix src",
26
+ "codegen": "graphql-codegen --config codegen.yml -r dotenv/config",
27
+ "prepare": "npm run build"
28
+ },
29
+ "devDependencies": {
30
+ "@commitlint/cli": "^17.0.3",
31
+ "@commitlint/config-conventional": "^17.0.3",
32
+ "@graphql-codegen/cli": "^2.16.4",
33
+ "@graphql-codegen/introspection": "^2.2.3",
34
+ "@graphql-codegen/typescript": "^2.8.7",
35
+ "@graphql-codegen/typescript-operations": "^2.5.12",
36
+ "@graphql-codegen/typescript-react-apollo": "^3.3.7",
37
+ "@graphql-codegen/typescript-react-query": "^3.6.2",
38
+ "@iconify/json": "^2.2.6",
39
+ "@svgr/core": "^6.5.1",
40
+ "@types/node": "^12.12.38",
41
+ "@types/react": "^18.0.26",
42
+ "@types/react-dom": "^18.0.10",
43
+ "@types/react-grid-layout": "^1.3.2",
44
+ "@typescript-eslint/eslint-plugin": "^4.31.1",
45
+ "@typescript-eslint/parser": "^4.31.1",
46
+ "@vitejs/plugin-react": "^1.3.0",
47
+ "autoprefixer": "^10.4.7",
48
+ "babel-eslint": "^10.0.3",
49
+ "cross-env": "^7.0.2",
50
+ "eslint": "^7.32.0",
51
+ "eslint-config-airbnb": "^18.2.1",
52
+ "eslint-config-airbnb-typescript": "^14.0.0",
53
+ "eslint-config-prettier": "^8.3.0",
54
+ "eslint-plugin-import": "^2.24.2",
55
+ "eslint-plugin-jsx-a11y": "^6.6.0",
56
+ "eslint-plugin-prettier": "^4.0.0",
57
+ "eslint-plugin-react": "^7.30.1",
58
+ "eslint-plugin-react-hooks": "^4.6.0",
59
+ "eslint-plugin-unicorn": "^36.0.0",
60
+ "graphql": "^16.6.0",
61
+ "husky": "^8.0.1",
62
+ "lint-staged": "^13.0.3",
63
+ "postcss": "^8.4.21",
64
+ "prettier": "^2.0.4",
65
+ "react": "^18.2.0",
66
+ "react-dom": "^18.2.0",
67
+ "tailwindcss": "^3.2.4",
68
+ "ts-node": "^10.9.1",
69
+ "typescript": "^4.6.3",
70
+ "unplugin-icons": "^0.14.7",
71
+ "vite": "^2.9.9",
72
+ "vite-plugin-dts": "^1.7.1",
73
+ "vite-tsconfig-paths": "^4.0.3"
74
+ },
75
+ "files": [
76
+ "dist"
77
+ ],
78
+ "dependencies": {
79
+ "@headlessui/react": "^1.7.2",
80
+ "@tanstack/match-sorter-utils": "^8.8.4",
81
+ "@tanstack/react-table": "^8.7.9",
82
+ "ace-builds": "^1.17.0",
83
+ "classnames": "^2.3.2",
84
+ "echarts": "^5.4.1",
85
+ "echarts-for-react": "^3.0.2",
86
+ "react-ace": "^10.1.0",
87
+ "react-error-boundary": "^3.1.4",
88
+ "react-grid-layout": "^1.3.4",
89
+ "react-hook-form": "^7.33.1",
90
+ "react-query": "^3.39.2"
91
+ },
92
+ "peerDependencies": {
93
+ "react": "^18.2.0",
94
+ "react-dom": "^18.2.0"
95
+ }
96
+ }