reposets 1.0.11 → 1.0.12
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 +1 -1
- package/index.d.ts +6 -6
- package/package.json +9 -9
package/bin/reposets.js
CHANGED
|
@@ -79,7 +79,7 @@ const reportAndExit = (error) => Effect.gen(function* () {
|
|
|
79
79
|
});
|
|
80
80
|
/** Whether a caught value is a tagged error of a given tag. */
|
|
81
81
|
const isTagged = (error, tag) => typeof error === "object" && error !== null && "_tag" in error && error._tag === tag;
|
|
82
|
-
cli.pipe(Command.run({ version: "1.0.
|
|
82
|
+
cli.pipe(Command.run({ version: "1.0.12" }), Effect.catch(reportAndExit), Effect.provide(MainLive), NodeRuntime.runMain);
|
|
83
83
|
|
|
84
84
|
//#endregion
|
|
85
85
|
export { };
|
package/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { AppDirs, Xdg } from "@effected/xdg";
|
|
|
11
11
|
*
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
declare const ConfigSchema: Schema.Struct<{
|
|
14
|
+
export declare const ConfigSchema: Schema.Struct<{
|
|
15
15
|
readonly settings: Schema.withDecodingDefaultKey<Schema.$Record<Schema.String, Schema.StructWithRest<Schema.Struct<{
|
|
16
16
|
readonly is_template: Schema.optional<Schema.Boolean>;
|
|
17
17
|
readonly has_wiki: Schema.optional<Schema.Boolean>;
|
|
@@ -331,7 +331,7 @@ type Config = typeof ConfigSchema.Type;
|
|
|
331
331
|
*
|
|
332
332
|
* @public
|
|
333
333
|
*/
|
|
334
|
-
declare const CONFIG_FILENAME = "reposets.config.toml";
|
|
334
|
+
export declare const CONFIG_FILENAME = "reposets.config.toml";
|
|
335
335
|
declare const ReposetsConfigFile_base: import("effect/Context").ServiceClass<ReposetsConfigFile, "reposets/Config", import("@effected/config-file").ConfigFileShape<{
|
|
336
336
|
readonly settings: {
|
|
337
337
|
readonly [x: string]: {
|
|
@@ -681,7 +681,7 @@ declare const ReposetsConfigFile_base: import("effect/Context").ServiceClass<Rep
|
|
|
681
681
|
*
|
|
682
682
|
* @public
|
|
683
683
|
*/
|
|
684
|
-
declare class ReposetsConfigFile extends ReposetsConfigFile_base {}
|
|
684
|
+
export declare class ReposetsConfigFile extends ReposetsConfigFile_base {}
|
|
685
685
|
declare const ConfigFlagNotFound_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
686
686
|
readonly _tag: "ConfigFlagNotFound";
|
|
687
687
|
} & Readonly<A>;
|
|
@@ -697,7 +697,7 @@ declare const ConfigFlagNotFound_base: new <A extends Record<string, any> = {}>(
|
|
|
697
697
|
*
|
|
698
698
|
* @public
|
|
699
699
|
*/
|
|
700
|
-
declare class ConfigFlagNotFound extends ConfigFlagNotFound_base<{
|
|
700
|
+
export declare class ConfigFlagNotFound extends ConfigFlagNotFound_base<{
|
|
701
701
|
readonly path: string;
|
|
702
702
|
}> {
|
|
703
703
|
/**
|
|
@@ -716,7 +716,7 @@ declare class ConfigFlagNotFound extends ConfigFlagNotFound_base<{
|
|
|
716
716
|
*
|
|
717
717
|
* @public
|
|
718
718
|
*/
|
|
719
|
-
declare const makeConfigFilesLive: (configFlag: string | undefined) => Layer.Layer<ReposetsConfigFile, ConfigFlagNotFound, FileSystem.FileSystem | Path.Path | AppDirs | Xdg>;
|
|
719
|
+
export declare const makeConfigFilesLive: (configFlag: string | undefined) => Layer.Layer<ReposetsConfigFile, ConfigFlagNotFound, FileSystem.FileSystem | Path.Path | AppDirs | Xdg>;
|
|
720
720
|
//#endregion
|
|
721
|
-
export {
|
|
721
|
+
export type { Config };
|
|
722
722
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reposets",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI tool to sync GitHub repo settings, secrets and rulesets across personal repositories",
|
|
6
6
|
"keywords": [
|
|
@@ -48,15 +48,15 @@
|
|
|
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/config-file": "^0.
|
|
54
|
-
"@effected/github": "^0.
|
|
55
|
-
"@effected/store": "^0.
|
|
56
|
-
"@effected/toml": "^0.
|
|
57
|
-
"@effected/xdg": "^0.
|
|
51
|
+
"@effect/platform-node": "4.0.0-rc.112",
|
|
52
|
+
"@effected/app": "^0.14.0",
|
|
53
|
+
"@effected/config-file": "^0.6.0",
|
|
54
|
+
"@effected/github": "^0.9.0",
|
|
55
|
+
"@effected/store": "^0.7.0",
|
|
56
|
+
"@effected/toml": "^0.6.0",
|
|
57
|
+
"@effected/xdg": "^0.4.0",
|
|
58
58
|
"blakejs": "^1.2.1",
|
|
59
|
-
"effect": "4.0.0-rc.
|
|
59
|
+
"effect": "4.0.0-rc.112"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=24.11.0"
|