sigx 0.6.0 → 0.6.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/README.md +10 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/internals.js +1 -1
- package/dist/internals.prod.js +3 -0
- package/dist/jsx-runtime.d.ts +1 -1
- package/dist/jsx-runtime.d.ts.map +1 -1
- package/dist/sigx.js +1 -0
- package/dist/sigx.prod.js +5 -0
- package/package.json +23 -19
- package/dist/hydration.d.ts +0 -16
- package/dist/hydration.d.ts.map +0 -1
- package/dist/hydration.js +0 -3
package/README.md
CHANGED
|
@@ -36,3 +36,13 @@ Full guides, the complete API reference and live examples → **<https://sigx.de
|
|
|
36
36
|
## License
|
|
37
37
|
|
|
38
38
|
[MIT](https://github.com/signalxjs/core/blob/main/LICENSE)
|
|
39
|
+
|
|
40
|
+
## Development vs production builds
|
|
41
|
+
|
|
42
|
+
Every sigx package ships two builds: the development build (helpful warnings +
|
|
43
|
+
devtools support) and a production build with all of that compiled out. Your
|
|
44
|
+
bundler picks the right one automatically via the `development`/`production`
|
|
45
|
+
export conditions — Vite needs no configuration. Running plain Node (SSR)
|
|
46
|
+
without a bundler? The development build is the default and checks
|
|
47
|
+
`process.env.NODE_ENV` at runtime; use `node --conditions=production` to get
|
|
48
|
+
the stripped build.
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,4BAA4B,CAAC;AAGpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAChG,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpF,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC"}
|
package/dist/internals.js
CHANGED
package/dist/jsx-runtime.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"jsx-runtime.d.ts","sourceRoot":"","sources":["../src/jsx-runtime.ts"],"names":[],"mappings":"AAGA,OAAO,4BAA4B,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC"}
|
package/dist/sigx.js
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "@sigx/runtime-dom/platform";
|
|
2
|
+
import { Portal as e, moveNode as t, render as n, show as r, supportsMoveBefore as i, useHead as a } from "@sigx/runtime-dom";
|
|
3
|
+
export * from "@sigx/reactivity";
|
|
4
|
+
export * from "@sigx/runtime-core";
|
|
5
|
+
export { e as Portal, t as moveNode, n as render, r as show, i as supportsMoveBefore, a as useHead };
|
package/package.json
CHANGED
|
@@ -1,30 +1,34 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sigx",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "SignalX - Lightweight reactive component framework with signals and TSX support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/sigx.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"import": "./dist/hydration.js",
|
|
15
|
-
"types": "./dist/hydration.d.ts"
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"development": "./dist/sigx.js",
|
|
12
|
+
"production": "./dist/sigx.prod.js",
|
|
13
|
+
"import": "./dist/sigx.js"
|
|
16
14
|
},
|
|
17
15
|
"./jsx-runtime": {
|
|
18
|
-
"
|
|
19
|
-
"
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"development": "./dist/sigx.js",
|
|
18
|
+
"production": "./dist/sigx.prod.js",
|
|
19
|
+
"import": "./dist/sigx.js"
|
|
20
20
|
},
|
|
21
21
|
"./jsx-dev-runtime": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"development": "./dist/sigx.js",
|
|
24
|
+
"production": "./dist/sigx.prod.js",
|
|
25
|
+
"import": "./dist/sigx.js"
|
|
24
26
|
},
|
|
25
27
|
"./internals": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
+
"types": "./dist/internals.d.ts",
|
|
29
|
+
"development": "./dist/internals.js",
|
|
30
|
+
"production": "./dist/internals.prod.js",
|
|
31
|
+
"import": "./dist/internals.js"
|
|
28
32
|
}
|
|
29
33
|
},
|
|
30
34
|
"files": [
|
|
@@ -48,24 +52,24 @@
|
|
|
48
52
|
"./src/index.ts",
|
|
49
53
|
"./src/jsx-runtime.ts",
|
|
50
54
|
"./dist/sigx.js",
|
|
51
|
-
"./dist/
|
|
55
|
+
"./dist/sigx.prod.js"
|
|
52
56
|
],
|
|
53
57
|
"engines": {
|
|
54
58
|
"node": "^20.19.0 || >=22.12.0"
|
|
55
59
|
},
|
|
56
60
|
"dependencies": {
|
|
57
|
-
"@sigx/reactivity": "^0.6.
|
|
58
|
-
"@sigx/runtime-core": "^0.6.
|
|
59
|
-
"@sigx/runtime-dom": "^0.6.
|
|
61
|
+
"@sigx/reactivity": "^0.6.2",
|
|
62
|
+
"@sigx/runtime-core": "^0.6.2",
|
|
63
|
+
"@sigx/runtime-dom": "^0.6.2"
|
|
60
64
|
},
|
|
61
65
|
"devDependencies": {
|
|
62
66
|
"typescript": "^6.0.3",
|
|
63
67
|
"vite": "^8.0.14",
|
|
64
68
|
"esbuild": "^0.25.0",
|
|
65
|
-
"@sigx/vite": "^0.6.
|
|
69
|
+
"@sigx/vite": "^0.6.2"
|
|
66
70
|
},
|
|
67
71
|
"scripts": {
|
|
68
|
-
"build": "vite build && tsgo --emitDeclarationOnly",
|
|
72
|
+
"build": "vite build && vite build --mode prod-dist && tsgo --emitDeclarationOnly",
|
|
69
73
|
"dev": "vite build --watch"
|
|
70
74
|
}
|
|
71
75
|
}
|
package/dist/hydration.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Hydration utilities for SSR
|
|
3
|
-
*
|
|
4
|
-
* This module provides utilities for server-side rendering and client-side hydration.
|
|
5
|
-
* Can be imported as `sigx/hydration` for tree-shaking when only hydration utilities are needed.
|
|
6
|
-
*
|
|
7
|
-
* @module sigx/hydration
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* import { getHydrationDirective, filterClientDirectives } from 'sigx/hydration';
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
export { CLIENT_DIRECTIVE_PREFIX, CLIENT_DIRECTIVES, type ClientDirective, type HydrationStrategy, type HydrationDirective } from '@sigx/runtime-core';
|
|
15
|
-
export { filterClientDirectives, getHydrationDirective, hasClientDirective, serializeProps, createEmit } from '@sigx/runtime-core/internals';
|
|
16
|
-
//# sourceMappingURL=hydration.d.ts.map
|
package/dist/hydration.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hydration.d.ts","sourceRoot":"","sources":["../src/hydration.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,uBAAuB,EACvB,iBAAiB,EACjB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EAC1B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EACH,sBAAsB,EACtB,qBAAqB,EACrB,kBAAkB,EAClB,cAAc,EACd,UAAU,EACb,MAAM,8BAA8B,CAAC"}
|
package/dist/hydration.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { CLIENT_DIRECTIVES as e, CLIENT_DIRECTIVE_PREFIX as t } from "@sigx/runtime-core";
|
|
2
|
-
import { createEmit as n, filterClientDirectives as r, getHydrationDirective as i, hasClientDirective as a, serializeProps as o } from "@sigx/runtime-core/internals";
|
|
3
|
-
export { e as CLIENT_DIRECTIVES, t as CLIENT_DIRECTIVE_PREFIX, n as createEmit, r as filterClientDirectives, i as getHydrationDirective, a as hasClientDirective, o as serializeProps };
|