@dagger.io/dagger 0.18.18 → 0.19.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.
@@ -22,6 +22,8 @@ export declare const field: (alias?: string) => ((target: object, propertyKey: s
22
22
  /**
23
23
  * The definition of the `@enumType` decorator that should be on top of any
24
24
  * class module that must be exposed to the Dagger API as enumeration.
25
+ *
26
+ * @deprecated In favor of using TypeScript `enum` types.
25
27
  */
26
28
  export declare const enumType: () => (<T extends import("./registry.js").Class>(constructor: T) => T);
27
29
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/module/decorators.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,MAAM,wEAAkB,CAAA;AAErC;;;;;GAKG;AACH,eAAO,MAAM,IAAI,gFAkCitC,CAAC,8BAlClsC,CAAA;AAEjC;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,qEAAiB,CAAA;AAEnC;;;GAGG;AACH,eAAO,MAAM,QAAQ,wEAAoB,CAAA;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ,yIAAoB,CAAA"}
1
+ {"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/module/decorators.ts"],"names":[],"mappings":"AAKA;;;;GAIG;AACH,eAAO,MAAM,MAAM,wEAAkB,CAAA;AAErC;;;;;GAKG;AACH,eAAO,MAAM,IAAI,gFAoCqtC,CAAC,8BApCtsC,CAAA;AAEjC;;;;;;GAMG;AACH,eAAO,MAAM,KAAK,qEAAiB,CAAA;AAEnC;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,wEAAoB,CAAA;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ,yIAAoB,CAAA"}
@@ -26,6 +26,8 @@ export const field = registry.field;
26
26
  /**
27
27
  * The definition of the `@enumType` decorator that should be on top of any
28
28
  * class module that must be exposed to the Dagger API as enumeration.
29
+ *
30
+ * @deprecated In favor of using TypeScript `enum` types.
29
31
  */
30
32
  export const enumType = registry.enumType;
31
33
  /**
@@ -38,19 +38,8 @@ export declare class DaggerModule {
38
38
  */
39
39
  objects: DaggerObjectsBase;
40
40
  /**
41
- * An enum is either a decorated class or a native enum.
42
- * Native enum cannot be decorated so they are resolved if referenced in the module.
43
- *
44
- * @example
45
- * ```ts
46
- * @enumType()
47
- * export class Example {
48
- * static A: string = "a"
49
- * static B: string = "b"
50
- * }
51
- * ```
52
- *
53
- * or
41
+ * An enum is typically a native TypeScript enum declared with the `enum` keyword.
42
+ * Decorated classes using `@enumType()` are still supported for backward compatibility.
54
43
  *
55
44
  * @example
56
45
  * ```ts
@@ -1 +1 @@
1
- {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/module/introspector/dagger_module/module.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAA;AAKhC,OAAO,EAEL,GAAG,EAGJ,MAAM,+BAA+B,CAAA;AAGtC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAmB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAInD;;;;;;;;GAQG;AACH,qBAAa,YAAY;IAuEd,IAAI,EAAE,MAAM;IACnB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,GAAG;IAxEb;;;;;;;;;;;;;;;;;;;OAmBG;IACI,OAAO,EAAE,iBAAiB,CAAK;IAEtC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACI,KAAK,EAAE,eAAe,CAAK;IAElC;;;;;;;;;;OAUG;IACI,UAAU,EAAE,gBAAgB,CAAK;IAEjC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAEtC,OAAO,CAAC,UAAU,CAKjB;gBAGQ,IAAI,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,EAAE,EACpB,GAAG,EAAE,GAAG;IA8BlB;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,iBAAiB;IAkIzB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,gBAAgB;IAsExB;;OAEG;IACH,OAAO,CAAC,WAAW;IA2BnB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;OAEG;IACH,OAAO,CAAC,cAAc;IAgBtB,MAAM;;;;;;;CASP"}
1
+ {"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../../../src/module/introspector/dagger_module/module.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAA;AAKhC,OAAO,EAEL,GAAG,EAGJ,MAAM,+BAA+B,CAAA;AAGtC,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAmB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAInD;;;;;;;;GAQG;AACH,qBAAa,YAAY;IA4Dd,IAAI,EAAE,MAAM;IACnB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,GAAG;IA7Db;;;;;;;;;;;;;;;;;;;OAmBG;IACI,OAAO,EAAE,iBAAiB,CAAK;IAEtC;;;;;;;;;;;OAWG;IACI,KAAK,EAAE,eAAe,CAAK;IAElC;;;;;;;;;;OAUG;IACI,UAAU,EAAE,gBAAgB,CAAK;IAEjC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAEtC,OAAO,CAAC,UAAU,CAKjB;gBAGQ,IAAI,EAAE,MAAM,EACX,UAAU,EAAE,MAAM,EAAE,EACpB,GAAG,EAAE,GAAG;IA8BlB;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,iBAAiB;IAkIzB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,gBAAgB;IAsExB;;OAEG;IACH,OAAO,CAAC,WAAW;IA2BnB;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAU3B;;OAEG;IACH,OAAO,CAAC,cAAc;IAgBtB,MAAM;;;;;;;CASP"}
@@ -43,19 +43,8 @@ export class DaggerModule {
43
43
  */
44
44
  objects = {};
45
45
  /**
46
- * An enum is either a decorated class or a native enum.
47
- * Native enum cannot be decorated so they are resolved if referenced in the module.
48
- *
49
- * @example
50
- * ```ts
51
- * @enumType()
52
- * export class Example {
53
- * static A: string = "a"
54
- * static B: string = "b"
55
- * }
56
- * ```
57
- *
58
- * or
46
+ * An enum is typically a native TypeScript enum declared with the `enum` keyword.
47
+ * Decorated classes using `@enumType()` are still supported for backward compatibility.
59
48
  *
60
49
  * @example
61
50
  * ```ts
@@ -46,6 +46,8 @@ export declare class Registry {
46
46
  /**
47
47
  * The definition of the @enum decorator that should be on top of any
48
48
  * class module that must be exposed to the Dagger API as enumeration.
49
+ *
50
+ * @deprecated In favor of using TypeScript `enum` types.
49
51
  */
50
52
  enumType: () => (<T extends Class>(constructor: T) => T);
51
53
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/module/registry.ts"],"names":[],"mappings":"AAIA,OAAO,kBAAkB,CAAA;AAIzB,MAAM,MAAM,KAAK,GAAG;IAAE,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG,CAAA;CAAE,CAAA;AAEjD,MAAM,MAAM,KAAK,GAAG;IAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAA;AAE/C,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAU1C,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,qBAAa,QAAQ;IACnB;;;OAGG;IACH,MAAM,QAAO,CAAC,CAAC,CAAC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"}
@@ -32,6 +32,8 @@ export class Registry {
32
32
  /**
33
33
  * The definition of the @enum decorator that should be on top of any
34
34
  * class module that must be exposed to the Dagger API as enumeration.
35
+ *
36
+ * @deprecated In favor of using TypeScript `enum` types.
35
37
  */
36
38
  enumType = () => {
37
39
  return (constructor) => {
@@ -1,2 +1,2 @@
1
- export declare const CLI_VERSION = "0.18.18";
1
+ export declare const CLI_VERSION = "0.19.0";
2
2
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/provisioning/default.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,YAAY,CAAA"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../src/provisioning/default.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,WAAW,WAAW,CAAA"}
@@ -1,2 +1,2 @@
1
1
  // Code generated by dagger. DO NOT EDIT.
2
- export const CLI_VERSION = "0.18.18";
2
+ export const CLI_VERSION = "0.19.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dagger.io/dagger",
3
- "version": "0.18.18",
3
+ "version": "0.19.0",
4
4
  "author": "hello@dagger.io",
5
5
  "license": "Apache-2.0",
6
6
  "types": "./dist/src/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "main": "dist/src/index.js",
19
19
  "dependencies": {
20
- "@grpc/grpc-js": "^1.13.4",
20
+ "@grpc/grpc-js": "^1.14.0",
21
21
  "@lifeomic/axios-fetch": "^3.1.0",
22
22
  "@opentelemetry/api": "^1.9.0",
23
23
  "@opentelemetry/core": "^2.1.0",
@@ -55,10 +55,10 @@
55
55
  "@trivago/prettier-plugin-sort-imports": "^5.2.2",
56
56
  "@types/adm-zip": "^0.5.7",
57
57
  "@types/mocha": "^10.0.10",
58
- "@types/node": "~24.4.0",
58
+ "@types/node": "~24.5.1",
59
59
  "@types/tar": "^6.1.13",
60
- "@typescript-eslint/eslint-plugin": "^8.43.0",
61
- "@typescript-eslint/parser": "^8.43.0",
60
+ "@typescript-eslint/eslint-plugin": "^8.44.0",
61
+ "@typescript-eslint/parser": "^8.44.0",
62
62
  "eslint": "^9.35.0",
63
63
  "eslint-config-prettier": "^10.1.8",
64
64
  "eslint-plugin-prettier": "^5.5.4",
@@ -68,6 +68,6 @@
68
68
  "rollup-plugin-dts": "^6.2.3",
69
69
  "ts-node": "^10.9.2",
70
70
  "tsx": "^4.20.5",
71
- "typescript-eslint": "^8.43.0"
71
+ "typescript-eslint": "^8.44.0"
72
72
  }
73
73
  }