zylaris 1.0.6 → 1.0.8
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 +6 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/jsx-runtime.d.ts +4 -1
- package/dist/jsx-runtime.d.ts.map +1 -1
- package/dist/jsx-runtime.js +10 -2
- package/dist/jsx-runtime.js.map +1 -1
- package/package.json +14 -5
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# Zylaris Framework🚀
|
|
1
|
+
# Zylaris Framework 🚀
|
|
2
2
|
|
|
3
|
-
> The
|
|
3
|
+
> The compiler-driven web framework for the next generation. Zero Virtual DOM, fine-grained reactivity, and stellar performance.
|
|
4
4
|
|
|
5
|
-
[](https://github.com/zylarisjs/zylaris)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
[](https://www.typescriptlang.org/)
|
|
8
8
|
[](https://nodejs.org/)
|
|
@@ -516,7 +516,7 @@ zylaris-framework/
|
|
|
516
516
|
|
|
517
517
|
```bash
|
|
518
518
|
# Clone repository
|
|
519
|
-
git clone https://github.com/
|
|
519
|
+
git clone https://github.com/zylarisjs/zylaris.git
|
|
520
520
|
cd zylaris
|
|
521
521
|
|
|
522
522
|
# Install dependencies
|
|
@@ -543,16 +543,13 @@ pnpm run test
|
|
|
543
543
|
|
|
544
544
|
- [Discord](https://discord.gg/zylaris)
|
|
545
545
|
- [Twitter](https://twitter.com/zylaris)
|
|
546
|
-
- [GitHub Discussions](https://github.com/
|
|
546
|
+
- [GitHub Discussions](https://github.com/zylarisjs/zylaris/discussions)
|
|
547
547
|
|
|
548
548
|
---
|
|
549
549
|
|
|
550
550
|
## License
|
|
551
551
|
|
|
552
|
-
MIT
|
|
552
|
+
MIT © [zylaris.js](https://github.com/zylarisjs/)
|
|
553
553
|
|
|
554
554
|
---
|
|
555
555
|
|
|
556
|
-
**Built with ❤️ by the Zylaris Team**
|
|
557
|
-
|
|
558
|
-
*Universal Web Development*
|
package/dist/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export type { JSXElement, JSXNode } from './jsx-runtime.js';
|
|
|
7
7
|
export { defineConfig } from './config.js';
|
|
8
8
|
export type { ZylarisConfig } from './config.js';
|
|
9
9
|
export { withRetry, withTimeout, sleep, debounce, throttle, RetryError, } from './utils/retry.js';
|
|
10
|
-
export declare const version = "1.0.
|
|
10
|
+
export declare const version = "1.0.1";
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -12,5 +12,5 @@ export { defineConfig } from './config.js';
|
|
|
12
12
|
// Export utilities
|
|
13
13
|
export { withRetry, withTimeout, sleep, debounce, throttle, RetryError, } from './utils/retry.js';
|
|
14
14
|
// Version
|
|
15
|
-
export const version = '1.0.
|
|
15
|
+
export const version = '1.0.1';
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type { Signal } from '@zylaris/reactivity';
|
|
2
2
|
export type JSXElement = {
|
|
3
|
+
$$typeof: symbol;
|
|
3
4
|
type: string | Function;
|
|
4
5
|
props: Record<string, unknown>;
|
|
5
|
-
key
|
|
6
|
+
key: string | number | null;
|
|
7
|
+
ref: any;
|
|
8
|
+
_owner: any;
|
|
6
9
|
};
|
|
7
10
|
export type JSXNode = JSXElement | string | number | null | undefined | Signal<unknown>;
|
|
8
11
|
export declare function jsx(type: string | Function, props: Record<string, unknown>, key?: string | number): JSXElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,EAAE,MAAM,GAAG,QAAQ,CAAC;IACxB,KAAK,EAAE,MAAM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AAM,QAAQ,eAA+B,CAAC;AAGrD,wBAAgB,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAAC,CAAC,CAAC,CAE9D"}
|
package/dist/jsx-runtime.js
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
// JSX Runtime for Zylaris
|
|
2
2
|
// Transforms JSX to DOM operations
|
|
3
|
+
const REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
3
4
|
export function jsx(type, props, key) {
|
|
4
|
-
return {
|
|
5
|
+
return {
|
|
6
|
+
$$typeof: REACT_ELEMENT_TYPE,
|
|
7
|
+
type,
|
|
8
|
+
props: props || {},
|
|
9
|
+
key: key === undefined ? null : key,
|
|
10
|
+
ref: null,
|
|
11
|
+
_owner: null
|
|
12
|
+
};
|
|
5
13
|
}
|
|
6
14
|
export function jsxs(type, props, key) {
|
|
7
15
|
return jsx(type, props, key);
|
|
@@ -9,7 +17,7 @@ export function jsxs(type, props, key) {
|
|
|
9
17
|
export function jsxDEV(type, props, key, _isStaticChildren, _source, _self) {
|
|
10
18
|
return jsx(type, props, key);
|
|
11
19
|
}
|
|
12
|
-
export const Fragment = Symbol('
|
|
20
|
+
export const Fragment = Symbol.for('react.fragment');
|
|
13
21
|
// Helper to check if value is a signal
|
|
14
22
|
export function isSignal(value) {
|
|
15
23
|
return typeof value === 'function' && 'set' in value;
|
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,0BAA0B;AAC1B,mCAAmC;
|
|
1
|
+
{"version":3,"file":"jsx-runtime.js","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAC1B,mCAAmC;AAenC,MAAM,kBAAkB,GAAG,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;AAEvD,MAAM,UAAU,GAAG,CACjB,IAAuB,EACvB,KAA8B,EAC9B,GAAqB;IAErB,OAAO;QACL,QAAQ,EAAE,kBAAkB;QAC5B,IAAI;QACJ,KAAK,EAAE,KAAK,IAAI,EAAE;QAClB,GAAG,EAAE,GAAG,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG;QACnC,GAAG,EAAE,IAAI;QACT,MAAM,EAAE,IAAI;KACb,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,IAAI,CAClB,IAAuB,EACvB,KAA8B,EAC9B,GAAqB;IAErB,OAAO,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,MAAM,CACpB,IAAuB,EACvB,KAA8B,EAC9B,GAAqB,EACrB,iBAA2B,EAC3B,OAAgB,EAChB,KAAc;IAEd,OAAO,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,CAAC,CAAC;AAC/B,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAErD,uCAAuC;AACvC,MAAM,UAAU,QAAQ,CAAI,KAAc;IACxC,OAAO,OAAO,KAAK,KAAK,UAAU,IAAI,KAAK,IAAK,KAAgB,CAAC;AACnE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zylaris",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "The compiler-driven web framework for the next generation. Zero Virtual DOM, fine-grained reactivity, and stellar performance.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@zylaris/reactivity": "^1.0.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@types/react": "^
|
|
42
|
-
"typescript": "^5.
|
|
43
|
-
"vitest": "^
|
|
41
|
+
"@types/react": "^19.2.14",
|
|
42
|
+
"typescript": "^5.9.3",
|
|
43
|
+
"vitest": "^4.0.18"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"react": "^18.0.0"
|
|
@@ -51,5 +51,14 @@
|
|
|
51
51
|
"jsx",
|
|
52
52
|
"zylaris"
|
|
53
53
|
],
|
|
54
|
-
"license": "MIT"
|
|
54
|
+
"license": "MIT",
|
|
55
|
+
"repository": {
|
|
56
|
+
"type": "git",
|
|
57
|
+
"url": "https://github.com/zylarisjs/zylaris.git"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/zylarisjs/zylaris#readme",
|
|
60
|
+
"bugs": {
|
|
61
|
+
"url": "https://github.com/zylarisjs/zylaris/issues"
|
|
62
|
+
},
|
|
63
|
+
"author": "zylaris.js"
|
|
55
64
|
}
|