windmill-cli 1.532.0 → 1.532.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/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.js +2 -2
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.js +5 -4
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.js +1 -1
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.js +4 -3
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/expand_glob.js +8 -7
- package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.js +1 -1
- package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/assert_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/basename.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/common.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/dirname.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/glob_to_reg_exp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/normalize.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/normalize_string.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/strip_trailing_separators.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/basename.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/common.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/constants.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/dirname.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/extname.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/format.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/from_file_url.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/glob_to_regexp.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/is_absolute.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/is_glob.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/join.js +7 -7
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/join_globs.js +2 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/normalize.js +5 -4
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/normalize_glob.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/parse.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/_util.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/basename.js +4 -7
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/dirname.js +4 -6
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/extname.js +4 -8
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/glob_to_regexp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/join.js +8 -11
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/join_globs.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/normalize.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/normalize_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/parse.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/resolve.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/to_namespaced_path.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/relative.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/resolve.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/to_file_url.js +2 -2
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/to_namespaced_path.js +2 -2
- package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/_util.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/basename.js +4 -7
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/constants.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/dirname.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/extname.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/format.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/from_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/glob_to_regexp.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/is_absolute.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/join.js +7 -10
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/join_globs.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/normalize.js +6 -7
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/normalize_glob.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/parse.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/relative.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/resolve.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/to_file_url.js +1 -1
- package/esm/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/to_namespaced_path.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_dumper_state.js +5 -14
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_loader_state.js +150 -168
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.js +6 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.js +1 -1
- package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.js +1 -1
- package/esm/deps.js +5 -5
- package/esm/src/commands/gitsync-settings/pull.js +17 -20
- package/esm/src/commands/gitsync-settings/push.js +3 -5
- package/esm/src/commands/gitsync-settings/utils.js +9 -9
- package/esm/src/commands/init/init.js +9 -9
- package/esm/src/commands/sync/sync.js +139 -28
- package/esm/src/commands/workspace/workspace.js +10 -10
- package/esm/src/core/conf.js +160 -31
- package/esm/src/core/context.js +1 -1
- package/esm/src/core/specific_items.js +141 -0
- package/package.json +1 -1
- package/types/_dnt.polyfills.d.ts +6 -0
- package/types/_dnt.polyfills.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.d.ts +1 -1
- package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/expand_glob.d.ts +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/expand_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/assert_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/basename.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/dirname.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/glob_to_reg_exp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/normalize.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/normalize_string.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/strip_trailing_separators.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/basename.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/common.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/dirname.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/extname.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/is_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/join.d.ts +4 -4
- package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/normalize.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/basename.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/dirname.d.ts +4 -2
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/extname.d.ts +4 -4
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/join.d.ts +6 -4
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/normalize.d.ts +6 -3
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/types.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/_util.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/basename.d.ts +4 -3
- package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/constants.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/extname.d.ts +6 -3
- package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/format.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/from_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/glob_to_regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/is_absolute.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/join_globs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/normalize.d.ts +6 -3
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/normalize_glob.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/relative.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/resolve.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/to_file_url.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/to_namespaced_path.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_dumper_state.d.ts +1 -8
- package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_loader_state.d.ts +8 -14
- package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.d.ts.map +1 -1
- package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.d.ts.map +1 -1
- package/types/deps.d.ts +5 -5
- package/types/src/commands/gitsync-settings/pull.d.ts.map +1 -1
- package/types/src/commands/gitsync-settings/push.d.ts.map +1 -1
- package/types/src/commands/sync/sync.d.ts +2 -1
- package/types/src/commands/sync/sync.d.ts.map +1 -1
- package/types/src/core/conf.d.ts +27 -0
- package/types/src/core/conf.d.ts.map +1 -1
- package/types/src/core/specific_items.d.ts +36 -0
- package/types/src/core/specific_items.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +0 -5
- package/esm/deps/jsr.io/@std/path/1.1.2/mod.js +0 -216
- package/esm/deps/jsr.io/@std/path/1.1.2/types.js +0 -3
- package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +0 -2
- package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts +0 -3
- package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/mod.d.ts +0 -213
- package/types/deps/jsr.io/@std/path/1.1.2/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/posix/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/windows/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.2/windows/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/windows/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/windows/join.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.1.2/windows/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.2/windows/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
- /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.js +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/assert_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/normalize_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/_common/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/is_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.2 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
import { binary } from "./_type/binary.js";
|
|
7
7
|
import { bool } from "./_type/bool.js";
|
|
@@ -89,6 +89,11 @@ export const DEFAULT_SCHEMA = createSchema({
|
|
|
89
89
|
* simple: !!js/regexp foobar
|
|
90
90
|
* modifiers: !!js/regexp /foobar/mi
|
|
91
91
|
* undefined: !!js/undefined ~
|
|
92
|
+
* # Disabled, see: https://github.com/denoland/deno_std/pull/1275
|
|
93
|
+
* # function: !!js/function >
|
|
94
|
+
* # function foobar() {
|
|
95
|
+
* # return 'hello world!';
|
|
96
|
+
* # }
|
|
92
97
|
* `,
|
|
93
98
|
* { schema: "extended" },
|
|
94
99
|
* );
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
const YAML_TRUE_BOOLEANS = ["true", "True", "TRUE"];
|
|
6
6
|
const YAML_FALSE_BOOLEANS = ["false", "False", "FALSE"];
|
|
7
7
|
const YAML_BOOLEANS = [...YAML_TRUE_BOOLEANS, ...YAML_FALSE_BOOLEANS];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
import { isNegativeZero } from "../_utils.js";
|
|
6
6
|
const YAML_FLOAT_PATTERN = new RegExp(
|
|
7
7
|
// 2.5e4, 2.5 and integers
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
import { isNegativeZero } from "../_utils.js";
|
|
6
6
|
function isCharCodeInRange(c, lower, upper) {
|
|
7
7
|
return lower <= c && c <= upper;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
export const map = {
|
|
6
6
|
tag: "tag:yaml.org,2002:map",
|
|
7
7
|
resolve() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
export const merge = {
|
|
6
6
|
tag: "tag:yaml.org,2002:merge",
|
|
7
7
|
kind: "scalar",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
export const nil = {
|
|
6
6
|
tag: "tag:yaml.org,2002:null",
|
|
7
7
|
kind: "scalar",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
import { isPlainObject } from "../_utils.js";
|
|
6
6
|
function resolveYamlOmap(data) {
|
|
7
7
|
const objectKeys = new Set();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
import { isPlainObject } from "../_utils.js";
|
|
6
6
|
function resolveYamlPairs(data) {
|
|
7
7
|
if (data === null)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported and adapted from js-yaml-js-types v1.0.0:
|
|
2
2
|
// https://github.com/nodeca/js-yaml-js-types/tree/ac537e7bbdd3c2cbbd9882ca3919c520c2dc022b
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
const REGEXP = /^\/(?<regexp>[\s\S]+)\/(?<modifiers>[gismuy]*)$/;
|
|
6
6
|
export const regexp = {
|
|
7
7
|
tag: "tag:yaml.org,2002:js/regexp",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
export const seq = {
|
|
6
6
|
tag: "tag:yaml.org,2002:seq",
|
|
7
7
|
kind: "sequence",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
export const set = {
|
|
6
6
|
tag: "tag:yaml.org,2002:set",
|
|
7
7
|
kind: "mapping",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
|
-
// Copyright 2018-
|
|
3
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
4
4
|
export const str = {
|
|
5
5
|
tag: "tag:yaml.org,2002:str",
|
|
6
6
|
kind: "scalar",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
const YAML_DATE_REGEXP = new RegExp("^([0-9][0-9][0-9][0-9])" + // [1] year
|
|
6
6
|
"-([0-9][0-9])" + // [2] month
|
|
7
7
|
"-([0-9][0-9])$");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported and adapted from js-yaml-js-types v1.0.0:
|
|
2
2
|
// https://github.com/nodeca/js-yaml-js-types/tree/ac537e7bbdd3c2cbbd9882ca3919c520c2dc022b
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
export const undefinedType = {
|
|
6
6
|
tag: "tag:yaml.org,2002:js/undefined",
|
|
7
7
|
kind: "scalar",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
export function isObject(value) {
|
|
6
6
|
return value !== null && typeof value === "object";
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
2
|
-
// Copyright 2018-
|
|
2
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
3
3
|
// This module is browser compatible.
|
|
4
4
|
/**
|
|
5
5
|
* {@linkcode parse} and {@linkcode stringify} for handling
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
import { isEOL } from "./_chars.js";
|
|
7
7
|
import { LoaderState } from "./_loader_state.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ported from js-yaml v3.13.1:
|
|
2
2
|
// https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
|
|
3
3
|
// Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
|
|
4
|
-
// Copyright 2018-
|
|
4
|
+
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
5
5
|
// This module is browser compatible.
|
|
6
6
|
import { DumperState } from "./_dumper_state.js";
|
|
7
7
|
import { SCHEMA_MAP } from "./_schema.js";
|
package/esm/deps.js
CHANGED
|
@@ -12,16 +12,16 @@ export { NpmProvider } from "./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-r
|
|
|
12
12
|
export { Provider } from "./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.js";
|
|
13
13
|
export { CompletionsCommand } from "./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.js";
|
|
14
14
|
// std
|
|
15
|
-
export { ensureDir } from "./deps/jsr.io/@std/fs/1.0.
|
|
16
|
-
export { SEPARATOR as SEP } from "./deps/jsr.io/@std/path/1.
|
|
17
|
-
export * as path from "./deps/jsr.io/@std/path/1.
|
|
15
|
+
export { ensureDir } from "./deps/jsr.io/@std/fs/1.0.16/mod.js";
|
|
16
|
+
export { SEPARATOR as SEP } from "./deps/jsr.io/@std/path/1.0.8/mod.js";
|
|
17
|
+
export * as path from "./deps/jsr.io/@std/path/1.0.8/mod.js";
|
|
18
18
|
export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.4/mod.js";
|
|
19
19
|
export { writeAllSync } from "./deps/jsr.io/@std/io/0.225.2/write_all.js";
|
|
20
20
|
export { copy } from "./deps/jsr.io/@std/io/0.225.2/copy.js";
|
|
21
21
|
export { readAll } from "./deps/jsr.io/@std/io/0.225.2/read_all.js";
|
|
22
22
|
export * as log from "./deps/jsr.io/@std/log/0.224.14/mod.js";
|
|
23
|
-
export { stringify as yamlStringify } from "./deps/jsr.io/@std/yaml/1.0.
|
|
24
|
-
import { parse as yamlParse } from "./deps/jsr.io/@std/yaml/1.0.
|
|
23
|
+
export { stringify as yamlStringify } from "./deps/jsr.io/@std/yaml/1.0.5/mod.js";
|
|
24
|
+
import { parse as yamlParse } from "./deps/jsr.io/@std/yaml/1.0.5/mod.js";
|
|
25
25
|
export async function yamlParseFile(path, options = {}) {
|
|
26
26
|
try {
|
|
27
27
|
return yamlParse(await dntShim.Deno.readTextFile(path), options);
|
|
@@ -3,7 +3,7 @@ import { colors, log, yamlStringify } from "../../../deps.js";
|
|
|
3
3
|
import { requireLogin } from "../../core/auth.js";
|
|
4
4
|
import { resolveWorkspace } from "../../core/context.js";
|
|
5
5
|
import * as wmill from "../../../gen/services.gen.js";
|
|
6
|
-
import { readConfigFile, getEffectiveSettings, DEFAULT_SYNC_OPTIONS } from "../../core/conf.js";
|
|
6
|
+
import { readConfigFile, getEffectiveSettings, DEFAULT_SYNC_OPTIONS, getWmillYamlPath } from "../../core/conf.js";
|
|
7
7
|
import { deepEqual } from "../../utils/utils.js";
|
|
8
8
|
import { getCurrentGitBranch, isGitRepository } from "../../utils/git.js";
|
|
9
9
|
import { GitSyncSettingsConverter } from "./converter.js";
|
|
@@ -83,12 +83,9 @@ export async function pullGitSyncSettings(opts) {
|
|
|
83
83
|
// Convert backend settings to SyncOptions format
|
|
84
84
|
const backendSyncOptions = GitSyncSettingsConverter.fromBackendFormat(selectedRepo.settings);
|
|
85
85
|
// Check if wmill.yaml exists - create a default one if it doesn't exist
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
catch (error) {
|
|
91
|
-
wmillYamlExists = false;
|
|
86
|
+
const wmillYamlPath = getWmillYamlPath();
|
|
87
|
+
const wmillYamlExists = wmillYamlPath !== null;
|
|
88
|
+
if (!wmillYamlExists) {
|
|
92
89
|
if (!opts.jsonOutput) {
|
|
93
90
|
log.info(colors.yellow("No wmill.yaml file found. Will create one with backend git-sync settings."));
|
|
94
91
|
}
|
|
@@ -110,11 +107,11 @@ export async function pullGitSyncSettings(opts) {
|
|
|
110
107
|
if (isGitRepository()) {
|
|
111
108
|
const currentBranch = getCurrentGitBranch();
|
|
112
109
|
if (currentBranch) {
|
|
113
|
-
if (!updatedConfig.
|
|
114
|
-
updatedConfig.
|
|
110
|
+
if (!updatedConfig.gitBranches) {
|
|
111
|
+
updatedConfig.gitBranches = {};
|
|
115
112
|
}
|
|
116
|
-
if (!updatedConfig.
|
|
117
|
-
updatedConfig.
|
|
113
|
+
if (!updatedConfig.gitBranches[currentBranch]) {
|
|
114
|
+
updatedConfig.gitBranches[currentBranch] = { overrides: {} };
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
}
|
|
@@ -268,15 +265,15 @@ export async function pullGitSyncSettings(opts) {
|
|
|
268
265
|
let needsBranchStructure = false;
|
|
269
266
|
if (isGitRepository()) {
|
|
270
267
|
const currentBranch = getCurrentGitBranch();
|
|
271
|
-
if (currentBranch && (!localConfig.
|
|
268
|
+
if (currentBranch && (!localConfig.gitBranches || !localConfig.gitBranches[currentBranch])) {
|
|
272
269
|
needsBranchStructure = true;
|
|
273
270
|
// Create empty branch structure
|
|
274
271
|
const updatedConfig = { ...localConfig };
|
|
275
|
-
if (!updatedConfig.
|
|
276
|
-
updatedConfig.
|
|
272
|
+
if (!updatedConfig.gitBranches) {
|
|
273
|
+
updatedConfig.gitBranches = {};
|
|
277
274
|
}
|
|
278
|
-
if (!updatedConfig.
|
|
279
|
-
updatedConfig.
|
|
275
|
+
if (!updatedConfig.gitBranches[currentBranch]) {
|
|
276
|
+
updatedConfig.gitBranches[currentBranch] = { overrides: {} };
|
|
280
277
|
}
|
|
281
278
|
// Write updated configuration
|
|
282
279
|
await dntShim.Deno.writeTextFile("wmill.yaml", yamlStringify(updatedConfig));
|
|
@@ -322,11 +319,11 @@ export async function pullGitSyncSettings(opts) {
|
|
|
322
319
|
const currentBranch = getCurrentGitBranch();
|
|
323
320
|
if (currentBranch) {
|
|
324
321
|
log.info(`Detected Git repository, adding empty branch structure for: ${currentBranch}`);
|
|
325
|
-
if (!updatedConfig.
|
|
326
|
-
updatedConfig.
|
|
322
|
+
if (!updatedConfig.gitBranches) {
|
|
323
|
+
updatedConfig.gitBranches = {};
|
|
327
324
|
}
|
|
328
|
-
if (!updatedConfig.
|
|
329
|
-
updatedConfig.
|
|
325
|
+
if (!updatedConfig.gitBranches[currentBranch]) {
|
|
326
|
+
updatedConfig.gitBranches[currentBranch] = { overrides: {} };
|
|
330
327
|
}
|
|
331
328
|
}
|
|
332
329
|
}
|
|
@@ -3,7 +3,7 @@ import { colors, log, Confirm } from "../../../deps.js";
|
|
|
3
3
|
import { requireLogin } from "../../core/auth.js";
|
|
4
4
|
import { resolveWorkspace } from "../../core/context.js";
|
|
5
5
|
import * as wmill from "../../../gen/services.gen.js";
|
|
6
|
-
import { readConfigFile, validateBranchConfiguration, getEffectiveSettings } from "../../core/conf.js";
|
|
6
|
+
import { readConfigFile, validateBranchConfiguration, getEffectiveSettings, getWmillYamlPath } from "../../core/conf.js";
|
|
7
7
|
import { deepEqual } from "../../utils/utils.js";
|
|
8
8
|
import { GitSyncSettingsConverter } from "./converter.js";
|
|
9
9
|
import { handleLegacyRepositoryMigration } from "./legacySettings.js";
|
|
@@ -24,10 +24,8 @@ export async function pushGitSyncSettings(opts) {
|
|
|
24
24
|
await requireLogin(opts);
|
|
25
25
|
try {
|
|
26
26
|
// Check if wmill.yaml exists - require it for git-sync settings commands
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
catch (error) {
|
|
27
|
+
const wmillYamlPath = getWmillYamlPath();
|
|
28
|
+
if (!wmillYamlPath) {
|
|
31
29
|
log.error(colors.red("No wmill.yaml file found. Please run 'wmill init' first to create the configuration file."));
|
|
32
30
|
dntShim.Deno.exit(1);
|
|
33
31
|
}
|
|
@@ -21,11 +21,11 @@ export function normalizeRepoPath(path) {
|
|
|
21
21
|
}
|
|
22
22
|
// Helper to get or create branch configuration
|
|
23
23
|
export function getOrCreateBranchConfig(config, branchName) {
|
|
24
|
-
if (!config.
|
|
25
|
-
config.
|
|
24
|
+
if (!config.gitBranches) {
|
|
25
|
+
config.gitBranches = {};
|
|
26
26
|
}
|
|
27
|
-
if (!config.
|
|
28
|
-
config.
|
|
27
|
+
if (!config.gitBranches[branchName]) {
|
|
28
|
+
config.gitBranches[branchName] = {};
|
|
29
29
|
}
|
|
30
30
|
return {
|
|
31
31
|
config,
|
|
@@ -36,20 +36,20 @@ export function getOrCreateBranchConfig(config, branchName) {
|
|
|
36
36
|
export function applyBackendSettingsToBranch(config, branchName, backendSettings) {
|
|
37
37
|
const { config: updatedConfig } = getOrCreateBranchConfig(config, branchName);
|
|
38
38
|
// Get the base settings (top-level + defaults) to compare against
|
|
39
|
-
const {
|
|
39
|
+
const { gitBranches, ...topLevelSettings } = config;
|
|
40
40
|
const baseSettings = { ...DEFAULT_SYNC_OPTIONS, ...topLevelSettings };
|
|
41
41
|
// Only store fields that differ from the base settings
|
|
42
42
|
Object.keys(backendSettings).forEach(key => {
|
|
43
|
-
if (key !== '
|
|
43
|
+
if (key !== 'gitBranches' && backendSettings[key] !== undefined) {
|
|
44
44
|
const backendValue = backendSettings[key];
|
|
45
45
|
const baseValue = baseSettings[key];
|
|
46
46
|
// Only store if different from base
|
|
47
47
|
const isDifferent = GitSyncSettingsConverter.isDifferent(backendValue, baseValue);
|
|
48
48
|
if (isDifferent) {
|
|
49
|
-
if (!updatedConfig.
|
|
50
|
-
updatedConfig.
|
|
49
|
+
if (!updatedConfig.gitBranches[branchName].overrides) {
|
|
50
|
+
updatedConfig.gitBranches[branchName].overrides = {};
|
|
51
51
|
}
|
|
52
|
-
updatedConfig.
|
|
52
|
+
updatedConfig.gitBranches[branchName].overrides[key] = backendValue;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
});
|
|
@@ -20,16 +20,16 @@ async function initAction(opts) {
|
|
|
20
20
|
if (isGitRepository()) {
|
|
21
21
|
const currentBranch = getCurrentGitBranch();
|
|
22
22
|
if (currentBranch) {
|
|
23
|
-
initialConfig.
|
|
23
|
+
initialConfig.gitBranches = {
|
|
24
24
|
[currentBranch]: { overrides: {} },
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
27
|
else {
|
|
28
|
-
initialConfig.
|
|
28
|
+
initialConfig.gitBranches = {};
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
else {
|
|
32
|
-
initialConfig.
|
|
32
|
+
initialConfig.gitBranches = {};
|
|
33
33
|
}
|
|
34
34
|
await dntShim.Deno.writeTextFile("wmill.yaml", yamlStringify(initialConfig));
|
|
35
35
|
log.info(colors.green("wmill.yaml created with default settings"));
|
|
@@ -66,15 +66,15 @@ async function initAction(opts) {
|
|
|
66
66
|
})))) {
|
|
67
67
|
// Update the config with workspace binding
|
|
68
68
|
const currentConfig = await import("../../core/conf.js").then((m) => m.readConfigFile());
|
|
69
|
-
if (!currentConfig.
|
|
70
|
-
currentConfig.
|
|
69
|
+
if (!currentConfig.gitBranches) {
|
|
70
|
+
currentConfig.gitBranches = {};
|
|
71
71
|
}
|
|
72
|
-
if (!currentConfig.
|
|
73
|
-
currentConfig.
|
|
72
|
+
if (!currentConfig.gitBranches[currentBranch]) {
|
|
73
|
+
currentConfig.gitBranches[currentBranch] = { overrides: {} };
|
|
74
74
|
}
|
|
75
|
-
currentConfig.
|
|
75
|
+
currentConfig.gitBranches[currentBranch].baseUrl =
|
|
76
76
|
activeWorkspace.remote;
|
|
77
|
-
currentConfig.
|
|
77
|
+
currentConfig.gitBranches[currentBranch].workspaceId =
|
|
78
78
|
activeWorkspace.workspaceId;
|
|
79
79
|
await dntShim.Deno.writeTextFile("wmill.yaml", yamlStringify(currentConfig));
|
|
80
80
|
log.info(colors.green(`✓ Bound branch '${currentBranch}' to workspace '${activeWorkspace.name}'`));
|