@nebulahome/package-sdk 0.0.0-stage → 1.0.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/CHANGELOG.md +26 -0
- package/LICENSE +21 -0
- package/README.md +141 -2
- package/dist/chunks/context.d.ts +369 -0
- package/dist/chunks/host.js +53 -0
- package/dist/chunks/json.d.ts +657 -0
- package/dist/chunks/node-build.js +20009 -0
- package/dist/chunks/props.d.ts +68 -0
- package/dist/chunks/version.js +12 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +3556 -0
- package/dist/components.d.ts +381 -0
- package/dist/components.js +210 -0
- package/dist/index.d.ts +205 -0
- package/dist/index.js +243 -0
- package/dist/server.d.ts +30 -0
- package/dist/server.js +17 -0
- package/dist/styles.css +549 -0
- package/dist/testing.d.ts +117 -0
- package/dist/testing.js +608 -0
- package/dist/ui.d.ts +320 -0
- package/dist/ui.js +180 -0
- package/dist/vite.d.ts +88 -0
- package/dist/vite.js +2 -0
- package/package.json +110 -3
package/package.json
CHANGED
|
@@ -1,6 +1,113 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nebulahome/package-sdk",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Write a NebulaHome package: declare it, build it, and run it on the platform.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"keywords": [
|
|
9
|
+
"nebulahome",
|
|
10
|
+
"smart-home",
|
|
11
|
+
"home-automation",
|
|
12
|
+
"package",
|
|
13
|
+
"sdk"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/nebulahome/platform/tree/main/packages/package-sdk#readme",
|
|
16
|
+
"bugs": "https://github.com/nebulahome/platform/issues",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/nebulahome/platform.git",
|
|
20
|
+
"directory": "packages/package-sdk"
|
|
21
|
+
},
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"default": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./server": {
|
|
28
|
+
"types": "./dist/server.d.ts",
|
|
29
|
+
"default": "./dist/server.js"
|
|
30
|
+
},
|
|
31
|
+
"./ui": {
|
|
32
|
+
"types": "./dist/ui.d.ts",
|
|
33
|
+
"default": "./dist/ui.js"
|
|
34
|
+
},
|
|
35
|
+
"./components": {
|
|
36
|
+
"types": "./dist/components.d.ts",
|
|
37
|
+
"default": "./dist/components.js"
|
|
38
|
+
},
|
|
39
|
+
"./vite": {
|
|
40
|
+
"types": "./dist/vite.d.ts",
|
|
41
|
+
"default": "./dist/vite.js"
|
|
42
|
+
},
|
|
43
|
+
"./testing": {
|
|
44
|
+
"types": "./dist/testing.d.ts",
|
|
45
|
+
"default": "./dist/testing.js"
|
|
46
|
+
},
|
|
47
|
+
"./styles.css": "./dist/styles.css",
|
|
48
|
+
"./package.json": "./package.json"
|
|
49
|
+
},
|
|
50
|
+
"bin": {
|
|
51
|
+
"nebulahome-package": "./dist/cli.js"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"dist",
|
|
55
|
+
"README.md",
|
|
56
|
+
"CHANGELOG.md",
|
|
57
|
+
"LICENSE"
|
|
58
|
+
],
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=22"
|
|
61
|
+
},
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"@types/react": "^19.2.0",
|
|
67
|
+
"react": "^19.2.0",
|
|
68
|
+
"tailwindcss": "^4.3.0",
|
|
69
|
+
"vite": "^8.2.0"
|
|
70
|
+
},
|
|
71
|
+
"peerDependenciesMeta": {
|
|
72
|
+
"@types/react": {
|
|
73
|
+
"optional": true
|
|
74
|
+
},
|
|
75
|
+
"react": {
|
|
76
|
+
"optional": true
|
|
77
|
+
},
|
|
78
|
+
"tailwindcss": {
|
|
79
|
+
"optional": true
|
|
80
|
+
},
|
|
81
|
+
"vite": {
|
|
82
|
+
"optional": true
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"devDependencies": {
|
|
86
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
87
|
+
"@types/node": "^22.20.1",
|
|
88
|
+
"@types/react": "^19.2.18",
|
|
89
|
+
"postcss": "^8.5.26",
|
|
90
|
+
"publint": "^0.3.25",
|
|
91
|
+
"react": "^19.2.8",
|
|
92
|
+
"tar": "^7.5.22",
|
|
93
|
+
"tsdown": "^0.23.0",
|
|
94
|
+
"typescript": "^6.0.3",
|
|
95
|
+
"vite": "^8.2.2",
|
|
96
|
+
"vitest": "^4.1.11",
|
|
97
|
+
"yaml": "^2.9.0",
|
|
98
|
+
"zod": "^4.5.4",
|
|
99
|
+
"@nebulahome/tsconfig": "0.0.0",
|
|
100
|
+
"@nebulahome/contracts": "0.0.0",
|
|
101
|
+
"@nebulahome/eslint-config": "0.0.0",
|
|
102
|
+
"@nebulahome/ui": "0.0.0"
|
|
103
|
+
},
|
|
104
|
+
"scripts": {
|
|
105
|
+
"build": "tsdown && node scripts/build-styles.js",
|
|
106
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
107
|
+
"lint": "eslint .",
|
|
108
|
+
"test": "vitest run",
|
|
109
|
+
"api:report": "node scripts/api-report.js",
|
|
110
|
+
"api:check": "node scripts/api-report.js --check",
|
|
111
|
+
"check:package": "publint --strict && attw --pack . --profile esm-only --exclude-entrypoints ./styles.css"
|
|
112
|
+
}
|
|
6
113
|
}
|