@betterportal/theme-embedded 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.
@@ -0,0 +1,109 @@
1
+ {
2
+ "pluginName": "service-betterportal-theme-embedded",
3
+ "events": {},
4
+ "version": "0.0.1",
5
+ "configSchema": {
6
+ "anyvaliVersion": "1.0",
7
+ "schemaVersion": "1.1",
8
+ "root": {
9
+ "kind": "object",
10
+ "properties": {
11
+ "host": {
12
+ "kind": "string",
13
+ "minLength": 1,
14
+ "default": "0.0.0.0"
15
+ },
16
+ "port": {
17
+ "kind": "int",
18
+ "min": 1,
19
+ "default": 3110
20
+ },
21
+ "betterportal": {
22
+ "kind": "optional",
23
+ "inner": {
24
+ "kind": "object",
25
+ "properties": {
26
+ "bpConfigPath": {
27
+ "kind": "optional",
28
+ "inner": {
29
+ "kind": "string",
30
+ "minLength": 1
31
+ }
32
+ },
33
+ "configApiToken": {
34
+ "kind": "optional",
35
+ "inner": {
36
+ "kind": "string",
37
+ "minLength": 1
38
+ }
39
+ },
40
+ "configEncryptionKey": {
41
+ "kind": "optional",
42
+ "inner": {
43
+ "kind": "string",
44
+ "minLength": 16
45
+ }
46
+ },
47
+ "controlPlaneUrl": {
48
+ "kind": "optional",
49
+ "inner": {
50
+ "kind": "string",
51
+ "minLength": 1
52
+ }
53
+ },
54
+ "serviceApiKey": {
55
+ "kind": "optional",
56
+ "inner": {
57
+ "kind": "string",
58
+ "minLength": 1
59
+ }
60
+ },
61
+ "bootstrapStatePath": {
62
+ "kind": "string",
63
+ "minLength": 1,
64
+ "default": "./.bp-bootstrap/state.enc"
65
+ },
66
+ "scopedConfigCachePath": {
67
+ "kind": "string",
68
+ "minLength": 1,
69
+ "default": "./.bp-sync-cache/scoped.json"
70
+ },
71
+ "trustedProxyHeaders": {
72
+ "kind": "bool",
73
+ "default": false
74
+ },
75
+ "cfProxy": {
76
+ "kind": "bool",
77
+ "default": false
78
+ },
79
+ "trustedProxyIps": {
80
+ "kind": "array",
81
+ "items": {
82
+ "kind": "string",
83
+ "minLength": 1
84
+ },
85
+ "default": []
86
+ }
87
+ },
88
+ "required": [
89
+ "bootstrapStatePath",
90
+ "scopedConfigCachePath",
91
+ "trustedProxyHeaders",
92
+ "cfProxy",
93
+ "trustedProxyIps"
94
+ ],
95
+ "unknownKeys": "strip"
96
+ }
97
+ }
98
+ },
99
+ "required": [
100
+ "host",
101
+ "port"
102
+ ],
103
+ "unknownKeys": "strip"
104
+ },
105
+ "definitions": {},
106
+ "extensions": {}
107
+ },
108
+ "pluginType": "service"
109
+ }
@@ -0,0 +1,122 @@
1
+ {
2
+ "id": "service-betterportal-theme-embedded",
3
+ "name": "service-betterportal-theme-embedded",
4
+ "version": "0.0.1",
5
+ "description": "Embedded BetterPortal theme",
6
+ "category": "service",
7
+ "tags": [
8
+ "betterportal",
9
+ "theme",
10
+ "embedded",
11
+ "htmx"
12
+ ],
13
+ "documentation": [
14
+ "./README.md"
15
+ ],
16
+ "dependencies": [],
17
+ "author": "BetterCorp",
18
+ "license": "(AGPL-3.0-only OR Commercial)",
19
+ "configSchema": {
20
+ "anyvaliVersion": "1.0",
21
+ "schemaVersion": "1.1",
22
+ "root": {
23
+ "kind": "object",
24
+ "properties": {
25
+ "host": {
26
+ "kind": "string",
27
+ "minLength": 1,
28
+ "default": "0.0.0.0"
29
+ },
30
+ "port": {
31
+ "kind": "int",
32
+ "min": 1,
33
+ "default": 3110
34
+ },
35
+ "betterportal": {
36
+ "kind": "optional",
37
+ "inner": {
38
+ "kind": "object",
39
+ "properties": {
40
+ "bpConfigPath": {
41
+ "kind": "optional",
42
+ "inner": {
43
+ "kind": "string",
44
+ "minLength": 1
45
+ }
46
+ },
47
+ "configApiToken": {
48
+ "kind": "optional",
49
+ "inner": {
50
+ "kind": "string",
51
+ "minLength": 1
52
+ }
53
+ },
54
+ "configEncryptionKey": {
55
+ "kind": "optional",
56
+ "inner": {
57
+ "kind": "string",
58
+ "minLength": 16
59
+ }
60
+ },
61
+ "controlPlaneUrl": {
62
+ "kind": "optional",
63
+ "inner": {
64
+ "kind": "string",
65
+ "minLength": 1
66
+ }
67
+ },
68
+ "serviceApiKey": {
69
+ "kind": "optional",
70
+ "inner": {
71
+ "kind": "string",
72
+ "minLength": 1
73
+ }
74
+ },
75
+ "bootstrapStatePath": {
76
+ "kind": "string",
77
+ "minLength": 1,
78
+ "default": "./.bp-bootstrap/state.enc"
79
+ },
80
+ "scopedConfigCachePath": {
81
+ "kind": "string",
82
+ "minLength": 1,
83
+ "default": "./.bp-sync-cache/scoped.json"
84
+ },
85
+ "trustedProxyHeaders": {
86
+ "kind": "bool",
87
+ "default": false
88
+ },
89
+ "cfProxy": {
90
+ "kind": "bool",
91
+ "default": false
92
+ },
93
+ "trustedProxyIps": {
94
+ "kind": "array",
95
+ "items": {
96
+ "kind": "string",
97
+ "minLength": 1
98
+ },
99
+ "default": []
100
+ }
101
+ },
102
+ "required": [
103
+ "bootstrapStatePath",
104
+ "scopedConfigCachePath",
105
+ "trustedProxyHeaders",
106
+ "cfProxy",
107
+ "trustedProxyIps"
108
+ ],
109
+ "unknownKeys": "strip"
110
+ }
111
+ }
112
+ },
113
+ "required": [
114
+ "host",
115
+ "port"
116
+ ],
117
+ "unknownKeys": "strip"
118
+ },
119
+ "definitions": {},
120
+ "extensions": {}
121
+ }
122
+ }
package/package.json ADDED
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "@betterportal/theme-embedded",
3
+ "version": "0.0.1",
4
+ "description": "BetterPortal v10 embedded theme plugin for Node.js",
5
+ "main": "lib/index.js",
6
+ "types": "src/index.ts",
7
+ "scripts": {
8
+ "build": "bsb-plugin-cli build",
9
+ "clean": "bsb-plugin-cli clean",
10
+ "start": "bsb-plugin-cli start",
11
+ "dev": "bsb-plugin-cli dev",
12
+ "test": "node -e \"process.exit(0)\"",
13
+ "prepublishOnly": "npm run build"
14
+ },
15
+ "keywords": [
16
+ "betterportal",
17
+ "theme",
18
+ "embedded"
19
+ ],
20
+ "author": "BetterCorp",
21
+ "license": "(AGPL-3.0-only OR Commercial)",
22
+ "type": "module",
23
+ "devDependencies": {
24
+ "@bsb/base": "^9.5.0",
25
+ "tsx": "^4.21.0",
26
+ "typescript": "^5.9.3"
27
+ },
28
+ "dependencies": {
29
+ "@betterportal/framework": "0.0.1",
30
+ "@betterportal/plugin-bsb": "0.0.1",
31
+ "@types/node": "^24.12.2",
32
+ "anyvali": "^1.0.6",
33
+ "htmx.org": "^4.0.0-beta2",
34
+ "jsx-htmx": "4.0.0-beta2"
35
+ },
36
+ "files": [
37
+ "lib/**/*",
38
+ "README.md",
39
+ "bsb-plugin.json",
40
+ "bsb-tests.json"
41
+ ],
42
+ "bsb": {},
43
+ "homepage": "https://github.com/BetterCorp/BetterPortal#readme",
44
+ "repository": {
45
+ "type": "git",
46
+ "url": "git+https://github.com/BetterCorp/BetterPortal.git",
47
+ "directory": "themes/nodejs/embedded"
48
+ },
49
+ "bugs": {
50
+ "url": "https://github.com/BetterCorp/BetterPortal/issues"
51
+ },
52
+ "publishConfig": {
53
+ "access": "public"
54
+ }
55
+ }