@tachui/core 0.8.0-alpha → 0.8.5-alpha
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/README.md +58 -2
- package/dist/assets/AssetCollection.d.ts.map +1 -1
- package/dist/assets/ColorAsset.d.ts.map +1 -1
- package/dist/assets/index.d.ts +1 -0
- package/dist/assets/index.d.ts.map +1 -1
- package/dist/assets/index.js +486 -0
- package/dist/assets/types.d.ts +8 -68
- package/dist/assets/types.d.ts.map +1 -1
- package/dist/binding-CYpEQquE.js +308 -0
- package/dist/build-plugins/index.d.ts +3 -0
- package/dist/build-plugins/index.d.ts.map +1 -0
- package/dist/build-plugins/modifier-types.d.ts +12 -0
- package/dist/build-plugins/modifier-types.d.ts.map +1 -0
- package/dist/build-tools/typegen-runner.d.ts +29 -0
- package/dist/build-tools/typegen-runner.d.ts.map +1 -0
- package/dist/bundles/assets.d.ts +19 -0
- package/dist/bundles/assets.d.ts.map +1 -0
- package/dist/bundles/context.d.ts +22 -0
- package/dist/bundles/context.d.ts.map +1 -0
- package/dist/bundles/minimal.d.ts +8 -2
- package/dist/bundles/minimal.d.ts.map +1 -1
- package/dist/common.js +427 -393
- package/dist/compiler/codegen.d.ts.map +1 -1
- package/dist/compiler/index.js +6 -1393
- package/dist/compiler/parser.d.ts +1 -1
- package/dist/compiler/parser.d.ts.map +1 -1
- package/dist/compiler/plugin.d.ts.map +1 -1
- package/dist/compiler/types.d.ts +28 -0
- package/dist/compiler/types.d.ts.map +1 -1
- package/dist/{component-XAzF1xqs.js → component-CECyfUOE.js} +80 -68
- package/dist/{component-base-x2XmHFjy.js → component-base-CJ__jTlr.js} +9 -7
- package/dist/component-context-B6qX_Qsg.js +176 -0
- package/dist/components/factory.d.ts +24 -0
- package/dist/components/factory.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +8 -6
- package/dist/components/wrapper.d.ts +70 -30
- package/dist/components/wrapper.d.ts.map +1 -1
- package/dist/concatenated-component-_tF1eMvy.js +2288 -0
- package/dist/concatenation/concatenated-component.d.ts +16 -2
- package/dist/concatenation/concatenated-component.d.ts.map +1 -1
- package/dist/concatenation/text-optimizer.d.ts.map +1 -1
- package/dist/config.d.ts +7 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/constants/layout.d.ts +2 -9
- package/dist/constants/layout.d.ts.map +1 -1
- package/dist/css-classes/index.js +15 -173
- package/dist/{effect-B9Knft0b.js → effect-DGmdACI2.js} +3 -3
- package/dist/enhanced-renderer-Bwqsh8Ku.js +172 -0
- package/dist/essential.js +425 -391
- package/dist/{index-DIvMCJQO.js → factories-Co2Lv2kJ.js} +13 -13
- package/dist/factory-D7jAY5Kn.js +485 -0
- package/dist/gradients/css-generator.js +99 -0
- package/dist/gradients/index.js +56 -0
- package/dist/gradients/reactive.d.ts.map +1 -1
- package/dist/gradients/types.d.ts +3 -91
- package/dist/gradients/types.d.ts.map +1 -1
- package/dist/hooks-DeLasj54.js +446 -0
- package/dist/index-JQ1sW1SK.js +2049 -0
- package/dist/index-X8MVY78C.js +618 -0
- package/dist/index.d.ts +8 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +426 -392
- package/dist/minimal-prod.js +94 -93
- package/dist/minimal.js +126 -106
- package/dist/modifiers/alignment.d.ts +5 -0
- package/dist/modifiers/alignment.d.ts.map +1 -0
- package/dist/modifiers/base.d.ts +6 -7
- package/dist/modifiers/base.d.ts.map +1 -1
- package/dist/modifiers/base.js +24 -16
- package/dist/modifiers/builder.d.ts +28 -165
- package/dist/modifiers/builder.d.ts.map +1 -1
- package/dist/modifiers/builder.js +7 -7
- package/dist/modifiers/core.d.ts +0 -1
- package/dist/modifiers/core.d.ts.map +1 -1
- package/dist/modifiers/corner-radius.d.ts +8 -0
- package/dist/modifiers/corner-radius.d.ts.map +1 -0
- package/dist/modifiers/index.d.ts +9 -6
- package/dist/modifiers/index.d.ts.map +1 -1
- package/dist/modifiers/index.js +36 -30
- package/dist/modifiers/layout-priority.d.ts +8 -0
- package/dist/modifiers/layout-priority.d.ts.map +1 -0
- package/dist/modifiers/opacity.d.ts +8 -0
- package/dist/modifiers/opacity.d.ts.map +1 -0
- package/dist/modifiers/presets.d.ts.map +1 -1
- package/dist/modifiers/proxy.d.ts +4 -0
- package/dist/modifiers/proxy.d.ts.map +1 -0
- package/dist/modifiers/registration-utils.d.ts +7 -0
- package/dist/modifiers/registration-utils.d.ts.map +1 -0
- package/dist/modifiers/registry.d.ts +18 -9
- package/dist/modifiers/registry.d.ts.map +1 -1
- package/dist/modifiers/registry.js +2 -2
- package/dist/modifiers/type-generator.d.ts +82 -0
- package/dist/modifiers/type-generator.d.ts.map +1 -0
- package/dist/modifiers/types.d.ts +2 -479
- package/dist/modifiers/types.d.ts.map +1 -1
- package/dist/modifiers/types.js +1 -4
- package/dist/observed-object-DepiqSgg.js +269 -0
- package/dist/optimization-CbKNA9w4.js +21 -0
- package/dist/plugin-BCAdZXKq.js +1680 -0
- package/dist/plugins/index.js +28 -8
- package/dist/plugins/simplified-lazy-loader.d.ts.map +1 -1
- package/dist/presets-B9x94uRn.js +381 -0
- package/dist/proxy-Cqmbiyx0.js +175 -0
- package/dist/reactive/cleanup.d.ts.map +1 -1
- package/dist/reactive/computed.d.ts +1 -1
- package/dist/reactive/computed.d.ts.map +1 -1
- package/dist/reactive/context.d.ts +4 -3
- package/dist/reactive/context.d.ts.map +1 -1
- package/dist/reactive/index.d.ts +1 -0
- package/dist/reactive/index.d.ts.map +1 -1
- package/dist/reactive/index.js +84 -490
- package/dist/reactive/signal-list.d.ts +100 -0
- package/dist/reactive/signal-list.d.ts.map +1 -0
- package/dist/reactive/signal.d.ts.map +1 -1
- package/dist/reactive/types.d.ts +2 -89
- package/dist/reactive/types.d.ts.map +1 -1
- package/dist/reactive/types.js +1 -4
- package/dist/registration-utils-CNsN4eoU.js +27 -0
- package/dist/runtime/component.d.ts.map +1 -1
- package/dist/runtime/concatenation-aria.d.ts +24 -0
- package/dist/runtime/concatenation-aria.d.ts.map +1 -0
- package/dist/runtime/concatenation-aria.js +58 -0
- package/dist/runtime/concatenation-full.d.ts +30 -0
- package/dist/runtime/concatenation-full.d.ts.map +1 -0
- package/dist/runtime/concatenation-full.js +85 -0
- package/dist/runtime/concatenation-minimal.d.ts +25 -0
- package/dist/runtime/concatenation-minimal.d.ts.map +1 -0
- package/dist/runtime/concatenation-minimal.js +45 -0
- package/dist/runtime/context.d.ts.map +1 -1
- package/dist/runtime/dom-bridge.d.ts +1 -1
- package/dist/runtime/dom-bridge.d.ts.map +1 -1
- package/dist/runtime/dom-bridge.js +239 -12
- package/dist/runtime/event-delegation.d.ts +59 -0
- package/dist/runtime/event-delegation.d.ts.map +1 -0
- package/dist/runtime/index.d.ts +3 -1
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +96 -0
- package/dist/runtime/layout-scheduler.d.ts +89 -0
- package/dist/runtime/layout-scheduler.d.ts.map +1 -0
- package/dist/runtime/props.d.ts.map +1 -1
- package/dist/runtime/renderer.d.ts +54 -2
- package/dist/runtime/renderer.d.ts.map +1 -1
- package/dist/runtime/renderer.js +11 -7
- package/dist/runtime/semantic-role-manager.d.ts.map +1 -1
- package/dist/runtime/types.d.ts +2 -226
- package/dist/runtime/types.d.ts.map +1 -1
- package/dist/runtime/types.js +1 -1
- package/dist/scheduler-DI_8ykMk.js +169 -0
- package/dist/signal-list-BdpxSodS.js +525 -0
- package/dist/state/index.js +319 -0
- package/dist/theme-BFaKUcjZ.js +677 -0
- package/dist/utils/clone-helpers.d.ts +11 -0
- package/dist/utils/clone-helpers.d.ts.map +1 -0
- package/dist/validation/index.js +28 -26
- package/dist/version.d.ts +19 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +6 -0
- package/package.json +69 -9
- package/dist/concatenated-component-ByPl3_FF.js +0 -2933
- package/dist/dom-bridge-CAa1N2zX.js +0 -406
- package/dist/index-DCPJFUm9.js +0 -1407
- package/dist/index-vdsiw6gQ.js +0 -777
- package/dist/modifiers/as-html-validator.d.ts +0 -20
- package/dist/modifiers/as-html-validator.d.ts.map +0 -1
- package/dist/modifiers/as-html.d.ts +0 -65
- package/dist/modifiers/as-html.d.ts.map +0 -1
- package/dist/modifiers/background.d.ts +0 -51
- package/dist/modifiers/background.d.ts.map +0 -1
- package/dist/modifiers/basic-sanitizer.d.ts +0 -54
- package/dist/modifiers/basic-sanitizer.d.ts.map +0 -1
- package/dist/modifiers/css.d.ts +0 -86
- package/dist/modifiers/css.d.ts.map +0 -1
- package/dist/production-minimal-BY_gMc-l.js +0 -2532
- package/dist/scheduler-BKeqwrYE.js +0 -814
package/dist/validation/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import "../scheduler-DI_8ykMk.js";
|
|
2
|
+
import { i as E } from "../theme-BFaKUcjZ.js";
|
|
3
|
+
import "@tachui/types/reactive";
|
|
2
4
|
const f = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map();
|
|
3
5
|
function $(o) {
|
|
4
6
|
const e = `${o.packageName}:${o.componentName}`;
|
|
5
7
|
f.set(e, o), l.has(o.packageName) || l.set(o.packageName, /* @__PURE__ */ new Set()), l.get(o.packageName).add(o.componentName);
|
|
6
8
|
}
|
|
7
|
-
function
|
|
9
|
+
function ee(o, e) {
|
|
8
10
|
const t = `${o}:${e}`;
|
|
9
11
|
f.delete(t);
|
|
10
12
|
const n = l.get(o);
|
|
@@ -74,7 +76,7 @@ function U(o, e) {
|
|
|
74
76
|
}
|
|
75
77
|
};
|
|
76
78
|
}
|
|
77
|
-
function
|
|
79
|
+
function te() {
|
|
78
80
|
const o = Array.from(l.entries()).map(
|
|
79
81
|
([e, t]) => ({
|
|
80
82
|
name: e,
|
|
@@ -86,24 +88,24 @@ function Y() {
|
|
|
86
88
|
packages: o
|
|
87
89
|
};
|
|
88
90
|
}
|
|
89
|
-
function
|
|
91
|
+
function oe(o, e, t) {
|
|
90
92
|
const n = k(o, e);
|
|
91
93
|
n && n.validate && n.validate(t);
|
|
92
94
|
}
|
|
93
|
-
function
|
|
95
|
+
function ne(o, e) {
|
|
94
96
|
return f.has(`${o}:${e}`);
|
|
95
97
|
}
|
|
96
|
-
function
|
|
98
|
+
function ie() {
|
|
97
99
|
return Array.from(l.keys());
|
|
98
100
|
}
|
|
99
|
-
function
|
|
101
|
+
function re(o) {
|
|
100
102
|
const e = l.get(o);
|
|
101
103
|
return e ? Array.from(e) : [];
|
|
102
104
|
}
|
|
103
|
-
function
|
|
105
|
+
function ae() {
|
|
104
106
|
f.clear(), l.clear(), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && console.info("🔍 Cleared all plugin validators");
|
|
105
107
|
}
|
|
106
|
-
const
|
|
108
|
+
const se = {
|
|
107
109
|
/**
|
|
108
110
|
* Register a simple plugin with basic validation
|
|
109
111
|
*/
|
|
@@ -551,7 +553,7 @@ const u = new w(), A = {
|
|
|
551
553
|
LifecycleValidationUtils: A,
|
|
552
554
|
lifecycleTracker: u
|
|
553
555
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
554
|
-
var H = Object.defineProperty,
|
|
556
|
+
var H = Object.defineProperty, W = (o, e, t) => e in o ? H(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t, J = (o, e, t) => W(o, e + "", t);
|
|
555
557
|
const C = class V {
|
|
556
558
|
static getInstance() {
|
|
557
559
|
return this.instance || (this.instance = new V()), this.instance;
|
|
@@ -604,9 +606,9 @@ const C = class V {
|
|
|
604
606
|
importDebugData(e) {
|
|
605
607
|
}
|
|
606
608
|
};
|
|
607
|
-
|
|
609
|
+
J(C, "instance");
|
|
608
610
|
let G = C;
|
|
609
|
-
const
|
|
611
|
+
const le = G.getInstance(), ce = {
|
|
610
612
|
startSession: (o) => "stub-session",
|
|
611
613
|
endSession: () => null,
|
|
612
614
|
logEvent: (o, e, t) => {
|
|
@@ -680,7 +682,7 @@ const K = {
|
|
|
680
682
|
isCIEnvironment: D,
|
|
681
683
|
isDevelopmentEnvironment: v,
|
|
682
684
|
shouldEnableValidation: y
|
|
683
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
685
|
+
}, Symbol.toStringTag, { value: "Module" })), de = {
|
|
684
686
|
/**
|
|
685
687
|
* Log all validation rules including all phase enhancements
|
|
686
688
|
*/
|
|
@@ -779,7 +781,7 @@ Developer Experience:`), console.info("• Core validation and error reporting")
|
|
|
779
781
|
return console.error("Failed to gather complete validation stats:", o), { error: o instanceof Error ? o.message : String(o) };
|
|
780
782
|
}
|
|
781
783
|
}
|
|
782
|
-
},
|
|
784
|
+
}, ue = {
|
|
783
785
|
/**
|
|
784
786
|
* Development mode with full validation
|
|
785
787
|
*/
|
|
@@ -834,31 +836,31 @@ export {
|
|
|
834
836
|
K as BuildTimeDevTools,
|
|
835
837
|
w as ComponentLifecycleTracker,
|
|
836
838
|
A as LifecycleValidationUtils,
|
|
837
|
-
|
|
839
|
+
se as PluginValidationHelper,
|
|
838
840
|
s as ProductionModeManager,
|
|
839
841
|
B as ProductionUtils,
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
842
|
+
ce as ValidationDebugUtils,
|
|
843
|
+
de as ValidationDevTools,
|
|
844
|
+
ue as ValidationSetup,
|
|
845
|
+
ae as clearAllValidators,
|
|
844
846
|
q as createProductionOptimizedFunction,
|
|
845
847
|
T as detectBuildEnvironment,
|
|
846
848
|
k as getComponentValidator,
|
|
847
849
|
Z as getEnvironmentConfig,
|
|
848
|
-
|
|
850
|
+
re as getPackageComponents,
|
|
849
851
|
b as getPrimaryBuildTool,
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
852
|
+
ie as getRegisteredPackages,
|
|
853
|
+
te as getValidationStats,
|
|
854
|
+
ne as hasValidator,
|
|
853
855
|
D as isCIEnvironment,
|
|
854
856
|
v as isDevelopmentEnvironment,
|
|
855
857
|
u as lifecycleTracker,
|
|
856
858
|
$ as registerComponentValidator,
|
|
857
859
|
N as registerPluginValidation,
|
|
858
860
|
y as shouldEnableValidation,
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
861
|
+
ee as unregisterComponentValidator,
|
|
862
|
+
oe as validateComponent,
|
|
863
|
+
le as validationDebugger,
|
|
862
864
|
x as withProductionOptimization,
|
|
863
865
|
z as withProductionOptimizedModifier
|
|
864
866
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Package Information
|
|
3
|
+
*
|
|
4
|
+
* Provides consistent package name and version exports across all TachUI packages
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* The name of this TachUI package (from package.json)
|
|
8
|
+
*/
|
|
9
|
+
export declare const TACHUI_PACKAGE: any;
|
|
10
|
+
/**
|
|
11
|
+
* The version of this TachUI package (from package.json)
|
|
12
|
+
*/
|
|
13
|
+
export declare const TACHUI_PACKAGE_VERSION: any;
|
|
14
|
+
/**
|
|
15
|
+
* Legacy version export for backwards compatibility
|
|
16
|
+
* @deprecated Use TACHUI_PACKAGE_VERSION instead
|
|
17
|
+
*/
|
|
18
|
+
export declare const VERSION: any;
|
|
19
|
+
//# sourceMappingURL=version.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;GAEG;AACH,eAAO,MAAM,cAAc,KAA4B,CAAA;AAEvD;;GAEG;AACH,eAAO,MAAM,sBAAsB,KAA+B,CAAA;AAElE;;;GAGG;AACH,eAAO,MAAM,OAAO,KAA+B,CAAA"}
|
package/dist/version.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tachui/core",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5-alpha",
|
|
4
4
|
"description": "tachUI core framework with reactive system and compiler",
|
|
5
5
|
"homepage": "https://tachui.dev/",
|
|
6
6
|
"type": "module",
|
|
@@ -56,10 +56,34 @@
|
|
|
56
56
|
"types": "./dist/modifiers/registry.d.ts",
|
|
57
57
|
"import": "./dist/modifiers/registry.js"
|
|
58
58
|
},
|
|
59
|
+
"./modifiers/type-generator": {
|
|
60
|
+
"types": "./dist/modifiers/type-generator.d.ts",
|
|
61
|
+
"import": "./dist/modifiers/type-generator.js"
|
|
62
|
+
},
|
|
63
|
+
"./build-plugins": {
|
|
64
|
+
"types": "./dist/build-plugins/index.d.ts",
|
|
65
|
+
"import": "./dist/build-plugins/index.js"
|
|
66
|
+
},
|
|
67
|
+
"./build-plugins/modifier-types": {
|
|
68
|
+
"types": "./dist/build-plugins/modifier-types.d.ts",
|
|
69
|
+
"import": "./dist/build-plugins/modifier-types.js"
|
|
70
|
+
},
|
|
59
71
|
"./runtime/types": {
|
|
60
72
|
"types": "./dist/runtime/types.d.ts",
|
|
61
73
|
"import": "./dist/runtime/types.js"
|
|
62
74
|
},
|
|
75
|
+
"./runtime/concatenation-minimal": {
|
|
76
|
+
"types": "./dist/runtime/concatenation-minimal.d.ts",
|
|
77
|
+
"import": "./dist/runtime/concatenation-minimal.js"
|
|
78
|
+
},
|
|
79
|
+
"./runtime/concatenation-aria": {
|
|
80
|
+
"types": "./dist/runtime/concatenation-aria.d.ts",
|
|
81
|
+
"import": "./dist/runtime/concatenation-aria.js"
|
|
82
|
+
},
|
|
83
|
+
"./runtime/concatenation-full": {
|
|
84
|
+
"types": "./dist/runtime/concatenation-full.d.ts",
|
|
85
|
+
"import": "./dist/runtime/concatenation-full.js"
|
|
86
|
+
},
|
|
63
87
|
"./reactive/types": {
|
|
64
88
|
"types": "./dist/reactive/types.d.ts",
|
|
65
89
|
"import": "./dist/reactive/types.js"
|
|
@@ -83,21 +107,51 @@
|
|
|
83
107
|
"./viewport": {
|
|
84
108
|
"types": "./dist/viewport/index.d.ts",
|
|
85
109
|
"import": "./dist/viewport/index.js"
|
|
110
|
+
},
|
|
111
|
+
"./assets": {
|
|
112
|
+
"types": "./dist/assets/index.d.ts",
|
|
113
|
+
"import": "./dist/assets/index.js"
|
|
114
|
+
},
|
|
115
|
+
"./context": {
|
|
116
|
+
"types": "./dist/bundles/context.d.ts",
|
|
117
|
+
"import": "./dist/bundles/context.js"
|
|
118
|
+
},
|
|
119
|
+
"./state": {
|
|
120
|
+
"types": "./dist/state/index.d.ts",
|
|
121
|
+
"import": "./dist/state/index.js"
|
|
122
|
+
},
|
|
123
|
+
"./runtime": {
|
|
124
|
+
"types": "./dist/runtime/index.d.ts",
|
|
125
|
+
"import": "./dist/runtime/index.js"
|
|
126
|
+
},
|
|
127
|
+
"./version": {
|
|
128
|
+
"types": "./dist/version.d.ts",
|
|
129
|
+
"import": "./dist/version.js"
|
|
130
|
+
},
|
|
131
|
+
"./gradients": {
|
|
132
|
+
"types": "./dist/gradients/index.d.ts",
|
|
133
|
+
"import": "./dist/gradients/index.js"
|
|
134
|
+
},
|
|
135
|
+
"./gradients/css-generator": {
|
|
136
|
+
"types": "./dist/gradients/css-generator.d.ts",
|
|
137
|
+
"import": "./dist/gradients/css-generator.js"
|
|
86
138
|
}
|
|
87
139
|
},
|
|
88
140
|
"files": [
|
|
89
141
|
"dist"
|
|
90
142
|
],
|
|
91
143
|
"dependencies": {
|
|
92
|
-
"@tachui/
|
|
93
|
-
"@tachui/
|
|
94
|
-
"@tachui/modifiers": "0.8.0-alpha"
|
|
144
|
+
"@tachui/types": "0.8.5-alpha",
|
|
145
|
+
"@tachui/registry": "0.8.5-alpha"
|
|
95
146
|
},
|
|
96
147
|
"devDependencies": {
|
|
97
|
-
"@types/node": "^20.0.0",
|
|
98
148
|
"@types/jsdom": "^21.1.6",
|
|
99
|
-
"@
|
|
149
|
+
"@types/node": "^20.0.0",
|
|
150
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
151
|
+
"@playwright/test": "^1.55.0",
|
|
152
|
+
"esbuild": "^0.21.0",
|
|
100
153
|
"jsdom": "^23.2.0",
|
|
154
|
+
"ts-node": "^10.9.2",
|
|
101
155
|
"tsx": "^4.7.1",
|
|
102
156
|
"typedoc": "^0.28.7",
|
|
103
157
|
"typescript": "^5.2.0",
|
|
@@ -128,13 +182,15 @@
|
|
|
128
182
|
"directory": "packages/core"
|
|
129
183
|
},
|
|
130
184
|
"scripts": {
|
|
131
|
-
"build": "rm -rf dist && vite build && tsc --
|
|
185
|
+
"build": "rm -rf dist tsconfig.build.tsbuildinfo && vite build && tsc --build tsconfig.build.json",
|
|
186
|
+
"build:dev": "rm -rf dist tsconfig.build.tsbuildinfo && vite build --mode development && tsc --build tsconfig.build.json",
|
|
187
|
+
"build:prod": "rm -rf dist tsconfig.build.tsbuildinfo && vite build --mode production && tsc --build tsconfig.build.json",
|
|
132
188
|
"dev": "vite build --watch",
|
|
133
189
|
"valid": "clear && vitest run && pnpm type-check && pnpm lint && pnpm build",
|
|
134
190
|
"test": "vitest run",
|
|
135
191
|
"test:coverage": "vitest run --coverage",
|
|
136
192
|
"test:watch": "vitest",
|
|
137
|
-
"test:ci": "
|
|
193
|
+
"test:ci": "vitest run",
|
|
138
194
|
"test:all": "vitest run --config vitest.all.config.ts",
|
|
139
195
|
"bench": "vitest bench",
|
|
140
196
|
"benchmark": "vitest run --config vitest.benchmark.config.ts benchmarks/full.bench.ts",
|
|
@@ -143,6 +199,7 @@
|
|
|
143
199
|
"benchmark:browser": "playwright test benchmarks/browser.spec.ts",
|
|
144
200
|
"benchmark:browser:quick": "playwright test benchmarks/browser-quick.spec.ts",
|
|
145
201
|
"benchmark:browser:all": "playwright test benchmarks/",
|
|
202
|
+
"benchmark:browser:report": "tsx benchmarks/run-browser-benchmark.ts",
|
|
146
203
|
"serve:benchmark": "vite serve benchmarks/public --port 3000",
|
|
147
204
|
"type-check": "tsc --noEmit",
|
|
148
205
|
"clean": "rm -rf dist",
|
|
@@ -158,6 +215,9 @@
|
|
|
158
215
|
"bundle:analyze": "node scripts/bundle-analyzer.js",
|
|
159
216
|
"bundle:size": "node scripts/bundle-analyzer.js",
|
|
160
217
|
"migrate": "node scripts/migration-tool.js",
|
|
161
|
-
"migrate:fix": "node scripts/migration-tool.js --fix"
|
|
218
|
+
"migrate:fix": "node scripts/migration-tool.js --fix",
|
|
219
|
+
"generate-modifier-types": "tsx --tsconfig ./tsconfig.typegen.json ./scripts/generate-types.ts",
|
|
220
|
+
"generate-modifier-types:check": "pnpm run generate-modifier-types -- --check",
|
|
221
|
+
"generate-modifier-types:monorepo": "tsx --tsconfig ./tsconfig.typegen.json ./scripts/generate-types-monorepo.ts"
|
|
162
222
|
}
|
|
163
223
|
}
|