@nebulahome/integration-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 +19 -0
- package/FILES.md +657 -0
- package/LICENSE +21 -0
- package/README.md +127 -2
- package/dist/chunks/node-dist.js +7866 -0
- package/dist/chunks/node-index.d.ts +2045 -0
- package/dist/chunks/node-project.js +545 -0
- package/dist/chunks/node-rolldown-runtime.js +24 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +3783 -0
- package/dist/index.d.ts +1427 -0
- package/dist/index.js +53 -0
- package/dist/schemas.d.ts +693 -0
- package/dist/schemas.js +53 -0
- package/dist/testing.d.ts +267 -0
- package/dist/testing.js +251 -0
- package/package.json +76 -3
- package/schemas/account.schema.json +595 -0
- package/schemas/discovery.schema.json +354 -0
- package/schemas/driver.schema.json +118 -0
- package/schemas/manifest.schema.json +556 -0
- package/schemas/profile.schema.json +1415 -0
- package/schemas/setup.schema.json +1166 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @nebulahome/integration-sdk
|
|
2
|
+
|
|
3
|
+
The SDK's version is the version of the integration contract the platform implements: a minor
|
|
4
|
+
version adds to the contract, a major one breaks it, and a patch leaves it as it is.
|
|
5
|
+
|
|
6
|
+
## 1.0.0
|
|
7
|
+
|
|
8
|
+
The first public release.
|
|
9
|
+
|
|
10
|
+
- `nebulahome-integration validate`, `build` and `pack`: check `src/` the way the hub reads a
|
|
11
|
+
bundle, build it into `dist/<vendor>/` with its code bundled and the manifest's `version` and
|
|
12
|
+
`sdk` written in, and pack it into the `<vendor>-<version>.tgz` a GitHub release carries.
|
|
13
|
+
- `defineTransportModule`, `defineDriverModule`, `defineDiscoveryModule`, `defineAccountModule`
|
|
14
|
+
and `defineStreamModule`, which type a bundle's modules, and the types of the contract they are
|
|
15
|
+
written against.
|
|
16
|
+
- `@nebulahome/integration-sdk/testing`: `loadIntegration`, `driverHarness`, `identify` and
|
|
17
|
+
`createFakeSdk`, to test a bundle as the hub runs it.
|
|
18
|
+
- `@nebulahome/integration-sdk/schemas/*`: the JSON schemas of `manifest.json`, `driver.json`,
|
|
19
|
+
`setup.json`, `profile.json`, `discovery.json` and `account.json`.
|