reposets 2.0.0 → 2.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.
- package/bin/reposets.js +2 -2
- package/cli/commands/credentials.js +1 -1
- package/cli/commands/doctor.js +1 -1
- package/cli/commands/drift.js +1 -1
- package/cli/commands/history.js +1 -1
- package/cli/commands/init.js +1 -1
- package/cli/commands/list.js +1 -1
- package/cli/commands/nuke.js +1 -1
- package/cli/commands/sync.js +1 -1
- package/cli/commands/validate.js +1 -1
- package/cli/flags.js +1 -1
- package/package.json +10 -10
package/bin/reposets.js
CHANGED
|
@@ -17,7 +17,7 @@ import { Effect, Layer } from "effect";
|
|
|
17
17
|
import { App } from "@effected/app";
|
|
18
18
|
import { NodeRuntime, NodeServices } from "@effect/platform-node";
|
|
19
19
|
import { CliColor, CliRuntime, ConfigIssueRenderer } from "@effected/cli";
|
|
20
|
-
import { Command } from "effect/
|
|
20
|
+
import { Command } from "effect/cli";
|
|
21
21
|
|
|
22
22
|
//#region src/cli/index.ts
|
|
23
23
|
/**
|
|
@@ -31,7 +31,7 @@ import { Command } from "effect/unstable/cli";
|
|
|
31
31
|
* `0.0.0 (dev build)` from every build until the version was threaded down
|
|
32
32
|
* from here through {@link Invocation}.
|
|
33
33
|
*/
|
|
34
|
-
const VERSION = "2.0.
|
|
34
|
+
const VERSION = "2.0.1";
|
|
35
35
|
/**
|
|
36
36
|
* The application control plane.
|
|
37
37
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { profileOwner } from "../../schemas/credentials.js";
|
|
2
2
|
import { ReposetsCredentialsFile } from "../../services/ConfigFiles.js";
|
|
3
3
|
import { Console, Effect, Option } from "effect";
|
|
4
|
-
import { CliError, Command, Flag } from "effect/
|
|
4
|
+
import { CliError, Command, Flag } from "effect/cli";
|
|
5
5
|
import { AppDirs } from "@effected/xdg";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/commands/credentials.ts
|
package/cli/commands/doctor.js
CHANGED
|
@@ -7,7 +7,7 @@ import { CredentialResolver, CredentialResolverLive } from "../../services/Crede
|
|
|
7
7
|
import { ConfigFlag } from "../flags.js";
|
|
8
8
|
import { Config, Console, Effect, FileSystem, Layer, Option, Path, Result } from "effect";
|
|
9
9
|
import { SchemaIssueRenderer } from "@effected/cli";
|
|
10
|
-
import { Command } from "effect/
|
|
10
|
+
import { Command } from "effect/cli";
|
|
11
11
|
import { AppDirs } from "@effected/xdg";
|
|
12
12
|
import { GitHubClient } from "@effected/github";
|
|
13
13
|
import { Toml } from "@effected/toml";
|
package/cli/commands/drift.js
CHANGED
package/cli/commands/history.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SyncJournal } from "../../store/SyncJournal.js";
|
|
2
2
|
import { Console, Effect } from "effect";
|
|
3
|
-
import { CliError, Command, Flag } from "effect/
|
|
3
|
+
import { CliError, Command, Flag } from "effect/cli";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/commands/history.ts
|
|
6
6
|
const limitFlag = Flag.Int("limit").pipe(Flag.withDefault(20), Flag.withDescription("How many runs to show, newest first"));
|
package/cli/commands/init.js
CHANGED
|
@@ -2,7 +2,7 @@ import { CONFIG_FILENAME, CREDENTIALS_FILENAME } from "../../services/ConfigFile
|
|
|
2
2
|
import { Invocation } from "../../services/Invocation.js";
|
|
3
3
|
import { Console, Effect, FileSystem, Path } from "effect";
|
|
4
4
|
import { CliExit } from "@effected/cli";
|
|
5
|
-
import { Command, Flag } from "effect/
|
|
5
|
+
import { Command, Flag } from "effect/cli";
|
|
6
6
|
import { AppDirs } from "@effected/xdg";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/commands/init.ts
|
package/cli/commands/list.js
CHANGED
|
@@ -2,7 +2,7 @@ import { profileOwner } from "../../schemas/credentials.js";
|
|
|
2
2
|
import { ReposetsConfigFile, ReposetsCredentialsFile } from "../../services/ConfigFiles.js";
|
|
3
3
|
import { Console, Effect } from "effect";
|
|
4
4
|
import { CliExit } from "@effected/cli";
|
|
5
|
-
import { Command } from "effect/
|
|
5
|
+
import { Command } from "effect/cli";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/commands/list.ts
|
|
8
8
|
/** `secrets` and `variables` render the same way; only the scope names differ. */
|
package/cli/commands/nuke.js
CHANGED
|
@@ -2,7 +2,7 @@ import { CONFIG_FILENAME, CREDENTIALS_FILENAME } from "../../services/ConfigFile
|
|
|
2
2
|
import { Invocation } from "../../services/Invocation.js";
|
|
3
3
|
import { Console, Effect, FileSystem, Path, Stdio } from "effect";
|
|
4
4
|
import { CliExit } from "@effected/cli";
|
|
5
|
-
import { CliError, Command, Flag, Prompt } from "effect/
|
|
5
|
+
import { CliError, Command, Flag, Prompt } from "effect/cli";
|
|
6
6
|
import { AppDirs } from "@effected/xdg";
|
|
7
7
|
|
|
8
8
|
//#region src/cli/commands/nuke.ts
|
package/cli/commands/sync.js
CHANGED
|
@@ -11,7 +11,7 @@ import { allPhases } from "../../sync/phases/index.js";
|
|
|
11
11
|
import { SyncEngine, SyncEngineLive } from "../../sync/SyncEngine.js";
|
|
12
12
|
import { Console, Effect, Layer, Option } from "effect";
|
|
13
13
|
import { CliExit } from "@effected/cli";
|
|
14
|
-
import { CliError, Command, Flag } from "effect/
|
|
14
|
+
import { CliError, Command, Flag } from "effect/cli";
|
|
15
15
|
import { CodeScanning, DeploymentEnvironment, GitHubClient, GitHubRepository, RepositorySecret, RepositorySecurity, RepositoryVariable, Ruleset, WorkflowDispatch } from "@effected/github";
|
|
16
16
|
|
|
17
17
|
//#region src/cli/commands/sync.ts
|
package/cli/commands/validate.js
CHANGED
|
@@ -4,7 +4,7 @@ import { undefinedCredentialLabels } from "../../lib/credential-labels.js";
|
|
|
4
4
|
import { orgOnlyViolations } from "../../lib/org-only.js";
|
|
5
5
|
import { Console, Effect } from "effect";
|
|
6
6
|
import { CliExit } from "@effected/cli";
|
|
7
|
-
import { Command } from "effect/
|
|
7
|
+
import { Command } from "effect/cli";
|
|
8
8
|
|
|
9
9
|
//#region src/cli/commands/validate.ts
|
|
10
10
|
/**
|
package/cli/flags.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reposets",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI tool to sync GitHub repo settings, secrets and rulesets across personal repositories",
|
|
6
6
|
"keywords": [
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@1password/sdk": "^0.5.0",
|
|
51
|
-
"@effect/platform-node": "4.0.0-rc.
|
|
52
|
-
"@effected/app": "^0.
|
|
53
|
-
"@effected/cli": "^0.
|
|
54
|
-
"@effected/config-file": "^0.
|
|
55
|
-
"@effected/github": "^0.
|
|
56
|
-
"@effected/store": "^0.
|
|
57
|
-
"@effected/toml": "^0.
|
|
58
|
-
"@effected/xdg": "^0.
|
|
51
|
+
"@effect/platform-node": "4.0.0-rc.118",
|
|
52
|
+
"@effected/app": "^0.19.0",
|
|
53
|
+
"@effected/cli": "^0.10.0",
|
|
54
|
+
"@effected/config-file": "^0.13.0",
|
|
55
|
+
"@effected/github": "^0.14.0",
|
|
56
|
+
"@effected/store": "^0.11.0",
|
|
57
|
+
"@effected/toml": "^0.10.0",
|
|
58
|
+
"@effected/xdg": "^0.8.0",
|
|
59
59
|
"blakejs": "^1.2.1",
|
|
60
|
-
"effect": "4.0.0-rc.
|
|
60
|
+
"effect": "4.0.0-rc.118"
|
|
61
61
|
},
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": ">=24.11.0"
|