bromium 1.0.0 → 1.0.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.
- package/README.md +4 -4
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/jsx-runtime.d.ts.map +1 -1
- package/dist/jsx-runtime.js +1 -1
- package/dist/jsx-runtime.js.map +1 -1
- package/dist/vite-plugin.d.ts +2 -2
- package/dist/vite-plugin.d.ts.map +1 -1
- package/dist/vite-plugin.js +2 -2
- package/dist/vite-plugin.js.map +1 -1
- package/package.json +5 -5
- package/src/index.ts +3 -3
- package/src/jsx-runtime.ts +1 -1
- package/src/vite-plugin.ts +2 -2
package/README.md
CHANGED
|
@@ -66,10 +66,10 @@ See the [full documentation](https://github.com/bromscandium/bromiumjs#readme) f
|
|
|
66
66
|
| Package | Description |
|
|
67
67
|
|---------|-------------|
|
|
68
68
|
| `bromium` | Main package (this) |
|
|
69
|
-
| `@
|
|
70
|
-
| `@
|
|
71
|
-
| `@
|
|
72
|
-
| `@
|
|
69
|
+
| `@bromscandium/core` | Reactivity system |
|
|
70
|
+
| `@bromscandium/runtime` | JSX runtime and renderer |
|
|
71
|
+
| `@bromscandium/router` | Client-side router |
|
|
72
|
+
| `@bromscandium/vite-plugin` | Vite integration |
|
|
73
73
|
|
|
74
74
|
## License
|
|
75
75
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ref, reactive, computed, effect, watch, watchEffect, isRef, isReactive, unref, toRef, toRefs, toRaw, shallowRef, triggerRef, markRaw, queueJob, type Ref, type ComputedRef, type ShallowRef, type EffectFn, type EffectOptions, } from '@
|
|
2
|
-
export { jsx, jsxs, jsxDEV, createElement, h, Fragment, render, createApp, onMounted, onUnmounted, onUpdated, getCurrentInstance, useState, useRef, useMemo, useCallback, createVNode, createTextVNode, isVNode, Text, type VNode, type VNodeChild, type VNodeChildren, type VNodeType, type ComponentFunction, type ComponentInstance, type JSXElement, type AppConfig, } from '@
|
|
3
|
-
export { createRouter, useRouter, useRoute, useParams, useQuery, useRouteMeta, useNavigate, useRouteMatch, Link, RouterView, Redirect, Navigate, type Router, type Route, type RouteLocation, type MatchedRoute, type NavigationTarget, type NavigationGuard, type NavigationHook, } from '@
|
|
1
|
+
export { ref, reactive, computed, effect, watch, watchEffect, isRef, isReactive, unref, toRef, toRefs, toRaw, shallowRef, triggerRef, markRaw, queueJob, type Ref, type ComputedRef, type ShallowRef, type EffectFn, type EffectOptions, } from '@bromscandium/core';
|
|
2
|
+
export { jsx, jsxs, jsxDEV, createElement, h, Fragment, render, createApp, onMounted, onUnmounted, onUpdated, getCurrentInstance, useState, useRef, useMemo, useCallback, createVNode, createTextVNode, isVNode, Text, type VNode, type VNodeChild, type VNodeChildren, type VNodeType, type ComponentFunction, type ComponentInstance, type JSXElement, type AppConfig, } from '@bromscandium/runtime';
|
|
3
|
+
export { createRouter, useRouter, useRoute, useParams, useQuery, useRouteMeta, useNavigate, useRouteMatch, Link, RouterView, Redirect, Navigate, type Router, type Route, type RouteLocation, type MatchedRoute, type NavigationTarget, type NavigationGuard, type NavigationHook, } from '@bromscandium/router';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,GAAG,EACH,QAAQ,EACR,QAAQ,EAGR,MAAM,EACN,KAAK,EACL,WAAW,EAGX,KAAK,EACL,UAAU,EACV,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,OAAO,EAGP,QAAQ,EAGR,KAAK,GAAG,EACR,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,aAAa,GACnB,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,GAAG,EACH,QAAQ,EACR,QAAQ,EAGR,MAAM,EACN,KAAK,EACL,WAAW,EAGX,KAAK,EACL,UAAU,EACV,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,OAAO,EAGP,QAAQ,EAGR,KAAK,GAAG,EACR,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,aAAa,GACnB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAEL,GAAG,EACH,IAAI,EACJ,MAAM,EACN,aAAa,EACb,CAAC,EACD,QAAQ,EAGR,MAAM,EACN,SAAS,EAGT,SAAS,EACT,WAAW,EACX,SAAS,EACT,kBAAkB,EAGlB,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW,EAGX,WAAW,EACX,eAAe,EACf,OAAO,EACP,IAAI,EAGJ,KAAK,KAAK,EACV,KAAK,UAAU,EACf,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,UAAU,EACf,KAAK,SAAS,GACf,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EAEL,YAAY,EAGZ,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,aAAa,EAGb,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,QAAQ,EAGR,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,cAAc,GACpB,MAAM,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ effect, watch, watchEffect,
|
|
|
9
9
|
// Utilities
|
|
10
10
|
isRef, isReactive, unref, toRef, toRefs, toRaw, shallowRef, triggerRef, markRaw,
|
|
11
11
|
// Batching
|
|
12
|
-
queueJob, } from '@
|
|
12
|
+
queueJob, } from '@bromscandium/core';
|
|
13
13
|
// Runtime - JSX and rendering
|
|
14
14
|
export {
|
|
15
15
|
// JSX
|
|
@@ -21,7 +21,7 @@ onMounted, onUnmounted, onUpdated, getCurrentInstance,
|
|
|
21
21
|
// Hooks (React-style state persistence)
|
|
22
22
|
useState, useRef, useMemo, useCallback,
|
|
23
23
|
// VNode utilities
|
|
24
|
-
createVNode, createTextVNode, isVNode, Text, } from '@
|
|
24
|
+
createVNode, createTextVNode, isVNode, Text, } from '@bromscandium/runtime';
|
|
25
25
|
// Router
|
|
26
26
|
export {
|
|
27
27
|
// Router creation
|
|
@@ -29,5 +29,5 @@ createRouter,
|
|
|
29
29
|
// Hooks
|
|
30
30
|
useRouter, useRoute, useParams, useQuery, useRouteMeta, useNavigate, useRouteMatch,
|
|
31
31
|
// Components
|
|
32
|
-
Link, RouterView, Redirect, Navigate, } from '@
|
|
32
|
+
Link, RouterView, Redirect, Navigate, } from '@bromscandium/router';
|
|
33
33
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,6CAA6C;AAE7C,kBAAkB;AAClB,OAAO;AACL,sBAAsB;AACtB,GAAG,EACH,QAAQ,EACR,QAAQ;AAER,UAAU;AACV,MAAM,EACN,KAAK,EACL,WAAW;AAEX,YAAY;AACZ,KAAK,EACL,UAAU,EACV,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,OAAO;AAEP,WAAW;AACX,QAAQ,GAQT,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,6CAA6C;AAE7C,kBAAkB;AAClB,OAAO;AACL,sBAAsB;AACtB,GAAG,EACH,QAAQ,EACR,QAAQ;AAER,UAAU;AACV,MAAM,EACN,KAAK,EACL,WAAW;AAEX,YAAY;AACZ,KAAK,EACL,UAAU,EACV,KAAK,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,UAAU,EACV,OAAO;AAEP,WAAW;AACX,QAAQ,GAQT,MAAM,oBAAoB,CAAC;AAE5B,8BAA8B;AAC9B,OAAO;AACL,MAAM;AACN,GAAG,EACH,IAAI,EACJ,MAAM,EACN,aAAa,EACb,CAAC,EACD,QAAQ;AAER,YAAY;AACZ,MAAM,EACN,SAAS;AAET,YAAY;AACZ,SAAS,EACT,WAAW,EACX,SAAS,EACT,kBAAkB;AAElB,wCAAwC;AACxC,QAAQ,EACR,MAAM,EACN,OAAO,EACP,WAAW;AAEX,kBAAkB;AAClB,WAAW,EACX,eAAe,EACf,OAAO,EACP,IAAI,GAWL,MAAM,uBAAuB,CAAC;AAE/B,SAAS;AACT,OAAO;AACL,kBAAkB;AAClB,YAAY;AAEZ,QAAQ;AACR,SAAS,EACT,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,WAAW,EACX,aAAa;AAEb,aAAa;AACb,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,QAAQ,GAUT,MAAM,sBAAsB,CAAC"}
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { jsx, jsxs, jsxDEV, Fragment } from '@
|
|
1
|
+
export { jsx, jsxs, jsxDEV, Fragment } from '@bromscandium/runtime';
|
|
2
2
|
//# sourceMappingURL=jsx-runtime.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC"}
|
package/dist/jsx-runtime.js
CHANGED
package/dist/jsx-runtime.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime.js","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"jsx-runtime.js","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAAA,4CAA4C;AAC5C,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC"}
|
package/dist/vite-plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bromiumPlugin } from '@
|
|
2
|
-
export { bromiumPlugin, type BromiumPluginOptions } from '@
|
|
1
|
+
import { bromiumPlugin } from '@bromscandium/vite-plugin';
|
|
2
|
+
export { bromiumPlugin, type BromiumPluginOptions } from '@bromscandium/vite-plugin';
|
|
3
3
|
export default bromiumPlugin;
|
|
4
4
|
//# sourceMappingURL=vite-plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"vite-plugin.d.ts","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACrF,eAAe,aAAa,CAAC"}
|
package/dist/vite-plugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Re-export Vite plugin
|
|
2
|
-
import { bromiumPlugin } from '@
|
|
3
|
-
export { bromiumPlugin } from '@
|
|
2
|
+
import { bromiumPlugin } from '@bromscandium/vite-plugin';
|
|
3
|
+
export { bromiumPlugin } from '@bromscandium/vite-plugin';
|
|
4
4
|
export default bromiumPlugin;
|
|
5
5
|
//# sourceMappingURL=vite-plugin.js.map
|
package/dist/vite-plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vite-plugin.js","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"vite-plugin.js","sourceRoot":"","sources":["../src/vite-plugin.ts"],"names":[],"mappings":"AAAA,wBAAwB;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAA6B,MAAM,2BAA2B,CAAC;AACrF,eAAe,aAAa,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bromium",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "BromiumJS - A modern JavaScript framework with proxy-based reactivity, JSX, and file-based routing",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"dev": "tsc --watch"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
36
|
+
"@bromscandium/core": "^1.0.0",
|
|
37
|
+
"@bromscandium/runtime": "^1.0.0",
|
|
38
|
+
"@bromscandium/router": "^1.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"vite": "^5.0.0 || ^6.0.0"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@
|
|
49
|
+
"@bromscandium/vite-plugin": "^1.0.0",
|
|
50
50
|
"typescript": "^5.3.0"
|
|
51
51
|
},
|
|
52
52
|
"keywords": [
|
package/src/index.ts
CHANGED
|
@@ -33,7 +33,7 @@ export {
|
|
|
33
33
|
type ShallowRef,
|
|
34
34
|
type EffectFn,
|
|
35
35
|
type EffectOptions,
|
|
36
|
-
} from '@
|
|
36
|
+
} from '@bromscandium/core';
|
|
37
37
|
|
|
38
38
|
// Runtime - JSX and rendering
|
|
39
39
|
export {
|
|
@@ -76,7 +76,7 @@ export {
|
|
|
76
76
|
type ComponentInstance,
|
|
77
77
|
type JSXElement,
|
|
78
78
|
type AppConfig,
|
|
79
|
-
} from '@
|
|
79
|
+
} from '@bromscandium/runtime';
|
|
80
80
|
|
|
81
81
|
// Router
|
|
82
82
|
export {
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
type NavigationTarget,
|
|
107
107
|
type NavigationGuard,
|
|
108
108
|
type NavigationHook,
|
|
109
|
-
} from '@
|
|
109
|
+
} from '@bromscandium/router';
|
package/src/jsx-runtime.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Re-export JSX runtime for jsxImportSource
|
|
2
|
-
export { jsx, jsxs, jsxDEV, Fragment } from '@
|
|
2
|
+
export { jsx, jsxs, jsxDEV, Fragment } from '@bromscandium/runtime';
|
package/src/vite-plugin.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Re-export Vite plugin
|
|
2
|
-
import { bromiumPlugin } from '@
|
|
3
|
-
export { bromiumPlugin, type BromiumPluginOptions } from '@
|
|
2
|
+
import { bromiumPlugin } from '@bromscandium/vite-plugin';
|
|
3
|
+
export { bromiumPlugin, type BromiumPluginOptions } from '@bromscandium/vite-plugin';
|
|
4
4
|
export default bromiumPlugin;
|