@bardioc/app-sdk 0.4.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/LICENSE +5 -0
- package/README.md +368 -0
- package/assets/fonts/README.md +11 -0
- package/assets/fonts/bardioc-fonts.css +55 -0
- package/assets/fonts/v1/geist-mono-latin-wght-normal.woff2 +0 -0
- package/assets/fonts/v1/nunito-sans-latin-wght-italic.woff2 +0 -0
- package/assets/fonts/v1/nunito-sans-latin-wght-normal.woff2 +0 -0
- package/dist/contract-matrix.d.ts +130 -0
- package/dist/contract-matrix.js +132 -0
- package/dist/dev-auth-proxy-core.d.ts +24 -0
- package/dist/dev-auth-proxy-core.js +59 -0
- package/dist/dev-auth-vite.d.ts +34 -0
- package/dist/dev-auth-vite.js +221 -0
- package/dist/dev-proxy.d.ts +8 -0
- package/dist/dev-proxy.js +40 -0
- package/dist/dev-session-cli.d.ts +34 -0
- package/dist/dev-session-cli.js +125 -0
- package/dist/dev.d.ts +33 -0
- package/dist/dev.js +223 -0
- package/dist/dot-env.d.ts +2 -0
- package/dist/dot-env.js +22 -0
- package/dist/errors.d.ts +27 -0
- package/dist/errors.js +57 -0
- package/dist/host-bridge.d.ts +3 -0
- package/dist/host-bridge.js +260 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +6 -0
- package/dist/manifest.d.ts +78 -0
- package/dist/manifest.js +169 -0
- package/dist/protocol.d.ts +26 -0
- package/dist/protocol.js +28 -0
- package/dist/react.d.ts +26 -0
- package/dist/react.js +208 -0
- package/dist/transports/graph-transport.d.ts +224 -0
- package/dist/transports/graph-transport.js +584 -0
- package/dist/transports/os-transport.d.ts +189 -0
- package/dist/transports/os-transport.js +444 -0
- package/dist/types.d.ts +343 -0
- package/dist/vite.d.ts +9 -0
- package/dist/vite.js +262 -0
- package/package.json +101 -0
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@bardioc/app-sdk",
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"description": "SDK for building apps for the Bardioc OS",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"private": false,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"bin": {
|
|
9
|
+
"bardioc-dev-session": "./dist/dev-session-cli.js"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"registry": "https://registry.npmjs.org/",
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=20.19.0"
|
|
18
|
+
},
|
|
19
|
+
"main": "./dist/index.js",
|
|
20
|
+
"module": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./protocol": {
|
|
28
|
+
"types": "./dist/protocol.d.ts",
|
|
29
|
+
"default": "./dist/protocol.js"
|
|
30
|
+
},
|
|
31
|
+
"./react": {
|
|
32
|
+
"types": "./dist/react.d.ts",
|
|
33
|
+
"default": "./dist/react.js"
|
|
34
|
+
},
|
|
35
|
+
"./vite": {
|
|
36
|
+
"types": "./dist/vite.d.ts",
|
|
37
|
+
"default": "./dist/vite.js"
|
|
38
|
+
},
|
|
39
|
+
"./dev": {
|
|
40
|
+
"types": "./dist/dev.d.ts",
|
|
41
|
+
"default": "./dist/dev.js"
|
|
42
|
+
},
|
|
43
|
+
"./dev-proxy": {
|
|
44
|
+
"types": "./dist/dev-proxy.d.ts",
|
|
45
|
+
"default": "./dist/dev-proxy.js"
|
|
46
|
+
},
|
|
47
|
+
"./dev-session-cli": {
|
|
48
|
+
"types": "./dist/dev-session-cli.d.ts",
|
|
49
|
+
"default": "./dist/dev-session-cli.js"
|
|
50
|
+
},
|
|
51
|
+
"./types": {
|
|
52
|
+
"types": "./dist/types.d.ts"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"dist",
|
|
57
|
+
"!dist/**/*.d.ts.map",
|
|
58
|
+
"!dist/types.js",
|
|
59
|
+
"assets",
|
|
60
|
+
"README.md",
|
|
61
|
+
"LICENSE"
|
|
62
|
+
],
|
|
63
|
+
"keywords": [
|
|
64
|
+
"bardioc",
|
|
65
|
+
"sdk",
|
|
66
|
+
"vite",
|
|
67
|
+
"iframe",
|
|
68
|
+
"react"
|
|
69
|
+
],
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"react": "^18.0.0 || ^19.2"
|
|
72
|
+
},
|
|
73
|
+
"peerDependenciesMeta": {
|
|
74
|
+
"react": {
|
|
75
|
+
"optional": true
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@vitest/coverage-v8": "4.1.5",
|
|
80
|
+
"@types/node": "^25.6.0",
|
|
81
|
+
"@types/react": "^19.2.14",
|
|
82
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
83
|
+
"@testing-library/react": "16.3.2",
|
|
84
|
+
"jsdom": "29.1.0",
|
|
85
|
+
"react": "19.2.5",
|
|
86
|
+
"react-dom": "19.2.5",
|
|
87
|
+
"typescript": "^5.9.3",
|
|
88
|
+
"vitest": "4.1.5"
|
|
89
|
+
},
|
|
90
|
+
"scripts": {
|
|
91
|
+
"build": "tsc",
|
|
92
|
+
"lint": "eslint .",
|
|
93
|
+
"format": "prettier --write .",
|
|
94
|
+
"format:check": "prettier --check .",
|
|
95
|
+
"check-types": "tsc --noEmit",
|
|
96
|
+
"pack:check": "npm pack --dry-run",
|
|
97
|
+
"test": "vitest run",
|
|
98
|
+
"test:coverage": "vitest run --coverage",
|
|
99
|
+
"test:watch": "vitest"
|
|
100
|
+
}
|
|
101
|
+
}
|