hereby 1.0.3 → 1.0.4

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/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ export interface TaskOptions {
24
24
  * A hereby Task. To get an instance, call `test`.
25
25
  */
26
26
  export declare class Task {
27
+ private _options;
27
28
  private constructor();
28
29
  }
29
30
  /**
package/dist/index.js CHANGED
@@ -34,7 +34,11 @@ export class Task {
34
34
  if (!options.dependencies?.length && !options.run) {
35
35
  throw new Error("Task must have at run function or dependencies.");
36
36
  }
37
- this.options = options;
37
+ this._options = options;
38
+ }
39
+ /* @internal */
40
+ get options() {
41
+ return this._options;
38
42
  }
39
43
  /* @internal */
40
44
  static create(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hereby",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A simple task runner",
5
5
  "repository": "github:jakebailey/hereby",
6
6
  "type": "module",