@lumiastream/ui 0.0.5-beta.8 → 0.0.6
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/index.d.ts +29 -3
- package/dist/index.js +37 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -38,7 +38,35 @@ declare const codeMirrorlinterOptions: (type: "overlay" | "code", language?: "js
|
|
|
38
38
|
ecmaVersion: number;
|
|
39
39
|
sourceType: string;
|
|
40
40
|
globals: {
|
|
41
|
-
|
|
41
|
+
_: string;
|
|
42
|
+
moment: string;
|
|
43
|
+
dayjs: string;
|
|
44
|
+
axios: string;
|
|
45
|
+
d3: string;
|
|
46
|
+
Chart: string;
|
|
47
|
+
anime: string;
|
|
48
|
+
gsap: string;
|
|
49
|
+
TweenMax: string;
|
|
50
|
+
TweenLite: string;
|
|
51
|
+
Vue: string;
|
|
52
|
+
angular: string;
|
|
53
|
+
ReactDOM: string;
|
|
54
|
+
$: string;
|
|
55
|
+
jQuery: string;
|
|
56
|
+
React: string;
|
|
57
|
+
BABYLON: string;
|
|
58
|
+
createjs: string;
|
|
59
|
+
p5: string;
|
|
60
|
+
fabric: string;
|
|
61
|
+
THREE: string;
|
|
62
|
+
Phaser: string;
|
|
63
|
+
Pixi: string;
|
|
64
|
+
PixiJS: string;
|
|
65
|
+
L: string;
|
|
66
|
+
mapboxgl: string;
|
|
67
|
+
io: string;
|
|
68
|
+
Pusher: string;
|
|
69
|
+
Echo: string;
|
|
42
70
|
};
|
|
43
71
|
};
|
|
44
72
|
rules: {
|
|
@@ -72,8 +100,6 @@ declare const codeMirrorlinterOptions: (type: "overlay" | "code", language?: "js
|
|
|
72
100
|
"no-unreachable": string;
|
|
73
101
|
"use-isnan": string;
|
|
74
102
|
"valid-typeof": string;
|
|
75
|
-
"no-trailing-spaces": string;
|
|
76
|
-
"no-multi-spaces": string;
|
|
77
103
|
"prefer-const": string;
|
|
78
104
|
"no-var": string;
|
|
79
105
|
"prefer-template": string;
|
package/dist/index.js
CHANGED
|
@@ -83,7 +83,7 @@ import * as globals from "globals";
|
|
|
83
83
|
var browserGlobals = Object.fromEntries(
|
|
84
84
|
Object.entries(globals.browser).map(([key, value]) => [
|
|
85
85
|
key,
|
|
86
|
-
value ? "
|
|
86
|
+
value ? "writable" : "readonly"
|
|
87
87
|
])
|
|
88
88
|
);
|
|
89
89
|
var jsOptions = {
|
|
@@ -91,7 +91,42 @@ var jsOptions = {
|
|
|
91
91
|
ecmaVersion: 2025,
|
|
92
92
|
sourceType: "module",
|
|
93
93
|
globals: {
|
|
94
|
-
...browserGlobals
|
|
94
|
+
...browserGlobals,
|
|
95
|
+
// DOM / utility
|
|
96
|
+
_: "readonly",
|
|
97
|
+
moment: "readonly",
|
|
98
|
+
dayjs: "readonly",
|
|
99
|
+
axios: "readonly",
|
|
100
|
+
// Data-viz / animation
|
|
101
|
+
d3: "readonly",
|
|
102
|
+
Chart: "readonly",
|
|
103
|
+
anime: "readonly",
|
|
104
|
+
gsap: "readonly",
|
|
105
|
+
TweenMax: "readonly",
|
|
106
|
+
TweenLite: "readonly",
|
|
107
|
+
// UI frameworks
|
|
108
|
+
Vue: "readonly",
|
|
109
|
+
angular: "readonly",
|
|
110
|
+
ReactDOM: "readonly",
|
|
111
|
+
$: "readonly",
|
|
112
|
+
jQuery: "readonly",
|
|
113
|
+
React: "readonly",
|
|
114
|
+
// Canvas / WebGL
|
|
115
|
+
BABYLON: "readonly",
|
|
116
|
+
createjs: "readonly",
|
|
117
|
+
p5: "readonly",
|
|
118
|
+
fabric: "readonly",
|
|
119
|
+
THREE: "readonly",
|
|
120
|
+
Phaser: "readonly",
|
|
121
|
+
Pixi: "readonly",
|
|
122
|
+
PixiJS: "readonly",
|
|
123
|
+
// Maps
|
|
124
|
+
L: "readonly",
|
|
125
|
+
mapboxgl: "readonly",
|
|
126
|
+
// Realtime / networking
|
|
127
|
+
io: "readonly",
|
|
128
|
+
Pusher: "readonly",
|
|
129
|
+
Echo: "readonly"
|
|
95
130
|
}
|
|
96
131
|
},
|
|
97
132
|
rules: {
|
|
@@ -121,9 +156,6 @@ var jsOptions = {
|
|
|
121
156
|
"no-unreachable": "error",
|
|
122
157
|
"use-isnan": "error",
|
|
123
158
|
"valid-typeof": "error",
|
|
124
|
-
// Style (Optional but recommended)
|
|
125
|
-
"no-trailing-spaces": "warn",
|
|
126
|
-
"no-multi-spaces": "warn",
|
|
127
159
|
// ES6+ Features
|
|
128
160
|
"prefer-const": "warn",
|
|
129
161
|
"no-var": "warn",
|