@lumy-pack/syncpoint 0.0.1 → 0.0.2
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/README.md +921 -0
- package/assets/config.default.yml +12 -2
- package/dist/cli.mjs +2750 -1440
- package/dist/commands/Backup.d.ts +1 -1
- package/dist/commands/CreateTemplate.d.ts +2 -0
- package/dist/commands/Help.d.ts +2 -0
- package/dist/commands/Wizard.d.ts +2 -0
- package/dist/constants.d.ts +1 -2
- package/dist/core/backup.d.ts +8 -1
- package/dist/core/config.d.ts +1 -1
- package/dist/core/metadata.d.ts +1 -1
- package/dist/core/provision.d.ts +1 -1
- package/dist/core/restore.d.ts +1 -1
- package/dist/index.cjs +215 -46
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +219 -50
- package/dist/prompts/wizard-config.d.ts +9 -0
- package/dist/prompts/wizard-template.d.ts +7 -0
- package/dist/schemas/ajv.d.ts +1 -1
- package/dist/utils/claude-code-runner.d.ts +29 -0
- package/dist/utils/command-registry.d.ts +23 -0
- package/dist/utils/error-formatter.d.ts +16 -0
- package/dist/utils/file-scanner.d.ts +25 -0
- package/dist/utils/paths.d.ts +5 -0
- package/dist/utils/pattern.d.ts +46 -0
- package/dist/utils/types.d.ts +4 -3
- package/dist/utils/yaml-parser.d.ts +19 -0
- package/dist/version.d.ts +5 -0
- package/package.json +5 -3
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
# ──────────────────────────────────────────
|
|
4
4
|
|
|
5
5
|
backup:
|
|
6
|
-
# (Required) List of files/directories to backup.
|
|
6
|
+
# (Required) List of files/directories to backup.
|
|
7
|
+
# Supports three pattern types:
|
|
8
|
+
# - Literal paths: ~/.zshrc, /usr/local/bin/tool
|
|
9
|
+
# - Glob patterns: ~/.config/*.conf, **/*.yml
|
|
10
|
+
# - Regex patterns: /\.conf$/, /\/temp\// (scans ~/ with depth limit 5)
|
|
7
11
|
targets:
|
|
8
12
|
- ~/.zshrc
|
|
9
13
|
- ~/.zprofile
|
|
@@ -11,11 +15,17 @@ backup:
|
|
|
11
15
|
- ~/.gitignore_global
|
|
12
16
|
- ~/.ssh/config
|
|
13
17
|
- ~/.config/starship.toml
|
|
18
|
+
# Example regex: /\.toml$/ (finds all .toml files in home directory)
|
|
14
19
|
|
|
15
|
-
# (Required) List of
|
|
20
|
+
# (Required) List of patterns to exclude from backup.
|
|
21
|
+
# Supports glob and regex patterns. Applied to all target types.
|
|
22
|
+
# Examples:
|
|
23
|
+
# - Glob: "**/*.swp", "**/.DS_Store", "**/node_modules/**"
|
|
24
|
+
# - Regex: "/\\.bak$/", "/\\.tmp$/", "/\\.(cache|log)$/"
|
|
16
25
|
exclude:
|
|
17
26
|
- "**/*.swp"
|
|
18
27
|
- "**/.DS_Store"
|
|
28
|
+
# Example regex: "/\\.bak$/" (excludes all .bak files)
|
|
19
29
|
|
|
20
30
|
# (Required) Backup archive filename pattern.
|
|
21
31
|
# Available variables: {hostname}, {datetime}
|