@udondan/avanti 0.5.0 → 0.7.0

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.
Files changed (53) hide show
  1. package/README.md +127 -9
  2. package/dist/cli.js +6 -0
  3. package/dist/cli.js.map +1 -1
  4. package/dist/commands/diff.d.ts.map +1 -1
  5. package/dist/commands/diff.js +45 -2
  6. package/dist/commands/diff.js.map +1 -1
  7. package/dist/commands/log.d.ts +3 -0
  8. package/dist/commands/log.d.ts.map +1 -0
  9. package/dist/commands/log.js +100 -0
  10. package/dist/commands/log.js.map +1 -0
  11. package/dist/commands/pull.d.ts.map +1 -1
  12. package/dist/commands/pull.js +67 -19
  13. package/dist/commands/pull.js.map +1 -1
  14. package/dist/commands/reset.d.ts +3 -0
  15. package/dist/commands/reset.d.ts.map +1 -0
  16. package/dist/commands/reset.js +106 -0
  17. package/dist/commands/reset.js.map +1 -0
  18. package/dist/commands/revert.d.ts +3 -0
  19. package/dist/commands/revert.d.ts.map +1 -0
  20. package/dist/commands/revert.js +153 -0
  21. package/dist/commands/revert.js.map +1 -0
  22. package/dist/config.d.ts.map +1 -1
  23. package/dist/config.js +7 -1
  24. package/dist/config.js.map +1 -1
  25. package/dist/diff.d.ts +1 -0
  26. package/dist/diff.d.ts.map +1 -1
  27. package/dist/diff.js +10 -1
  28. package/dist/diff.js.map +1 -1
  29. package/dist/history.d.ts +64 -0
  30. package/dist/history.d.ts.map +1 -0
  31. package/dist/history.js +316 -0
  32. package/dist/history.js.map +1 -0
  33. package/dist/processors/json.d.ts.map +1 -1
  34. package/dist/processors/json.js +8 -5
  35. package/dist/processors/json.js.map +1 -1
  36. package/dist/prompt.d.ts +2 -0
  37. package/dist/prompt.d.ts.map +1 -0
  38. package/dist/prompt.js +42 -0
  39. package/dist/prompt.js.map +1 -0
  40. package/dist/sources/index.d.ts.map +1 -1
  41. package/dist/sources/index.js +33 -4
  42. package/dist/sources/index.js.map +1 -1
  43. package/dist/types.d.ts +1 -1
  44. package/dist/types.d.ts.map +1 -1
  45. package/dist/writer.d.ts +1 -1
  46. package/dist/writer.d.ts.map +1 -1
  47. package/dist/writer.js +10 -1
  48. package/dist/writer.js.map +1 -1
  49. package/package.json +6 -1
  50. package/.prettierignore +0 -2
  51. package/CHANGELOG.md +0 -59
  52. package/eslint.config.mjs +0 -25
  53. package/prettier.config.mjs +0 -5
