@xoong/xoong 0.0.0-stage → 0.0.36
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 +21 -0
- package/README.md +24 -2
- package/package.json +49 -4
- package/src/cli.js +3 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +4 -0
- package/src/ui.js +2 -0
- package/src/view.js +2 -0
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
|
-
#
|
|
1
|
+
# @xoong/xoong
|
|
2
2
|
|
|
3
|
-
|
|
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.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.36",
|
|
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.36",
|
|
43
|
+
"@xoong/core": "0.0.36",
|
|
44
|
+
"@xoong/data": "0.0.36",
|
|
45
|
+
"@xoong/forms": "0.0.36",
|
|
46
|
+
"@xoong/ui": "0.0.36"
|
|
47
|
+
},
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public"
|
|
50
|
+
}
|
|
51
|
+
}
|
package/src/cli.js
ADDED
package/src/index.d.ts
ADDED
package/src/index.js
ADDED
package/src/ui.js
ADDED
package/src/view.js
ADDED