@graftland/cli 0.3.2 → 0.3.3

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/Manage.d.ts CHANGED
@@ -1,4 +1,6 @@
1
- import { Effect, Option } from "effect";
1
+ import * as Create from "@graftland/create";
2
+ import * as PackageManager from "@graftland/package-manager";
3
+ import { Config, Effect, Option } from "effect";
2
4
  declare namespace Manage_d_exports {
3
5
  export { add, create, remove };
4
6
  }
@@ -6,8 +8,8 @@ export declare const create: (options: {
6
8
  readonly directory: string;
7
9
  readonly name: Option.Option<string>;
8
10
  readonly install: boolean;
9
- }) => Effect.Effect<void, unknown, unknown>;
10
- export declare const add: (specs: readonly string[]) => Effect.Effect<void, unknown, any>;
11
- export declare const remove: (names: ReadonlyArray<string>) => Effect.Effect<void, unknown, unknown>;
11
+ }) => Effect.Effect<void, Config.ConfigError | Create.CreateError | Create.InvalidName | Create.InvalidPackageManager | PackageManager.Error, import("effect/process/ChildProcessSpawner").ChildProcessSpawner | import("effect/FileSystem").FileSystem | import("effect/Path").Path>;
12
+ export declare const add: (specs: readonly string[]) => Effect.Effect<void, Config.ConfigError | PackageManager.Error, import("effect/process/ChildProcessSpawner").ChildProcessSpawner | import("effect/FileSystem").FileSystem | import("effect/Path").Path>;
13
+ export declare const remove: (names: ReadonlyArray<string>) => Effect.Effect<void, Config.ConfigError | PackageManager.Error, import("effect/process/ChildProcessSpawner").ChildProcessSpawner | import("effect/FileSystem").FileSystem | import("effect/Path").Path>;
12
14
  export { Manage_d_exports };
13
15
  //# sourceMappingURL=Manage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Manage.d.ts","names":[],"sources":["../src/Manage.ts"],"mappings":";;;;qBA4Da,SAAM;WACE;WACL,MAAA,OAAO;WACJ;MAWjB,OAAA;qBAEW,MAAG,6BAAA,OAAA;qBAgBH,SAAM,OAAW,0BAAqB,OAAA"}
1
+ {"version":3,"file":"Manage.d.ts","names":[],"sources":["../src/Manage.ts"],"mappings":";;;;;;qBA4Da,SAAM;WACE;WACL,MAAA,OAAO;WACJ;MAWjB,OAAA,aAAA,OAAA,cAAA,OAAA,cAAA,OAAA,cAAA,OAAA,wBAAA,eAAA,oDAAA,kDAAA,mCAAA;qBAEW,MAAG,6BAAA,OAAA,aAAA,OAAA,cAAA,eAAA,oDAAA,kDAAA,mCAAA;qBAgBH,SAAM,OAAW,0BAAqB,OAAA,aAAA,OAAA,cAAA,eAAA,oDAAA,kDAAA,mCAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graftland/cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22.19.0"
@@ -35,18 +35,18 @@
35
35
  "vitest": "5.1.0"
36
36
  },
37
37
  "dependencies": {
38
- "@graftland/graft": "0.3.2",
39
- "@graftland/loader": "0.3.2",
40
- "@graftland/hmr": "0.3.2",
41
- "@graftland/create": "0.3.2",
42
- "@graftland/package-manager": "0.3.2",
38
+ "@graftland/graft": "0.3.3",
39
+ "@graftland/loader": "0.3.3",
40
+ "@graftland/hmr": "0.3.3",
41
+ "@graftland/create": "0.3.3",
42
+ "@graftland/package-manager": "0.3.3",
43
43
  "@effect/platform-node": "4.1.2"
44
44
  },
45
45
  "bin": {
46
46
  "graft": "./dist/bin.js"
47
47
  },
48
48
  "scripts": {
49
- "build": "tsdown && node scripts/schema.mjs",
49
+ "build": "tsc -b && tsdown && node scripts/schema.mjs",
50
50
  "test": "vitest run"
51
51
  }
52
52
  }