package/CHANGELOG.md DELETED
@@ -1,59 +0,0 @@
1
- # Changelog
2
-
3
- ## [0.5.0](https://github.com/udondan/avanti/compare/v0.4.0...v0.5.0) (2026-05-07)
4
-
5
-
6
- ### Features
7
-
8
- * **fetch:** add exponential backoff retry for all HTTP requests ([#27](https://github.com/udondan/avanti/issues/27)) ([2caf0f3](https://github.com/udondan/avanti/commit/2caf0f3dc368fd6a7cead8a2946dc4504693d6f1))
9
- * **sources:** replace mandatory CLI tools with native HTTP for GitHub and GitLab ([#21](https://github.com/udondan/avanti/issues/21)) ([990b8ee](https://github.com/udondan/avanti/commit/990b8eedc60047d9743eb69358d0967852c8d9a2))
10
-
11
-
12
- ### Performance Improvements
13
-
14
- * parallelize directory file fetches for GitHub and GitLab ([#26](https://github.com/udondan/avanti/issues/26)) ([c11d2e2](https://github.com/udondan/avanti/commit/c11d2e25871eccf75398cf11eb6b315db7c7a16b))
15
-
16
- ## [0.4.0](https://github.com/udondan/avanti/compare/v0.3.2...v0.4.0) (2026-05-07)
17
-
18
-
19
- ### Features
20
-
21
- * **json:** add JSON merge and pretty-print processor ([#19](https://github.com/udondan/avanti/issues/19)) ([6fab171](https://github.com/udondan/avanti/commit/6fab171e1d1b85e86060213f6f0be6b9606ca96f))
22
-
23
- ## [0.3.2](https://github.com/udondan/avanti/compare/v0.3.1...v0.3.2) (2026-05-07)
24
-
25
-
26
- ### Bug Fixes
27
-
28
- * **sources:** fix GitLab pagination, add archive fast path, and explicit directory detection ([#17](https://github.com/udondan/avanti/issues/17)) ([5b348ef](https://github.com/udondan/avanti/commit/5b348ef68b0ba9caebebd5ec6668fd9b07d4eafe))
29
-
30
- ## [0.3.1](https://github.com/udondan/avanti/compare/v0.3.0...v0.3.1) (2026-05-07)
31
-
32
-
33
- ### Bug Fixes
34
-
35
- * read CLI version dynamically from package.json ([#14](https://github.com/udondan/avanti/issues/14)) ([8ccbb80](https://github.com/udondan/avanti/commit/8ccbb80aeea645a50439ddc41693fd20931ad860))
36
-
37
- ## [0.3.0](https://github.com/udondan/avanti/compare/v0.2.1...v0.3.0) (2026-05-07)
38
-
39
-
40
- ### Features
41
-
42
- * add inline raw source content ([#7](https://github.com/udondan/avanti/issues/7)) ([dd46cba](https://github.com/udondan/avanti/commit/dd46cba2a8a79f2882847a7da3beaf5ae002b799))
43
- * add variables and env var support ([#10](https://github.com/udondan/avanti/issues/10)) ([c5eea93](https://github.com/udondan/avanti/commit/c5eea9374d3fb3aeeb6413e6bf6aecfe825465b4))
44
- * add working directory constraint and -w/--working-dir flag ([#9](https://github.com/udondan/avanti/issues/9)) ([5cc731e](https://github.com/udondan/avanti/commit/5cc731e223e4dca893f26f64158f2377c077cbe8))
45
- * resolve variables in target path ([#12](https://github.com/udondan/avanti/issues/12)) ([9aa64fb](https://github.com/udondan/avanti/commit/9aa64fb121ad5a9a052df5ac2afa096fcf1f728a))
46
-
47
- ## [0.2.1](https://github.com/udondan/avanti/compare/v0.2.0...v0.2.1) (2026-05-07)
48
-
49
-
50
- ### Bug Fixes
51
-
52
- * add repository url to package.json ([#5](https://github.com/udondan/avanti/issues/5)) ([842c843](https://github.com/udondan/avanti/commit/842c843f433243b1ef131f0e9192e10fb7816e98))
53
-
54
- ## [0.2.0](https://github.com/udondan/avanti/compare/v0.1.0...v0.2.0) (2026-05-07)
55
-
56
-
57
- ### Features
58
-
59
- * initial implementation ([#1](https://github.com/udondan/avanti/issues/1)) ([a97bbfa](https://github.com/udondan/avanti/commit/a97bbfa0fb07b9bb0dc6518bf8345aaf789bf09f))
package/eslint.config.mjs DELETED
@@ -1,25 +0,0 @@
1
- // @ts-check
2
- import js from '@eslint/js';
3
- import tseslint from 'typescript-eslint';
4
- import prettierConfig from 'eslint-config-prettier';
5
-
6
- export default tseslint.config(
7
- js.configs.recommended,
8
- ...tseslint.configs.recommendedTypeChecked,
9
- prettierConfig,
10
- {
11
- languageOptions: {
12
- parserOptions: {
13
- projectService: true,
14
- tsconfigRootDir: import.meta.dirname,
15
- },
16
- },
17
- rules: {
18
- 'no-console': 'off',
19
- '@typescript-eslint/no-deprecated': 'error',
20
- },
21
- },
22
- {
23
- ignores: ['dist/**', 'node_modules/**'],
24
- },
25
- );
@@ -1,5 +0,0 @@
1
- /** @type {import("prettier").Config} */
2
- export default {
3
- singleQuote: true,
4
- trailingComma: 'all',
5
- };