@enyo-energy/sunspec-sdk 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,13 @@
1
+ /**
2
+ * Auto-generated file containing the current SDK version.
3
+ * This file is generated by scripts/extract-version.js and should not be edited manually.
4
+ */
5
+ /**
6
+ * Current version of the enyo Energy App SDK.
7
+ */
8
+ export declare const SDK_VERSION = "0.0.1";
9
+ /**
10
+ * Gets the current SDK version.
11
+ * @returns The semantic version string of the SDK
12
+ */
13
+ export declare function getSdkVersion(): string;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Auto-generated file containing the current SDK version.
3
+ * This file is generated by scripts/extract-version.js and should not be edited manually.
4
+ */
5
+ /**
6
+ * Current version of the enyo Energy App SDK.
7
+ */
8
+ export const SDK_VERSION = '0.0.1';
9
+ /**
10
+ * Gets the current SDK version.
11
+ * @returns The semantic version string of the SDK
12
+ */
13
+ export function getSdkVersion() {
14
+ return SDK_VERSION;
15
+ }
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@enyo-energy/sunspec-sdk",
3
+ "version": "0.0.1",
4
+ "description": "enyo Energy Sunspec SDK",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "scripts": {
9
+ "extract-version": "node scripts/extract-version.js",
10
+ "build": "npm run extract-version && duel",
11
+ "prepublishOnly": "npm run extract-version && npm run build"
12
+ },
13
+ "files": [
14
+ "dist",
15
+ "README.md"
16
+ ],
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/enyo-energy/energy-app-sdk.git"
23
+ },
24
+ "keywords": [
25
+ "enyo"
26
+ ],
27
+ "author": "enyo",
28
+ "license": "ISC",
29
+ "bugs": {
30
+ "url": "https://github.com/enyo-energy/energy-app-sdk/issues"
31
+ },
32
+ "homepage": "https://github.com/enyo-energy/energy-app-sdk",
33
+ "devDependencies": {
34
+ "@knighted/duel": "2.1.4",
35
+ "@types/express": "^5.0.3",
36
+ "@types/node": "^24.0.13",
37
+ "typescript": "^5.8.3"
38
+ },
39
+ "dependencies": {
40
+ "@enyo-energy/energy-app-sdk": "^0.0.38"
41
+ },
42
+ "volta": {
43
+ "node": "22.17.0"
44
+ }
45
+ }