Commit graph

292 commits

Author SHA1 Message Date
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
dependabot[bot]
62ddc0bb4d
build(deps-dev): bump ex_doc from 0.34.0 to 0.34.1 (#13)
Bumps [ex_doc](https://github.com/elixir-lang/ex_doc) from 0.34.0 to 0.34.1.
- [Release notes](https://github.com/elixir-lang/ex_doc/releases)
- [Changelog](https://github.com/elixir-lang/ex_doc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-lang/ex_doc/compare/v0.34.0...v0.34.1)

---
updated-dependencies:
- dependency-name: ex_doc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-20 15:12:41 -04:00
Zach Daniel
7a361b8cda chore: rescue any errors using Macro.Env.expand_alias
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-20 13:42:06 -04:00
Zach Daniel
8a1852c5cb chore: release version v0.2.0 2024-06-20 13:40:31 -04:00
Zach Daniel
710cf432ec chore: release 0.2.0 of mix igniter.new 2024-06-20 13:39:51 -04:00
Zach Daniel
338cb7281f improvement: make installer use override: true on local dependency
improvement: ensure dependencies are compiled after `mix deps.get`

(sorry about the dirty dirty hack required there)
2024-06-20 13:34:02 -04:00
Zach Daniel
0590e44841 chore: introduce utils namespace
docs: add explanation of codebase to writing generators guide
2024-06-20 09:46:45 -04:00
Zach Daniel
46fc43a8cc improvement: use warnings instead of errors for better UX
improvement: move proejct related things to `Project` namespace
2024-06-20 09:37:06 -04:00
Zach Daniel
310efa55b7 chore: release version v0.1.8
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-19 19:26:02 -04:00
Zach Daniel
ac24b375fc fix: update spitfire for env fix 2024-06-19 19:25:45 -04:00
Zach Daniel
824bc34c3a improvement: rename env_at_cursor to current_env
closes #11
2024-06-19 15:55:15 -04:00
Zach Daniel
680526c685 chore: improvements/renames 2024-06-19 15:54:19 -04:00
Igor Barakaiev
062d46a7ef
chore: Miscellaneous clarifications and cleaning up (#8) 2024-06-19 15:35:06 -04:00
dependabot[bot]
8d76b461ff
build(deps): bump spitfire from 0.1.1 to 0.1.2 (#9)
Some checks failed
CI / ash-ci (push) Has been cancelled
Bumps [spitfire](https://github.com/elixir-tools/spitfire) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/elixir-tools/spitfire/releases)
- [Changelog](https://github.com/elixir-tools/spitfire/blob/main/CHANGELOG.md)
- [Commits](https://github.com/elixir-tools/spitfire/compare/v0.1.1...v0.1.2)

---
updated-dependencies:
- dependency-name: spitfire
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 13:12:25 -04:00
dependabot[bot]
a4e054e49c
build(deps): bump rewrite from 0.10.4 to 0.10.5 (#10)
Some checks are pending
CI / ash-ci (push) Waiting to run
Bumps [rewrite](https://github.com/hrzndhrn/rewrite) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/hrzndhrn/rewrite/releases)
- [Changelog](https://github.com/hrzndhrn/rewrite/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hrzndhrn/rewrite/commits)

---
updated-dependencies:
- dependency-name: rewrite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 10:45:51 -04:00
Zach Daniel
019add50de improvement: improve marshalling of spitfire env to macro env
Some checks failed
CI / ash-ci (push) Has been cancelled
2024-06-15 14:24:45 -04:00
Zach Daniel
afbcb3cd1a improvement: show warning when adding dependencies by default
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-14 20:09:20 -04:00
Zach Daniel
88aa56ada3 chore: release version v0.1.7
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-14 17:21:44 -04:00
Zach Daniel
bcb4439d07 chore: fix build 2024-06-14 17:21:24 -04:00
Zach Daniel
067c4a6df0 improvement: various restructurings and improvements across the board
improvement: use `Spitfire` to ensure that aliases are considered when comparing modules
improvement: use `Spitfire` to *use* any existing aliases when inserting code
improvement: use `Zipper.topmost` to power new `Spitfire`-related features
2024-06-14 17:07:32 -04:00
Zach Daniel
86df95d3a0 chore: release version v0.1.6
Some checks are pending
CI / ash-ci (push) Waiting to run
2024-06-13 19:10:48 -04:00
Zach Daniel
933876d377 fix: patch formatter fix, to be removed later when rewrite PR is merged 2024-06-13 19:10:20 -04:00
Zach Daniel
2f2c1e35c6 fix: properly find functions in scope
test: add first tests for `Igniter.Code.Function`
2024-06-13 14:09:26 -04:00
Zach Daniel
6013cbe5e6 chore: release version v0.1.5 2024-06-13 13:40:25 -04:00
Zach Daniel
95b1da8535 fix: Igniter.Code.Common.with/2 was not properly merging with original zipper
docs: update typespecs and docs for Igniter.Code.Function
2024-06-13 13:37:58 -04:00
Zach Daniel
a04ad64294 chore: release version v0.1.4 2024-06-13 11:05:36 -04:00
Zach Daniel
60b81273cb improvement: use path: prefix instead of local: 2024-06-13 11:05:11 -04:00
Zach Daniel
11149c94e1 chore: release version v0.1.3 2024-06-13 11:03:10 -04:00
Zach Daniel
f05b113cc9 improvement: support space-separated installers 2024-06-13 11:02:55 -04:00
Zach Daniel
859dcdf7fd chore: release version v0.1.2 2024-06-13 10:58:08 -04:00