dougong 0.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/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Dougong contributors
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.
22
+
package/README.md ADDED
@@ -0,0 +1,16 @@
1
+ # dougong
2
+
3
+ Dougong 的门面包,聚合 `@dougongjs/core`、`@dougongjs/reactive` 与 `@dougongjs/platform`。
4
+
5
+ 只做 re-export,不包含任何逻辑——架构门禁会强制这一点。
6
+
7
+ ```ts
8
+ import { createApp, definePlugin, service } from "dougong"
9
+ ```
10
+
11
+ - 文档站:https://tangerg.github.io/dougong/
12
+ - 仓库:https://github.com/Tangerg/dougong
13
+
14
+ > 早期开发阶段(0.0.x),当前不承诺向后兼容。需要 Node.js >= 22 或等价的 ES2024 宿主。
15
+
16
+ MIT
@@ -0,0 +1,4 @@
1
+ export * from '@dougong/core';
2
+ export * from '@dougong/platform';
3
+ export { batch, computed, observe, signal, type ObservationLifetime, type ObservationOwner, type ObservationTask, type Observer, type Readable, type ReadonlySignal, type Signal, } from '@dougong/reactive';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,OAAO,EACL,KAAK,EACL,QAAQ,EACR,OAAO,EACP,MAAM,EACN,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,MAAM,GACZ,MAAM,mBAAmB,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,9 @@
1
+ export * from "@dougong/core";
2
+ export * from "@dougong/platform";
3
+ import { batch as m, computed as p, observe as f, signal as x } from "@dougong/reactive";
4
+ export {
5
+ m as batch,
6
+ p as computed,
7
+ f as observe,
8
+ x as signal
9
+ };
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "dougong",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "engines": {
6
+ "node": ">=22"
7
+ },
8
+ "sideEffects": false,
9
+ "files": [
10
+ "dist",
11
+ "README.md",
12
+ "LICENSE"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/index.js"
18
+ }
19
+ },
20
+ "dependencies": {
21
+ "@dougongjs/core": "0.0.1",
22
+ "@dougongjs/platform": "0.0.1",
23
+ "@dougongjs/reactive": "0.0.1"
24
+ },
25
+ "description": "Capability composition and structured lifetime kernel, plus its plugin distribution layer.",
26
+ "license": "MIT",
27
+ "author": "Dougong contributors",
28
+ "homepage": "https://tangerg.github.io/dougong/",
29
+ "repository": {
30
+ "type": "git",
31
+ "url": "git+https://github.com/Tangerg/dougong.git",
32
+ "directory": "packages/dougong"
33
+ },
34
+ "bugs": {
35
+ "url": "https://github.com/Tangerg/dougong/issues"
36
+ },
37
+ "keywords": [
38
+ "plugin",
39
+ "plugin-system",
40
+ "dependency-injection",
41
+ "lifetime",
42
+ "service-container",
43
+ "typescript"
44
+ ],
45
+ "publishConfig": {
46
+ "access": "public"
47
+ },
48
+ "scripts": {
49
+ "build": "vite build"
50
+ }
51
+ }