skeleton-crew-runtime 0.1.4 → 0.2.0
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 +201 -33
- package/dist/.tsbuildinfo +1 -1
- package/dist/action-engine.d.ts +5 -5
- package/dist/action-engine.d.ts.map +1 -1
- package/dist/action-engine.js.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/plugin-loader.d.ts +7 -0
- package/dist/plugin-loader.d.ts.map +1 -0
- package/dist/plugin-loader.js +36 -0
- package/dist/plugin-loader.js.map +1 -0
- package/dist/plugin-registry.d.ts +6 -6
- package/dist/plugin-registry.d.ts.map +1 -1
- package/dist/plugin-registry.js +10 -0
- package/dist/plugin-registry.js.map +1 -1
- package/dist/plugins/ConfigPlugin.d.ts +6 -0
- package/dist/plugins/ConfigPlugin.d.ts.map +1 -0
- package/dist/plugins/ConfigPlugin.js +37 -0
- package/dist/plugins/ConfigPlugin.js.map +1 -0
- package/dist/runtime-context.d.ts +8 -5
- package/dist/runtime-context.d.ts.map +1 -1
- package/dist/runtime-context.js +9 -1
- package/dist/runtime-context.js.map +1 -1
- package/dist/runtime.d.ts +11 -8
- package/dist/runtime.d.ts.map +1 -1
- package/dist/runtime.js +19 -1
- package/dist/runtime.js.map +1 -1
- package/dist/test-utils.d.ts +19 -0
- package/dist/test-utils.d.ts.map +1 -0
- package/dist/test-utils.js +17 -0
- package/dist/test-utils.js.map +1 -0
- package/dist/types.d.ts +22 -16
- package/dist/types.d.ts.map +1 -1
- package/dist/ui-bridge.d.ts +3 -3
- package/dist/ui-bridge.d.ts.map +1 -1
- package/dist/ui-bridge.js.map +1 -1
- package/package.json +89 -84
package/dist/ui-bridge.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui-bridge.js","sourceRoot":"","sources":["../src/ui-bridge.ts"],"names":[],"mapp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AAO,EAAE,CAAC;YAC3B,IAAI,CAAC;gBACH,MAAM,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;gBAC/C,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;YAC7C,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAAC;YACzD,CAAC;QACH,CAAC;QACD,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;IAKD,KAAK;QACH,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;IACvB,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,84 +1,89 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "skeleton-crew-runtime",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "A minimal plugin runtime for building modular JavaScript applications.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/index.d.ts",
|
|
11
|
-
"import": "./dist/index.js",
|
|
12
|
-
"default": "./dist/index.js"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist/",
|
|
17
|
-
"LICENSE",
|
|
18
|
-
"README.md"
|
|
19
|
-
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"build": "rimraf dist && tsc",
|
|
22
|
-
"build:examples": "rimraf dist-examples && tsc -p tsconfig.examples.json",
|
|
23
|
-
"test": "vitest run",
|
|
24
|
-
"test:
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"example:
|
|
30
|
-
"example:
|
|
31
|
-
"example:
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"tutorial:
|
|
35
|
-
"tutorial:
|
|
36
|
-
"tutorial:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
"@
|
|
80
|
-
"react": "^18.2.0",
|
|
81
|
-
"react
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "skeleton-crew-runtime",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "A minimal plugin runtime for building modular JavaScript applications.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist/",
|
|
17
|
+
"LICENSE",
|
|
18
|
+
"README.md"
|
|
19
|
+
],
|
|
20
|
+
"scripts": {
|
|
21
|
+
"build": "rimraf dist && tsc",
|
|
22
|
+
"build:examples": "rimraf dist-examples && tsc -p tsconfig.examples.json",
|
|
23
|
+
"test": "vitest run --reporter=json --outputFile=./test-output.json",
|
|
24
|
+
"test:verbose": "vitest run",
|
|
25
|
+
"test:watch": "vitest",
|
|
26
|
+
"prepublishOnly": "npm run build && npm test",
|
|
27
|
+
"release": "node scripts/release.js",
|
|
28
|
+
"examples": "npm run build:examples && node dist-example/examples/playground/index.js",
|
|
29
|
+
"example:01": "npm run build:examples && node dist-example/examples/basics/01-plugin-system/index.js",
|
|
30
|
+
"example:02": "npm run build:examples && node dist-example/examples/basics/02-screen-registry/index.js",
|
|
31
|
+
"example:03": "npm run build:examples && node dist-example/examples/basics/03-action-engine/index.js",
|
|
32
|
+
"example:04": "npm run build:examples && node dist-example/examples/basics/04-event-bus/index.js",
|
|
33
|
+
"example:05": "npm run build:examples && node dist-example/examples/basics/05-runtime-context/index.js",
|
|
34
|
+
"tutorial:01": "npm run build:examples && node dist-example/examples/tutorial/01-basic-task-plugin/index.js",
|
|
35
|
+
"tutorial:02": "npm run build:examples && node dist-example/examples/tutorial/02-multiple-plugins/index.js",
|
|
36
|
+
"tutorial:03": "npm run build:examples && node dist-example/examples/tutorial/03-event-communication/index.js",
|
|
37
|
+
"tutorial:04": "npm run build:examples && vite dist-example/examples/tutorial/04-ui-provider-swap",
|
|
38
|
+
"tutorial:05": "npm run build:examples && node dist-example/examples/tutorial/05-custom-plugin/index.js"
|
|
39
|
+
},
|
|
40
|
+
"keywords": [
|
|
41
|
+
"runtime",
|
|
42
|
+
"plugin",
|
|
43
|
+
"plugin-system",
|
|
44
|
+
"framework",
|
|
45
|
+
"internal-tools",
|
|
46
|
+
"modular",
|
|
47
|
+
"ui-agnostic",
|
|
48
|
+
"event-driven",
|
|
49
|
+
"browser-extension",
|
|
50
|
+
"cli-tools",
|
|
51
|
+
"typescript"
|
|
52
|
+
],
|
|
53
|
+
"author": {
|
|
54
|
+
"name": "skcrew",
|
|
55
|
+
"email": "skeletoncrewruntime@gmail.com"
|
|
56
|
+
},
|
|
57
|
+
"license": "MIT",
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "git+https://github.com/skcrew/runtime.git"
|
|
61
|
+
},
|
|
62
|
+
"homepage": "https://github.com/skcrew/runtime#readme",
|
|
63
|
+
"bugs": {
|
|
64
|
+
"url": "https://github.com/skcrew/runtime/issues"
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=18.0.0",
|
|
68
|
+
"npm": ">=8.0.0"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@types/node": "^20.10.0",
|
|
72
|
+
"@vitest/coverage-v8": "^4.0.15",
|
|
73
|
+
"fast-check": "^3.15.0",
|
|
74
|
+
"rimraf": "^6.1.2",
|
|
75
|
+
"typescript": "^5.3.3",
|
|
76
|
+
"vitest": "^4.0.15"
|
|
77
|
+
},
|
|
78
|
+
"optionalDependencies": {
|
|
79
|
+
"@types/react": "^18.2.0",
|
|
80
|
+
"@types/react-dom": "^18.2.0",
|
|
81
|
+
"@vitejs/plugin-react": "^4.2.0",
|
|
82
|
+
"react": "^18.2.0",
|
|
83
|
+
"react-dom": "^18.2.0",
|
|
84
|
+
"vite": "^7.2.6"
|
|
85
|
+
},
|
|
86
|
+
"dependencies": {
|
|
87
|
+
"fast-glob": "^3.3.3"
|
|
88
|
+
}
|
|
89
|
+
}
|