zephyr-edge-contract 0.0.39 → 0.0.42

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.
@@ -20,6 +20,7 @@ export interface ZephyrPluginOptions {
20
20
  email: string;
21
21
  branch: string;
22
22
  commit: string;
23
+ tags?: string[];
23
24
  };
24
25
  mfConfig?: {
25
26
  name: string;
@@ -14,6 +14,7 @@ export interface Snapshot {
14
14
  email?: string;
15
15
  branch: string;
16
16
  commit: string;
17
+ tags?: string[];
17
18
  };
18
19
  creator: {
19
20
  name: string;
@@ -86,6 +86,13 @@ export interface ZephyrBuildStats {
86
86
  * @requires To build a successfully through Zephyr user must have this field
87
87
  */
88
88
  commit: string;
89
+ /**
90
+ * Git tags that point to the current commit, retrieved using `git tag --points-at
91
+ * HEAD`
92
+ *
93
+ * @optional This field will be an empty array if no tags point to the current commit
94
+ */
95
+ tags?: string[];
89
96
  };
90
97
  context: {
91
98
  username?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;AAyH1B,IAAK,6BAMJ;AAND,WAAK,6BAA6B;IAChC,0DAAyB,CAAA;IACzB,4CAAW,CAAA;IACX,oDAAmB,CAAA;IACnB,gDAAe,CAAA;IACf,4CAAW,CAAA;AACb,CAAC,EANI,6BAA6B,KAA7B,6BAA6B,QAMjC"}
1
+ {"version":3,"file":"zephyr-build-stats.js","sourceRoot":"","sources":["../../src/lib/zephyr-build-stats.ts"],"names":[],"mappings":";AAAA,0BAA0B;;AAiI1B,IAAK,6BAMJ;AAND,WAAK,6BAA6B;IAChC,0DAAyB,CAAA;IACzB,4CAAW,CAAA;IACX,oDAAmB,CAAA;IACnB,gDAAe,CAAA;IACf,4CAAW,CAAA;AACb,CAAC,EANI,6BAA6B,KAA7B,6BAA6B,QAMjC"}
package/dist/package.json CHANGED
@@ -1,22 +1,36 @@
1
1
  {
2
2
  "name": "zephyr-edge-contract",
3
- "version": "0.0.39",
3
+ "version": "0.0.42",
4
+ "description": "Edge contract for Zephyr",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/ZephyrCloudIO/zephyr-packages.git",
8
+ "directory": "libs/zephyr-edge-contract"
9
+ },
4
10
  "license": "Apache-2.0",
11
+ "author": {
12
+ "name": "ZephyrCloudIO",
13
+ "url": "https://github.com/ZephyrCloudIO"
14
+ },
5
15
  "type": "commonjs",
6
16
  "main": "dist/index.js",
7
17
  "types": "dist/index.d.ts",
8
18
  "scripts": {
9
19
  "build": "nx build zephyr-edge-contract",
10
- "test": "nx test zephyr-edge-contract",
11
- "patch-version": "pnpm version"
20
+ "patch-version": "pnpm version",
21
+ "test": "nx test zephyr-edge-contract"
12
22
  },
13
23
  "dependencies": {
14
24
  "tslib": "catalog:typescript"
15
25
  },
16
26
  "devDependencies": {
17
- "ts-jest": "catalog:typescript",
18
- "@typescript-eslint/eslint-plugin": "catalog:eslint",
27
+ "@types/jest": "catalog:typescript",
19
28
  "@types/node": "catalog:typescript",
20
- "@types/jest": "catalog:typescript"
29
+ "@typescript-eslint/eslint-plugin": "catalog:eslint",
30
+ "ts-jest": "catalog:typescript"
31
+ },
32
+ "publishConfig": {
33
+ "access": "public",
34
+ "provenance": true
21
35
  }
22
36
  }
package/package.json CHANGED
@@ -1,7 +1,17 @@
1
1
  {
2
2
  "name": "zephyr-edge-contract",
3
- "version": "0.0.39",
3
+ "version": "0.0.42",
4
+ "description": "Edge contract for Zephyr",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/ZephyrCloudIO/zephyr-packages.git",
8
+ "directory": "libs/zephyr-edge-contract"
9
+ },
4
10
  "license": "Apache-2.0",
11
+ "author": {
12
+ "name": "ZephyrCloudIO",
13
+ "url": "https://github.com/ZephyrCloudIO"
14
+ },
5
15
  "type": "commonjs",
6
16
  "main": "dist/index.js",
7
17
  "types": "dist/index.d.ts",
@@ -9,14 +19,18 @@
9
19
  "tslib": "^2.8.1"
10
20
  },
11
21
  "devDependencies": {
12
- "ts-jest": "^29.2.6",
13
- "@typescript-eslint/eslint-plugin": "^8.27.0",
22
+ "@types/jest": "29.5.14",
14
23
  "@types/node": "^22.13.11",
15
- "@types/jest": "29.5.14"
24
+ "@typescript-eslint/eslint-plugin": "^8.27.0",
25
+ "ts-jest": "^29.2.6"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public",
29
+ "provenance": true
16
30
  },
17
31
  "scripts": {
18
32
  "build": "nx build zephyr-edge-contract",
19
- "test": "nx test zephyr-edge-contract",
20
- "patch-version": "pnpm version"
33
+ "patch-version": "pnpm version",
34
+ "test": "nx test zephyr-edge-contract"
21
35
  }
22
36
  }