@xoong/xoong 0.0.0-stage → 0.0.35

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Duong Tran Xuan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,25 @@
1
- # Temporary Holding Version
1
+ # @xoong/xoong
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ One install for xoong, a small standards-first web framework: signals and templates, the OpenAPI data layer, forms, the admin set and the `xoong` command.
4
+
5
+ ## Use
6
+
7
+ ```bash
8
+ npm install @xoong/xoong
9
+ npx xoong sync openapi.json
10
+ ```
11
+ ```js
12
+ import { configure, signal, html } from '@xoong/xoong';
13
+ import '@xoong/xoong/view';
14
+ import '@xoong/xoong/ui';
15
+ ```
16
+ More parts, installed separately: `@xoong/controls`, `@xoong/richtext`, `@xoong/i18n`, `@xoong/test`, `@xoong/ssr`, `@xoong/mcp`, `@xoong/lsp`.
17
+
18
+ ## More
19
+
20
+ * Documentation and demos: https://github.com/fpt-duongtx/xoong#readme
21
+ * Source: https://github.com/fpt-duongtx/xoong/tree/main/packages/xoong
22
+ * All packages share one version number and are released together: https://github.com/fpt-duongtx/xoong/releases
23
+ * xoong is a working prototype (0.0.x): the HTML syntax is still Draft.
24
+
25
+ MIT licence.
package/package.json CHANGED
@@ -1,6 +1,51 @@
1
1
  {
2
2
  "name": "@xoong/xoong",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.0.35",
4
+ "description": "xoong: a small, standards-first web framework. One install for the runtime (signals, templates, OpenAPI data layer), the admin set and the `xoong` command.",
5
+ "type": "module",
6
+ "main": "src/index.js",
7
+ "bin": {
8
+ "xoong": "src/cli.js"
9
+ },
10
+ "exports": {
11
+ ".": {
12
+ "types": "./src/index.d.ts",
13
+ "default": "./src/index.js"
14
+ },
15
+ "./view": "./src/view.js",
16
+ "./ui": "./src/ui.js"
17
+ },
18
+ "files": [
19
+ "src"
20
+ ],
21
+ "keywords": [
22
+ "xoong",
23
+ "web-framework",
24
+ "openapi",
25
+ "custom-elements"
26
+ ],
27
+ "engines": {
28
+ "node": ">=22.12"
29
+ },
30
+ "license": "MIT",
31
+ "author": "Duong Tran Xuan <duongtx1505@icloud.com>",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "git+https://github.com/fpt-duongtx/xoong.git",
35
+ "directory": "packages/xoong"
36
+ },
37
+ "bugs": {
38
+ "url": "https://github.com/fpt-duongtx/xoong/issues"
39
+ },
40
+ "homepage": "https://github.com/fpt-duongtx/xoong#readme",
41
+ "dependencies": {
42
+ "@xoong/cli": "0.0.35",
43
+ "@xoong/core": "0.0.35",
44
+ "@xoong/data": "0.0.35",
45
+ "@xoong/forms": "0.0.35",
46
+ "@xoong/ui": "0.0.35"
47
+ },
48
+ "publishConfig": {
49
+ "access": "public"
50
+ }
51
+ }
package/src/cli.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ // The `xoong` command: the same program as @xoong/cli.
3
+ import '@xoong/cli/cli';
package/src/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@xoong/data';
2
+ export { signal, computed, effect, batch, untracked, html, render, XoElement, XoControl, define } from '@xoong/core';
package/src/index.js ADDED
@@ -0,0 +1,4 @@
1
+ // The `xoong` package: one name to install and import. The implementation lives in the @xoong/* packages.
2
+ // import { configure, signal, html, derived } from '@xoong/xoong';
3
+ export * from '@xoong/core';
4
+ export * from '@xoong/data';
package/src/ui.js ADDED
@@ -0,0 +1,2 @@
1
+ // import xoong/ui: registers <xo-table>, <xo-form>, <xo-dialog>, <xo-toast>, <xo-router> and exports `router` (same as @xoong/ui).
2
+ export * from '@xoong/ui';
package/src/view.js ADDED
@@ -0,0 +1,2 @@
1
+ // import '@xoong/xoong/view': registers <xo-view> (same as '@xoong/data/view').
2
+ export * from '@xoong/data/view';