reposets 4.0.2 → 4.0.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/bin/reposets.js +2 -2
- package/cli/commands/credentials.js +2 -2
- package/cli/commands/doctor.js +1 -1
- package/cli/commands/history.js +2 -2
- package/cli/commands/init.js +2 -2
- package/cli/commands/list.js +1 -1
- package/cli/commands/nuke.js +2 -2
- package/cli/commands/sync.js +2 -2
- package/cli/commands/validate.js +1 -1
- package/cli/views/sync-progress-model.js +1 -1
- package/cli/views/sync-progress-view.js +1 -1
- package/cli/views/sync-progress.js +2 -2
- package/package.json +16 -16
- package/services/OnePasswordClient.js +1 -1
- package/services/SyncLogger.js +1 -1
- package/sync/phase.js +1 -1
- package/sync/phases/code-scanning.js +1 -1
- package/sync/phases/environments.js +1 -1
- package/sync/phases/resource.js +1 -1
- package/sync/phases/security.js +1 -1
- package/tsdoc-metadata.json +1 -1
package/bin/reposets.js
CHANGED
|
@@ -16,7 +16,7 @@ import { ConfigFlag, ConfigLive } from "../cli/flags.js";
|
|
|
16
16
|
import { Effect, Layer, Predicate } from "effect";
|
|
17
17
|
import { App, AppCache, AppStore } from "@effected/app";
|
|
18
18
|
import { NodeCrypto, NodeRuntime, NodeServices } from "@effect/platform-node";
|
|
19
|
-
import { CliAudience, CliRuntime, ConfigIssueRenderer, Fmt } from "@effected/cli";
|
|
19
|
+
import { CliAudience, CliRuntime, ConfigIssueRenderer, Fmt } from "@effected/cli-kit";
|
|
20
20
|
import { Command } from "effect/cli";
|
|
21
21
|
|
|
22
22
|
// src/cli/index.ts
|
|
@@ -31,7 +31,7 @@ import { Command } from "effect/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 = "4.0.
|
|
34
|
+
const VERSION = "4.0.3";
|
|
35
35
|
/**
|
|
36
36
|
* The application's directories: XDG resolution and the `reposets` namespace
|
|
37
37
|
* under it.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { profileOwner } from "../../schemas/credentials.js";
|
|
2
2
|
import { ReposetsCredentialsFile } from "../../services/ConfigFiles.js";
|
|
3
3
|
import { Effect, Option } from "effect";
|
|
4
|
-
import { CliInteractive, CliMessage, Doc } from "@effected/cli";
|
|
4
|
+
import { CliInteractive, CliMessage, Doc } from "@effected/cli-kit";
|
|
5
5
|
import { CliError, Command, Flag } from "effect/cli";
|
|
6
|
-
import { CliUi, Select, TextInput } from "@effected/cli/ui";
|
|
6
|
+
import { CliUi, Select, TextInput } from "@effected/cli-kit/ui";
|
|
7
7
|
import { AppDirs } from "@effected/xdg";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/credentials.ts
|
package/cli/commands/doctor.js
CHANGED
|
@@ -7,7 +7,7 @@ import { OP_SERVICE_ACCOUNT_TOKEN, OnePasswordClientLive } from "../../services/
|
|
|
7
7
|
import { STORE_OPTIONS } from "../../store/files.js";
|
|
8
8
|
import { Config, Console, Effect, FileSystem, Layer, Option, Path, Predicate, Result } from "effect";
|
|
9
9
|
import { AppStore } from "@effected/app";
|
|
10
|
-
import { CliMessage, Doc, Fmt, SchemaIssueRenderer, Status } from "@effected/cli";
|
|
10
|
+
import { CliMessage, Doc, Fmt, SchemaIssueRenderer, Status } from "@effected/cli-kit";
|
|
11
11
|
import { Command } from "effect/cli";
|
|
12
12
|
import { AppDirs } from "@effected/xdg";
|
|
13
13
|
import { GitHubClient } from "@effected/github";
|
package/cli/commands/history.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SyncJournal } from "../../store/SyncJournal.js";
|
|
2
2
|
import { Effect, Option } from "effect";
|
|
3
|
-
import { CliInteractive, CliMessage, Doc, Fmt, Status } from "@effected/cli";
|
|
3
|
+
import { CliInteractive, CliMessage, Doc, Fmt, Status } from "@effected/cli-kit";
|
|
4
4
|
import { CliError, Command, Flag } from "effect/cli";
|
|
5
|
-
import { CliUi, Select } from "@effected/cli/ui";
|
|
5
|
+
import { CliUi, Select } from "@effected/cli-kit/ui";
|
|
6
6
|
|
|
7
7
|
// src/cli/commands/history.ts
|
|
8
8
|
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,9 +2,9 @@ import { configSchemaHost, credentialsSchemaHost, schemaDirective } from "../../
|
|
|
2
2
|
import { CONFIG_FILENAME, CREDENTIALS_FILENAME } from "../../services/ConfigFiles.js";
|
|
3
3
|
import { Invocation } from "../../services/Invocation.js";
|
|
4
4
|
import { Effect, FileSystem, Option, Path } from "effect";
|
|
5
|
-
import { CliExit, CliMessage } from "@effected/cli";
|
|
5
|
+
import { CliExit, CliMessage } from "@effected/cli-kit";
|
|
6
6
|
import { Command, Flag } from "effect/cli";
|
|
7
|
-
import { CliUi, Select } from "@effected/cli/ui";
|
|
7
|
+
import { CliUi, Select } from "@effected/cli-kit/ui";
|
|
8
8
|
import { AppDirs } from "@effected/xdg";
|
|
9
9
|
|
|
10
10
|
// src/cli/commands/init.ts
|
package/cli/commands/list.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { profileOwner } from "../../schemas/credentials.js";
|
|
2
2
|
import { ReposetsConfigFile, ReposetsCredentialsFile } from "../../services/ConfigFiles.js";
|
|
3
3
|
import { Effect } from "effect";
|
|
4
|
-
import { CliExit, CliMessage, Doc } from "@effected/cli";
|
|
4
|
+
import { CliExit, CliMessage, Doc } from "@effected/cli-kit";
|
|
5
5
|
import { Command } from "effect/cli";
|
|
6
6
|
|
|
7
7
|
// src/cli/commands/list.ts
|
package/cli/commands/nuke.js
CHANGED
|
@@ -3,9 +3,9 @@ import { Invocation } from "../../services/Invocation.js";
|
|
|
3
3
|
import { CACHE_OPTIONS, STORE_OPTIONS } from "../../store/files.js";
|
|
4
4
|
import { Effect, FileSystem, Path } from "effect";
|
|
5
5
|
import { AppCache, AppStore } from "@effected/app";
|
|
6
|
-
import { CliExit, CliInteractive, CliMessage, Doc, Fmt } from "@effected/cli";
|
|
6
|
+
import { CliExit, CliInteractive, CliMessage, Doc, Fmt } from "@effected/cli-kit";
|
|
7
7
|
import { CliError, Command, Flag } from "effect/cli";
|
|
8
|
-
import { CliUi, Confirm, MultiSelect } from "@effected/cli/ui";
|
|
8
|
+
import { CliUi, Confirm, MultiSelect } from "@effected/cli-kit/ui";
|
|
9
9
|
import { AppDirs, Xdg } from "@effected/xdg";
|
|
10
10
|
import { Walker } from "@effected/walker";
|
|
11
11
|
|
package/cli/commands/sync.js
CHANGED
|
@@ -12,9 +12,9 @@ import { SyncEngine, SyncEngineLive } from "../../sync/SyncEngine.js";
|
|
|
12
12
|
import { syncSummaryBlock } from "../views/sync-progress-model.js";
|
|
13
13
|
import { syncProgressView } from "../views/sync-progress-view.js";
|
|
14
14
|
import { Console, Effect, Exit, Layer, Option, PubSub } from "effect";
|
|
15
|
-
import { CliExit, CliInteractive, CliMessage, Doc } from "@effected/cli";
|
|
15
|
+
import { CliExit, CliInteractive, CliMessage, Doc } from "@effected/cli-kit";
|
|
16
16
|
import { CliError, Command, Flag } from "effect/cli";
|
|
17
|
-
import { CliUi } from "@effected/cli/ui";
|
|
17
|
+
import { CliUi } from "@effected/cli-kit/ui";
|
|
18
18
|
import { CodeScanning, DeploymentEnvironment, GitHubClient, GitHubRepository, RepositorySecret, RepositorySecurity, RepositoryVariable, Ruleset, WorkflowDispatch } from "@effected/github";
|
|
19
19
|
|
|
20
20
|
// src/cli/commands/sync.ts
|
package/cli/commands/validate.js
CHANGED
|
@@ -3,7 +3,7 @@ import { undefinedCredentialLabels } from "../../lib/credential-labels.js";
|
|
|
3
3
|
import { orgOnlyViolations } from "../../lib/org-only.js";
|
|
4
4
|
import { ReposetsConfigFile, ReposetsCredentialsFile } from "../../services/ConfigFiles.js";
|
|
5
5
|
import { Effect } from "effect";
|
|
6
|
-
import { CliExit, CliMessage, Doc, Status } from "@effected/cli";
|
|
6
|
+
import { CliExit, CliMessage, Doc, Status } from "@effected/cli-kit";
|
|
7
7
|
import { Command } from "effect/cli";
|
|
8
8
|
|
|
9
9
|
// src/cli/commands/validate.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { syncSummaryBlock } from "./sync-progress-model.js";
|
|
2
|
-
import { Fmt } from "@effected/cli";
|
|
3
|
-
import { DocView, Styled, useGlyphs } from "@effected/cli/ui";
|
|
2
|
+
import { Fmt } from "@effected/cli-kit";
|
|
3
|
+
import { DocView, Styled, useGlyphs } from "@effected/cli-kit/ui";
|
|
4
4
|
import { Box, Text } from "ink";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reposets",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI tool to sync GitHub repo settings, secrets and rulesets across personal repositories",
|
|
6
6
|
"keywords": [
|
|
@@ -48,22 +48,22 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@1password/sdk": "^0.5.0",
|
|
51
|
-
"@effect/platform-node": "~4.1.
|
|
52
|
-
"@effected/app": "^0.
|
|
53
|
-
"@effected/cli": "^0.
|
|
54
|
-
"@effected/config-file": "^0.
|
|
55
|
-
"@effected/env": "^0.
|
|
56
|
-
"@effected/github": "^0.
|
|
57
|
-
"@effected/glob": "^0.
|
|
58
|
-
"@effected/jsonc": "^0.
|
|
59
|
-
"@effected/schemastore": "^0.
|
|
60
|
-
"@effected/store": "^0.
|
|
61
|
-
"@effected/toml": "^0.
|
|
62
|
-
"@effected/walker": "^0.
|
|
63
|
-
"@effected/xdg": "^0.
|
|
64
|
-
"@effected/yaml": "^0.
|
|
51
|
+
"@effect/platform-node": "~4.1.2",
|
|
52
|
+
"@effected/app": "^0.31.0",
|
|
53
|
+
"@effected/cli-kit": "^0.26.0",
|
|
54
|
+
"@effected/config-file": "^0.24.0",
|
|
55
|
+
"@effected/env": "^0.10.0",
|
|
56
|
+
"@effected/github": "^0.28.0",
|
|
57
|
+
"@effected/glob": "^0.18.0",
|
|
58
|
+
"@effected/jsonc": "^0.23.0",
|
|
59
|
+
"@effected/schemastore": "^0.29.0",
|
|
60
|
+
"@effected/store": "^0.23.0",
|
|
61
|
+
"@effected/toml": "^0.19.0",
|
|
62
|
+
"@effected/walker": "^0.25.0",
|
|
63
|
+
"@effected/xdg": "^0.19.0",
|
|
64
|
+
"@effected/yaml": "^0.28.0",
|
|
65
65
|
"blakejs": "^1.2.1",
|
|
66
|
-
"effect": "~4.1.
|
|
66
|
+
"effect": "~4.1.2",
|
|
67
67
|
"ink": "^8.0.0",
|
|
68
68
|
"react": "^19.3.1"
|
|
69
69
|
},
|
package/services/SyncLogger.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Console, Context, Effect, Layer, PubSub, Ref } from "effect";
|
|
2
|
-
import { CliLog, CliTheme, Fmt, Status } from "@effected/cli";
|
|
2
|
+
import { CliLog, CliTheme, Fmt, Status } from "@effected/cli-kit";
|
|
3
3
|
import { Audience } from "@effected/env";
|
|
4
4
|
|
|
5
5
|
// src/services/SyncLogger.ts
|
package/sync/phase.js
CHANGED
|
@@ -5,7 +5,7 @@ import { RepoCache } from "../../store/RepoCache.js";
|
|
|
5
5
|
import { decide, isDrift, needsApply } from "../decide.js";
|
|
6
6
|
import { read } from "./resource.js";
|
|
7
7
|
import { Effect, Option } from "effect";
|
|
8
|
-
import { Fmt } from "@effected/cli";
|
|
8
|
+
import { Fmt } from "@effected/cli-kit";
|
|
9
9
|
import { CodeScanning, WorkflowDispatch } from "@effected/github";
|
|
10
10
|
|
|
11
11
|
// src/sync/phases/code-scanning.ts
|
|
@@ -3,7 +3,7 @@ import { SyncLogger } from "../../services/SyncLogger.js";
|
|
|
3
3
|
import { AppliedState, lookup } from "../../store/AppliedState.js";
|
|
4
4
|
import { decide, isDrift, needsApply } from "../decide.js";
|
|
5
5
|
import { Effect, Option } from "effect";
|
|
6
|
-
import { Fmt } from "@effected/cli";
|
|
6
|
+
import { Fmt } from "@effected/cli-kit";
|
|
7
7
|
import { DeploymentEnvironment } from "@effected/github";
|
|
8
8
|
|
|
9
9
|
// src/sync/phases/environments.ts
|
package/sync/phases/resource.js
CHANGED
package/sync/phases/security.js
CHANGED
|
@@ -3,7 +3,7 @@ import { SyncLogger } from "../../services/SyncLogger.js";
|
|
|
3
3
|
import { AppliedState, lookup } from "../../store/AppliedState.js";
|
|
4
4
|
import { decide, isDrift, needsApply } from "../decide.js";
|
|
5
5
|
import { Effect, Option } from "effect";
|
|
6
|
-
import { Fmt } from "@effected/cli";
|
|
6
|
+
import { Fmt } from "@effected/cli-kit";
|
|
7
7
|
import { RepositorySecurity } from "@effected/github";
|
|
8
8
|
|
|
9
9
|
// src/sync/phases/security.ts
|