Commit graph

121 commits

Author SHA1 Message Date
Igor Barakaiev
a7e1397940
fix: pass file_path to ensure_default_configs_exist (#36)
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-07-07 12:05:23 -04:00
Igor Barakaiev
90b23e898d
improvement: support an optional append? flag for add_dep/3 (#34) 2024-07-07 12:05:01 -04:00
Zach Daniel
7eba812020 chore: cleanup
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-06 13:28:08 -04:00
Zach Daniel
1303e0f394 improvement: add add_dep/2-3, that accepts a full dep specification
improvement: deprecate `add_dependency/3-4`

closes #35
2024-07-06 13:28:08 -04:00
Igor Barakaiev
df409b00fd
fix: preserve original ordering in Util.Install (#33)
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-07-04 07:52:48 -04:00
Igor Barakaiev
dc04861ca1
fix: include only "mix.exs" in the actual run in apply_and_fetch_dependencies (#32) 2024-07-04 06:51:45 -04:00
Igor Barakaiev
2f3e3065f3
fix: always return {:ok, zipper} in append_new_to_list/2 (#31) 2024-07-04 06:37:02 -04:00
Zach Daniel
b2ab78d681 chore: pass credo
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-07-02 23:29:04 -04:00
Zach Daniel
8937710de9 improvement: make module moving much smarter
improvement: add configurations for not moving certain modules
improvement: make `source_folders` configurable
2024-07-02 23:26:39 -04:00
Zach Daniel
77003e2d34 chore: remove debug
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-02 17:21:18 -04:00
Zach Daniel
44ebb4d7b0 chore: cleanup code addition 2024-07-02 17:20:50 -04:00
Zach Daniel
6ad05df5db chore: release version v0.2.6 2024-07-02 16:50:34 -04:00
Zach Daniel
5e5e11633f improvement: properly find nested modules again
improvement: make igniter tests much faster by not searching our own project
2024-07-02 16:33:08 -04:00
Zach Daniel
0a7aa522fe chore: small changes to recently added function interfaces 2024-07-02 14:07:48 -04:00
Zach Daniel
be6051b523 improvement: add include_all_elixir_files/1
improvement: add `module_exists?/2`
improvement: add `find_and_update_module/3`
2024-07-02 13:50:06 -04:00
Zach Daniel
d7613a2438 improvement: only require rejecting mix deps.get one time & remember that choice
improvement: simpler messages signaling a mix deps.get
2024-07-02 13:22:22 -04:00
Zach Daniel
1c5bec43d5 docs: fix a typo misspelling
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-01 21:23:51 -04:00
Zach Daniel
bae1d9be2e docs: update a line in docs 2024-07-01 20:50:28 -04:00
Zach Daniel
94a04c3092 chore: release version v0.2.5 2024-07-01 20:45:33 -04:00
Zach Daniel
b13d58a4f3 improvement: move_modules -> move_files 2024-07-01 20:45:14 -04:00
Zach Daniel
2c2a2e35e3 improvement: move some files around and update config names 2024-07-01 20:43:39 -04:00
Zach Daniel
b878903e26 chore: fix bugs/build
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-07-01 18:27:41 -04:00
Zach Daniel
922178e9ff improvement: use %Info{} structs to compose and plan nested installers 2024-07-01 17:56:14 -04:00
Igor Barakaiev
05f52a9413
improvement: add Igniter.apply_and_fetch_dependencies/1 and Igniter.has_changes?/1 (#28)
---------

Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2024-07-01 15:29:51 -04:00
Zach Daniel
99ed483629 improvement: rename option_schema/2 -> info/2 2024-07-01 14:25:33 -04:00
Zach Daniel
4b8e519c10 improvement: only create default configs if an env-specific config is created 2024-07-01 14:16:07 -04:00
Zach Daniel
01d67047de chore: release version v0.2.4
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-06-28 19:02:15 -04:00
Zach Daniel
dd42d449f2 improvement: add an optional path argument to find_and_update_or_create_module/5 2024-06-28 18:59:34 -04:00
Zach Daniel
fd475c366a improvement: add option_schema/2 callback to Igniter.Mix.Task 2024-06-28 18:56:04 -04:00
Zach Daniel
615196235e fix: fix match error in append_new_to_list
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-28 14:25:13 -04:00
Zach Daniel
ccb0984314 improvement: Module.find_and_update_or_create_module
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-28 00:36:04 -04:00
Zach Daniel
0dc28d3e8b improvement: add a way to move files
improvement: add `.igniter.exs` file, and `mix igniter.setup` to create it
improvement: move files to configured location based on changes
2024-06-27 23:16:26 -04:00
Igor Barakaiev
e72aa1ee4a
fix: version string splitting (#25) 2024-06-27 17:53:44 -04:00
dependabot[bot]
6bca8705dd
build(deps-dev): bump mimic in the dev-dependencies group (#23)
Some checks are pending
CI / ash-ci (push) Waiting to run
Bumps the dev-dependencies group with 1 update: [mimic](https://github.com/edgurgel/mimic).


Updates `mimic` from 1.7.4 to 1.8.2
- [Release notes](https://github.com/edgurgel/mimic/releases)
- [Commits](https://github.com/edgurgel/mimic/compare/v1.7.4...v1.8.2)

---
updated-dependencies:
- dependency-name: mimic
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zach Daniel <zach@zachdaniel.dev>
2024-06-27 12:23:38 -04:00
dependabot[bot]
c19bca1555
build(deps): bump the production-dependencies group with 2 updates (#22)
Bumps the production-dependencies group with 2 updates: [req](https://github.com/wojtekmach/req) and [sourceror](https://github.com/doorgan/sourceror).


Updates `req` from 0.5.0 to 0.5.1
- [Release notes](https://github.com/wojtekmach/req/releases)
- [Changelog](https://github.com/wojtekmach/req/blob/main/CHANGELOG.md)
- [Commits](https://github.com/wojtekmach/req/compare/v0.5.0...v0.5.1)

Updates `sourceror` from 1.3.0 to 1.4.0
- [Release notes](https://github.com/doorgan/sourceror/releases)
- [Changelog](https://github.com/doorgan/sourceror/blob/main/CHANGELOG.md)
- [Commits](https://github.com/doorgan/sourceror/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: req
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: production-dependencies
- dependency-name: sourceror
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 12:23:04 -04:00
Igor Barakaiev
8077946d10
improvement: add fallback to compose_task (#19)
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-26 11:40:58 -04:00
Igor Barakaiev
a6464db658
improvement: add proper_test_support_location/1 (#18)
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-26 08:02:29 -04:00
Igor Barakaiev
1271a75e04
improvement: add proper_test_location/1 (#17)
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-25 13:09:48 -04:00
Guilherme Sehn
06ede407dd
docs: "Writing generators" code example + add source_url to enable link to code on HexDocs (#14)
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-06-22 07:00:22 -04:00
Zach Daniel
d791da5d86 chore: release version v0.2.3
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-21 19:57:52 -04:00
Zach Daniel
fa3b0d5fb3 improvement: use override: true for git/github deps as well 2024-06-21 19:57:39 -04:00
Zach Daniel
6f5a5d9031 chore: release version v0.2.2 2024-06-21 18:06:21 -04:00
Zach Daniel
0e82c3aebb fix: don't show unnecessary diff output
fix: don't compile before fetching deps
2024-06-21 18:06:00 -04:00
Zach Daniel
faff4590c5 chore: use override: true when installing for a path 2024-06-21 16:21:20 -04:00
Zach Daniel
dcde30c280 chore: fix typo on trailing comments logic 2024-06-21 16:17:21 -04:00
Zach Daniel
30d505058b chore: release version v0.2.1 2024-06-21 16:09:00 -04:00
Zach Daniel
f5741fad45 chore: add comment noting that we can remove the trailing comments logic 2024-06-21 16:08:44 -04:00
Zach Daniel
8bcf7d690e improvement: workaround trailing comment issues w/ sourceror
can remove all of the trailing comment logic when
https://github.com/doorgan/sourceror/issues/150
is addressed
2024-06-21 16:07:26 -04:00
Zach Daniel
487017ac35 chore: bump installer version
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-06-20 19:25:48 -04:00
Zach Daniel
e9bf1ecf8e improvement: support --with option in igniter.new 2024-06-20 19:25:28 -04:00